Cpu Unit Status Read: 06 01 - 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

5-3-17 CPU UNIT STATUS READ: 06 01

Execution Conditions
Command Format
Response Format
06
01
Command
code
Parameters
7
6
5
4
Bit
Undefined
Number of Units (response)
The number of Units for which the connection data is being returned. If bit 7 is
ON (1), it means that the data for the last Unit is being returned. The maxi-
mum setting is 19 hex (25). If the number of items is not specified, 19 hex (25)
will be used.
Unit address and model number (response)
These response parameters show the unit address and model number. The
model number is provided in up to 20 ASCII characters.
End code (response)
Refer to 5-1-3 End Codes for information on end codes.
Reads the operating status of the CPU Unit.
Access right at
other device
OK
RUN mode
OK
06
01
Command
code
End code
Fatal error
data
Status
Mode
Status (response)
The operating status of the CPU Unit is as shown below. Bits 3 to 6 are unde-
fined. Always mask these bits before accessing them.
3
2
1
0
Status
0: Stop (user program is not being executed)
1: Run (user program is being executed)
Built-in flash memory access (CS1-H, CJ1-H, CJ1M, CP1H, NSJ, and CS1D only)
0: Not writing, 1: Writing
Battery status (CS1-H, CJ1-H, CJ1M, CP1H, NSJ, and CS1D only)
0: No battery, 1: Battery present
CPU status
0: Normal
1: CPU on standby
(waiting for a signal from a device,
such as a SYSMAC BUS Remote I/O Slave Unit).
UM read
DIP switch UM write
protection
protection
OK
MONITOR mode
OK
Non-fatal
Message
Error
error data
Yes/no
code
Section 5-3
Network write
protection
OK
OK
PROGRAM mode
OK
16 bytes
Error
message
193

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents