High−level Instructions
3 − 49
Outline Exchanges two 16-bit data items.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P15 (PXCH)” is not available.
Program example
Boolean
Ladder Diagram
Address Instruction
10 F15 XCH , DT 10 , DT 22
D1
D2
Trigger
R0
10
11
ST R 0
F 15 (XCH)
DT 10
DT 22
D1 16-bit area to be exchanged
D2 16-bit area to be exchanged
Operands
modifier
D1 N/A A A A A A A A A A A N/A N/A A
D2 N/A A A A A A A A A A A N/A N/A A
(*1) This cannot be used with the FP0 and FP−e.
(*2) This cannot be used with the FP0, FP−e, FP0R, FPΣ, FP−X.
(*3) With the FP0R, FPΣ,FP−X, FP2, FP2SH, and FP10SH, this is I0 to IC.
(*4) With the FP0R, FPΣ,FP−X, FP2, FP2SH, and FP10SH, this is ID.
F15
P15
16-bit data exchange
(XCH)
(PXCH)
A: Available
N/A: Not Available