Message Clear: 09 20 - Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

FINS Commands
Comments

5-3-22 MESSAGE CLEAR: 09 20

Execution Conditions
Command Format
Response Format
First byte
15
14
13
8
0
0
0
0
Set to 0
00: Message read
Message (response)
Each message is returned in numerical order, from smaller to larger, accord-
ing to the message number. Each message consists of 32 ASCII characters
(32 bytes). The total number of bytes of the messages is calculated as fol-
lows:
The number of messages read × 32 bytes
If a message consists of less than 32 bytes, the remainder will be filled with
spaces (20 hex). If no message has been registered for a message number
that has been requested, 32 bytes of spaces (20 hex) will be returned.
End code (response)
Refer to 5-1-3 End Codes for information on end codes.
The MESSAGE READ, MESSAGE CLEAR (refer to 5-3-22 MESSAGE
CLEAR: 09 20), and FAL/FALS READ (refer to 5-3-23 FAL/FALS READ: 09
20) commands share the same command code (0920). They are distin-
guished by bits 14 and 15 of the two-byte parameter following the command
code. To read MSG(195) messages, bits 14 and 15 must be OFF (0).
Clears messages generated with MSG(195).
Access right at
other device
No (when clearing
messages)
RUN mode
OK
09
20
Command
Message No.
code
09
20
Command
End code
code
Second byte
7
6
5
4
3
2
1
UM read
DIP switch UM write
protection
protection
OK
OK
MONITOR mode
OK
Section 5-3
0
Message No. 0
Message No. 1
Message No. 2
Message No. 3
Message No. 4
Message No. 5
Message No. 6
Message No. 7
Network write
protection
OK
PROGRAM mode
OK
199

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents