Omron SYSMAC CS1G Operation Manual page 569

Motion control unit
Table of Contents

Advertisement

Program Example
Cam data
Data No.
Phase
Displacement
1
0
2
500
3
1000
4
1500
5
2000
6
2500
7
3000
8
3500
9
4000
10
4500
11
5000
12
5500
13
6000
14
6500
15
7000
16
7500
17
8000
18
8500
19
9000
20
9500
21
10000
Program
Explanation of the
program
546
Displacement
20000
0
400
1600
3600
15000
6400
10000
13600
16400
18400
10000
19600
20000
19600
18400
16400
13600
5000
10000
6400
3600
1600
400
0
0
01) PROG P020 Q00000003;
02) STOPMODE;
03) MOVEL [J01]5000 [J02]5000 F500000;
04) WAIT #IW0B00 == 1;
05) CAM [J01]1 K100. T10000;
06) NOPS;
07) #OW0BA0 = 1;
08) WAIT #IW0B00 == 0;
09) #OW0BA0 = 0;
10) MOVEL [J01]0 [J02]0;
11) END;
01) A program No. and axes to be used are specified.
02) Stop Mode is selected.
03) Positioning is performed with linear interpolation to the position [J01]5000,
[J02]5000.
04) The program will wait until the general input (IW0B00) becomes 1.
05) [J01] performs the cam operation in 10 seconds based on the cam table
1.
06) to 07) After positioning is completed, 1 will be output to the general output
(OW0BA0).
08) The program advance will be held until the general input (IW0B00)
becomes 0.
09) The general output (OW0BA0) is cleared to 0.
10) The axes return to the origin.
11) The program is completed.
2500
5000
Section 10-1
Phase
7500
10000

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs1w-mch71Sysmac cs seriesSysmac cs1h

Table of Contents