Memory Area Write - Omron SYSMAC CS1W-CLK11 Operation Manual

Table of Contents

Advertisement

Commands and Responses for C200HX/HG/HE and CQM1H-series
6-6-4

MEMORY AREA WRITE

Command Block
Response Block
Parameters
158
No. of items (command): The number of items to be read. Specify 0000 to
03E7 (Hex) (0 to 999 decimal). The command can be completed 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 following areas can be read. (Refer to 6-6-2 Memory Area Designations
for PC word/bit address designations):
Memory area
IR, SR, LR, HR, or
AR
Timer/Counter
DM
Expansion DM
Writes data to the specified number of consecutive words starting from the
specified word. All words must be in the same memory area. (Here, all mem-
ory areas with the same memory area code are considered as one area).
Note When data is written to the Timer/Counter PV area, the Completion Flags will
be turned OFF (0).
01
02
Command
Beginning address
code
Memory area code
01
02
Command
Response
code
code
Memory area code (command): The data area to write.
Beginning address (command): The first word/value to write. Specify 00
(Hex) for the 3rd byte.
No. of items (command): The number of items to be written. Specify 0000 to
03E5 (Hex) (0 to 997 decimal). The command can be completed normally
even if zero items are specified.
Data (command): The data to be written. PVs for timers and counters are
written as BCD. The required number of bytes in total is calculated as follows:
2 bytes x No. of items
Data
Word contents
Completion Flag status
PV
Word contents
Word contents
00
No. of items
Section 6-6
Memory area
No. of
code
bytes
80
2
01
1
81
2
82
2
90 to 97, 98,
2
and A8 to AF
Status

Advertisement

Table of Contents
loading

Table of Contents