Jump to content

Recommended Posts

Posted

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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.