Block Transfer - Xfer(70); Data Exchange - Xchg(73) - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Data Movement
5-14-4
BLOCK TRANSFER – XFER(70)
Limitations
Description
Flags
5-14-5
DATA EXCHANGE – XCHG(73)
Description
138
Ladder Symbols
XFER(70)
@XFER(70)
N
S
D
Both S and D may be in the same data area, but their respective block areas
must not overlap. S and S+N must be in the same data area, as must D and
D+N,
When the execution condition is OFF, XFER(70) is not executed. When the
execution condition is ON, XFER(70) copies the contents of S, S+1, ..., S+N
to D, D+1, ..., D+N.
S
3 4 5
2
S+1
3 4 5
1
S+2
3 4 2
2
S+N
6 4 5
2
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.)
Ladder Symbols
XCHG(73)
@XCHG(73)
E1
E2
When the execution condition is OFF, XCHG(73) is not executed. When the
execution condition is ON, XCHG(73) exchanges the content of E1 and E2.
N: Number of words (BCD)
IR, SR, AR, DM, HR, TC, LR, #
N
IR, SR, AR, DM, HR, TC, LR
S
D: Starting destination word
D
D
3 4 5
2
D+1
3 4 5
1
D+2
3 4 2
2
D+N
6 4 5
2
Operand Data Areas
E1
E2
Section 5-14
Operand Data Areas
S: Starting source word
IR, AR, DM, HR, TC, LR
E1: Exchange word 1
IR, AR, DM, HR, TC, LR
E2: Exchange word 2
IR, AR, DM, HR, TC, LR

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC C2000H and is the answer not in the manual?

This manual is also suitable for:

Sysmac c1000h

Table of Contents