Jump to content

How can I get the number of RX's?

Recommended Posts


I need to count the number of times the PLC receive some information. As shown in picture below, the receptions' number is 113, but when I try counting it using the SB 135 and a Increment, the number in MI 0 is less than the number in the serial monitor. The counter can't get all the packages. For example, the serial monitor shows me 113 but MI 0 shows me 50. How can I solve it?




Link to comment
Share on other sites

  • 3 weeks later...

SB136 is the data receive bit for COM2(as noted by DaveE thats the one in your pic)


If your using the Protocol Scan FB there is a MB(user selected) that sets when it receives a valid message.  Have you tried using this MB as the trigger for the count?

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...