beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 772

background image

Publication GMLC-5.2 - November 1999

Using Block Transfers

735

If the PLC is getting data from the motion controller, no data values need
be specified in the BTW data file and thus the end-of-block delimiter is
word 3 (nn - 0). The data returned by the BTR is stored in the BCD (D)
file specified in the BTR. After completing the BTR, this file contains the
return values, as shown below.

3
4

First Data Item Value Least Significant Word
First Data Item Value Most Significant Word

5
6

Second Data Item Value Least Significant Word
Second Data Item Value Most Significant Word

2

nn+1

2

nn+2

Last Data Item Value Least Significant Word
Last Data Item Value Most Significant Word

2

nn+3

End-of-Block Delimiter (000D hex)

RIO Adapter Block Transfer Read
Word-Swapped 32-bit Signed BCD
Returned Values Data File Format

Word

Description

0
1

First Data Item Value Least Significant Word
First Data Item Value Most Significant Word

2
3

Second Data Item Value Least Significant Word
Second Data Item Value Most Significant Word

2

nn-2

2

nn-1

Last Data Item Value Least Significant Word
Last Data Item Value Most Significant Word

2

nn

End-of-Block Delimiter (000D Hex)

RIO Adapter Block Transfer Write
Word-Swapped 32-bit Signed BCD Data File Format

Word

Description