Previous | Contents | Index |
3.3.4 PLC-5/250 Addressing Syntax and Supported Data Types
This section describes legal addresses and data types for the PLC-5/250
PLC. For information on addresses and supported data types for the 1785
PLC-5 family, refer to Section 3.3.3.
The PLC-5/250 supports the following four types of modules:
Resource Manager
Logic Processor (1-4)
Remote Scanner (1-4)
CVIM (1-4)
Each module can be addressed and supports different types of memory sections. The structure of a legal address for the PLC-5/250 differs depending on the area of memory that is being addressed.
The PLC-5/250 supports the following memory sections for the Resource Manager and Logic Processor modules:
B - Binary
N - Integer
L - Long Integer
F - Floating-Point
T - Timer
C - Counter
R - Control
ST - String
PD - PID Control
MSG - Message Control
S - Status
The PLC-5/250 supports the following memory sections for the Remote Scanner module:
I - Input
O - Output
BTD - Block-Transfer Data
BR - Block-Transfer Read Control
BW - Block-Transfer Write Control
AS - Adapter Status
IS - Internal Storage
The PLC-5/250 supports the following memory section for the CVIM module:
SD - Shared Data
Figure 3-23 shows the structure of a legal Binary, Floating-Point, Long Integer or Integer table address for the PLC-5/250.
Table 3-17 shows examples of legal Binary, Floating-Point, Long Integer and Integer table addresses for the PLC-5/250.
Figure 3-23 PLC-5 / 250 Binary, Floating-Point, Long Integer and Integer Address Format
Example Address | MMS Type1 | Description |
---|---|---|
$0N20:0 | INTEGER_16 | Word 0 of integer file 20 |
0L5:3 | UNSIGNED_32 2 | Word 3 of long integer file 5 |
1L3:145 | SIGNED_32 2 | Word 145 of long integer file 3 |
0F39:19 | FLOAT 3 | Word 19 of floating-point file 39 |
0B91:20/10 | BIT_STRING | Bit 10 of word 20 of binary file 91 |
1B3:33 | UNSIGNED_16 | Word 33 of binary file 3 |
0N7:91 | UNSIGNED_16 | Word 91 of integer file 7 |
0F8:3 | FLOAT | Word 3 of floating-point file 8 |
0B2/124 | BIT_STRING | Bit 12 of word 7 in the binary file 2 |
0B3:3/3 | Array of 10 BIT 4 | Ten bits beginning at word 3 of binary file 3 |
Previous | Next | Contents | Index |