User Manual PLC-3 FAMILY I/0 Instruction Manual
Addressing DH and DH+ Data Transfers
Chapter 5
5-6
Addressing Words
To address a group of consecutive words in memory, use one of the
following formats:
Format: Example:
wordaddr
,
size
$N0:47,20
filesym
:
offset
,
size
@FILE_A:15,25
wordsym
,
size
@WORD_1,20
You can only address a group of words as the source field in an assignment
command. The destination must be a file that is as large as, or larger than,
the source range.
Figure 5.4
Example
for Addressing Consecutive PLC3 W
ords
$ N 15 : 0, 20
11236
Delimiter
Address of first word
to be transferred.
Number of words to
be transferred.
Addressing a single word is similar only without specifying a size.
Format: Example:
wordaddr
$N0:47
filesym
:
offset
@FILE_A:15
wordsym
@WORD_1
The scanner interprets
wordaddr
as an octal value if the addressed word is
in an input or output file. Otherwise, it interprets
wordaddr
as a
decimal value.
You cannot use the pointer data table specifier in an assignment command.
To access words in the pointer section of the PLC-3 data table, you must
use the PLC-3 extended addressing format. For example:
$E3.1.12.0.5.0 (1st word of pointer 5)
$E3.1.12.0.5.1 (2nd word of pointer 5)