![Omron CS1W-MCH71 - Скачать руководство пользователя страница 646](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367646.webp)
601
Program Example
Section 10-1
Program
01) PROG P027 Q00000001;
02) MOVEL [J01]50000 F500000;
03) SPEED [J01]50. T0;
04) #OW0BA0 = 1;
05) WAIT #SL0204 > = 150000;
06) SPEEDR [J01] T0;
07) #OW0BA0 = 0;
08) MOVEL [J01]200000;
09) DWELL T5000;
10) MOVEL [J01]0;
11) END;
Explanation of the
program
01) A program No. and axes to be used are specified.
02) The axis moves to the position 50000 with linear interpolation.
03) SPEED command operation is started with 50% of the rated speed of the
motor.
04) 1 is output to the general output (OW0BA0).
05) The program will wait until the present position exceeds 150000.
06) SPEED command operation is completed.
07) The general output (OW0BA0) is reset to 0.
08) The axis moves to the position 200000 with linear interpolation.
09) The program is held for 5 seconds.
10) The axis returns to the origin.
11) The program is completed.
10-1-24 Torque Control/Torque Control Cancel (TORQUE/TORQUER)
Explanation of the
operation
• The torque of a specified axis is controlled in Torque Control Mode.
• In this example, TORQUE command will be executed between positions
50000 and 150000 when the axis travels from position 0 to 200000. Dur-
ing execution of TORQUE command, 1 is output to the general output
(OW0BA0).
Program
01) PROG P028 Q00000001;
02) MOVEL [J01]50000 F500000;
03) TORQUE [J01]50. T0;
04) #OW0BA0 = 1;
05) WAIT #SL0204 > = 150000;
06) TORQUER [J01] T0;
07) #OW0BA0 = 0;
08) MOVEL [J01]200000;
09) DWELL T5000;
10) MOVEL [J01]0;
11) END;
0
150000
50000
200000
Axis
movement
Travel
distance
TORQUE command interval
(Output to the general output)
Содержание 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 ...