![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hw-pcs01-ev1/sysmac-c200hw-pcs01-ev1_operation-manual_742247185.webp)
169
Response code
Refer to Appendix D Response Codes from the C200HX/HG/HE CPU.
11-1-9 PROGRAM AREA WRITE
Writes data to the specified number of consecutive program area words starting
from the specified word. A maximum of 512 bytes can be written with each com-
mand. To write larger amounts of data, use multiple commands and specify the
beginning word and number of words for each.
Note
1. When bit 15 is ON (1) the index create of the PC is activated.
2. When the no. of bytes is set to 8000, only an index marker is created.
Command Block
Program
no.
Beginning
word
Data
No. of
bytes
Command
code
512 bytes maximum
Response Block
Beginning word
Program
no.
No. of
bytes
Response
code
Command
code
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 (512 or smaller). The number of bytes actually written will be returned in the
response. Bit 15 must be turned ON (1) when data for the last write to the pro-
gram area so that the PC can generate an index. To write only an index marker,
specify 8000 for the number of bytes.
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 written
Data (command): The data to be written.
Response code
Refer to Appendix D Response Codes from the C200HX/HG/HE CPU.
11-1-10
RUN
Changes the PC to MONITOR or RUN mode, enabling the PC to execute its pro-
gram.
Command Block
Program
no.
Mode
Command
code
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: ......