SAIC Motor IP11 Gong Weifeng 2010-4-15 FANUC 机器人操作指南 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程序标准 序号 基本用途 机器人程序名 0 not v alid N/A 1 Common STYLE01 2 Div ision #1 STYLE02 3 Div ision #2 STYLE03 4 Div ision #3 STYLE04 5 Div ision #4 STYLE05 6 Platform #1 Common STYLE06 7 Platform #1 Div ision #1 STYLE07 带!的语句为程序中的注释 焊接子程序 SAIC Motor IP11 Gong Weifeng 2010-4-15 FANUC 机器人操作指南 8 Platform #1 Div ision #2 STYLE08 9 Platform #1 Div ision #3 STYLE09 10 Platform #1 Div ision #4 STYLE10 11 Platform #2 Common STYLE11 12 Platform #2 Div ision #1 STYLE12 13 Platform #2 Div ision #2 STYLE13 14 Platform #2 Div ision #3 STYLE14 15 Platform #2 Div ision #4 STYLE15 16 Platform #3 Common STYLE16 17 Platform #3 Div ision #1 STYLE17 18 Platform #3 Div ision #2 STYLE18 19 Platform #3 Div ision #3 STYLE19 20 Platform #4 Div ision #4 STYLE20 21 Platform #4 Common STYLE21 22 Platform #4 Div ision #1 STYLE22 23 Platform #4 Div ision #2 STYLE23 24 Platform #4 Div isi...