Specifications

46
www.kepware.com
Allen-Bradley DH+/DH-485 Device Driver Help
PLC Model
File Number
Max Word
SLC 5/05 Open
3, 9-999
999
PLC-5 Family
3-999
1999
Example
Description
B3:0
word 0
B3/26
bit 26
B12:4/15
bit 15 word 4
B3:10 [20]
20 element array starting at word 10
B15:0 [6] [6]
6 by 6 element array starting at word 0
Status Files
The syntax for accessing a status file is to specify a word and (optionally) a bit within the word. The default data type
for all syntax is shown in bold.
Syntax
Data Type
S:<word>
Short, Word, BCD, DWord, Long, LBCD
S:<word> [rows][cols]
Short, Word, BCD, DWord, Long, LBCD (array types)
S:<word> [cols]
Short, Word, BCD, DWord, Long, LBCD (array types)
S:<word>/<bit>
Boolean
S/bit
Boolean
The number of array elements (in bytes) cannot exceed the block request size specified. This means that array size
cannot exceed 16 words given a block request size of 32 bytes.
The following word locations are allowed for each model. The maximum word location is one less when accessing as a
32 bit data type (Long, DWord or Long BCD).
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