393
Operating Mode
Section 7-2
Ladder Program Example
and Timing Chart
Ladder program example and timing chart for the program operation with axis
movement (including deceleration stop) are shown below.
In this example, Axes 1 and 2 are operated with motion task 1 and the Motion
task 1 Control bit [Deceleration stop] is used for stopping.
In the timing chart, Axes 1 and 2 are operated and they are stopped with
deceleration stop in midway. After that, the operation is resumed in Start
Mode 1 (Program execution is executed continuously from midway of the
block indicated by the Executing Motion Block Number).
Ladder program
Note
When executing axis movement commands in a motion program, it is required
to execute Servo lock for all the applicable axes (the bit [In Servo Lock] is ON),
and to set the operating mode to Automatic Mode (the bit [In Manual/Auto-
matic mode] is ON). Therefore, make sure to insert the conditions R1 and R2
of the above ladder program.
Automatic/Manual
mode switch
X+32.15
X+33.15
Axis 1,
Automatic Mode
Axis 2,
Automatic Mode
X+32.03
X+33.03
Axis 1, In
Servo lock
Axis 2, In
Servo lock
X+32.13
X+33.13
Axis 1 Command
enabled
Axis 2 Command
enabled
Start Mode
Switch
Pause button
Program number
Setting button
Start button
n+4.01
n+17.01
Motion program
operating
R1
R3
R2
n+12.00
In
Automatic
operation
In Servo
lock
Command
enabled
Alarm
occurring
n+4.01 (Motion program start)
(Program number setting)
MOV
#0001
M+22
n+4.04 (Deceleration stop)
n+4.02 (Start mode 1)
R3 (Command enabled)
R2 (In Servo lock status)
R1 (In Automatic operation)
x+1.15 (Axis 2, Manual/Automatic mode)
x+0.15 (Axis 1, Manual/Automatic mode)
Summary of Contents for CS1W-MCH71 -
Page 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Page 3: ...iv ...
Page 29: ...xxx ...
Page 33: ...xxxiv ...
Page 35: ...xxxvi ...
Page 39: ...xl ...
Page 69: ...24 Performance Section 1 7 ...
Page 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Page 283: ...238 Saving Data Section 5 4 ...
Page 417: ...372 Command Details Section 6 3 ...