Specifications
Allen-Bradley DF1 Driver Help
C5:10.DN Done bit of counter 10 file 5.
C15:0.PRE Preset of counter 0 file 15.
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 types are shown in bold.
Syntax Data Type Access
R<file>:<element>.<field> Depends on field Depends on field
The following fields are allowed for each element. For the meaning of each field, refer to the PLC's documentation.
Element Field Data Type Access
LEN Word, Short Read/Write
POS Word, Short 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
Ranges
PLC Model File Number Max Element
Micrologix 3–255 255
All SLC 3–255 255
PLC-5 3-999 1999
Examples
Example Description
R6:0.LEN Length field of control 0 file 6.
R6:10.DN Done bit of control 10 file 6.
R15:18.POS Position field of control 18 file 15.
Integer Files
To access Integer files, specify a file number, a word and an optional bit in the word. The default data types are
shown in bold.
Syntax Data Type Access
N<file>:<word> Short, Word, BCD,
DWord, Long, LBCD
Read/Write
N<file>:<word> [rows][cols] Short, Word, BCD,
DWord, Long, LBCD*
Read/Write
N<file>:<word> [cols] Short, Word, BCD,
DWord, Long, LBCD*
Read/Write
N<file>:<word>/<bit> Boolean Read/Write
N<file>/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 File Number Max Word
www. kepware.com
31