Omron CJ1W-DRM21 Operation Manual page 209

Machine automation controller cj-series, nj-series cpu unit
Hide thumbs Also See for CJ1W-DRM21:
Table of Contents

Advertisement

CPU Unit Status Read (Service Code: 40 Hex)
This PLC Object service reads detailed status (operation status, operating mode) from the CPU
Unit.
Command Block
Note A body format of either 8 bits or 16 bits is possible.
Response Block
Parameters
Service Code (command, response): 40 Hex is specified for commands. For responses, the high-
est bit will turn ON and C0 Hex will be returned.
Class ID (command): Always 2F Hex.
Instance ID (command): Always 00 Hex.
Read Data (response): The read data is given in the following table. The data is returned after the
service code in the order shown in the table (high to low).
Operation Status
RUN mode
00 Hex
00 Hex
00 Hex
00 Hex
00 Hex
00 Hex
00 Hex
00 Hex
ASCII with 20 hex (space) in 16 bytes
• Operation status: Returns the operation status of the CPU Unit in 1-byte (2-digit) hexadecimal.
00 Hex: "Stop" Mode, 01 Hex: "Run" Mode
• Operating mode: Returns the operating mode of the CPU Unit in 1-byte (2-digit) hexadecimal.
00 Hex: "Program" Mode, 04 Hex: "Run" Mode
Byte Data Read (Service Code: 1C Hex)
Byte Data Read reads any I/O memory area data in the memory used for CJ-series Unit in a CPU Unit
with a CJ-series DeviceNet Unit mounted. The read word data is in byte units. The response block is
returned from high to low bytes.
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
40
2F
00
(*)
(*)
Service Code
Instance ID
Class ID
C0
Service Code
Detailed status
6 Message Communications
6
6-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents