Memory Area Write - Omron SYSMAC CS1W-RPT01 Operation Manual

Controller link units
Hide thumbs Also See for SYSMAC CS1W-RPT01:
Table of Contents

Advertisement

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

MEMORY AREA WRITE

Command Block
Response Block
Parameters
218
Memory Areas
The following areas can be read. (Refer to 6-6-2 Memory Area Designations
for PLC 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 × No. of items
The following data can be written. (Refer to 6-6-2 Memory Area Designations
for the word/bit address designations):
Memory area
IR, SR, LR, HR, or
AR
Timer/Counter
DM
Expansion DM
Data
Word contents
Completion Flag status
PV
Word contents
Word contents
00
No. of items
Data
Word contents
PV
Word contents
Word contents
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
Memory area
No. of
code
bytes
80
2
81
2
82
2
90 to 97, 98,
2
and A8 to AF

Advertisement

Table of Contents
loading

Table of Contents