

Here we can use CIP data read or write to MSG another ControlLogix. Inside the MSG instruction, you will have several options including the message type.The tag MSG_TO_OTHER_PLC is a “Message” data type. This also allows you to execute as often or as little as needed. The MSG instruction only executes once when a rung is active, so you will need to add a timer as shown here to execute the instruction.It also allows a ControlLogix processor to message a MicroLogix or CompactLogix processor or other types as well.

This will allow your PLC to communicate with other PLCs over different network types as well as different PLCs in the Rockwell family.įor instance, the MSG instruction can take a communication path over backplanes and make hops if needed. We didn’t need but 16 bits of this 32 bit word from DeviceNet and this single instruction splits it apart and maps if for us perfectly.Īnother instruction that will come in handy is the message instruction. The source bit of the instruction thus starts with bit 16 and moves it to the destination bit of 0 in the drive speed tag with a length of 16.

The BTD instruction is a powerful instruction as it can allow you to map a word to another word and shift the bits in that word if needed.Īs you will see in the illustration below, after a conversion to ControlLogix, when mapping 1771 I/O, the PLC-5 used octal addressing, so after bit 7, a BTD instruction is needed to shift the next bit to bit 10. I want to continue further and explore a few more instructions and hopefully provide a few tips along the way. In part one of this series, we looked at an introduction to learning Studio 5000 programming instructions for ControlLogix processors as well as an application for using the CPT and ABS instructions. Logix Programming Instructions Every Tech Needs to Know Part II
