460
Programming Examples
Section 8-1
8-1-12 Starting Peripheral Devices during Operation
Operation
Peripheral devices can be started at high speed from the MC Unit using the
MC Unit stopover function or interrupt notification function (D code) as well as
a CPU interrupt task. This program allows high-speed synchronous applica-
tions to be created, because it is able to control peripheral devices without
pausing operation.
The following program turns ON three valves (1, 2 and 3) during two-axis lin-
ear interpolation when the present positions on the X axis are 250, 500 and
750 mm.
Programming Example
N000
P001
XY
*001
********************************
*002
Executes interrupt notification.
*003
********************************
N004
G01
X0
Y0
F100
N005
G75
00
N006
G70
N005
N007
G01
X250
Y250
F1000
N008
G01
X500
Y500
D100/X0
N009
G01
X750
Y750
D101/X0
N010
G01
X1000
Y1000
D102/X0
N011
G79
Explanation
This operation creates a ladder program for the following interrupt tasks in the
CPU Unit.
Interrupt Task Number 100:
Turns ON the output on the Output Unit that controls valve 1.
Interrupt Task Number 101:
Turns ON the output on the Output Unit that controls valve 2.
Interrupt task number 102:
Turns ON the output on the Output Unit that controls valve 3.
Positioning will start when optional input zero turns ON.
N004
Moves the axis to the start position.
Y axis
Bulb 3 ON
X axis
Bulb 2 ON
Bulb 1 ON
Содержание CS1W-MC221 -
Страница 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Страница 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 11: ...xii ...
Страница 15: ...xvi ...
Страница 19: ...xx ...
Страница 27: ...xxviii Conformance to EC Directives 6 ...
Страница 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Страница 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Страница 227: ...200 Command Area Section 3 6 ...
Страница 351: ...324 Interface Specifics Section 5 4 ...
Страница 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Страница 575: ...548 Error Log Section 12 6 ...
Страница 589: ...562 Performance Appendix A ...
Страница 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Страница 683: ...656 Origin Search Patterns Appendix F ...
Страница 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...