Omron CS1W-MCH71 Operation Manual page 629

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Program Example
General
input
OFF
Axis
movement
Origin
return
Positioning
Program
Explanation of the
program
10-1-10 Positioning of Turntable
Explanation of the
operation
584
ON
0
X
0
01) PROG P010 Q00000001;
02) STOPMODE;
03) #PL0010 = 50000;
04) #IW0B00 = 0;
05) STOPOP #IW0B01 = = 1;
06) MOVEL [J01]#PL0010 F300000;
07) NOPS;
08) #PL0010 = #SL0206;
09) WHILE #IW0B00 <> 1;
10) MOVEL [J01]#PL0010;
11) MOVEL [J01]0;
12) WEND;
13) END;
01) A program No. and axes to be used are specified.
02) Stop Mode is selected.
03) The first travel distance (50000) is entered into the position data. (A posi-
tion exceeding the target position)
04) The general input (IW0B00) is set to 0.
05) With STOPOP command, when the general input (IW0B01) becomes 1,
the next block will be interrupted midway and ended.
06) Positioning of [J01] with linear interpolation to the position specified by the
position data (PL0010) is performed.
07) The program waits for completion of the axis movement.
08) The stopping position is assigned to the position data (PL0010).
09) With WHILE command, the process through 09) to 12) is repeated when
the general input (IW0B00) is not 1.
10) Positioning is performed based on the value in the position data (PL0010).
11) The axis returns to the origin.
12) This is the end of WHILE command from 09).
13) The program is completed.
• Positioning of a turntable is performed using the unlimited length axis
function and various arithmetic operations.
• In positioning to the target position, the travel direction is determined for
shorter distance.
Stopping position X is
assigned to PL0010.
Positioning to the position
X (content of PL0010)
X
Section 10-1
PL0010
X

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents