Specifications

Allen-Bradley DH+ Driver Help
Message Files
Message files are a structured type whose data is accessed by specifying a file number, an element and a field.
The default data type depends on the field being accessed. Integer fields receive a default data type of Word.
Syntax Data Type
MG<file>:<element>.<field> Depends on field
The following file numbers and maximum element are allowed for each model.
PLC Model File Number Max Element
SLC 5/05 Open NA NA
PLC-5 Family 3-999 999
The following fields are allowed for each element. For the meaning of each field, refer to the PLC's documentation.
The default data types are shown in bold.
Element Field Data Type Access
ERR Short, Word Read/Write
RLEN Short, Word Read/Write
DLEN Short, Word Read/Write
EN Boolean Read/Write
ST Boolean Read/Write
DN Boolean Read/Write
ER Boolean Read/Write
CO Boolean Read/Write
EW Boolean Read/Write
NR Boolean Read/Write
TO Boolean Read/Write
Example Description
MG14:0.RLEN Requested length field of MG 0 file 14.
MG18:6.CO Continue bit of MG 6 file 18.
Block Transfer Files
Block transfer files are a structured type whose data is accessed by specifying a file number, an element and a
field. The default data type depends on the field being accessed. Integer fields receive a default data type of
Word.
Syntax Data Type
BT<file>:<element>.<field> Depends on field
The following file numbers and maximum element are allowed for each model.
PLC Model File Number Max Word
SLC 5/05 Open NA NA
PLC-5 Family 3-999 1999
The following fields are allowed for each element. For the meaning of each field, refer to the PLC's documentation.
Element Field Data Type Access
RLEN Word, Short Read/Write
DLEN Word, Short Read/Write
FILE Word, Short, Boolean Read/Write
ELEM Word, Short, Boolean Read/Write
RW Boolean Read/Write
ST Boolean Read/Write
www. kepware.com
54