![Omron SYSMAC C200HE Скачать руководство пользователя страница 209](http://html1.mh-extra.com/html/omron/sysmac-c200he/sysmac-c200he_operation-manual_742434209.webp)
191
Example
The following example copies the contents of the 300 words from DM 0000
through DM 0299 to EM 2000 through EM 2299 in the current EM bank.
XFR2(––)
#0300
DM 0000
#2000
00000
Address
Instruction
Operands
00200
LD
00000
00201
XFR2(––)
#
0300
DM
0000
#
2000
5-16-12 EM BANK TRANSFER – BXF2(––)
C
: FIrst control word
IR, SR, AR, DM, HR, TC, LR, #
S
: Starting source word
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
D
: Starting destination word
IR, SR, AR, DM, HR, TC, LR, #
BXF2(––)
C
S
D
@BXF2(––)
C
S
D
Limitations
The value in C+1 must be BCD from 1 to 6144.
S and S+N must be in the same data area, as must D and D+N.
Description
When the execution condition is OFF, BXF2(––) is not executed. When the
execution condition is ON, BXF2(––) copies the contents of S, S+1, ..., S+N to D,
D+1, ..., D+N. If a constant is used for S or D, the constant specifies an address in
the source or destination EM bank specified in C.
Control Words
C contains the source and destination bank numbers if data is being transferred
to or from EM. The bank numbers are ignored unless a constant is used for S or
D.
C+1 contains the number of words to transfer and must be BCD (1 to 6144).
Control word
Bits
Function
C
0 to 7
Specifies the source bank number (00 to 02).
8 to 15
Specifies the destination bank number (00 to 02).
C+1
0 to 15
Specifies the number of words to transfer (1 to 6144).
Flags
ER:
N is not BCD.
S and S+N or D and D+N are not in the same data area.
Indirectly addressed DM word is non-existent. (Content of
DM word is
not BCD, or the DM area boundary has been exceeded.)
Data Movement
Section 5-16
Содержание 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 ...