High
−
level Instructions
3
−
287
Description
Rotates “n” bits of the 32-bit data specified by D, including carry flag data, to the right when the trigger turns
on.
15
0
Carry flag
[D+1]
[D]
0 15
Trigger:
on
Data in bit position 0 of D
When “n” bits with carry flag data are rotated to the right,
−
The data in bit position n-1 (nth bit starting from bit position 0) is transferred to special internal relay
R9009 (carry flag).
−
“n” bits starting from bit position 0 are shifted out to the right and then carry flag data and the n-1 bits
starting from bit position 0 are shifted into the higher bit positions of the 32-bit data specified by D.
Only the lower eight bits of the 16-bit data “n” are effective.
0 0 0 0 0 0 0 0
15
0
K0 to K255(H00 to HFF)
n
Upper 8 bits
are invalid
When “n” is specified using K0, the contents of “D+1 and D” and the carry flag do not change.
Precautions during programming
If the specified “n” is a multiple of 33 bits, the data will be the same as that before the operation.
e.g.,n = K33: same operation as n = K0
Flag conditions
・
Error flag (R9007): Turns on and stays on when the area specified using the index modifier
exceeds the limit.
・
Error flag (R9008): Turns on for an instant when the area specified using the index modifier
exceeds the limit.
・
Carry flag (R9009): Content in the nth bit from LSB (least significant bit) turns on for an instant
when the data in bit position n-1 (nth bit starting from bit position 0) is
recognized as 1.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...