Page
18
AN-X2-ABDHRIO Remote I/O Drive Interface
February 2013
Block Transfers (optional)
The AN-X supports Ethernet/IP unscheduled message execution to read parameters from
the drive.
The remote I/O scanner executes a block transfer write containing a list of parameters to
be read from the Ethernet drive. The AN-X sends a Scattered-Read message to the
Ethernet drive including the list of parameters.. When the AN-X receives a reply, it
stores the data in the block transfer read data area. The remote I/O scanner then issues a
block transfer read request to retrieve the data.
The format of the remote I/O write and read data matches the format in the 20-COMM-E
Ethernet/IP Adapter User Manual, starting at page 6-8.
For example, to read parameters 1, 2, 3, 4, and 5 from a drive, the block transfer write
would have length 15 and consist of
1 0 0 2 0 0 3 0 0 4 0 0 5 0 0
The block transfer read to retrieve the data would have length 15 and the data returned
would consist of 5 blocks of three, each containing the parameter number, the least
significant word of the parameter value and the most significant word of the parameter
value
1 LSW MSW 2 LSW MSW
…
The requested length (ReqLen, see page 25) would be set to
5 parameters * 6 bytes/parameter = 30.
The maximum number of parameters you can read in a single block transfer is 21.
Block transfer definitions consist of the block transfer type (read or write) and the
location (I/O group and slot). The fields may be separated by commas or spaces.
The I/O group must be in the range 0 to 7. The slot must be 0 or 1.
IMPORTANT!
The I/O group is relative to the start of the rack.
If the rack is a half rack starting at the second quarter (I/O group 4), then
a value of 2 in the block transfer definition means I/O group 6 in the
rack.
The location of the block transfer must not overlap scheduled output
data.
Examples
btr,7,0
btw,7,0
IP Address
Include a list that consists of the keyword IPAddr, followed by a comma and then the IP
address of the Ethernet drive.
Example:
IpAddr, 192.168.1.15