7 APPLICATION INSTRUCTIONS
7.3 Shift Instructions
405
7
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
• The sample program shifts the 9 bits of data starting from M20 3 bits to the right and transfers 3 bits of data from M10 to the
3 bits from M26.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 n1 is other than 0 to 1024.
n2 is a negative value.
4101 n1 is smaller than n2.
The value in the device specified by the instruction exceeds the setting
range.
The device range for the number of n2 points from (S) overlaps that for the
number of n1 points from (D).
[Ladder Mode]