Allen-Bradley Ethernet Driver
PLC Model File Number Max. Element
SLC 5/05 Open 4, 9-999 999
PLC-5 Family 3-999 1999
SoftPLC 3-9999 9999
The following fields are allowed for each element. Refer to the PLC documentation for the meaning of each
field.
Element Field Data Type Access
ACC Short, Word Read/Write
PRE Short, Word Read/Write
DN Boolean Read Only
TT Boolean Read Only
EN Boolean Read Only
Example Description
T4:0.ACC Accumulator of timer 0 file 4.
T4:10.DN Done bit of timer 10 file 4.
T15:0.PRE Preset of timer 0 file 15.
Counter Files
Counter files are a structured type whose data is accessed by specifying a file number, an element and a field.
The default data type depends on the field being accessed. Integer fields receive a default data type of Word.
Syntax Data Type
C<file>:<element>.<field> Depends on field
File Numbers and Elements
The following file numbers and maximum element are allowed for each model.
PLC Model File Number Max. Element
SLC 5/05 Open 5, 9-999 999
PLC-5 Family 3-999 1999
SoftPLC 3-9999 9999
The following fields are allowed for each element. Refer to the PLC documentation for the meaning of each
field.
Element Field Data Type Access
ACC Short, Word Read/Write
PRE Short, Word Read/Write
UA Boolean Read Only
UN Boolean Read Only
OV Boolean Read Only
DN Boolean Read Only
CD Boolean Read Only
CU Boolean Read Only
Example Description
C5:0.ACC Accumulator of counter 0 file 5
C5:10.DN Done bit of counter 10 file 5
C15:0.PRE Preset of counter 0 file 15
www. kepware.com
24