Specifications

Allen-Bradley ControlLogix Ethernet Driver Help
PLC-5 Series 3-999 1999
Note: Not all MicroLogix and SLC 500 PLC devices support ASCII file types. For more information, refer to the
PLC's documentation.
Examples
Example Description
A9:0 character 0 (high byte of word 0)
A27:10 [80] 80 character array starting at character 10
A15:0 [4] [16] 4 by 16 character array starting at character 0
A62:0/32 32 character string starting at word offset 0
String Files
To access string files, specify a file number and an element. Strings are 82 character null terminated arrays. The
driver places the null terminator based on the string length returned by the PLC. The default data types are
shown in bold.
Note: Arrays are not supported for string files.
Syntax Data Type Access
ST<file>:<element>.<field> String Read/Write
Ranges
PLC Model File Number Max. Word
MicroLogix 9-999 999
SLC 500 Fixed I/O NA NA
SLC 500 Modular I/O 9-999 999
PLC-5 Series 3-999 999
Examples
Example Description
ST9:0 String 0
ST18:10 String 10
BCD Files
To access BCD files, specify a file number and a word. The default data types are shown in bold.
PLC-5 Syntax
Syntax Data Type Access
D<file>:<word> BCD, LBCD Read/Write
D<file>:<word> [rows][cols] BCD, LBCD (array type) Read/Write
D<file>:<word> [cols] BCD, LBCD (array type) Read/Write
The number of array elements (in bytes) cannot exceed the block request size specified. This means that array
size cannot exceed 16 BCD, given a block request size of 32 bytes.
Ranges
PLC Model File Number Max. Word
MicroLogix NA NA
SLC 500 Fixed I/O NA NA
SLC 500 Modular I/O NA NA
PLC-5 Series 3-999 999
Examples
Example Description
D9:0 word 0
D27:10 [16] 16 element array starting at word 10
www. kepware.com
81