Memory Area Write - Omron SYSMAC C200HW-PCU01 Operation Manual

Pc card unit
Table of Contents

Advertisement

Commands and Responses for C200HX/HG/HE CPUs

11-1-6 MEMORY AREA WRITE

Command Block
Response Block
Parameters
166
Beginning word(command): The address of the first word/bit/flag to read from
memory. Specify 00 for the 3rd byte.
No. of items (command): The number of items to be read. Specify 0000 to
03F1 (0 to 1009 decimal). The command can complete normally even if zero
items are specified.
Data (response): The data from the specified words is returned in sequence
starting from the beginning address. PVs for timers and counters are returned as
BCD. The required number of bytes in total is calculated as follows:
No. of bytes required by each item x No. of items
Memory Areas
The data in the following table can be read. (Refer to 11-1-4 Memory Area Desig-
nations for PC word/bit address designations.)
Memory area
CIO, LR, HR, or AR
Word contents
area
Timer/Counter
Completion Flag status
PV
DM
Word contents
Expansion DM
Word contents
Response code
Refer to Appendix D Response Codes from the C200HX/HG/HE CPU and
Appendix E FINS Response Codes from the PC Card Unit.
Writes data to the specified number of consecutive words starting from the spe-
cified word.
Note a) Even when the no. of items is 00 this command will end normally.
b) When data is written in the Timer/Counter PV Area, the Comple-
tion Flags will be turned OFF (0).
Command
Beginning
code
word
Memory area code
Command
Response
code
code
Memory area code (command): The data area to write.
Beginning word(command): The first word/value to write. Specify 00 for the
3rd byte.
No. of items (command): The number of items to be written. Specify 0000 to
03E5 (0 to 997 decimal). The command can complete normally even if zero
items are specified.
Data
No. of items
Data
Section 11-1
Memory area
No. of
code
bytes
80
2
01
1
81
2
82
2
90 to 98,
2
A8 to AF

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200hw-pcs01-ev1

Table of Contents