Mitsubishi MELSEC-Q/L Programming Manual page 665

Table of Contents

Advertisement

Function
(1) The string data specified by
The string specified directly by
specified by
until the device number storing "00
S
S
S
+1
S
+2
S
+3
S
+4
(2) Strings of up to 128 single-byte characters can be displayed in the display unit.
(3) The user message is displayed when the UMSG instruction command is rising.
If the string is changed while the command is on, then the modified user message will appear in the display unit.
(4) The string specified by the UMSG instruction is displayed upon END processing. If two or more UMSG instructions are
executed, then the last UMSG instruction executed before the END is valid. If two or more programs are running, then
the last UMSG instruction to be executed is valid.
(5) This instruction is not processed if it is run when no display unit is mounted.
(6) If the "ESC" key on the display unit is pressed while a user message is being displayed, the displayed message will
disappear.
To display the message again, execute "User Message" from the menu screen on the display unit.
(7) If a NULL code (00
) is specified as the argument to this instruction, then any message currently being displayed will
H
disappear.
The procedure for specifying a NULL code (00
Specifying a NULL code(00
See the MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals) for details about the display
unit.
Operation Error
(1) The following will cause a computation error, setting the error flag (SM0), and storing an error code in SD0.
Error
code
4100
More than 128 characters are specified in the
There is no NULL code (00
4101
following the device number specified by
is displayed as a user message in the display unit.
S
(surrounded by double quotation marks (")) or the string from the device number
S
" is displayed.
H
b15 to b8
b7 to b0
2nd char
1st char
4th char
3rd char
6th char
5th char
8th char
7th char
10th char
9th char
00
H
Indicates end of string.
) in the instruction parameter is as follows.
H
)
H
Error details
string.
S
) within the range of the target device
H
S
User message
Process A complete.
Run UMSG
instruction
Message appears
on display unit.
Q00J/
Q00/
QnH
QnPH QnPRH
Q01
––
––
––
––
UMSG
QnU
LCPU
––
––
––
––
––
––
663
1
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents