serial port read

timmyh

Member
Join Date
Apr 2008
Location
St. Louis, MO
Posts
28
Has anyone worked with the modbus slave program for rslogix 5000 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.

Thanks
Tim
 

Similar Topics

Hiii. i am trying to read the PLC-5/40c data to the ML1400 PLC throgh channel 0(25 pin to 9 pin pin configuration). When i downloaded the program...
Replies
17
Views
5,081
Hey All! I have a job where I need to send data to a printer and a bagger, both of which run independently, but get parameters from a screen...
Replies
0
Views
2,874
Anyone can help me on how to read data on one of the 2 serial ports. The PLC uses one of the ports (CH1) to connect to a PV600 (DF1) and the other...
Replies
2
Views
7,986
I'm trying to read data on one of the 2 serial ports on the PLC CPU but dont know how to read this data. The PLC I use one of the ports (CH1) to...
Replies
0
Views
4,865
Does anyone know of an AOI using the user ASCII protocol select on the L6x controllers that will talk Modbus RTU using RS-485? Thanks, Trevor...
Replies
1
Views
191
Back
Top Bottom