Display Instructions - Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual

Table of Contents

Advertisement

Display Instructions

MSG
Instruction
Display Instructions
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
N
Message number
M
First message word
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).
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
OK
OK
OK
M
Flags
Name
Error Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
MSG
@MSG
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
• ON if the content of S is not 0000 to 0007 hexadecimal.
• OFF in all other cases.
Function
code
Reads the specified sixteen words of extended
046
ASCII and displays the message on a Peripheral
Device such as a Programming Console.
MSG
MSG(046)
N: Message number
N
M: First message word
M
Subroutines
OK
Data type
UINT
UINT
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
OK
OK
OK
OK
---
Operation
3. Instructions
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Size
1
Variable
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
---
---
967

Advertisement

Table of Contents
loading

Table of Contents