Sign in to follow this  
Followers 0
timmyh

modbus slave program

1 post in this topic

Has anyone worked with this program before. I put it in and it worked ok. I kept on getting crc errors and faulting out the processor. I put in a patch to fix the fault and I thought I did some coding to make it work, but I kept on getting timeouts. Taking a closer look at the SlaveRecMonitor routine I noticed that before they read the serial port they check how many chars. are on the serial port, do some checking and then read the serial port chars again. why would they do this. I put an afi comment on the rung and it works perfect now. Is it possible that I could be getting bad data? The program is in the project folder in your rslogix 5000 folder(its only in v13 and up) if you want to look at it. Anybody has any clues let me know. I will also attach it. Thanks Tim ModbusSlave.ACD

Share this post


Link to post
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
Sign in to follow this  
Followers 0