olzmoo.blogg.se

Logixpro words
Logixpro words









logixpro words

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.

logixpro words

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.

  • In this instance below, the DeviceNet I/O mapping was set up so that the last 16 bits of this word was the drive’s feedback speed.
  • In a second use of the BTD instruction, it can be used for mapping DeviceNet data from a drive to another tag in the PLC such as a motor speed. This is done to align the inputs read from ControlLogix to the arrays created by the conversion from PLC-5.
  • In the second instruction, bits 8 and 9 of the input array I_113 will not be used to keep in line with the octal addressing, so we start with the source bit of 8 and move it to the destination bit of 10 instead, still with a length of 8 bits (10-17).
  • In the first instruction, the 1771 I/O module data is moved from the source bit of 0 to the destination of input array I_113, bit 0 as well and we map 8 bits as the length.
  • logixpro words

    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











    Logixpro words