
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
Summary of Contents for SYSMAC C200HE
Page 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Page 2: ......
Page 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 380: ......
Page 410: ......
Page 438: ......
Page 464: ......
Page 474: ......
Page 522: ......
Page 538: ......
Page 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Page 554: ......
Page 560: ......
Page 584: ......
Page 585: ......
Page 586: ...W303 E1 09 ...