![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301161.webp)
1121
Display Instructions: DISPLAY MESSAGE: MSG(046)
Section 3-27
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.
Note Refer to Appendix A in the CS/CJ-series Programming Consoles Operation
Manual (W341) for a table showing extended ASCII.
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 Console display.
The character stored in the leftmost byte is displayed before the character in
the rightmost byte.
An error will occur and the Error Flag will turn ON if N is not between 0 and 7.
Examples
The following diagram shows how 16 words of hexadecimal data are con-
verted to a message displayed on the Programming Console.
When CIO 000000 turns ON in the following example, the 16 words of data in
D00100 through D00115 are read as the 32 characters of ASCII data for mes-
sage number 7 and displayed at the Peripheral device.
Name
Label
Operation
Error Flag
ER
ON if the content of S is not 0000 to 0007 hexadecimal.
OFF in all other cases.
N+1
N
N+2
N+15
A B C D E F
MSG
4
4
4
B
16 characters
×
2 lines
Programming Console display
16 words
(32 characters)
M:
4D
41
54
45
52
49
41
4C
20
53
48
4F
52
54
MSG
MATERIAL SHORT
D00107
D00115
N
M
Spaces
16 characters
×
2 lines max.
Reads ASCII
data up to 00.
Leave out spaces.
(Values ignored)
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...