Response Codes; Configuration - Omron SYSMAC CS1W-CLK11 Operation Manual

Table of Contents

Advertisement

Response Codes

6-7
Response Codes
6-7-1

Configuration

168
Memory Areas
Forced status can be read in the following areas. Refer to 6-6-2 Memory Area
Designations for memory area designations.
Area
IR, SR, LR, HR, and
AR areas
Timer/counter area
Note Forced status is read by words for the IR, SR, LR, HR, or AR area and by bits/
flags for the Timer/Counter area.
Data (response): Forced status is returned beginning from the specified word
or timer/counter. The number of bytes returned will be (the number of units) x
(the number of bytes/unit).
IR, SR, LR, HR, and AR Areas:
15 14 13 12 11 10
Bit
Bit 14
Bit 15
Bit 13
Timers/Counters: Status of the Completion Flag will be returned as fol-
lows:
00 (Hex): No forced status in effect
01 (Hex): Forced ON or forced OFF
This section describes the response codes returned with responses to FINS
commands. Response codes can be used to confirm normal completion of
command execution or to troubleshoot problems when commands fail. For fur-
ther troubleshooting information, refer to SECTION 9 Troubleshooting and
Maintenance of this manual and to the operation manuals for specific Units or
Systems.
Response codes for FINS commands consist of two bytes that indicate the
result of executing a command. The structure of the response codes is shown
in the following diagram.
7
6
Bit
Main response code (MRES)
1: Relay Error Flag
The main response code (MRES) in the first byte classifies the response and
the sub-response code (SRES) in the second byte indicates details under the
MRES classification.
Data type
PV of word
Completion Flag status
9
8
7
Bit 12
Bit 10
Bit 8
Bit 11
Bit 9
Bit 7
The status for each bit is as follows:
OFF (0): No forced status in effect
ON (1): Forced ON or forced OFF
First byte
5
4
3
2
1
0
7
Section 6-7
Memory area
Number of
code
bytes
80
2
01
1
6
5
4
3
2
1
Bit 6
Bit 4
Bit 2
Bit 0
Bit 5
Bit 3
Bit 1
Second byte
6
5
4
3
2
1
Sub-response code (SRES)
1: PC Non-fatal Error Flag
1: PC Fatal Error Flag
0
0

Advertisement

Table of Contents
loading

Table of Contents