Bit funtion on logix pro
![bit funtion on logix pro bit funtion on logix pro](https://image.slidesharecdn.com/tutorialbsico-logixpro-151227192616/95/tutorial-bsico-logix-pro-1-638.jpg)
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.
![bit funtion on logix pro bit funtion on logix pro](https://i0.wp.com/image.slidesharecdn.com/sipaman-151129105700-lva1-app6891/95/industrial-training-report-for-on-plc-programming-of-traffic-light-through-ladder-logic-35-638.jpg)
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.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