Specifications
Allen-Bradley DF1 Driver Help
S/bit Boolean Read/Write
*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.
Ranges
PLC Model Max Word
Micrologix 96
All SLC 96
PLC-5 127
The maximum word location is one less when accessing as a 32 bit data type (Long, DWord or Long BCD).
Examples
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.
Binary Files
To access Binary files, specify a file number, a word and optional bit in the word. The default data types are
shown in bold.
Syntax Data Type Access
B<file>:<word> Short, Word, BCD,
DWord, Long, LBCD
Read/Write
B<file>:<word> [rows][cols] Short, Word, BCD,
DWord, Long, LBCD*
Read/Write
B<file>:<word> [cols] Short, Word, BCD,
DWord, Long, LBCD*
Read/Write
B<file>:<word>/<bit> Boolean Read/Write
B<file>/bit Boolean Read/Write
*Array types.
The number of array elements (in bytes) cannot exceed the block request size specified. This means that the
array size cannot exceed 16 words given a block request size of 32 bytes.
Ranges
PLC Model File Number Max Word
Micrologix 3-255 255
All SLC 3-255 255
PLC-5 3-999 1999
The maximum word location is one less when accessing as a 32 bit data type (Long, DWord or Long BCD).
Examples
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.
www. kepware.com
29