1 / 8

IND570 Cyclic Data Input Overview

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.

isaiah
Download Presentation

IND570 Cyclic Data Input Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

More Related