Specifications
51
www.kepware.com
Allen-Bradley DH+/DH-485 Device Driver Help
Syntax
Data Type
D<file>:<word>
BCD, LBCD
D<file>:<word> [rows][cols]
BCD, LBCD (array types)
D<file>:<word> [cols]
BCD, LBCD (array types)
The number of array elements (in bytes) cannot exceed the block request size specified. This means that array size
cannot exceed 16 BCDs given a block request size of 32 bytes.
The following file numbers and maximum word locations are allowed for each model.
PLC Model
File Number
Max Word
SLC 5/05 Open
NA
NA
PLC-5 Family
3-999
999
Example
Description
D9:0
word 0
D27:10 [16]
16 element array starting at word 10
D15:0 [4] [8]
32 element array starting at word 0
PID Files
PID 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
PD<file>:<element>.<field>
Depends on field
The following file numbers and maximum element are allowed for each model.
PLC Model
File Number
Max Element
SLC 5/05 Open
NA
NA
PLC-5 Family
3-999
999
The following fields are allowed for each element. Refer to the PLC documentation for the meaning of each field.
Element Field
Data Type
Access
SP
Real
Read/Write
KP
Real
Read/Write
KI
Real
Read/Write
KD
Real
Read/Write
BIAS
Real
Read/Write
MAXS
Real
Read/Write
MINS
Real
Read/Write
DB
Real
Read/Write
SO
Real
Read/Write
MAXO
Real
Read/Write
MINO
Real
Read/Write
UPD
Real
Read/Write
PV
Real
Read/Write
ERR
Real
Read/Write
OUT
Real
Read/Write
PVH
Real
Read/Write
PVL
Real
Read/Write