FANUC机器人操作指南
1机器人程序
FANUC机器人程序分为TP、MACRO、CAREL几种类型。
TP为一般程序,用示教器可以创建、编辑、删除。
MARCO为宏程序,在设备调试完成后一般无需添加和编辑,需要时宏程序也可在示教器上创建、编辑、删除。
CAREL为系统自带程序 ,操作者没有编辑权限。
1.1 Fanuc机器人使用Style方式调用程序,主程序名即为Style X,标准见表1-1。
1:!STYLE10: CARRIED SERVO WELD ;
2: !******************************** ;
3:!SAIC Motor ;
4:!Station RBS010 - Robot 1 ;
5:!PROGRAM W261 ;
6:!******************************** ;
7:!ECHO STYLE ;
8:TIMER[1]=RESET ;
9:TIMER[1]=START ;
10:GO[1:Manual Style Select]=10 ;
11:RESET WS 1;
12:CALL POUNCE1;
13:CALL S10PROC1;
14:RUN CAP_WEAR ;
15:MOVE TO HOME;
16:TIMER[1]=STOP ;
17:WAIT (F[1:Capwear Complete]);
表1-1机器人Style程序标准序号基本用途机器人程序名
0not validN/A
1CommonSTYLE01
2Division #1STYLE02
3Division #2STYLE03
4Division #3STYLE04
5Division #4STYLE05
6Platform #1 CommonSTYLE06
7Platform #1 Division #1STYLE07
8Platform #1 Division #2STYLE08
9Platform #1 Division #3STYLE09
10Platform #1 Division #4STYLE10
11Platform #2 CommonSTYLE11
12Platform #2 Division #1STYLE12
13Platform #2 Division #2STYLE13
14Platform #2 Division #3STYLE14
15Platform #2 Division #4STYLE15
16Platform #3 CommonSTYLE16
17Platform #3 Division #1STYLE17
18Platform #3 Division #2STYLE18
19Platform #3 Division #3STYLE19
20Platform #4 Division #4STYLE20
21Platform #4 CommonSTYLE21
22Platform #4 Division #1STYLE22
23Platform #4 Division #2STYLE23
24Platform #4 Division #3STYLE24
25Platform #4 Division #4STYLE25
26Tool ChangeSTYLE26
27Cap ChangeSTYLE27
28Tip AlignSTYLE28
29Process 1 Tip MaintenanceSTYLE29
30Process 2 Tip MaintenanceSTYLE30
31RepairSTYLE31
1.2焊接子程序S(X)PROC(X)命名,如S10PROC1,其中S10代表被STYLE10调用,PROC1即为焊接PROCESS。
1:!******************************** ;
2:!