![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367436.webp)
391
Operating Mode
Section 7-2
Ladder program example
to execute motion
programs
The procedure to execute the motion program is described as a ladder pro-
gram below.
Note that, however, the following ladder program contains the circuits of only
the minimum requirements to execute a motion program. Therefore, it is nec-
essary to add circuits depending on the actual requirement for actual opera-
tions.
Ladder Program
For R1 to R3, use work bits.
In this program, the program [P0001] is executed in motion task 1.
For actual operation, change the axis on which the motion program is to be
executed, motion task, and program number as needed.
Turn ON R1 in order to specify Automatic Mode.
Turn ON R2 for the following conditions:
1,2,3...
1.
Executing a program for the first time after the power is turned ON
2.
Executing a program from the first block
3.
When the program number was changed
Turning ON R3 will start the execution.
Motion Program Operating
Bit
The Motion program operating bit turns ON during program execution, and
turns OFF when program execution is completed or stopped.
Motion Program
Completed Bit
When a motion program is completed, the motion program completed bit
turns ON (turns ON when the END command execution is completed). Even if
the motion program start is ON, the motion program operating bit turns OFF
simultaneously when the motion program completed bit is turned ON.
R1
R2
MOV
#0001
M+22
R3
x+32.15
x+32.13
n+4.01
n+17.01
Motion program
operating
In Manual/
automatic
mode
Command
Disable/
enable
x+32.15 (Manual/Automatic mode)
(Program number setting)
n+4.01 (Motion program start)
Motion program start
Motion program operating
Motion program start
Motion program operating
Motion program completed
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...