Mitsubishi Electric MELSEC-Q/L Programming Manual page 584

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.
For MIDR instruction
Error
Error details
code
4101
The value of (S2) exceeds the number of characters specified by (S1).
The amount of (S2) and (S2) +1 exceeds the number of characters of (S1).
The (S2)+1 number of characters from position (D) exceeds the (D) device
range.
The (S2)+0 value is 0.
The values of (S2)+1 are those other than the effective values (-1, 0, 1 or
over).
There is no NULL code "00H" within the range of the corresponding devices
starting from the device number specified by (S1).
For MIDW instruction
Error
Error details
code
4101
The value of (S2) exceeds the number of characters specified by (D).
The amount of (S2) and (S2) +1 exceeds the number of characters of (S1).
The (S2)+1 value exceeds the number of characters for (S1).
The (S2)+0 value is 0.
The values of (S2)+1 are those other than the effective values (-1, 0, 1 or
over).
There is no NULL code "00H" within the range of the corresponding devices
starting from the device number specified by (S1).
7 APPLICATION INSTRUCTIONS
582
7.11 Character String Processing Instructions
Q00J/
QnH
QnPH
Q00/
Q01
Q00J/
QnH
QnPH
Q00/
Q01
QnPRH
QnU
LCPU
QnPRH
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents