Jump to content

How can I get the number of RX's?


Recommended Posts

Hi

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?

 

Thanks

post-51984-0-33463200-1469047258_thumb.png

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

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.