912
Display Instructions Section 3-25
Description When the execution condition is ON, MSG(046) registers the 16 words of
ASCII data (up to 32 characters including the null character) from M to M+15
for the message number specified by N. Once a message has been regis-
tered, the Programming Device can be connected and the message will be
displayed after any error messages that have been generated.
After a message has been registered, the message display can be changed
by overwriting the message in the message storage area.
To clear a message that has been registered, execute MSG(046) with S set to
the message number of the message you want to clear and N set to a con-
stant (0000 to FFFF).
A message registered during program execution will be retained even if pro-
gram execution is stopped, but all messages will be cleared when the pro-
gram is executed again.
Flags
Precautions Registered messages are updated each time MSG(046) is executed.
All message characters after the null character (00) are converted to spaces
in the Programming Device display.
The character stored in the leftmost byte is displayed before the character in
the rightmost byte.
Examples When CIO 0.00 turns ON in the following example, the 16 words of data in
D100 through D115 are read as the 32 characters of ASCII data for message
number 7 and displayed at the Programming Device.
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants #0000 to #0007 (binary) or
&0 to &7
#0000 to #FFFF (binary)
Data Registers DR0 to DR15 ---
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area M N
Name Label Operation
Error Flag ER ON if the content of S is not 0000 to 0007 hexadecimal.
OFF in all other cases.