Specifications
Allen-Bradley DH+ Driver Help
DN Boolean Read/Write
ER Boolean Read/Write
CO Boolean Read/Write
EW Boolean Read/Write
NR Boolean Read/Write
TO Boolean Read/Write
EN Boolean Read/Write
S Word, Short, Boolean Read/Write
Example Description
BT14:0.RLEN Requested length field of BT 0 file 14.
BT18:6.CO Continue bit of BT 6 file 18.
BT12:4.FILE/6 File number for BT 4 file 12 (bit 6).
BT12:4.ELEM/7 Element number for BT 4 file 12 (bit 7).
BT12:0.S Status word of BT 0 file 12.
BT12:0.S/7 Status word of BT 0 file 12 (bit 7).
SC Files
SC 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.
Syntax Data Type
SC<file>:<element>.<field>/<bit> Depends on field
The following file numbers and maximum element are allowed for each model.
PLC Model File Number Max Element
SLC-500 NA NA
PLC-5 3-999 1999
The following fields are allowed for each element. For the meaning of each field, refer to the PLC's documentation.
The default data type is shown in bold.
Element Field Data Type Access
PRE Word, Short, Boolean Read/Write
TIM Word, Short, Boolean Read/Write
S Word, Short, Boolean Read/Write
DN Boolean Read/Write
ER Boolean Read/Write
OV Boolean Read/Write
LS Boolean Read/Write
SA Boolean Read/Write
Example Description
SC9:0.PRE Preset word.
SC9:0.TIM Active-time bit.
SC9:0.SA Scan-active bit.
SC9:0.FS First-scan bit.
SC9:0.LS Last-scan bit.
SC9:0.OV Timer-overflow bit.
SC9:0.ER Step-errored bit.
SC9:0.DN Done bit.
SC21:0.S Status word of SC 0 file 21.
SC21:0.S/1 Status word of SC 0 file 21 (bit 1).
www. kepware.com
55