167
Data (command): The data to be written. PVs for timers and counters are writ-
ten as BCD. The required number of bytes in total is calculated as follows:
The required number of bytes in total is calculated as follows:
2 bytes x No. of items
The following data can be written (refer to 11-1-4 Memory Area Designations for
the word/bit address designations).
Memory area
Data
Memory area
code
No. of
bytes
CIO, LR, HR, or AR
area
Word contents
80
2
Timer/Counter
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-7 MULTIPLE MEMORY AREA READ
Reads the contents of the specified number of non-consecutive memory area
words, starting from the specified word.
Note If there is an error in the command code or a beginning address, no data will be
read.
Command Block
Address
Command
code
Memory area code
Memory area code
Address
128 addresses maximum
Response Block
Command
code
Memory area code
Response
code
Data
Memory area code
Data
Parameters
Memory area code (command): The data area to read.
Address (command): The word/bit/flag to read. The content of up to 128
addresses can be read. (If part of the data to be read is in the Expansion DM
area, the content of up to 100 addresses only can be read.)
Data (response): The data in the specified memory area(s) will be returned in
sequence starting from the beginning address.
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: ......