![Omron SYSMAC C200HE Скачать руководство пользователя страница 337](http://html1.mh-extra.com/html/omron/sysmac-c200he/sysmac-c200he_operation-manual_742434337.webp)
319
Example
In the following example, the 10 word range from DM 0010 to DM 0019 is
searched for addresses that contain the same data as DM 0000 (#FFFF). Since
DM 0012 contains the same data, the EQ Flag (SR 25506) is turned ON and
#0012 is written to DM 0001.
@SRCH(––)
DM 0010
#0010
00001
DM 0000
Address
Instruction
Operands
00000
LD
00001
00001
@SRCH(––)
#
0010
DM
0010
DM
0000
DM 0010
0000
DM 0011
9898
DM 0012
FFFF
DM 0013
9797
DM 0014
AAAA
DM 0015
9595
DM 0016
1414
DM 0017
0000
DM 0018
0000
DM 0019
FFFF
DM 0000
FFFF
DM 0001
0012
5-25-14 EXPANSION DM READ – XDMR(––)
S
: First expansion DM word
IR, SR, AR, DM, HR, TC, LR, #
N
: Number of words
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
@XDMR(––)
N
S
D
D
: First destination word
IR, SR, AR, DM, HR, LR
XDMR(––)
N
S
D
Limitations
N must be BCD between 0001 and 3000.
S must be BCD between 7000 and 9999.
S and S+N–1 must be in the same data area, as must D and D+N–1.
Description
When the execution condition is OFF, XDMR(––) is not executed. When the
execution condition is ON, XDMR(––) copies the contents of expansion DM
words S through S+N–1 to the destination words D through D+N–1.
Precautions
The Expansion DM area must be set in the PC Setup before it can be used in
programming. Do not exceed the set range of the Expansion DM area.
Execution of XDMR(––) is given priority whenever a power interruption occurs.
Flags
ER:
The specified expansion DM words are non-existent. Make sure that
the specified words have been allocated to expansion DM. Refer to
7-2-15 UM Area Allocation
for details.
Indirectly addressed DM word is non-existent. (Content of
DM word is
not BCD, or the DM area boundary has been exceeded.)
N is not BCD between 0001 and 3000.
S is not BCD between 7000 and 9999.
Special Instructions
Section 5-25
Содержание SYSMAC C200HE
Страница 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Страница 2: ......
Страница 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 380: ......
Страница 410: ......
Страница 438: ......
Страница 464: ......
Страница 474: ......
Страница 522: ......
Страница 538: ......
Страница 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 554: ......
Страница 560: ......
Страница 584: ......
Страница 585: ......
Страница 586: ...W303 E1 09 ...