High−level Instructions
3 − 246
Outline Shifts one word (16 bits) of a specified 16-bit data range to the right.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P110 (PWSHR)” is not available.
Program example
modifier
D1 N/A A A A A A A A A N/A N/A N/A A
D2 N/A A A A A A A A A N/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.
Explanation of example
Shifts one word (16 bits) of the data range (3 words) from DT0 through DT2 to the right when trigger R0 turns
on.
Data register
Hexadecimal
DT2
0212 003
DT1
0 023
DT0
2
Data register
Hexadecimal
DT2
0000 021
DT1
2 003
DT0
0
The data in DT0 is shifted out.
Specified data range (3 words)
F110
P110
(PWSHR)
(WSHR)
Right shift of one word (16 bits) of 16-bit data range
A: Available
N/A: Not Available