462
Executing MC Programs from the Ladder Program
Section 8-2
8-1-14 Shifting from Aligned to Rough Winding
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.
Programming Example
N000
P000
XY
N010
G32
X7200.0
Y50.0
F2000
L10
N020
G32
X3600.0
Y50.0
F2000
L1
N030
G79
Explanation
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.
8-2
Executing MC Programs from the Ladder Program
This section describes ladder programs that will execute G-language MC pro-
grams. Use the following procedure to execute MC programs.
1,2,3...
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.)
10 layers
20 windings per layer
Traverse width of 50 mm
10 windings just on the final layer (11th layer)
Summary of Contents for CS1W-MC221 -
Page 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Page 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 11: ...xii ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Page 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Page 227: ...200 Command Area Section 3 6 ...
Page 351: ...324 Interface Specifics Section 5 4 ...
Page 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Page 575: ...548 Error Log Section 12 6 ...
Page 589: ...562 Performance Appendix A ...
Page 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Page 683: ...656 Origin Search Patterns Appendix F ...
Page 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...