AN-X2-ABDHRIO Remote I/O Drive Interface Page
27
Output Section
The output begins with a line with the keyword Outputs, followed by a comma, and the
length of the output data in bytes.
The length in the template files supplied is based on the base configuration for the drive
in RSLogix 5000 and includes header information as well as, in some cases, padding
data. If your drive is configured with extra scheduled data, copy the standard template to
a new template file and modify the length. Add 8 bytes for each block of 2 DINTs or
REALs or a combination of DINT and REAL.
The output section ends with a line with just the keyword EndOutputs.
Tag definitions consist of the keyword EthTag, a name, the data type and the location of
the data as a word offset into the Ethernet data. The location is enclosed in square
brackets.
TIP
The default for data location is as16-bit word offsets. To change this,
prefix the offset within the brackets with one of the following:
BYTE keyword changes to BYTE Offset
INT keyword changes to INT Offset (16 bit words, same as default)
DINT keyword changes to DINT Offset (32 bit words)
REAL keyword changes to REAL Offset (32 bit words)
Examples:
EthTag Test1 int[BYTE 1]
EthTag Test2 dint[INT 3]
In the first example, Test1 has data type int and starts at BYTE offset 1.
The name can be up to 63 characters long.
There can be up to 128 output tags.
The datatype can be int, dint or real.
To define a tag for a bit within an int or a dint, append a dot and then the bit number in
decimal, 0-15 for ints and 0-31 for dints.
Sample Ethernet Template File
AssemIns, 6
O_T_ConnPt, 2
T_O_ConnPt, 1
Key,0x01,0x7b,0x4d,c3,1
; Unscheduled Msg definition
UnSchMsg