colorofwind
Lifetime Supporting Member
Hi, we've worked to figure out the CIP protocol for a few days. We intended to write a 2 way communication program using socket between Linux and PLC. However, the AB programming manuals didn't specify all the data that is sent. And the only example of real data (by each byte) is from a PLC to another PLC. We tried to send a packet of bytes (from the example) to the PLC but no response from the other end.
Maybe it's easier to implement only 1 way communication. So is it possible to set the PLC program in RSLogix 5000 and gets it to send the tag values we need to a local IP address (PC) and we'll decode it? How does MSG instruction work in this situation? Or are we even on the right track to tackle this problem?
Maybe it's easier to implement only 1 way communication. So is it possible to set the PLC program in RSLogix 5000 and gets it to send the tag values we need to a local IP address (PC) and we'll decode it? How does MSG instruction work in this situation? Or are we even on the right track to tackle this problem?