Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1160

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Display Instructions: DISPLAY MESSAGE: MSG(046)
Applicable Program Areas
Operands
Operand Specifications
Description
Block program areas
OK
N: Message number
The message number must be 0000 to 0007 hexadecimal (or 0 to 7 decimal).
M: First message word
When displaying a message, M specifies the address of the first of the words
containing the ASCII message. When clearing a message, M can be any
hexadecimal constant (0000 through FFFF).
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
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, a Programming Console 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).
Step program areas
OK
OK
N
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
#0000 to #0007 (binary) or
&0 to &7
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Section 3-27
Subroutines
Interrupt tasks
OK
M
#0000 to #FFFF (binary)
---
1121

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents