perry p Posted June 30, 2014 Report Posted June 30, 2014 I have a vision 1040 and I have 2 ricelake scale indicators. I want to use both serial ports and serial stream the values into the 1040. I can successfully get com 2 to scale in but not scale 1. I'm sure it is my logic. Could someone give me a recommendation of what I could do different? I have attached a copy of my program. Thanks Perry printer2.vlp
Eyal Koren Posted July 1, 2014 Report Posted July 1, 2014 Hello Perry, Your application has two issues: 1. the PROTOCOL Config FB's should be placed in the Main routine, and not in a subroutine. 2. The PROTOCOL Config FB in subroutine "Stream In 1" (placed in the beginning of the subroutine) is set to COM2 instead COM1. These should solve your issues. Please let me know if they didn't.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now