![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436300.webp)
290
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 exe-
cution 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-1-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 C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...