Omron PROFINET IO CJ1W-PRM21 Operation Manual page 91

Controller unit
Table of Contents

Advertisement

FINS Commands and Responses
6-1-3
Response Code List
Note
6-1-4
Sending FINS using CMND
/i
Command code
MRC
SRC
01
01
21
02
03
Response codes are 2-byte codes which indicate the results of command
execution. They are returned in the response following the command code.
The first byte of a response code is the MRES (main response code), which
categorizes the results of command execution. The second byte is the SRES
(sub-response code) which specifies the results.
Command
code
MRC SRC
The MRES codes are shown in the following table along with the results they
indicate. Refer to Communications Commands Reference Manual (W342) for
details on response codes including the SRES.
/i
MRES
Execution results
00
Normal completion
01
Master Unit error
02
Slave device error
04
Service not supported
10
Command format error
11
Parameter error
20
Read not possible
22
Status error
The MRES codes are shown in the following table along with the results
they indicate. Refer to Communications Commands Reference Manual
(W342) for details on response codes including the SRES.
The CMND instruction can be executed from the user program in a CS/CJ-
series PLC. CMND sends "n" bytes of command data beginning with S (the
beginning send word for storing command data at the source node) to
destination node N. In return, "m" bytes of response data are stored at the
source node beginning with D (the beginning receive word for storing
response data)
Name
MEMORY AREA READ
ERROR LOG READ
ERROR LOG CLEAR
MRC:
Response
SRC:
code
MRES:
SRES:
MRES SRES
Figure 6.2: Response code
Section 6-1
Main request code
Sub-request code
Main response code
Sub-response code
75

Advertisement

Table of Contents
loading

Table of Contents