![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hw-pcs01-ev1/sysmac-c200hw-pcs01-ev1_operation-manual_742247184.webp)
168
Memory Areas
The following data can be read (refer to 11-1-4 Memory Area Designations for
memory area designations):
Memory area
Data
Memory area
code
No. of
bytes
CIO, LR, HR, or AR
Bit status
00
1
area
Word contents
80
2
Timer/Counter
Completion Flag status
01
1
PV
81
2
DM
Word contents
82
2
Expansion DM
Word contents
90 to 98,
A8 to AF
2
Response code
Refer to Appendix D Response Codes from the C200HX/HG/HE CPU.
11-1-8 PROGRAM AREA READ
Reads the contents of the specified number of consecutive program area words
starting from the specified word. The program is read in machine language
(object code). A maximum of 512 bytes can be read with each command.
Command Block
Program
no.
Beginning word
No. of
bytes
Command
code
Response Block
Beginning word
Data
Program
no.
No. of
bytes
Response
code
Command
code
512 bytes maximum
Parameters
Program no. (command and response): Set to 0000.
Beginning word(command and response): Set a relative byte address with
00000000 as the starting address. The beginning word must be an even num-
ber. The address set in the command will be returned in the response.
No. of bytes (command and response): The number of bytes in an even num-
ber 0200 (512 in decimal) or smaller. The number of bytes actually read will be
returned in the response. Bit 15 will be ON (1) in the response block when the
last word data of the program area is returned.
Bits 0 to 7 (second byte)
Bits 8 to 15 (first byte)
Bit 15 OFF (0): Without last word data
Bit 15 ON (1): With last word data
Bits 0 to 14: No. of bytes read
Data (response): The data in the specified program area will be returned in
sequence starting from the beginning word.
Note If the designated number of bytes is larger than the program area, the program
will be read through the final address and a response code indicating an address
range error or response length error will be returned.
Commands and Responses for C200HX/HG/HE CPUs
Section 11-1
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: ......