Jump to content

Recommended Posts

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.






Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...