Executing Mc Programs From The Ladder Program - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

Executing MC Programs from the Ladder Program

8-1-14 Shifting from Aligned to Rough Winding
Programming Example
Explanation
8-2
Executing MC Programs from the Ladder Program
1,2,3...
462
The following example shows what happens when 10 layers are created with
wire at the rate of 20 windings per layer, and then 10 windings are applied just
on the 11th layer.
20 windings per layer
Traverse width of 50 mm
10 windings just on the final layer (11th layer)
N000
P000
XY
N010
G32
X7200.0
N020
G32
X3600.0
N030
G79
N010
Specifies 360.0 x 20 revolutions = 7200.0 on the X axis in order to get 20
windings per layer. It also specifies L10 in order to get 10 winding layers and
because operation is in Pass Mode (default value for interpolated operation) it
executes N020 without a break.
N020
Specifies 360.0 x 10 revolutions = 3600.0 on the X axis in order to get 10
windings per layer.
This section describes ladder programs that will execute G-language MC pro-
grams. Use the following procedure to execute MC programs.
1. Set the MC Unit to Automatic Mode. (Turn ON bit 01 of word n+3.)
2. Set the program number of the desired MC program. (Word n+2)
3. Read the program number from word n+2 to the MC Unit. (Turn ON bit 07
of word n+3.)
4. Turn ON the Cycle Start Bit to execute the MC program specified in word
n+2. (Turn ON bit 02 of word n+3.)
Section 8-2
10 layers
Y50.0
F2000
L10
Y50.0
F2000
L1

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents