Response Codes; Memory Area Designations - Omron SYSMAC C200HW-PCU01 Operation Manual

Pc card unit
Table of Contents

Advertisement

Using FINS Commands and Responses

9-4-5 Response Codes

Main Response Codes

9-4-6 Memory Area Designations

Memory area
Data
CIO area
Bit status
Word contents
LR area
Bit status
Word contents
HR area
Bit status
Word contents
AR area
Bit status
Word contents
Timer/Counter
Completion
Area
Flag status
PV
DM Area
Word contents
Expansion DM
Word contents
Area
126
Response codes are 2-byte codes that indicate the results of command execu-
tion. The first byte of the response code indicates the general results of execu-
tion and is called the main response code, or MRES. The second byte provides
further details on the results of execution and is called the sub-response code, or
SRES.
The following tables shows the relationship between the MRES and the execu-
tion results. Refer to Appendix D: Response Codes from the C200HX/HG/HE
CPU for details on all response codes including the SRES and actions for each.
MRES
Execution completed
00
Normal completion
01
Local node error
02
Destination node error
03
Controller error
04
Not executable
05
Routing error
10
Command format error
11
Parameter error
The following table gives the addresses to use when reading or writing PC data.
Data area address
00000 to 51115
000 to 511
LR 0000 to LR 6315
LR 00 to LR 63
HR 0000 to HR 9915
HR 00 to HR 99
AR 0000 to AR 2715
AR 00 to AR 27
TIM 000 to TIM 511
CNT 000 to CNT 511
TIM 000 to TIM 511
CNT 000 to CNT 511
DM 0000 to DM 9999
EM 0000 to EM 6143
Note
1. The size of the memory area varies depending on the PC. Refer to the PC's
operation manual for details on the size limits of the memory areas.
2. The meanings of the memory area codes for the Expansion DM area are
shown below.
Memory area code
98
90 to 97
A8 to AF
MRES
20
Read not possible
21
Write not possible
22
Not executable in current
mode
23
No unit
24
Start/Stop not possible
25
Unit error
26
Command error
30
Access right error
Address used in
communications
1st and 2nd
3rd byte
bytes
0000 to 01FF
00 to 0F
00 to 00
03E8 to 0427
00 to 0F
00 to 00
0428 to 048B
00 to 0F
00 to 00
048C to 04A7
00 to 0F
00 to 00
0000 to 01FF
00 to 00
00 to 00
0000 to 270F
00 to 00
0000 to 17FF
00 to 00
Current bank
Banks 0 to 7
Banks 8 to 15
Section 9-4
Execution completed
Memory
No. of
area code
bytes
00
1
80
2
00
1
80
2
00
1
80
2
00
1
80
2
01
1
81
2
82
2
90 to 98
2
Meaning

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents