FINS Commands and Responses
Section 6-1
75
/i
6-1-3
Response Code List
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.
Figure 6.2: Response code
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
6-1-4
Sending FINS using CMND
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)
Command code
Name
MRC
SRC
01
01
MEMORY AREA READ
21
02
ERROR LOG READ
03
ERROR LOG CLEAR
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
Command
code
Response
code
MRC:
Main request code
SRC: Sub-request
code
MRES: Main response code
SRES: Sub-response
code
MRC SRC
MRES
SRES
Note
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.
Summary of Contents for CJ1W-CRM21
Page 1: ...CJ1W PNT21 PROFINET IO Controller Unit OPERATION MANUAL Cat No W12E EN 02 ...
Page 2: ......
Page 7: ...vii ...
Page 16: ......
Page 26: ...Basic operating procedure Section 2 4 10 ...
Page 46: ...Installation of Configuration Software Section 3 5 30 ...
Page 76: ...Generic IO Device DTM Section 4 4 60 ...
Page 156: ...140 ...
Page 164: ...146 ...
Page 168: ...150 ...
Page 170: ...Section 152 ...