beautypg.com

Rockwell Automation 20D PowerFlex 700S AC Drives with Phase II Control Reference Manual User Manual

Page 33

background image

Rockwell Automation Publication PFLEX-RM003E-EN-E - January 2011

33

Detailed Drive Operation Chapter 1

Datalink Programming

Datalinks are transmitted and received through messages on Ethernet,
ControlNet or DeviceNet and through block transfers on RIO. The PLC and
SLC are limited to 16-bit integers and floating point. In order to send or
receive floating point Datalinks we have to swap the LSW and MSW and
utilize the COP (copy) instruction. Because the PLC and SLC do not
support 32-bit integers, 32-bit Datalinks remain split into (2) 16-bit integers.
The following examples are for transmitting and receiving the different types
of Datalinks. The following program examples are from an SLC but function
the same in a PLC 5.

Figure 3 - Reading DINT Datalinks in an SLC or PLC 5.

Figure 4 - Writing DINT Datalinks in an SLC or PLC 5.