Data Saving Procedure; Ladder Program Example Of Saving The Data Transferred Using; Iowr Instruction - Omron CS1W-MCH71 Operation Manual

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Saving Data
5-4-2

Data Saving Procedure

5-4-3

Ladder Program Example of Saving the Data Transferred Using

IOWR Instruction

Program Example:
Transferring One Data Item
Execution condition
R1
R2
R3
n+0.02
Position data save
The PC Interface Area (bit area) is used to save the transferred data in MC
Unit.
Procedure
Saving parameters:
Saving position data:
Status
Flash save completed:
Refer to SECTION 7 PC Interface Area (page 373) for details.
In this example, Position data is transferred to the position data address in the
MC Unit using the IOWR instruction. The transferred position data is then
saved in the Flash Memory.
R3
n+15.02
Flash save completed
n+0 word Bit 01
n+0 word Bit 02
n+15 word Bit 02
DIFU
R1
Sets position data in DM area starting
from D100.
IOWR
#0456
D00100
#00088000
=Flag
R3
R2
n+0.02 Position data save
Section 5-4
Specifies the first position data
address PL0456Hex of MC Unit
First address of transfer source
Transfer destination unit No. and
No. of transferred words
235

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents