Specifications
Allen-Bradley DH+ Driver Help
The following fields are allowed for each element. For the meaning of each field, refer to the PLC's documentation.
The default data type is shown in bold.
Element Field Data Type Access
ACC Word, Short, Boolean Read/Write
PRE Word, Short, Boolean Read/Write
UA Boolean Read Only
UN Boolean Read Only
OV Boolean Read Only
DN Boolean Read Only
CD Boolean Read Only
CU Boolean Read Only
S Word, Short, Boolean Read/Write
Example Description
C5:0.ACC Accumulator of counter 0 file 5.
C5:2.ACC/2 Accumulator of counter 2 file 5 (bit 2).
C5:10.DN Done bit of counter 10 file 5.
C15:0.PRE Preset of counter 0 file 15.
C5:2.PRE/3 Preset of counter 2 file 5 (bit 3).
C5:0.S Status word of counter 0 file 5.
C5:0.S/9 Status word of counter 0 file 5 (bit 9).
Control Files
Control 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
R<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 Family 6, 9-999 999
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.
The default data type is shown in bold.
Element Field Data Type Access
LEN Word, Short, Boolean Read/Write
POS Word, Short, Boolean Read/Write
FD Boolean Read Only
IN Boolean Read Only
UL Boolean Read Only
ER Boolean Read Only
EM Boolean Read Only
DN Boolean Read Only
EU Boolean Read Only
EN Boolean Read Only
S Word, Short, Boolean Read/Write
Example Description
R6:0.LEN Length field of control 0 file 6.
R6:1.LEN/5 Length field of control 1 file 6 (bit 5).
R6:10.DN Done bit of control 10 file 6.
www. kepware.com
49