Specifications
Allen-Bradley ControlLogix Ethernet Driver Help
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 6, 9-999 999
SLC 500 Fixed I/O 6, 9-255 255
SLC 500 Modular I/O 6, 9-999 999
PLC-5 Series 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 (array type) Read/Write
N<file>:<word> [cols] Short, Word, BCD, DWord, Long, LBCD (array type) Read/Write
N<file>:<word>/<bit> Boolean Read/Write
N<file>/bit Boolean Read/Write
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
MicroLogix 7, 9-999 999
SLC 500 Fixed I/O 7, 9-255 255
SLC 500 Modular I/O 7, 9-999 999
PLC-5 Series 3-999 1999
The maximum word location is one less when accessing as a 32-bit data type (such as Long, DWord, or Long
BCD).
Examples
Example Description
www. kepware.com
79