Previous | Contents | Index |
Figure 3-12 shows the structure of a legal ASCII, Binary, Decimal, Floating-Point or Integer data table address for the PLC-5.
Table 3-15 shows examples of legal ASCII, Binary, Decimal, Floating-Point and Integer data table addresses for the PLC-5.
Figure 3-12 PLC-5 ASCII, Binary, Decimal, Floating-Point and Integer Data Table Address Format
Example Address | MMS Type1 | Description |
---|---|---|
$N20:0 | INTEGER_16 | Word 0 of integer file 20 |
D20:780 | BCD4 2 | Word 780 of decimal (BCD) file 20 |
F39:19 | FLOAT 3 | Word 19 of floating-point file 39 |
A10:20 | VISIBLE_STRING 5 | Word 20 of ASCII file 10 |
A11:0 | OCTET_STRING 4 | Word 0 of ASCII file 11 |
B91:20/10 | BIT_STRING 5 | Bit 10 of word 20 of binary file 91 |
B:33 | UNSIGNED_16 | Word 33 of the default binary file (3) |
N:91 | UNSIGNED_16 | Word 91 of the default integer file (7) |
F:3 | FLOAT | Word 3 of the default floating-point file (8) |
B/155 | BIT_STRING | Bit 11 of word 9 in the default binary file (3) |
Previous | Next | Contents | Index |