High−level Instructions
3 − 250
Outline Shifts one hexadecimal digit (4 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 instructions
are 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 hexadecimal digit (4 bits) of the data range (10 words) from DT0 through DT9 to the right when
trigger R0 turns on.
02
R0: on
The data “2” in the lower
hexadecimal digit (bit positions 0
to 3) is shifted out.
Specified data range (10 words = 40 digits)
12 00232
·· ·· · · · ·
15 1211 8 7 4 3 0
DT9
·· ·· · · · ·
15 1211 8 7 4 3 0
DT0
0212 0 0 2 3
·· ·· · · · ·
15 1211 8 7 4 3 0
DT9
·· ·· · · · ·
15 1211 8 7 4 3 0
DT0
··
15
··
15
··
0
··
0
0
The higher hexdecimal digit
(bit position 12 to 15) becomes 0.
F112
P112
(PWBSR)
(WBSR)
Right shift of one hexadecimal digit (4−bit)
of 16-bit data range
A: Available
N/A: Not Available