Specifications
Allen-Bradley DH+ Driver Help
PLC Model Max Word
SLC Family 999
PLC-5 Family 999
Example Description
S:0 word 0.
S/26 bit 26.
S:4/15 bit 15 word 4.
S:10 [16] 16 element array starting at word 10.
S:0 [4] [8] 4 by 8 element array starting at word 0.
Timer Files
Timer 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
T<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 4, 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
ACC Short, Word, Boolean Read/Write
PRE Short, Word, Boolean Read/Write
DN Boolean Read Only
TT Boolean Read Only
EN Boolean Read Only
S Word, Short, Boolean Read/Write
Example Description
T4:0.ACC Accumulator of timer 0 file 4.
T4:3.ACC/0 Accumulator of timer 3 file 4 (bit 0).
T4:10.DN Done bit of timer 10 file 4.
T15:0.PRE Preset of timer 0 file 15.
T4:3.PRE/1 Preset of timer 3 file 4 (bit 1).
T4:0.S Status word of timer 0 file 4.
T4:0.S/12 Status word of timer 0 file 4 (bit 12).
Counter Files
Counter 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
C<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 5, 9-999 999
PLC-5 Family 3-999 1999
www. kepware.com
48