80 likes | 318 Views
Floating Point Cyclic Data bytes (4) are copied in received orde r to the IND570_Cyclic_Data_Read array. IND570 Cyclic Data Input Overview. The 4 bytes are then copied to a variable that the program can read as a Floating Point. Press Space Bar When Ready to Continue.
E N D
Floating Point Cyclic Data bytes (4) are copied in received order to the IND570_Cyclic_Data_Read array. IND570 Cyclic Data Input Overview The 4 bytes are then copied to a variable that the program can read as a Floating Point. Press Space Bar When Ready to Continue
IND780 Cyclic Data Input Overview Floating Point Cyclic Data bytes (4) are copied in received order to the IND780_Cyclic_Data_Read array. The 4 bytes are then copied to a variable that the program can read as a Floating Point. Press Space Bar When Ready to Continue
Discrete Message Overview When the message instruction is triggered, returned data is placed in the IND780_Discrete_Read_Data array in the order that the bytes came in. For the IND570, when the message instruction is triggered, returned data is placed in the IND570_Discrete_Read_Data array in the order that the bytes came in. Then, the 4 bytes of data are copied to a variable that the program can read as a Floating Point. Then, the 4 bytes of data are copied to a variable that the program can read as a Floating Point. Press Space Bar When Ready to Continue
Cyclic Data UpdatesWord Swap Mode The cyclic data coming back from both the IND570 and the IND780 is 0xD7, 0xA3, 0x30, 0x40. In Word Swap mode, this correctly translates to 2.76, as shown in the Cyclic Weight. Press Space Bar When Ready to Continue
IND780 Discrete Read WeightWord Swap Mode After triggering the Read for the IND780, we get back 0xD7, 0xA3, 0x30, 0x40. In Word Swap mode, this correctly translates to 2.76, as shown in the Discrete_Read_Weight Press Space Bar When Ready to Continue
IND570 Discrete Read WeightWord Swap Mode After triggering the Read for the IND570, we get back 0x40, 0x30, 0xA3, 0xD7. In Word Swap mode, this incorrectly translates to -3.58855255e+014, as shown in the Discrete_Read_Weight, when we should have gotten back 2.76 like we did with the IND780. Press Space Bar When Ready to Continue
IND780 Discrete Read WeightByte Swap Mode After putting the terminal into Byte Swap mode and triggering the Read for the IND780, we get back 0x40,0x30, 0xA3, 0xD7. In Byte Swap mode, this correctly translates to -3.58855255e+014 in a Rockwell processor (a Siemens S7 would read 2.76) as shown in the Discrete_Read_Weight Press Space Bar When Ready to Continue
IND570 Discrete Read WeightByte Swap Mode After putting the terminal into Byte Swap mode and triggering the Read for the IND570, we get back 0xD7, 0xA3, 0x30, 0x40. In Byte Swap mode, this incorrectly translates to -2.76, as shown in the Discrete_Read_Weight, when we should have gotten back 3.58855255e+014 like we did with the IND780. Note that the cyclic data returns correctly for both the IND780 and the IND570. Press Space Bar When Ready to Continue