Specifications

Allen-Bradley DH+ Driver Help
I:12 word 0 slot 12.
I:12.2 word 2 slot 12.
I:4.0/0 bit 0 word 0 slot 4.
I:4/0 bit 0 slot 4 (same as I:4.0/0).
I:4.2/0 bit 0 word 2 slot 4.
I:4/32 bit 32 slot 4 (same as I:4.2/0).
Binary Files
To access a binary file, specify a file number, a word and (optionally) a bit within the word. The default data type
for all syntax is shown in bold.
Syntax Data Type
B<file>:<word> Short, Word, BCD, DWord, Long, LBCD
B<file>:<word> [rows][cols] Short, Word, BCD, DWord, Long, LBCD*
B<file>:<word> [cols] Short, Word, BCD, DWord, Long, LBCD*
B<file>:<word>/<bit> Boolean
B<file>/bit Boolean
*Array types.
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. For more information, refer to
Communications Parameters.
The following file numbers and maximum 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 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
To access a status file, 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*
S:<word> [cols] Short, Word, BCD, DWord, Long, LBCD*
S:<word>/<bit> Boolean
S/bit Boolean
*Array types.
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. For more information, refer to
Communications Parameters.
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).
www. kepware.com
47