Executing Automatic Loading - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

Automatic Loading
Explanation
1,2,3...

6-16-1 Executing Automatic Loading

360
Be sure that the program can be compiled by CX-Motion before transferring
the program with automatic loading. Programs that cannot be compiled will
not be transferred.
Personal computer running CX-Motion
1. The MC Unit's job number is always monitored by CX-Motion.
2. Using the IOWR instruction, a new job number is written to the job number
currently in the MC Unit.
3. When CX-Motion detects the specified job number, the program and posi-
tion data are downloaded to the MC Unit from the file for that job number
created by CX-Motion.
4. Before downloading the program and position data, CX-Motion deletes
from the MC Unit all of the programs for all tasks. Then it downloads the
program and position data for the specified job number.
5. When the downloading has been completed, the CPU Unit is notified from
the MC Unit. While the program and position are being downloaded, the
Autoloading Bit in the PLC Interface Area turns from OFF to ON, and when
the downloading is completed normally it turns from ON to OFF.
To execute automatic loading, set one of the following addresses for the con-
trol code (C) of the IOWR instruction and then transfer the job number to the
MC Unit.
For details on the Command Area, refer to 3-6 Command Area. For details on
IOWR instruction specifications, refer to SECTION 4 Data Transfer and Stor-
age.
Job No. 3
Job No. 2
Job No. 1
<Program>
P000, P001...
<Position Data>
POSIT...
1., 3., 4.
2., 5.
Job No.
CPU Unit
MC Unit
Section 6-16
Job No. X

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents