beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 744

background image

Publication GMLC-5.2 - November 1999

Using Block Transfers

707

The data to be read from the motion controller is specified in a data file in
the PLC (N14 in the previous example), as explained in Constructing the
PLC Data File
in this chapter. The data returned by the BTR must be
stored in another data file (N7 in the example above) in the PLC. After
completing the BTR, this data file contains the returned values.

The type of data file used to store the values returned by the BTR depends
on the numeric format specified for the transfer, as shown in the table
below.

* Floating-point values must be block transferred into an integer file and
then copied to a floating bit file in the PLC.

The format of the returned data file also depends on the numeric format
specified for the transfer, as explained in Number and Format of Items in
this chapter.

!

ATTENTION: Be sure to specify the correct BTR file type
for the numeric format of the transferred values.

RIO Adapter Block Transfer Write Data File Types

Numeric Format

PLC File Type

32-bit Integer

Integer

(N)

16-bit Integer

Integer

(N)

32-bit Signed BCD

BCD

(D)

32-bit Floating-Point

Integer*

(N)

Word-Swapped 32-bit Integer

Integer

(N)

Word-Swapped 32-bit Signed BCD

BCD

(D)

Word-Swapped 32-bit Floating-Point

Integer*

(N)