126
9-4-5 Response Codes
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
MRES
Execution completed
00
Normal completion
20
Read not possible
01
Local node error
21
Write not possible
02
Destination node error
22
Not executable in current
mode
03
Controller error
23
No unit
04
Not executable
24
Start/Stop not possible
05
Routing error
25
Unit error
10
Command format error
26
Command error
11
Parameter error
30
Access right error
9-4-6 Memory Area Designations
The following table gives the addresses to use when reading or writing PC data.
Memory area
Data
Data area address
Address used in
communications
Memory
area code
No. of
bytes
1st and 2nd
bytes
3rd byte
CIO area
Bit status
00000 to 51115
0000 to 01FF
00 to 0F
00
1
Word contents
000 to 511
00 to 00
80
2
LR area
Bit status
LR 0000 to LR 6315
03E8 to 0427
00 to 0F
00
1
Word contents
LR 00 to LR 63
00 to 00
80
2
HR area
Bit status
HR 0000 to HR 9915
0428 to 048B
00 to 0F
00
1
Word contents
HR 00 to HR 99
00 to 00
80
2
AR area
Bit status
AR 0000 to AR 2715
048C to 04A7
00 to 0F
00
1
Word contents
AR 00 to AR 27
00 to 00
80
2
Timer/Counter
Area
Completion
Flag status
TIM 000 to TIM 511
CNT 000 to CNT 511
0000 to 01FF
00 to 00
01
1
PV
TIM 000 to TIM 511
CNT 000 to CNT 511
00 to 00
81
2
DM Area
Word contents
DM 0000 to DM 9999
0000 to 270F
00 to 00
82
2
Expansion DM
Area
Word contents
EM 0000 to EM 6143
0000 to 17FF
00 to 00
90 to 98
2
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
Meaning
98
Current bank
90 to 97
Banks 0 to 7
A8 to AF
Banks 8 to 15
Main Response Codes
Using FINS Commands and Responses
Section 9-4
Summary of Contents for SYSMAC C200HW-PCS01-EV1
Page 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Page 4: ......
Page 6: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 34: ......
Page 38: ......
Page 60: ......
Page 80: ......
Page 82: ......
Page 88: ......
Page 120: ......
Page 148: ......
Page 178: ......
Page 214: ......
Page 220: ......
Page 232: ......
Page 234: ......
Page 236: ......
Page 238: ......
Page 240: ......