PLC-5 devices support the following address formats:
File Type |
Address Format |
D. A. N, F, B |
<FILE><FILE NUMBER>:<ELEMENT> |
|
The use of leading zeros when specifying the <FILE NUMBER> and <ELEMENT> is not supported. |
S, I, O |
<FILE>:<OFFSET> |
|
where <FILE> is I for inputs, O for outputs, and S for status. |
T, C, R |
<FILE><FILE NUMBER>:<ELEMENT>.<TYPE> |
|
where <TYPE> is one of the following: ACC - Accumulator PRE - Preset CTL - Control Word LEN - Length (R only) POS - Position (R only) Accumulators, Presets, and Control Words are 16 bits. |
|
Bit offsets for the Control Word (CTL) in Controls are: |
|
Control Bit |
Offset |
Control Bit |
Offset |
|
EN |
15 |
ER |
11 |
|
EU |
14 |
UL |
10 |
|
DN |
13 |
IN |
9 |
|
EM |
12 |
FD |
8 |
|
Bit offsets for the Control Word (CTL) in Counters and Timers are: |
|
Counters |
Timers |
||
|
Control Bit |
Offset |
Control Bit |
Offset |
|
CU |
15 |
EN |
15 |
|
CD |
14 |
TT |
14 |
|
DN |
13 |
DN |
13 |
|
OV |
12 |
|
|
|
UN |
11 |
|
|
PD |
<FILE NUMBER>:<ELEMENT> |
|
For more information about using this file type, see PLC-5 PD File Support. |
Point address formats. |