Mitsubishi Electric MELSEC-Q/L Programming Manual page 409

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Operation error
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
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).
Program example
• The sample program shifts the 9 bits of data starting from M20 3 bits to the left and transfers 3 bits of data from M10 to the
3 bits from M20.
[Ladder Mode]
Q00J/
QnH
QnPH
QnPRH
Q00/
Q01
7 APPLICATION INSTRUCTIONS
QnU
LCPU
407
7.3 Shift Instructions
7

Advertisement

Table of Contents
loading

Table of Contents