FANUC America Corporation SYSTEM R-30iB Plus and R-30iB Mate Plus ArcTool Setup and Operations Manual MAROUAR9102171E REV D Version 9.10 series © 2018 FANUC America Corporation All Rights Reserved. This publication contains proprietary information of FANUC America Corporation furnished for customer use only. No other uses are authorized without the express written permission of FANUC America Corporation. FANUC America Corporation 3900 W. Hamlin Road Rochester Hills, Michigan 48309–3253 About This Manual Copyrights and Trademarks This new publication contains proprietary information of FANUC America Corporation, furnished for customer use only. No other uses are authorized without the express written permission of FANUC America Corporation. FANUC America Corporation 3900 W. Hamlin Road Rochester Hills, MI 48309-3253 The descriptions and specifications contained in this manual were in effect at the time this manual was approved. FANUC America Corporation, hereinafter referred to as FANUC America, reserves the right to discontinue models at any time or to change specifications or design without notice and without incurring obligations. FANUC America's manuals present descriptions, specifications, drawings, schematics, bills of material, parts, connections and/or procedures for installing, disassembling, connecting, operating and programming FANUC America Corporation's products and/or systems. Such systems consist of robots, extended axes, robot controllers, application software, the KAREL ® programming language, INSIGHT® vision equipment, and special tools. FANUC America recommends that only persons who have been trained in one or more approved FANUC America Training Course(s) be permitted to install, operate, use, perform procedures on, repair, and/or maintain FANUC America's products and/or systems and their respective components. Approved training necessitates that the courses selected be relevant to the type of system installed and application performed at the customer site. Warning This equipment generates, uses, and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual, may cause interference to radio communications. As temporarily permitted by regulation, it has not been tested for compliance with the limits for Class A computing devices pursuant to subpart J of Part 15 of FCC Rules, which are designed to provide reasonable protection against such interference. Operation of the equipment in a residential area is likely to cause interference, in which case the user, at his own expense, will be required to take whatever measure may be required to correct the interference. FANUC America conducts courses on its systems and products on a regularly scheduled basis at its headquarters in Rochester Hills, Michigan. For additional information contact i About This Manual MAROUAR9102171E REV D FANUC America Corporation 3900 W. Hamlin Road Rochester Hills, MI 48309-3253 www.fanucamerica.com For customer assistance, including Technical Support, Service, Parts & Part Repair, and Marketing Requests, contact the Customer Resource Center, 24 hours a day, at 888-FANUC-US (888-326-8287). Send your comments and suggestions about this manual to: product.documentation@fanucamerica.com The information illustrated or contained herein is not to be reproduced, copied, downloaded, translated into another language, distributed, or published in any physical or electronic format, including Internet, or transmitted in whole or in part in any way without the prior written consent of FANUC America America, Inc. AccuStat®, ArcTool®, i RVision ®, KAREL ®, PaintTool ®,PalletTool®, SOCKETS ®, SpotTool ®, SpotWorks ®, and TorchMate® are Registered Trademarks of FANUC America Corporation. FANUC America reserves all proprietary rights, including but not limited to trademark and trade name rights, in the following names: AccuAir ™, AccuCal ™, AccuChop ™, AccuFlow™, AccuPath ™, AccuSeal ™, ARC Mate ™, ARC Mate Sr.™, ARC Mate System 1 ™, ARC Mate System 2™, ARC Mate System 3 ™, ARC Mate System 4 ™, ARC Mate System 5™, ARCWorks Pro ™, AssistTool ™, AutoNormal ™, AutoTCP™, BellTool ™, BODYWorks ™, Cal Mate ™, Cell Finder™, Center Finder ™, Clean Wall ™, DualARM™, i RProgrammer ™, LR Tool™, MIG Eye ™, MotionParts ™, MultiARM ™, NoBots™, Paint Stick ™, PaintPro ™, PaintTool 100 ™, PAINTWorks™, PAINTWorks II ™, PAINTWorks III ™, PalletMate™, PalletMate PC ™, PalletTool PC ™, PayloadID ™, RecipTool™, RemovalTool ™, Robo Chop ™, Robo Spray ™, S-420i™, S-430i ™, ShapeGen ™, SoftFloat ™, SOFT PARTS™, SpotTool+ ™, SR Mate ™, SR ShotTool ™, SureWeld™, SYSTEM R-J2 Controller ™, SYSTEM R-J3 Controller™, SYSTEM R-J3i B Controller™, SYSTEM R-J3i C Controller™, SYSTEM R-30i A Controller™, SYSTEM R-30i A Mate Controller™, SYSTEM R-30i B Controller™, SYSTEM R-30i B Mate Controller™, SYSTEM R-30i B Plus Controller™, SYSTEM R-30i B Mate Plus Controller™, TCP Mate ™, TorchMate ™, TripleARM ™, TurboMove™, visLOC ™, visPRO-3D ™, visTRAC ™, WebServer™, WebTP ™, and YagTool™. Patents One or more of the following U.S. patents might be related to the FANUC America products described in this manual. ii MAROUAR9102171E REV D About This Manual FRA Patent List 4,630,567 4,639,878 4,707,647 4,708,175 4,708,580 4,942,539 4,984,745 5,238,029 5,239,739 5,272,805 5,293,107 5,293,911 5,331,264 5,367,944 5,373,221 5,421,218 5,434,489 5,644,898 5,670,202 5,696,687 5,737,218 5,823,389 5,853,027 5,887,800 5,941,679 5,959,425 5,987,726 6,059,092 6,064,168 6,070,109 6,086,294 6,122,062 6,147,323 6,204,620 6,243,621 6,253,799 6,285,920 6,313,595 6,325,302 6,345,818 6,356,807 6,360,143 6,378,190 6,385,508 6,425,177 6,477,913 6,490,369 6,518,980 6,540,104 6,541,757 6,560,513 6,569,258 6,612,449 6,703,079 6,705,361 6,726,773 6,768,078 6,845,295 6,945,483 7,149,606 7,149,606 7,211,978 7,266,422 7,399,363 FANUC LTD Patent List 4,571,694 4,626,756 4,700,118 4,706,001 4,728,872 4,732,526 4,742,207 4,835,362 4,894,596 4,899,095 4,920,248 4,931,617 4,934,504 4,956,594 4,967,125 4,969,109 4,970,370 4,970,448 4,979,127 5,004,968 5,006,035 5,008,834 5,063,281 5,066,847 5,066,902 5,093,552 5,107,716 5,111,019 5,130,515 5,136,223 5,151,608 5,170,109 5,189,351 5,267,483 5,274,360 5,292,066 5,300,868 5,304,906 5,313,563 5,319,443 5,325,467 5,327,057 5,329,469 5,333,242 5,337,148 5,371,452 5,375,480 5,418,441 5,432,316 5,440,213 5,442,155 5,444,612 5,449,875 5,451,850 5,461,478 5,463,297 5,467,003 5,471,312 5,479,078 5,485,389 5,485,552 5,486,679 5,489,758 5,493,192 5,504,766 5,511,007 5,520,062 5,528,013 5,532,924 5,548,194 5,552,687 5,558,196 5,561,742 5,570,187 5,570,190 5,572,103 5,581,167 5,582,750 5,587,635 5,600,759 5,608,299 5,608,618 5,624,588 5,630,955 5,637,969 5,639,204 5,641,415 5,650,078 5,658,121 5,668,628 5,687,295 5,691,615 5,698,121 5,708,342 5,715,375 5,719,479 5,727,132 5,742,138 5,742,144 5,748,854 5,749,058 5,760,560 5,773,950 5,783,922 5,799,135 5,812,408 5,841,257 5,845,053 5,872,894 5,887,122 5,911,892 5,912,540 5,920,678 5,937,143 5,980,082 5,983,744 5,987,591 5,988,850 6,023,044 6,032,086 6,040,554 6,059,169 6,088,628 6,097,169 6,114,824 6,124,693 6,140,788 6,141,863 6,157,155 6,160,324 6,163,124 6,177,650 6,180,898 6,181,096 6,188,194 6,208,105 6,212,444 6,219,583 6,226,181 6,236,011 6,236,896 6,250,174 6,278,902 6,279,413 6,285,921 6,298,283 6,321,139 6,324,443 6,328,523 6,330,493 6,340,875 6,356,671 6,377,869 6,382,012 6,384,371 6,396,030 6,414,711 6,424,883 6,431,018 6,434,448 6,445,979 6,459,958 6,463,358 6,484,067 6,486,629 6,507,165 6,654,666 6,665,588 6,680,461 6,696,810 6,728,417 6,763,284 6,772,493 6,845,296 6,853,881 6,888,089 6,898,486 6,917,837 6,928,337 6,965,091 6,970,802 7,038,165 7,069,808 7,084,900 7,092,791 7,133,747 7,143,100 7,149,602 7,131,848 7,161,321 7,171,041 7,174,234 7,173,213 7,177,722 7,177,439 7,181,294 7,181,313 7,280,687 7,283,661 7,291,806 7,299,713 7,315,650 7,324,873 7,328,083 7,330,777 7,333,879 7,355,725 7,359,817 7,373,220 7,376,488 7,386,367 7,464,623 7,447,615 7,445,260 7,474,939 7,486,816 7,495,192 7,501,778 7,502,504 7,508,155 7,512,459 7,525,273 7,526,121 VersaBell, ServoBell and SpeedDock Patents Pending. Conventions This manual includes information essential to the safety of personnel, equipment, software, and data. This information is indicated by headings and boxes in the text. iii About This Manual MAROUAR9102171E REV D Warning Information appearing under WARNING concerns the protection of personnel. It is boxed and in bold type to set it apart from other text. Caution Information appearing under CAUTION concerns the protection of equipment, software, and data. It is boxed to set it apart from other text. Note Information appearing next to NOTE concerns related information or useful hints. iv Contents About This Manual Safety ................................................................................................................................. i .............................................................................................................................................. lxxiii ........................................................................................................................ lxxxi QUICK REFERENCE Chapter 1 1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.3.10 1.3.11 1.3.12 1.3.13 1.3.14 1.4 1.5 Chapter 2 2.1 2.2 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 .......................................................................................... OVERVIEW .................................................................................................................... ROBOT ........................................................................................................................... Robot Overview ................................................................................................................. Robot Models .................................................................................................................... Extended Axes .................................................................................................................. Torches ............................................................................................................................ CONTROLLER ................................................................................................................. Controller Overview .......................................................................................................... Standard Operator Panel ..................................................................................................... MODE SELECT Switch ................................................................................................... Robot Stop Variation ......................................................................................................... User Operator Panel (UOP) ................................................................................................ Emergency Stop Devices ................................................................................................... Communications ............................................................................................................. Shielding Package ............................................................................................................ Input/Output (I/O) ........................................................................................................... Remote I/O Interfaces ....................................................................................................... Motion .......................................................................................................................... Extended Axes ................................................................................................................ Controller Backplane ........................................................................................................ Memory ........................................................................................................................ FANUC SOFTWARE ...................................................................................................... STARTUP (AND POWER OFF) OF THE ROBOT ................................................................ OVERVIEW AND STARTUP ............................................................................................ OVERVIEW ...................................................................................................................... TEACH PENDANT SWITCHES........................................................................................... SCREEN NAVIGATION...................................................................................................... Touch/Non-Touch Screen ..................................................................................................... Screen Backlighting .......................................................................................................... Zoom.............................................................................................................................. Related View Menu ........................................................................................................... Maximize/Restore ............................................................................................................. Window Display ............................................................................................................... Browser Guidelines ......................................................................................................... iPENDANT OPERATIONS 1–1 1–2 1–2 1–2 1–3 1–3 1–4 1–5 1–5 1–9 1–11 1–15 1–15 1–16 1–16 1–17 1–17 1–18 1–18 1–20 1–20 1–20 1–22 1–23 2–1 2–3 2–4 2–6 2–6 2–10 2–11 2–12 2–12 2–14 2–21 v Contents 2.3.8 Changing Focus ............................................................................................................... 2.3.9 Color Setup .................................................................................................................... 2–26 2–27 2.4 TEACH PENDANT KEYS ................................................................................................ 2–28 2.5 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 HAPTIC iPENDANT ........................................................................................................ Overview ........................................................................................................................ Hardware/Software Requirements, Application Tools .............................................................. Testing the Haptic iPendant ................................................................................................. Configuring the Haptic iPendant .......................................................................................... Haptic Log ...................................................................................................................... Common Haptic Functions ................................................................................................. Arc Haptic Functions ......................................................................................................... 2–39 2–39 2–40 2–41 2–42 2–44 2–44 2–52 2.6 STATUS.......................................................................................................................... 2.6.1 Status Bar Displays .......................................................................................................... 2.6.2 Status indicators .............................................................................................................. 2.6.3 LEDs ............................................................................................................................ 2.6.4 Display Equip ................................................................................................................. 2–57 2–57 2–59 2–59 2–59 2.7 HELP ............................................................................................................................. 2.7.1 MORE INFO ................................................................................................................... 2.7.2 Help and Diagnostics ....................................................................................................... 2–60 2–60 2–60 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.8.10 2.8.11 Chapter 3 3.1 3.1.1 3.1.2 3.2 3.2.1 3.2.2 3.2.3 3.3 3.3.1 3.3.2 3.4 3.4.1 3.5 3.5.1 3.5.2 3.5.3 Chapter 4 vi MAROUAR9102171E REV D ADDITIONAL iPENDANT FUNCTIONS ............................................................................ 2–62 Document Viewer ............................................................................................................. 2–62 Menu Favorites ................................................................................................................ 2–65 Menu History .................................................................................................................. 2–69 Multi-Pane Edit ............................................................................................................... 2–69 Other iPendant Guidelines ................................................................................................ 2–70 Popup Menus .................................................................................................................. 2–71 Screen Customizations ...................................................................................................... 2–72 Software Keyboard ........................................................................................................... 2–88 Top Menu ........................................................................................................................ 2–99 Universal Serial Bus (USB) Port ....................................................................................... 2–106 User Views .................................................................................................................... 2–106 .............................................................................................................. iHMI GUIDE NAVIGATION ................................................................................................ The First Time you use iHMI Guided Setup ............................................................................. How to Use iHMI Setup Guides ............................................................................................. BASIC SETUP ................................................................................................................. Overview ........................................................................................................................ Initial Setup ..................................................................................................................... End of Arm Tool Setup ...................................................................................................... TEACH .......................................................................................................................... Creating a Program ........................................................................................................... Selecting a Program .......................................................................................................... RUN .............................................................................................................................. Monitoring a Running Program ........................................................................................... UTILITY ........................................................................................................................ Backup ........................................................................................................................... Jog Assist ........................................................................................................................ Tutorials.......................................................................................................................... iHMI GUIDES 4D FUNCTIONALITY 3–1 3–2 3–2 3–3 3–10 3–10 3–11 3–12 3–14 3–14 3–14 3–15 3–15 3–17 3–17 3–17 3–19 .................................................................................................... 4–1 MAROUAR9102171E REV D 4.1 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 Contents OVERVIEW ..................................................................................................................... 4–2 Introduction ....................................................................................................................... 4–2 Navigation ......................................................................................................................... 4–5 Basic Display Concepts ........................................................................................................ 4–9 Selected Program .............................................................................................................. 4–11 Frames ............................................................................................................................ 4–11 Groups ............................................................................................................................ 4–12 4.2 USER INTERFACE SCREENS .......................................................................................... 4.2.1 VIEWING 4D SCENES ..................................................................................................... 4.2.2 ADJUSTING THE VIEW .................................................................................................. 4–12 4–12 4–14 4.3 VISUAL JOG .................................................................................................................. 4–22 4.4 EDIT NODE MAP SCREEN .............................................................................................. 4–27 4.5 SELECT SCREEN ............................................................................................................ 4–30 4.6 VIEWING TWO DIFFERENT PROGRAMS ........................................................................ 4–31 4.7 PROGRAM UTILITIES .................................................................................................... 4–33 4.8 TCP TRACE ................................................................................................................... FRAME SETUP .............................................................................................................. POSITION REGISTERS ................................................................................................... REMOTE CONTROLLER DISPLAY .................................................................................. DCS 4D VISUALIZATION ............................................................................................... 4D CUSTOMIZATION ...................................................................................................... ACCESSING THE 4D DISPLAY FROM A PC ...................................................................... View Adjustment Mode ..................................................................................................... Scene Visibility ................................................................................................................ 4D GRAPHICS IMPORT ................................................................................................... 4–35 4.9 4.10 4.11 4.12 4.13 4.14 4.14.1 4.14.2 4.15 Chapter 5 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.10.1 5.10.2 5.11 5.12 .............................................................................................. Overview ......................................................................................................................... Visual Jog.......................................................................................................................... Jog Speed .......................................................................................................................... Coordinate Systems ............................................................................................................. Wrist Jogging ..................................................................................................................... Remote TCP Jogging (Option) .............................................................................................. PATH Jogging (available only for ArcTool) .............................................................................. Motion Groups ................................................................................................................. Jog Menu ........................................................................................................................ Extended Axes and Sub-Groups ........................................................................................... Overview ........................................................................................................................ J7 and J8 Jog Keys ............................................................................................................ Jogging the Robot and Other Axes ....................................................................................... Jogging the Robot without the Teach Pendant ......................................................................... JOGGING THE ROBOT 4–37 4–38 4–39 4–42 4–43 4–44 4–45 4–46 4–46 5–1 5–2 5–2 5–2 5–4 5–8 5–9 5–9 5–13 5–14 5–16 5–16 5–17 5–22 5–27 ...................................................................................................................... 6–1 6.1 Frames Overview .............................................................................................................. 6–2 6.2 How Frames are Used .......................................................................................................... 6–2 Chapter 6 FRAMES vii Contents MAROUAR9102171E REV D 6.3 Using the Right-Hand Rule to Understand Robot Frames ............................................................ 6–4 6.4 Frame Types ...................................................................................................................... 6–5 6.5 World Frame ...................................................................................................................... 6–5 6.6 Tool Frame ........................................................................................................................ 6–6 6.6.1 Tool Frame General Information ............................................................................................ 6–6 6.6.2 Setting Up a Tool Frame....................................................................................................... 6–9 6.6.3 Selecting a Tool Frame ..................................................................................................... 6–39 6.7 User Frame ...................................................................................................................... 6.7.1 Overview ........................................................................................................................ 6.7.2 Setting Up a User Frame .................................................................................................... 6.7.3 Selecting a User Frame ...................................................................................................... 6–41 6–41 6–44 6–61 6.8 Remote TCP Frame ........................................................................................................... 6.8.1 Setting Up a Remote TCP Frame ........................................................................................ 6–63 6–63 6.9 Jog Frame........................................................................................................................ 6.9.1 Setting Up Jog Frame ....................................................................................................... 6.9.2 Selecting a Jog Frame ...................................................................................................... 6–73 6–73 6–84 6.10 Cell Frame and Cell Floor .................................................................................................. 6.10.1 Cell Frame Setup .............................................................................................................. 6.10.2 Cell Floor Setup ............................................................................................................... 6–85 6–86 6–91 6.11 Saving Frame Data ............................................................................................................ 6–92 6.12 Frame Visualization........................................................................................................... 6–94 Chapter 7 7.1 7.2 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.2.6 7.2.7 7.2.8 7.2.9 7.2.10 7.3 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 7.3.7 7.3.8 7.3.9 7.3.10 7.3.11 7.3.12 7.3.13 7.3.14 7.3.15 viii ....................................................................................... 7–1 OVERVIEW .................................................................................................................... 7–5 MOTION INSTRUCTION ................................................................................................. 7–5 Overview ......................................................................................................................... 7–5 Motion Type ..................................................................................................................... 7–6 Circular Arc Type A Motion Instructions ............................................................................... 7–11 Guidelines for Teaching a Small Circular Arc ....................................................................... 7–39 Positional Information ...................................................................................................... 7–44 Position Confirmation ...................................................................................................... 7–46 Motion Status Display ...................................................................................................... 7–47 Frame Number of Positional Data ....................................................................................... 7–55 Speed ............................................................................................................................ 7–56 Termination Type ............................................................................................................ 7–63 MOTION OPTIONS INSTRUCTION .................................................................................. 7–66 Acceleration Override ...................................................................................................... 7–67 Advanced Constant Path ................................................................................................... 7–69 Arc Welding ................................................................................................................... 7–87 Break ............................................................................................................................ 7–87 Constant Path ................................................................................................................. 7–87 Coordinated Motion .......................................................................................................... 7–98 Corner Distance Control Option ........................................................................................... 7–99 Extended Velocity EV Motion Option ................................................................................ 7–111 FacePlate Linear .............................................................................................................. 7–113 Incremental Motion ........................................................................................................ 7–115 Offset ........................................................................................................................... 7–116 Offset Position Register ................................................................................................... 7–117 PTH Motion Option ........................................................................................................ 7–117 Remote TCP Motion Option (optional) ............................................................................... 7–118 Search [ ] Motion Option ................................................................................................. 7–122 PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Contents 7.3.16 Skip Jump ...................................................................................................................... 7.3.17 Skip Label .................................................................................................................... 7.3.18 Time Before / Time After ................................................................................................. 7.3.19 Tool_offset .................................................................................................................... 7.3.20 Tool offset position register .............................................................................................. 7.3.21 Torch Angle .................................................................................................................... 7.3.22 Wrist Joint .................................................................................................................... 7–123 7–124 7–125 7–125 7–127 7–128 7–147 7.4 ARC WELDING INSTRUCTIONS .................................................................................... 7.4.1 Overview ....................................................................................................................... 7.4.2 Weld Start and Weld End Programming ................................................................................ 7–147 7–147 7–148 7.5 7.5.1 7.5.2 7.5.3 7.5.4 ARC WELDING INSTRUCTIONS without Weld Procedures ................................................. Overview ...................................................................................................................... Arc Start Instructions ...................................................................................................... Arc End Instructions ....................................................................................................... Multi-Equipment Arc Instructions ..................................................................................... 7–152 7–152 7–152 7–155 7–156 7.6 7.6.1 7.6.2 WEAVING INSTRUCTIONS .......................................................................................... Weave Instructions ......................................................................................................... Weave End Instructions ................................................................................................... 7–157 7–157 7–161 7.7 7.7.1 7.7.2 7.7.3 7.7.4 7.7.5 7.7.6 TRACK/OFFSET INSTRUCTIONS (OPTION) .................................................................. Overview ...................................................................................................................... TRACK {Sensor} Instruction ........................................................................................... TRACK END Instruction ................................................................................................. MP OFFSET Instruction .................................................................................................. MP OFFSET END Instruction .......................................................................................... TRACK {sensor} RPM Instruction .................................................................................... 7–161 7–161 7–161 7–162 7–162 7–163 7–163 7.8 7.8.1 7.8.2 7.8.3 7.8.4 7.8.5 7.9 7.9.1 7.9.2 7.9.3 7.10 7.10.1 7.10.2 7.10.3 7.10.4 7.10.5 TOUCH SENSE INSTRUCTIONS ................................................................................... Overview ...................................................................................................................... Search Start Instruction ................................................................................................... Search End Instruction .................................................................................................... Touch Offset Instruction .................................................................................................. Touch Offset End Instruction ............................................................................................ BASIC PROCESS AXES INSTRUCTIONS (OPTION) .......................................................... Overview ....................................................................................................................... SET ISDT SPEED Instruction ............................................................................................ STOP ALL ISDT Instruction.............................................................................................. BRANCHING INSTRUCTIONS ...................................................................................... Overview ...................................................................................................................... Label Definition Instruction LBL[x] .................................................................................. Unconditional Branching Instructions ................................................................................ Conditional Branching Instructions .................................................................................... Wizard to Input Arguments ................................................................................................ 7–164 7–164 7–164 7–165 7–165 7–167 7–167 7–167 7–167 7–169 7–169 7–169 7–169 7–170 7–171 7–175 7.11 ............................................................ CONDITION MONITOR INSTRUCTIONS ....................................................................... FOR/ENDFOR INSTRUCTIONS ....................................................................................... Overview ....................................................................................................................... FOR/ENDFOR Instruction Specification .............................................................................. Teach FOR/ENDFOR Instruction ........................................................................................ Execution examples.......................................................................................................... Alarms ........................................................................................................................... INPUT/OUTPUT INSTRUCTIONS .................................................................................. Overview ...................................................................................................................... 7–185 7.12 7.13 7.13.1 7.13.2 7.13.3 7.13.4 7.13.5 7.14 7.14.1 COLLISION GUARD INSTRUCTIONS (OPTION) 7–186 7–190 7–190 7–190 7–191 7–197 7–201 7–203 7–203 ix Contents 7.14.2 7.14.3 7.14.4 7.14.5 7.14.6 7.14.7 Digital Input and Output Instructions ................................................................................. Robot Digital Input and Output Instructions ........................................................................ Analog Input and Output Instructions ................................................................................. Group Input and Output Instructions .................................................................................. Welding Input and Output Instructions ............................................................................... Input and Output Instruction Format .................................................................................... 7–203 7–205 7–206 7–207 7–208 7–210 7.15 ............................................................................. MATH FUNCTION INSTRUCTIONS ................................................................................ Type of Math Functions .................................................................................................... Instruction Format of Math Function ................................................................................... Function Specification of Math Functions ............................................................................. Background Operation of Math Function .............................................................................. Teach Math Function Instruction ......................................................................................... Restriction of Teaching Math Function ................................................................................. Exceptions and Restriction................................................................................................. MISCELLANEOUS INSTRUCTIONS .............................................................................. Overview ...................................................................................................................... RSR Enable/Disable Instruction ........................................................................................ User Alarm Instruction .................................................................................................... Timer Instruction ............................................................................................................ OVERRIDE Instruction ................................................................................................... Remark Instruction ......................................................................................................... Multi-lng Remark Instruction ............................................................................................. Line Remark (Comment out) Instruction .............................................................................. Message Instruction ........................................................................................................ Parameter Name Instruction ............................................................................................. Maximum Speed Instruction ............................................................................................. MIXED LOGIC INSTRUCTIONS .................................................................................... Overview ...................................................................................................................... Data Types .................................................................................................................... Operators ...................................................................................................................... Expressions ................................................................................................................... Adding Mixed Logic Instructions ...................................................................................... Background Logic .......................................................................................................... Backup/Restore .............................................................................................................. MULTIPLE CONTROL INSTRUCTIONS ......................................................................... OFFSET/FRAME INSTRUCTIONS ................................................................................. PARAMETERS FOR PROGRAM CALL AND MACRO INSTRUCTIONS ............................. Overview ...................................................................................................................... Parameter Instruction Syntax ............................................................................................ String Value Selections .................................................................................................... Argument Registers ........................................................................................................ Guidelines for Using Parameters ....................................................................................... Including Parameters in Program Call and Macro Instructions ................................................. Including Argument Registers in Sub-Programs ................................................................... PAYLOAD INSTRUCTION ............................................................................................ POINT LOGIC INSTRUCTION ......................................................................................... Overview ....................................................................................................................... Point Logic Instruction...................................................................................................... Point Logic View Function ................................................................................................ POSITION REGISTER INSTRUCTIONS .......................................................................... Overview ...................................................................................................................... 7–212 7.16 7.16.1 7.16.2 7.16.3 7.16.4 7.16.5 7.16.6 7.16.7 7.17 7.17.1 7.17.2 7.17.3 7.17.4 7.17.5 7.17.6 7.17.7 7.17.8 7.17.9 7.17.10 7.17.11 7.18 7.18.1 7.18.2 7.18.3 7.18.4 7.18.5 7.18.6 7.18.7 7.19 7.20 7.21 7.21.1 7.21.2 7.21.3 7.21.4 7.21.5 7.21.6 7.21.7 7.22 7.23 7.23.1 7.23.2 7.23.3 7.24 7.24.1 x MAROUAR9102171E REV D MACRO COMMAND INSTRUCTION 7–213 7–213 7–214 7–216 7–222 7–222 7–224 7–225 7–226 7–226 7–226 7–226 7–227 7–227 7–228 7–228 7–229 7–230 7–231 7–232 7–234 7–234 7–234 7–235 7–236 7–238 7–240 7–253 7–253 7–254 7–257 7–257 7–258 7–260 7–262 7–263 7–265 7–269 7–270 7–273 7–273 7–274 7–277 7–281 7–281 MAROUAR9102171E REV D Contents 7.24.2 7.24.3 PR[x] Position Register Instructions ................................................................................... PR[i,j] Position Register Element Instructions ...................................................................... 7–281 7–283 7.25 ................................................... PROGRAM CONTROL INSTRUCTIONS ......................................................................... Overview ...................................................................................................................... PAUSE Instruction ......................................................................................................... ABORT Instruction ........................................................................................................ Error Program Instruction ................................................................................................ Resume Program Instruction ............................................................................................. Maintenance Program Instruction ...................................................................................... Clear Resume Program Instruction .................................................................................... Return Path Disable Instruction ......................................................................................... PROCESS SYNCHRONIZATION .................................................................................... REGISTER INSTRUCTIONS .......................................................................................... SKIP INSTRUCTION ..................................................................................................... STRING REGISTER INSTRUCTIONS ............................................................................... Overview ....................................................................................................................... String Register Assignment and Concatenation ...................................................................... String Conversion and Precedence ...................................................................................... STRLEN Instruction ......................................................................................................... FINDSTR Instruction ....................................................................................................... SUBSTR Instruction ......................................................................................................... VISION INSTRUCTIONS ............................................................................................... Overview ...................................................................................................................... RUN_FIND .................................................................................................................. GET_OFFSET ............................................................................................................... GET_PASSFAIL.............................................................................................................. GET_NFOUND .............................................................................................................. SET_REFERENCE ........................................................................................................ OVERRIDE .................................................................................................................... CAMERA_CALIB ......................................................................................................... VR[]. MODELID ........................................................................................................... VR[].MES[] .................................................................................................................... VR[].FOUND_POS[] ....................................................................................................... VR[].OFFSET ............................................................................................................... VR.[].ENC ..................................................................................................................... RUN_FIND SR[] ............................................................................................................. GET_OFFSET SR[] ......................................................................................................... SET_REF SR[] ................................................................................................................ CAMERA_CAL SR[] ....................................................................................................... GET_PASSFAIL SR[] ...................................................................................................... GET_READING ............................................................................................................. SAMPLE PROGRAM .................................................................................................... Re-Calibration and Verification Sample Program.................................................................... Bar Code Reading Sample Program ..................................................................................... Inspection Sample Program ............................................................................................... 2D Single Multi-View Vision Process .................................................................................. Calling Vision by String Register Sample Program ................................................................. WAIT INSTRUCTIONS .................................................................................................. 7–286 7.26 7.26.1 7.26.2 7.26.3 7.26.4 7.26.5 7.26.6 7.26.7 7.26.8 7.27 7.28 7.29 7.30 7.30.1 7.30.2 7.30.3 7.30.4 7.30.5 7.30.6 7.31 7.31.1 7.31.2 7.31.3 7.31.4 7.31.5 7.31.6 7.31.7 7.31.8 7.31.9 7.31.10 7.31.11 7.31.12 7.31.13 7.31.14 7.31.15 7.31.16 7.31.17 7.31.18 7.31.19 7.31.20 7.31.21 7.31.22 7.31.23 7.31.24 7.31.25 7.32 Chapter 8 8.1 POSITION REGISTER LOOK-AHEAD INSTRUCTIONS 7–287 7–287 7–287 7–287 7–288 7–288 7–289 7–289 7–289 7–290 7–293 7–296 7–299 7–299 7–300 7–301 7–302 7–303 7–304 7–305 7–305 7–305 7–306 7–306 7–307 7–307 7–308 7–308 7–309 7–309 7–309 7–310 7–310 7–311 7–311 7–312 7–312 7–313 7–313 7–314 7–314 7–316 7–316 7–317 7–317 7–318 ............................................................................................ 8–1 OVERVIEW .................................................................................................................... 8–3 CREATING A PROGRAM xi Contents 8.2 8.2.1 8.2.2 8.2.3 8.2.4 MAROUAR9102171E REV D PLANNING A PROGRAM ................................................................................................ Overview ......................................................................................................................... Robot Motion ................................................................................................................... Special Positions ............................................................................................................... Application Program Guidelines for ArcTool .......................................................................... 8–3 8–3 8–3 8–4 8–7 8.3 CREATING AND NAMING A PROGRAM .......................................................................... 8–8 8.3.1 Naming a Program ............................................................................................................ 8–8 8.3.2 Creating a New Program ...................................................................................................... 8–9 8.3.3 Select Screen and Operations .............................................................................................. 8–13 8.4 ADDING INSTRUCTIONS AND EDITING A PROGRAM .................................................... 8.4.1 Overview ........................................................................................................................ 8.4.2 Adding Instructions to a Program ......................................................................................... 8.4.3 Editing a Program ........................................................................................................... 8–14 8–14 8–14 8–18 PROGRAM DETAIL INFORMATION ............................................................................... Overview ....................................................................................................................... Creation Date ................................................................................................................. Modification Date ........................................................................................................... Copy Source ................................................................................................................... Positions and Program Size ............................................................................................... Program Name ................................................................................................................ Sub Type ....................................................................................................................... Program Comment .......................................................................................................... Group Mask ................................................................................................................... Write Protection .............................................................................................................. Ignore Pause ................................................................................................................... Stack Size ...................................................................................................................... Collection ........................................................................................................................ No-Disp Sub-Program ....................................................................................................... Program Type ................................................................................................................. Multi-Arm Main ............................................................................................................. Head of Family ............................................................................................................... Family Members ............................................................................................................. Procedure for Accessing and/or Changing Program Detail Information........................................ COLLECTIONS ............................................................................................................... Overview ........................................................................................................................ Adding to a Collection ....................................................................................................... Displaying a Collection ...................................................................................................... LINE NUMBER AND PROGRAM END MARKER ............................................................. 8–35 8–35 8–40 8–40 8–41 8–41 8–41 8–42 8–43 8–44 8–44 8–45 8–45 8–45 8–45 8–46 8–46 8–46 8–46 8–46 8–50 8–50 8–50 8–52 8–53 8.8 MACROS ...................................................................................................................... 8.8.1 Overview ....................................................................................................................... 8.8.2 Writing a Macro ............................................................................................................... 8.8.3 Setting Up Macros ........................................................................................................... 8.8.4 Executing Macros ........................................................................................................... 8.8.5 Creating a Macro Program ................................................................................................ 8–53 8–53 8–54 8–54 8–60 8–63 8.9 ICON (TOUCH PANEL) EDITOR ....................................................................................... 8.9.1 Displaying/Exiting the Icon (Touch Panel) Editor .................................................................... 8.9.2 Using the Icon Editor ......................................................................................................... 8–63 8–63 8–65 MODIFYING A PROGRAM IN THE BACKGROUND (BACKGROUND EDITING) ............... Overview ....................................................................................................................... Background Edit Process Flow .......................................................................................... Background Editing Using the iPendant ............................................................................... Modifying a Program in the Background ............................................................................. Troubleshooting Background Edit ...................................................................................... 8–71 8–71 8–72 8–74 8–75 8–77 8.5 8.5.1 8.5.2 8.5.3 8.5.4 8.5.5 8.5.6 8.5.7 8.5.8 8.5.9 8.5.10 8.5.11 8.5.12 8.5.13 8.5.14 8.5.15 8.5.16 8.5.17 8.5.18 8.5.19 8.6 8.6.1 8.6.2 8.6.3 8.7 8.10 8.10.1 8.10.2 8.10.3 8.10.4 8.10.5 xii MAROUAR9102171E REV D Contents 8.11 DISPLAYING A PROGRAM IN THE BACKGROUND (BACKGROUND LOOK)..................... 8–79 8.12 8.12.1 8.12.2 8.12.3 8.12.4 8.12.5 8.12.6 8.12.7 SETTING PROGRAM STORAGE CONFIGURATION .......................................................... User Interface .................................................................................................................. Maximum Program Size .................................................................................................... KAREL Control of STORAGE ............................................................................................ File Formats..................................................................................................................... Storage When Loading from a File ....................................................................................... Backup and restore .......................................................................................................... Issues relating to SHADOW programs .................................................................................. 8–80 8–83 8–85 8–85 8–85 8–86 8–86 8–87 Chapter 9 9.1 9.2 9.2.1 9.2.2 9.2.3 9.2.4 9.3 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5 9.3.6 9.4 9.5 9.6 9.7 9.7.1 9.7.2 9.7.3 9.7.4 9.7.5 9.8 9.8.1 9.8.2 9.8.3 Chapter 10 10.1 10.1.1 10.1.2 10.1.3 10.1.4 10.1.5 .............................................. .................................................................................................................... PROGRAM PAUSE AND RECOVERY ................................................................................ Program Pause and Recovery Overview ................................................................................. EMERGENCY STOP and Recovery ..................................................................................... HOLD and Recovery ......................................................................................................... Setting Tolerance for Resuming a Program ............................................................................. TEST CYCLE ................................................................................................................ Test Cycle Overview ........................................................................................................ Test Cycle Setup ............................................................................................................. Single Step Testing .......................................................................................................... Continuous Testing .......................................................................................................... Monitoring Programs ....................................................................................................... On-The-Fly Utility .......................................................................................................... RELEASE WAIT ............................................................................................................ MANUAL CONTROL OF WIRE FEED ............................................................................. MANUAL CONTROL OF ARC ENABLE .......................................................................... PRODUCTION OPERATION ........................................................................................... Production Operation Overview ......................................................................................... Standard Operator Panel Cycle Start Production .................................................................... User Operator Panel Start ................................................................................................. Robot Service Request (RSR) Production Start ..................................................................... Program Number Select (PNS) and UOP Production Start ....................................................... ADJUSTING A PROGRAM (PROG ADJUST) .................................................................... Overview ....................................................................................................................... Adjusting a Program or a Schedule ..................................................................................... Error Handling ................................................................................................................ TESTING A PROGRAM AND RUNNING PRODUCTION 9–1 OVERVIEW 9–3 GENERAL SETUP .................................................................................................... 9–4 9–4 9–4 9–7 9–8 9–12 9–12 9–13 9–15 9–22 9–26 9–27 9–29 9–30 9–31 9–31 9–31 9–34 9–35 9–37 9–38 9–40 9–40 9–40 9–48 10–1 PRODUCTION OPERATION SETUP ................................................................................ 10–3 Production Operation Setup Overview ................................................................................. 10–3 Robot Service Request (RSR) Setup ................................................................................... 10–8 Program Number Select (PNS) Setup ................................................................................. 10–12 Style Name Setup ........................................................................................................... 10–18 OTHER Program Select Mode .......................................................................................... 10–24 10.2 10.3 AXIS LIMITS SETUP .................................................................................................... BRAKE TIMERS SETUP ............................................................................................... 10–25 10–27 10.4 10.4.1 10.4.2 10.4.3 GENERAL SETUP SCREEN ........................................................................................... Overview ...................................................................................................................... Brake on Hold Setup ....................................................................................................... Current Language Setup .................................................................................................. 10–33 10–33 10–33 10–34 xiii Contents 10.4.4 10.4.5 Ignore Offset Setup ......................................................................................................... Enable VOFFSET Setup .................................................................................................. 10–35 10–36 10.5 .................................................................................................. OVERRIDE SELECT SETUP .......................................................................................... PASSWORD SETUP ...................................................................................................... Password Operations Overview ......................................................................................... Install User Password Operations ...................................................................................... Disabling Passwords ....................................................................................................... Disabling Passwords without INSTALL login ....................................................................... Program and Set Up User Password Operations .................................................................... Configuring Passwords .................................................................................................... Password Log ................................................................................................................ Password Level Screen Permissions .................................................................................... USB Password Function .................................................................................................... Using KCL with Passwords Enabled .................................................................................. Password Auto Login Function ........................................................................................... ERROR SEVERITY TABLE ........................................................................................... Error Severity Table Overview .......................................................................................... Modifying Error Severity ................................................................................................. ERROR CODE OUTPUT SETUP (OPTION) ...................................................................... Error Code Output Setup Overview ................................................................................... Method 1: Output Errors Using 33 Digital Outputs ............................................................... Method 2: Output Errors Using 3 Group Outputs ................................................................. Output Error Parameters .................................................................................................. Procedure ..................................................................................................................... ROBOT PAYLOAD SETTING ......................................................................................... Overview ...................................................................................................................... Setting the Active Payload Schedule .................................................................................. Setup of Payload Schedules .............................................................................................. Using Payload Ident. (Option 669) to Set Up Payload Schedules ........................................... Setting Up Arm Load Information ................................................................................... SYSTEM CONFIGURATION SETUP ............................................................................. 10–37 10.6 10.7 10.7.1 10.7.2 10.7.3 10.7.4 10.7.5 10.7.6 10.7.7 10.7.8 10.7.9 10.7.10 10.7.11 10.8 10.8.1 10.8.2 10.9 10.9.1 10.9.2 10.9.3 10.9.4 10.9.5 10.10 10.10.1 10.10.2 10.10.3 10.10.4 10.10.5 10.11 USER ALARM SETUP 10–40 10–42 10–42 10–44 10–47 10–48 10–49 10–53 10–70 10–72 10–74 10–76 10–78 10–79 10–79 10–79 10–84 10–84 10–85 10–89 10–91 10–91 10–92 10–92 10–93 10–95 10–100 10–113 10–114 ..................................................................... 11–1 11.1 11.1.1 11.1.2 11.1.3 STATUS DISPLAYS AND INDICATORS ........................................................................... Overview ....................................................................................................................... Teach Pendant Status Indicators ......................................................................................... Standard Operator Panel Status Indicators ............................................................................ 11–3 11–3 11–3 11–4 11.2 ............................................................................................................ EXECUTION HISTORY .................................................................................................. MAINTENANCE REMINDER ........................................................................................... Overview ........................................................................................................................ Main Menu ...................................................................................................................... Setup ............................................................................................................................. Check Maintenance Time and Complete Maintenance ............................................................. Maintenance Record ......................................................................................................... Robot Setting .................................................................................................................. MEMORY STATUS ....................................................................................................... Checking Memory .......................................................................................................... NOTIFICATIONS ........................................................................................................... Overview ....................................................................................................................... 11–6 Chapter 11 11.3 11.4 11.4.1 11.4.2 11.4.3 11.4.4 11.4.5 11.4.6 11.5 11.5.1 11.6 11.6.1 xiv MAROUAR9102171E REV D STATUS DISPLAYS AND INDICATORS CLOCK STATUS 11–7 11–9 11–9 11–9 11–10 11–16 11–19 11–23 11–23 11–23 11–25 11–25 MAROUAR9102171E REV D 11.6.2 Contents Notifications Screen ......................................................................................................... 11–26 11.7 POSITION REGISTER STATUS ....................................................................................... ....................................................................................................... POWER CONSUMPTION MONITOR................................................................................ PROCESS AXES STATUS (OPTION) ................................................................................ PROGRAM TIMER STATUS .......................................................................................... REGISTER STATUS ...................................................................................................... ROBOT AXES STATUS ................................................................................................. Overview ...................................................................................................................... Status 1 Screen .............................................................................................................. Status 2 Screen .............................................................................................................. Pulse Screen .................................................................................................................. Torque Monitor Screen .................................................................................................... Tracking Screen ............................................................................................................. Disturbance Torque Screen ............................................................................................... Servo Diagnosis ............................................................................................................. Procedure ..................................................................................................................... STOP SIGNAL STATUS ................................................................................................. STRING REGISTER STATUS ........................................................................................... SYSTEM TIMER STATUS .............................................................................................. SYSTEM VARIABLE STATUS ........................................................................................ TURN NUMBER DISPLAY ............................................................................................ Overview ...................................................................................................................... Usual Configuration ........................................................................................................ $SCR_GRP[group].$turn_axis[i] System Variable ................................................................ USER SCREEN STATUS ................................................................................................ VERSION IDENTIFICATION STATUS ............................................................................ VISUAL DIAGNOSTICS ................................................................................................. Overview ....................................................................................................................... Creating and Editing Visual Diagnostic Screens ..................................................................... Managing Screens ............................................................................................................ Viewing Visual Diagnostic Screens ..................................................................................... WELD STATUS ............................................................................................................ 11–28 11.8 POSITION STATUS 11–33 .................................................................... STORAGE DEVICES ...................................................................................................... Overview ....................................................................................................................... Storage Device Hints ......................................................................................................... Setting the Default Device ................................................................................................ Setting Up a Port ............................................................................................................ Using a Memory Card or USB Memory Stick Interface ......................................................... Formatting Devices ........................................................................................................ Subdirectories ................................................................................................................ MANIPULATING PROGRAMS ...................................................................................... Overview ...................................................................................................................... Selecting Programs On the SELECT Menu ......................................................................... Saving Programs ............................................................................................................ Loading Programs .......................................................................................................... Copying Programs Within the SELECT Menu ..................................................................... 12–1 11.9 11.10 11.11 11.12 11.13 11.13.1 11.13.2 11.13.3 11.13.4 11.13.5 11.13.6 11.13.7 11.13.8 11.13.9 11.14 11.15 11.16 11.17 11.18 11.18.1 11.18.2 11.18.3 11.19 11.20 11.21 11.21.1 11.21.2 11.21.3 11.21.4 11.22 Chapter 12 12.1 12.1.1 12.1.2 12.1.3 12.1.4 12.1.5 12.1.6 12.1.7 12.2 12.2.1 12.2.2 12.2.3 12.2.4 12.2.5 PROGRAM AND FILE MANIPULATION 11–35 11–36 11–37 11–40 11–42 11–42 11–42 11–45 11–47 11–48 11–48 11–49 11–50 11–57 11–58 11–60 11–63 11–64 11–66 11–66 11–67 11–70 11–71 11–73 11–78 11–78 11–80 11–92 11–95 11–98 12–3 12–3 12–9 12–9 12–11 12–16 12–20 12–24 12–25 12–25 12–26 12–28 12–29 12–31 xv Contents Deleting Programs from the SELECT Menu ........................................................................ Saving Files as ASCII ..................................................................................................... Filtering Programs in the Select List .................................................................................... 12–32 12–34 12–35 12.3 MANIPULATING FILES ................................................................................................ 12.3.1 Overview ...................................................................................................................... 12.3.2 Altering the FILE Menu View .......................................................................................... 12.3.3 Generating a Directory of Files ......................................................................................... 12.3.4 Backing Up Files ........................................................................................................... 12.3.5 Loading and Restoring Files to Controller Memory ............................................................... 12.3.6 Conversion of PC Files .................................................................................................... 12.3.7 Auto Software Update....................................................................................................... 12.3.8 Displaying Text (ASCII) Files .......................................................................................... 12.3.9 Copying Files ................................................................................................................ 12.3.10 Deleting Files ................................................................................................................ 12.3.11 Saving Files .................................................................................................................. 12.3.12 Checking File Memory .................................................................................................... 12–36 12–36 12–42 12–44 12–45 12–51 12–57 12–57 12–59 12–60 12–62 12–63 12–67 AUTOMATIC BACKUP ................................................................................................. Overview ...................................................................................................................... Automatic Backup .......................................................................................................... 12–67 12–67 12–68 ...................... IMAGE BACKUP .......................................................................................................... Overview ...................................................................................................................... Performing an Image Backup ........................................................................................... Restoring an Image Backup .............................................................................................. ASCII PROGRAM LOADER (formerly known as ASCII UPLOAD) ...................................... Overview ...................................................................................................................... Loading an ASCII Teach Pendant Program From the Teach Pendant ........................................ Loading an ASCII Teach Pendant Program from KCL ........................................................... Viewing ASCII Program Loader Errors .............................................................................. Example ASCII File ....................................................................................................... 12–73 .................................................................................... OVERVIEW .................................................................................................................. Overview ....................................................................................................................... Hardware ....................................................................................................................... Kinds of I/O ................................................................................................................... SETTING UP I/O ............................................................................................................ Overview ....................................................................................................................... Configuring I/O .............................................................................................................. Adding Comments About I/O ........................................................................................... Complementary Output Signals and Polarity ........................................................................ Simulating I/O ............................................................................................................... Controlling Outputs ........................................................................................................ Memory Image Port Assignment ....................................................................................... Procedure for Setting Up I/O ............................................................................................ Custom I/O ................................................................................................................... DISTRIBUTED (MODEL B) I/O SETUP ........................................................................... Overview ...................................................................................................................... Setting the DIP Switches ................................................................................................. Setting Up the Basic Digital I/O Units ................................................................................ Setting Up User I/O ........................................................................................................ ROBOT I/O SETUP ....................................................................................................... 13–1 12.2.6 12.2.7 12.2.8 12.4 12.4.1 12.4.2 12.5 12.6 12.6.1 12.6.2 12.6.3 12.7 12.7.1 12.7.2 12.7.3 12.7.4 12.7.5 Chapter 13 13.1 13.1.1 13.1.2 13.1.3 13.2 13.2.1 13.2.2 13.2.3 13.2.4 13.2.5 13.2.6 13.2.7 13.2.8 13.2.9 13.3 13.3.1 13.3.2 13.3.3 13.3.4 13.4 xvi MAROUAR9102171E REV D TROUBLESHOOTING FILE BACKUP OR AUTOMATIC BACKUP ERRORS INPUT/OUTPUT (I/O) SETUP 12–75 12–75 12–76 12–79 12–82 12–82 12–82 12–86 12–86 12–88 13–3 13–3 13–3 13–3 13–5 13–5 13–6 13–10 13–10 13–10 13–10 13–11 13–11 13–27 13–29 13–29 13–31 13–34 13–36 13–37 MAROUAR9102171E REV D 13.5 13.6 13.6.1 13.6.2 13.6.3 13.6.4 13.6.5 13.6.6 13.6.7 13.6.8 13.6.9 13.6.10 13.7 13.8 13.8.1 13.8.2 13.8.3 13.8.4 13.9 13.9.1 13.9.2 13.9.3 Chapter 14 14.1 14.2 14.3 14.3.1 14.3.2 14.3.3 14.3.4 14.3.5 14.3.6 14.3.7 14.4 14.5 14.5.1 14.5.2 14.5.3 14.5.4 14.5.5 14.5.6 14.5.7 14.5.8 14.5.9 14.5.10 14.6 14.6.1 14.6.2 14.6.3 14.6.4 14.6.5 Contents .......................................................... SETTING UP I/O LINK DEVICES ................................................................................... Overview ...................................................................................................................... I/O Link Devices ............................................................................................................ Process I/O ................................................................................................................... Model A I/O .................................................................................................................. Model B I/O .................................................................................................................. Terminal I/O .................................................................................................................. I/O Link Device Screen ................................................................................................... I/O Link Connection ....................................................................................................... FANUC I/O Link Connection Unit .................................................................................... Setting the Number of Ports ............................................................................................. I/O INTERCONNECT SETUP ......................................................................................... CONTROLLING I/O ...................................................................................................... Overview ...................................................................................................................... Forcing Outputs ............................................................................................................. Simulating Inputs and Outputs .......................................................................................... Output When WAITing on Input ......................................................................................... USER OPERATOR PANEL (UOP) SIGNAL DEFINITION ................................................... Overview ...................................................................................................................... UOP Input Signals .......................................................................................................... UOP Output Signals ....................................................................................................... 13–41 ........................................................................................... OVERVIEW .................................................................................................................. WELD EQUIPMENT SELECTION ................................................................................... WELD SYSTEM SETUP ................................................................................................. Overview ....................................................................................................................... Monitoring Functions ....................................................................................................... Weld Restart Function ...................................................................................................... Scratch Start Function ..................................................................................................... Repeat Touch Retry Function ............................................................................................. Weld Speed Function ...................................................................................................... Other Functions ............................................................................................................. WELD EQUIPMENT SETUP .......................................................................................... WELD I/O .................................................................................................................... Overview ...................................................................................................................... I/O Configuration ........................................................................................................... Weld I/O Timing Charts ................................................................................................... Welding Input Signals ..................................................................................................... Welding Output Signals ................................................................................................... Setting Up Arc Welding I/O ............................................................................................. Remote Arc Enable ......................................................................................................... Direct Wire Feed Control ................................................................................................. Remote Wire Inch Control ............................................................................................... Weld External Output Function ........................................................................................... WELD PROCEDURES .................................................................................................... Weld Procedures Data Menu .............................................................................................. The VIEW Function Key ................................................................................................... The CMND Function Key ................................................................................................. Weld Start and Weld End Programming ................................................................................ Using Arc Ramping with Weld Procedures ........................................................................... 14–1 STANDARD OPERATOR PANEL (SOP) I/O SETUP SETTING UP ARCTOOL 13–45 13–45 13–45 13–45 13–46 13–47 13–47 13–48 13–50 13–52 13–60 13–62 13–67 13–67 13–68 13–69 13–70 13–72 13–72 13–74 13–80 14–4 14–4 14–6 14–6 14–8 14–9 14–11 14–13 14–14 14–14 14–16 14–20 14–20 14–22 14–23 14–24 14–27 14–29 14–35 14–36 14–39 14–41 14–43 14–44 14–47 14–48 14–49 14–52 xvii Contents 14.6.6 Using HeatWave with Weld Procedures ................................................................................ 14.6.7 Configuring the Weld Procedures Option .............................................................................. 14–54 14–55 14.7 WELD PROCEDURE PROCESS LIMITS ........................................................................... 14.7.1 Overview ....................................................................................................................... 14.7.2 Limitations ..................................................................................................................... 14.7.3 Setup and Operation ......................................................................................................... 14–57 14–57 14–58 14–58 14.8 WELD SCHEDULE DATA without WELD PROCEDURES .................................................. 14–63 14.9 .................................................... ARCTOOL RAMPING WITH WELD PROCEDURES .......................................................... Overview ....................................................................................................................... Weld Parameter Ramping .................................................................................................. Speed Rampint ................................................................................................................ Weave Ramping .............................................................................................................. When to Ramp ............................................................................................................... Resuming after a Fault .................................................................................................... On-the-Fly .................................................................................................................... Thru-Arc Seam Tracking ................................................................................................. ARCTOOL RAMPING WITHOUT WELD PROCEDURES .................................................. Overview ...................................................................................................................... Programming Ramping ................................................................................................... When to Ramp ............................................................................................................... Resuming after a Fault .................................................................................................... On-the-Fly .................................................................................................................... Thru-Arc Seam Tracking ................................................................................................. WEAVING ................................................................................................................... Overview ...................................................................................................................... Weave Setup ................................................................................................................. Wrist Axis Weaving (option) .......................................................................................... Weave Schedules ......................................................................................................... Multi-Group Weave ...................................................................................................... CUSTOMIZED WEAVING ........................................................................................... Overview .................................................................................................................... Customized Weaving Instruction ..................................................................................... Weaving Pattern Setting ................................................................................................. Weaving Pattern Setup .................................................................................................. Weaving Pattern Setting by KAREL ................................................................................ EXTENDED WEAVING ............................................................................................... Weave Schedule ........................................................................................................... Extended Weaving Schedule ........................................................................................... WELD CONTROLLER PROGRAM SELECTION ............................................................ Overview .................................................................................................................... Enabling Weld Controller Program Selection ..................................................................... Assigning Weld Controller Program Selection Outputs ........................................................ Selecting Weld Controller Programs ................................................................................ Specifying a Weld Controller Program in a Weld Schedule ................................................... LINCOLN ELECTRIC POWER WAVE SERIES WELDING EQUIPMENT .......................... Introduction ................................................................................................................ Installation Overview .................................................................................................... Hardware Requirements ................................................................................................ Software Requirements ................................................................................................. Equipment Installation .................................................................................................. Setting Up the Power Wave (all models) ........................................................................... 14–68 14.10 14.10.1 14.10.2 14.10.3 14.10.4 14.10.5 14.10.6 14.10.7 14.10.8 14.11 14.11.1 14.11.2 14.11.3 14.11.4 14.11.5 14.11.6 14.12 14.12.1 14.12.2 14.12.3 14.12.4 14.12.5 14.13 14.13.1 14.13.2 14.13.3 14.13.4 14.13.5 14.14 14.14.1 14.14.2 14.15 14.15.1 14.15.2 14.15.3 14.15.4 14.15.5 14.16 14.16.1 14.16.2 14.16.3 14.16.4 14.16.5 14.16.6 xviii MAROUAR9102171E REV D WELD PROCESS DATA without WELD PROCEDURES 14–71 14–71 14–71 14–77 14–78 14–79 14–80 14–83 14–83 14–83 14–83 14–87 14–89 14–90 14–93 14–93 14–93 14–93 14–94 14–100 14–101 14–105 14–107 14–107 14–107 14–109 14–113 14–116 14–121 14–121 14–121 14–123 14–123 14–123 14–124 14–127 14–129 14–130 14–130 14–132 14–132 14–132 14–133 14–136 MAROUAR9102171E REV D Contents 14.16.7 Wire Feeder Selection ................................................................................................... 14.16.8 Strike Wire Feed Speed ................................................................................................. 14.16.9 Power Wave ArcLink Status ........................................................................................... 14.16.10 Selecting Multiple Weld Processes ................................................................................... 14.16.11 Variables that Affect the Operation of the Power Wave ........................................................ 14.16.12 Considerations for Touch Sensing .................................................................................... 14.16.13 Considerations for Through Arc Seam Tracking (TAST) ...................................................... 14.16.14 Multi-Equipment Setup with the Power Wave .................................................................... 14.16.15 Changing Equipment ...................................................................................................... 14.16.16 Error Codes Relevant to the Power Wave Interface ............................................................. 14.16.17 Troubleshooting ........................................................................................................... 14.16.18 Hardware Reference Information (for ArcLink® (CAN Bus Connection)) ............................... 14.16.19 ArcLink Interface Overview (ArcLink® (CAN Bus Connection)) .......................................... 14.16.20 Molex(SST-DN3-104, SST-DN4-104) Hardware Information ............................................... 14.16.21 Woodhead (SST-DN3-104-2, SST-DN4-104-2) Hardware Information ................................... 14.16.22 Standard I/O Configuration for the Power Wave ................................................................. 14.16.23 Default Weld System Setup Information ........................................................................... 14–137 14–138 14–139 14–139 14–144 14–144 14–145 14–146 14–149 14–154 14–155 14–155 14–156 14–156 14–158 14–160 14–161 14.17 FAStart ....................................................................................................................... 14–162 14.18 WELD ID..................................................................................................................... 14–164 Chapter 15 15.1 15.2 15.2.1 15.2.2 15.2.3 Chapter 16 16.1 16.1.1 16.1.2 16.1.3 16.1.4 16.1.5 16.2 16.2.1 16.2.2 16.2.3 16.2.4 16.3 16.3.1 16.3.2 16.3.3 16.4 16.4.1 16.4.2 16.4.3 16.4.4 16.4.5 16.4.6 16.4.7 16.4.8 ........................................................................................... OVERVIEW .................................................................................................................. ARCTOOL CELL INTERFACE I/O SIGNALS .................................................................... ArcTool Cell Interface Input Signals ................................................................................... ArcTool Cell Interface Output Signals ................................................................................. Setting Up ArcTool Cell Interface I/O Signals ....................................................................... 15–1 ......................................................................................... ARC START HEIGHT ADJUST FUNCTION........................................................................ Overview ........................................................................................................................ Setup .............................................................................................................................. Teaching Arc Start Height Adjust ........................................................................................ Additional Information ..................................................................................................... Teaching Arc Start Height Adjust with Multi-Equipment ......................................................... ARC WELDING ANALOG METER DISPLAYING FUNCTION ............................................ Overview ....................................................................................................................... ARC Welding Analog Meter Function ................................................................................. Arc Welding Analog Meter Screen ...................................................................................... Cooperation with Arc Abnormal Monitor Function ................................................................. AUTO BACKWARD EXIT ............................................................................................... Overview ....................................................................................................................... Specifications .................................................................................................................. Programming .................................................................................................................. AUTOMATIC ERROR RECOVERY (OPTION) ................................................................. Overview ...................................................................................................................... Kinds of Recovery Programs ............................................................................................ Features ........................................................................................................................ Limitations ................................................................................................................... I/O Interface .................................................................................................................. Setup ........................................................................................................................... Programming ................................................................................................................ Testing ......................................................................................................................... 16–1 SETTING UP THE CELL ADVANCED FUNCTIONS 15–2 15–2 15–2 15–5 15–8 16–7 16–7 16–9 16–12 16–14 16–14 16–17 16–17 16–18 16–18 16–23 16–26 16–26 16–27 16–30 16–31 16–31 16–31 16–34 16–36 16–37 16–38 16–45 16–49 xix Contents MAROUAR9102171E REV D 16.4.9 16.4.10 Error Recovery Manual Function ...................................................................................... I/O Timing Sequence ...................................................................................................... 16–49 16–52 16.5 16.5.1 16.5.2 16.5.3 16.5.4 16.5.5 AUXILIARY AXIS SERVO OFF (LOCAL STOP) FUNCTION .............................................. Specifications .................................................................................................................. Limitations ..................................................................................................................... Settings .......................................................................................................................... Additional Information ..................................................................................................... Programming .................................................................................................................. 16–57 16–58 16–61 16–61 16–65 16–66 16.6 16.6.1 16.6.2 16.6.3 16.6.4 16.6.5 16.6.6 BRAKE CHECK FUNCTION ........................................................................................... Overview ....................................................................................................................... Setup ............................................................................................................................. Start Brake Check ............................................................................................................ Result of Brake Check ...................................................................................................... Limitations ..................................................................................................................... Caution .......................................................................................................................... 16–70 16–70 16–70 16–71 16–72 16–72 16–73 16.7 16.7.1 16.7.2 16.7.3 CENTER FINDER ......................................................................................................... Overview ...................................................................................................................... Using Center Finder ........................................................................................................ Troubleshooting ............................................................................................................. 16–73 16–73 16–74 16–82 16.8 16.8.1 16.8.2 16.8.3 16.9 16.9.1 16.9.2 16.9.3 16.9.4 16.9.5 16.10 16.10.1 16.10.2 16.10.3 16.10.4 16.10.5 16.10.6 16.10.7 16.10.8 COLLISION DETECTION FOR AUXILIARY AXIS ............................................................ 16–82 Overview ....................................................................................................................... 16–82 Initial Setting .................................................................................................................. 16–83 Tuning Procedure ............................................................................................................. 16–83 COLLISION GUARD ..................................................................................................... 16–85 Overview ...................................................................................................................... 16–85 Limitations ................................................................................................................... 16–86 Falsely Detected Collisions .............................................................................................. 16–86 Setup ........................................................................................................................... 16–86 Programmed Motion ....................................................................................................... 16–88 CONDITION MONITOR FUNCTION .............................................................................. 16–92 Overview ...................................................................................................................... 16–92 Monitors ....................................................................................................................... 16–93 Monitor State ................................................................................................................ 16–95 Monitor Instructions ....................................................................................................... 16–96 Condition Handler Program .............................................................................................. 16–96 Conditions .................................................................................................................... 16–97 Condition Menu ............................................................................................................. 16–98 Restrictions ................................................................................................................. 16–100 CONTINUOUS TURN FUNCTION (OPTION) .................................................................. OVERVIEW ............................................................................................................... HARDWARE AND SOFTWARE ..................................................................................... GENERAL SETUP ...................................................................................................... OPERATIONAL RULES .............................................................................................. PROGRAMMING ........................................................................................................ TROUBLESHOOTING .................................................................................................. NOTES AND RESTRICTIONS ...................................................................................... SPECIAL KAREL REMASTERING PROGRAM FOR HANDLING CONTINUOUS ROTATING AXES......................................................................................................... 16.11.9 GEAR INFORMATION ................................................................................................ 16.11.10 CONTINUOUS TURN SPEED CONTROL ....................................................................... 16.11.11 SPIRAL CLADDING ..................................................................................................... 16–107 16–107 16–110 16–111 16–113 16–119 16–122 16–124 COORDINATES OFFSET FUNCTION ........................................................................... Using the Coordinates Offset Function ............................................................................. 16–148 16–148 16.11 16.11.1 16.11.2 16.11.3 16.11.4 16.11.5 16.11.6 16.11.7 16.11.8 16.12 16.12.1 xx 16–125 16–127 16–140 16–146 MAROUAR9102171E REV D Contents 16.12.2 16.12.3 Tool Frame Offset Function ............................................................................................ User Frame Offset Function ........................................................................................... 16–152 16–155 16.13 16.13.1 16.13.2 16.13.3 CYCLE TIME LOGGING AND DISPLAY ...................................................................... Overview .................................................................................................................... Modes ........................................................................................................................ Tracking Cycle Time ..................................................................................................... 16–159 16–159 16–161 16–165 16.14 16.14.1 16.14.2 16.14.3 16.14.4 DATA MONITOR ........................................................................................................ Overview .................................................................................................................... Data Monitor Setup ...................................................................................................... Data Monitor Schedule .................................................................................................. Data Monitor Programming ............................................................................................ 16–169 16–169 16–171 16–177 16–182 16.15 DISTANCE BEFORE ................................................................................................... 16.15.1 Overview .................................................................................................................... 16.15.2 Specification ............................................................................................................... 16.15.3 Program Instruction ...................................................................................................... 16.15.4 Distance Value ............................................................................................................. 16.15.5 Action ........................................................................................................................ 16.15.6 Changing the Trigger Condition ...................................................................................... 16.15.7 Alarms Posted When Distance Before is Not Triggered ....................................................... 16.15.8 Single Step Execution ................................................................................................... 16.15.9 Hold and Resume ......................................................................................................... 16.15.10 Resume After Jogging ................................................................................................... 16.15.11 Power Failure Recovery ................................................................................................ 16.15.12 Adding the Distance Before Motion Option (Procedure) ...................................................... 16.15.13 Cautions and Limitations ............................................................................................... 16.15.14 System Variables .......................................................................................................... 16.15.15 Error Codes ................................................................................................................. 16.16 DUAL MOTOR DRIVE ................................................................................................. 16.16.1 Introduction .................................................................................................................. 16.16.2 Setup ........................................................................................................................... 16.17 EASY TEACH SUITE (formerly known as Simple Teach Suite) ............................................ 16.17.1 Overview .................................................................................................................... 16.17.2 Auto Path Smoothing .................................................................................................... 16–183 16–183 16–184 16–185 16–185 16–186 16–187 16–190 16–190 16–191 16–194 16–196 16–196 16–199 16–200 16–202 16–203 16–203 16–203 16–205 16–205 16–205 ..................................................................... EXECUTING MULTIPLE PROGRAMS (MULTI-TASKING) ............................................. Overview .................................................................................................................... Guidelines .................................................................................................................. Synchronizing the Execution of Multiple Programs ............................................................. Effect of Multi-Tasking on Dedicated I/O Signals ............................................................... Standard Operator Panel (SOP) Cycle Start Execution ......................................................... Program Number Select (PNS) Execution ......................................................................... RUN Program Instruction Execution ................................................................................ Single Step Program Execution ....................................................................................... GRAVITY COMPENSATION ........................................................................................ System Variables .......................................................................................................... MOTION Screen .......................................................................................................... Mastering .................................................................................................................... GROUP MASK EXCHANGE ........................................................................................ Overview .................................................................................................................... Setting Up Group Mask Exchange ................................................................................... Troubleshooting Group Mask Exchange ........................................................................... HIGH SPEED INPUT FUNCTIONS ............................................................................... 16–215 16.18 16.19 16.19.1 16.19.2 16.19.3 16.19.4 16.19.5 16.19.6 16.19.7 16.19.8 16.20 16.20.1 16.20.2 16.20.3 16.21 16.21.1 16.21.2 16.21.3 16.22 ENHANCED MIRROR IMAGE (OPTION) 16–234 16–234 16–234 16–235 16–236 16–236 16–237 16–238 16–239 16–241 16–241 16–241 16–243 16–246 16–246 16–247 16–248 16–249 xxi Contents xxii MAROUAR9102171E REV D 16.22.1 16.22.2 16.22.3 Overview .................................................................................................................... Frequency Interface ...................................................................................................... High Speed Scanning (for Line Tracking Part Detect). ........................................................ 16–249 16–249 16–250 16.23 16.23.1 16.23.2 16.23.3 16.23.4 HIGH SPEED POSITION OUTPUT ................................................................................. Overview ..................................................................................................................... Functions ..................................................................................................................... Data formats ................................................................................................................. Setup ........................................................................................................................... 16–250 16–250 16–250 16–251 16–252 16.24 16.24.1 16.24.2 16.24.3 16.24.4 16.24.5 16.24.6 16.24.7 16.24.8 16.24.9 16.24.10 16.24.11 16.24.12 16.24.13 16.24.14 16.24.15 16.24.16 16.24.17 16.24.18 16.24.19 16.24.20 16.25 16.25.1 16.25.2 16.25.3 16.26 16.26.1 16.26.2 16.26.3 16.26.4 16.26.5 16.26.6 16.26.7 16.27 16.28 16.28.1 INTERFACE PANEL ..................................................................................................... Overview ..................................................................................................................... Displaying the Interface Panel .......................................................................................... Interface Panel .............................................................................................................. Interface Panel Setup Screen ............................................................................................ Button Type Setup Screen ................................................................................................ Setting of Button Type .................................................................................................... Button Detail Setup Screen .............................................................................................. Type of Button .............................................................................................................. Common Properties ........................................................................................................ Operation Condition ....................................................................................................... Push Button .................................................................................................................. Push Button Lamp ......................................................................................................... 2 Contact Point Switch .................................................................................................... Lamp ........................................................................................................................... Digital Switch ............................................................................................................... Digital Display .............................................................................................................. Miscellaneous Setting Screen ........................................................................................... External I/F Panel Selection Setup Screen ........................................................................... Backup and Restore ........................................................................................................ Limitations ................................................................................................................... JOG RETRACT & RETURN ........................................................................................... Overview ..................................................................................................................... Sequence of Operations ................................................................................................... Operation ..................................................................................................................... MENU UTILITY (OPTION) .......................................................................................... Overview .................................................................................................................... Prompt Box Message Menu ............................................................................................ Prompt Box Yes/No Menu ............................................................................................. List Menu ................................................................................................................... Status Menu ................................................................................................................ Operator Entry Menu .................................................................................................... Using Your Teach Pendant Menus ................................................................................... MIRROR IMAGE UTILITY .......................................................................................... MONITORING PROGRAMS ........................................................................................ Montioring Teach Pendant Programs ................................................................................ 16–253 16–253 16–255 16–257 16–260 16–262 16–266 16–268 16–273 16–273 16–276 16–281 16–283 16–286 16–288 16–290 16–293 16–294 16–298 16–299 16–300 16–300 16–300 16–301 16–302 16–306 16–306 16–307 16–313 16–319 16–327 16–337 16–347 16–348 16–364 16–364 16.29 16.29.1 16.29.2 16.29.3 16.29.4 16.29.5 MOTION GROUP DO OUTPUT FUNCTION (MULTIPLE MOTION GROUP OPTION) .................................................................................................................... Overview .................................................................................................................... Restrictions ................................................................................................................. Operations .................................................................................................................. Setup ......................................................................................................................... Subprogram and Multi-tasking Execution ......................................................................... 16–366 16–366 16–367 16–367 16–368 16–369 16.30 16.30.1 OPERATION LOG BOOK [OPTION] ............................................................................. Overview .................................................................................................................... 16–370 16–370 MAROUAR9102171E REV D Contents Recorded Events .......................................................................................................... Operations .................................................................................................................. 16–373 16–379 16.31 OPERATIONS WITHOUT A TEACH PENDANT .............................................................. 16.31.1 OVERVIEW ................................................................................................................. 16.31.2 SETUP ........................................................................................................................ 16.31.3 OPERATIONS .............................................................................................................. 16–384 16–384 16–386 16–387 16.32 16.32.1 16.32.2 16.32.3 16.32.4 16.32.5 OPERATIONS WITHOUT A MODE SWITCH .................................................................. Overview ..................................................................................................................... Setup ........................................................................................................................... TP MODE SELECT Function .......................................................................................... External Mode Select Function ......................................................................................... Optional Mode Switch .................................................................................................... 16–415 16–415 16–416 16–418 16–424 16–426 16.33 ORIGINAL PATH RESUME .......................................................................................... 16–426 16.34 16.34.1 16.34.2 PAYLOAD CONFIRM ................................................................................................. Overview .................................................................................................................... Payload Setting and Payload Over Confirm ....................................................................... 16–429 16–429 16–430 16.35 POSITION BUMPBOX (formerly known as Bump Box) ..................................................... 16.35.1 Overview .................................................................................................................... 16.35.2 Setting Up Position BumpBox Schedules .......................................................................... 16.35.3 Setting Up Position BumpBox I/O ................................................................................... 16.35.4 Position BumpBox with Coordinated Motion - Overview ...................................................... 16.35.5 Bump Frames for Normal and Coordinated Motion .............................................................. 16–434 16–434 16–434 16–443 16–445 16–449 16.36 POSITION REGISTER LOOK-AHEAD EXECUTION FUNCTION .................................... 16.36.1 Overview .................................................................................................................... 16.36.2 Program Instructions ..................................................................................................... 16.36.3 Program Example ......................................................................................................... 16.36.4 Execution ................................................................................................................... 16.37 PROCESS AXES........................................................................................................... 16.37.1 BASIC PROCESS AXES (R689)...................................................................................... 16.37.2 EXTERNAL PROCESS AXES CONTROL (R824) ............................................................. 16–456 16–456 16–457 16–457 16–458 16–459 16–459 16–468 ................................................................................ RESUME OFFSET ...................................................................................................... Limitations of Resume Offset ......................................................................................... Constant Path Resume Offset .......................................................................................... Limitations of Constant Path Resume Offset ...................................................................... Non-Constant Path Resume Offset ................................................................................... Limitations of non-Constant Path Resume Offset ................................................................ Selecting Resume Offset Type ........................................................................................ Resume Offset Setup Menu ............................................................................................ System Variables .......................................................................................................... ROBOT-PC COMMUNICATIONS MACROS .................................................................. Overview .................................................................................................................... Send Event ( ) .............................................................................................................. Send Data( ) ................................................................................................................ Send SysVar( ) ............................................................................................................. Get Data( ) .................................................................................................................. Request Menu( ) .......................................................................................................... RSI INTERFACE .......................................................................................................... Format of the data sent by the robot ................................................................................... Setting ......................................................................................................................... KAREL Programs and Builtins ......................................................................................... 16–471 16.30.2 16.30.3 16.38 16.39 16.39.1 16.39.2 16.39.3 16.39.4 16.39.5 16.39.6 16.39.7 16.39.8 16.40 16.40.1 16.40.2 16.40.3 16.40.4 16.40.5 16.40.6 16.41 16.41.1 16.41.2 16.41.3 REFERENCE POSITION UTILITY 16–475 16–475 16–475 16–476 16–476 16–477 16–477 16–478 16–479 16–479 16–479 16–480 16–481 16–483 16–484 16–485 16–486 16–487 16–489 16–491 xxiii Contents 16.41.4 Details ......................................................................................................................... 16–496 16.42 16.42.1 16.42.2 16.42.3 16.42.4 16.42.5 16.42.6 16.42.7 16.42.8 16.42.9 SHAPE GENERATION 3 (OPTION) ............................................................................... Overview .................................................................................................................... Quick Start Hints ......................................................................................................... Shape Setup ................................................................................................................ Setting Up Default Shape Data ........................................................................................ Shape-Specific Shape Data for Standard Shapes ................................................................. Setting Up Custom Shape Data ....................................................................................... Generating a Shape Program from UTILITIES Shape Gen ................................................... Servo Schedules ........................................................................................................... Tuning Guidelines ........................................................................................................ 16–497 16–497 16–498 16–498 16–501 16–504 16–516 16–519 16–527 16–529 16.43 16.43.1 16.43.2 16.43.3 SIMULATED INPUT SKIP ........................................................................................... Overview .................................................................................................................... Setup ......................................................................................................................... Operation .................................................................................................................... 16–533 16–533 16–533 16–536 16.44 SOFT FLOAT (OPTION) .............................................................................................. 16.44.1 Overview .................................................................................................................... 16.44.2 Restrictions ................................................................................................................. 16.44.3 Setting Up Joint Soft Float Schedules ............................................................................... 16.44.4 Setting Up Cartesian Soft Float Schedules ......................................................................... 16.44.5 Setting Up Pushout Soft Float Schedules .......................................................................... 16.44.6 Program Instructions ..................................................................................................... 16.44.7 General Soft Float Guidelines ......................................................................................... 16.44.8 Cartesian Soft Float Guidelines ....................................................................................... 16.44.9 Other Guidelines .......................................................................................................... 16.45 SPACE CHECK FUNCTION (OPTION) .......................................................................... 16.45.1 Setting Up Space Check ................................................................................................ 16.45.2 Limitations ................................................................................................................. 16.46 SYMMETRIC PART ...................................................................................................... 16.46.1 System Variables for Symmetric Parts ................................................................................ 16.46.2 Program Examples for Symmetric Part ............................................................................... 16.47 TCP SPEED OUTPUT (OPTION) .................................................................................. 16.47.1 Overview .................................................................................................................... 16.47.2 Setting Up TCP Speed Output ........................................................................................ 16.47.3 TCP Speed Output Program Instruction ............................................................................ 16.48 TEACH PENDANT SHIM ............................................................................................ 16.48.1 Overview .................................................................................................................... 16.48.2 Setting Up and Using TP Shim ....................................................................................... 16.48.3 Using TP Shim History to Apply Previous Shims ............................................................... 16–538 16–538 16–539 16–540 16–543 16–545 16–547 16–550 16–553 16–558 16–561 16–563 16–571 16–572 16–574 16–574 16–575 16–575 16–576 16–578 16–580 16–580 16–583 16–586 TIME BEFORE/AFTER MOTION OPTION INSTRUCTION ............................................. Overview .................................................................................................................... Program Execution ....................................................................................................... Execution Timing ......................................................................................................... Recording a TIME BEFORE/AFTER Instruction ............................................................... TIME BEFORE Instruction Program Example ................................................................... Programming Hints ...................................................................................................... WELD SPEED OUTPUT FUNCTION (OPTION) ............................................................... Overview ..................................................................................................................... Setup ........................................................................................................................... XVR ACCESS FUNCTION ............................................................................................ Overview ..................................................................................................................... Configuration ................................................................................................................ 16–588 16–588 16–589 16–592 16–593 16–595 16–596 16–596 16–596 16–597 16–598 16–598 16–599 16.49 16.49.1 16.49.2 16.49.3 16.49.4 16.49.5 16.49.6 16.50 16.50.1 16.50.2 16.51 16.51.1 16.51.2 xxiv MAROUAR9102171E REV D MAROUAR9102171E REV D Contents 16.51.3 Export Function (Backup)................................................................................................ 16.51.4 Import Function (Restore)................................................................................................ Chapter 17 17.1 17.1.1 17.2 17.2.1 17.2.2 17.2.3 17.2.4 17.3 17.3.1 17.3.2 17.3.3 17.3.4 17.3.5 17.3.6 17.3.7 17.4 17.4.1 17.4.2 17.4.3 17.4.4 17.4.5 17.5 17.5.1 17.5.2 17.6 17.6.1 17.6.2 17.6.3 17.6.4 17.6.5 17.6.6 17.6.7 17.7 17.7.1 17.7.2 17.7.3 17.8 17.9 17.9.1 17.9.2 17.9.3 17.9.4 17.9.5 17.9.6 17.9.7 ............................................. OVERVIEW .................................................................................................................. Limitations of the Servo-Robot Sensor Interface ................................................................... INSTALLING THE SERVO-ROBOT SENSOR AND SOFTWARE ......................................... Additional Requirements .................................................................................................. E-Stop Connection .......................................................................................................... Laser Warning Light ........................................................................................................ Communication Connection .............................................................................................. SENSOR SETUP ........................................................................................................... Overview ...................................................................................................................... Tool Frame Setup ........................................................................................................... Setting Up the Tool Frame ............................................................................................... Checking the Tool Frame Setting ....................................................................................... Setting Up the Sensor Frame Using the Direct Entry Method .................................................. Setting Up the Sensor Frame Using the Ten Point Teaching Method ......................................... Setting Up the Sensor System ......................................................................................... SENSOR DATA AND STATUS ........................................................................................ Overview ...................................................................................................................... Sensor Schedule Setup .................................................................................................... Motion Sensitivity .......................................................................................................... Sensor Schedules ........................................................................................................... Detection Log ................................................................................................................ SETTING WELD PROCESS DATA FOR MULTI-PASS ADAPTIVE WELDING ..................... Setting Up Multi-Pass Data .............................................................................................. Setting Up the Adapt Data ............................................................................................... PROGRAMMING ......................................................................................................... Search .......................................................................................................................... Search Schedule ............................................................................................................. Offset Instructions .......................................................................................................... Search Programming ....................................................................................................... Track ........................................................................................................................... Track Schedule .............................................................................................................. Track Programming ........................................................................................................ ROOT PASS MEMORIZATION AND MULTI-PASS ........................................................... Root Pass Memorization .................................................................................................. Using Multi-Pass with Adaptive Welding ............................................................................ Programming ................................................................................................................ ADAPTIVE WELDING .................................................................................................. SENSOR APPLICATION SOFTWARE ............................................................................. Setup ........................................................................................................................... MIG_CRS .................................................................................................................... MIG_CRS2 ................................................................................................................... MIG_VECTOR ............................................................................................................. MIG_CIRCLE ............................................................................................................... MIG_FRAME ............................................................................................................... Sample Applications ....................................................................................................... ADAPTIVE WELDING WITH SERVO-ROBOT SENSOR .................................................................................. 18.1 Overview ........................................................................................................................ Chapter 18 ARC CONSTANT DEPOSITION 16–599 16–601 17–1 17–3 17–4 17–5 17–6 17–6 17–7 17–7 17–10 17–10 17–10 17–11 17–11 17–11 17–12 17–24 17–26 17–26 17–26 17–30 17–33 17–34 17–37 17–37 17–42 17–48 17–48 17–51 17–51 17–52 17–63 17–64 17–64 17–75 17–75 17–78 17–79 17–83 17–88 17–89 17–90 17–91 17–93 17–94 17–96 17–98 18–1 18–2 xxv Contents Benefits........................................................................................................................... Performance .................................................................................................................... Limitations ...................................................................................................................... Compatibility ................................................................................................................... Precaution ....................................................................................................................... 18–2 18–2 18–2 18–2 18–3 18.2 Setup and User Interface .................................................................................................... 18.2.1 Example 1 ....................................................................................................................... 18.2.2 Example 2 ....................................................................................................................... 18.2.3 Example 3 ....................................................................................................................... 18–3 18–6 18–6 18–7 18.1.1 18.1.2 18.1.3 18.1.4 18.1.5 ................................................................................... 19–1 19.1 Introduction and Setup ....................................................................................................... 19–2 19.2 Weld Profile Selection: Macro Call Method ........................................................................... 19–3 19.3 Weld Profile Selection: Parameter Statement method ............................................................... 19–4 19.4 Part Serial Number Selection .............................................................................................. 19–4 19.5 Production Monitoring™ Error Handling .............................................................................. 19–6 19.6 Wire Monitor Setup Menu .................................................................................................. 19–7 19.7 WeldScore Display ............................................................................................................ 19–8 19.8 Proxy Server Function for CheckPoint cloud server data storage ................................................ 19–9 Chapter 19 Chapter 20 20.1 20.2 20.2.1 20.2.2 20.3 20.4 20.5 20.6 Chapter 21 21.1 21.2 21.2.1 21.2.2 21.2.3 21.2.4 21.3 21.3.1 21.3.2 21.4 Chapter 22 22.1 22.2 22.3 22.4 xxvi MAROUAR9102171E REV D ARC PRODUCTION MONITOR ........................................................................... 20–1 OVERVIEW .................................................................................................................. 20–2 AVC TRACKING ........................................................................................................... 20–2 Vertical Plane (Z-Plane) Tracking ....................................................................................... 20–3 Weave Plane (XY-Plane) Lateral Tracking ............................................................................ 20–5 FACTORS THAT AFFECT AVC TRACKING ..................................................................... 20–6 AVC HARDWARE REQUIREMENTS ............................................................................... 20–7 AVC SCHEDULE SETUP ................................................................................................ 20–7 AVC PROGRAMMING .................................................................................................. 20–14 AUTOMATIC VOLTAGE CONTROL ....................................................................................................... 21–1 OVERVIEW .................................................................................................................. 21–2 SETTING UP DETACHED JOG I/O .................................................................................. 21–2 Overview ....................................................................................................................... 21–2 Detached Jog Group Wiring .............................................................................................. 21–2 I/O Mapping ................................................................................................................... 21–3 I/O Setup ....................................................................................................................... 21–5 JOGGING DETACHED GROUPS ..................................................................................... 21–9 Overview ....................................................................................................................... 21–9 Operating Characteristics ................................................................................................. 21–12 DETACHED JOG I/O CHECKING ................................................................................... 21–14 DETACHED JOG ..................................................................................................... Overview ....................................................................................................................... HeatWave Installation and Setup ........................................................................................ HeatWave Operation ........................................................................................................ HeatWave Programming ................................................................................................... HEATWAVE SYNC 22–1 22–2 22–2 22–3 22–5 MAROUAR9102171E REV D 22.5 22.5.1 Chapter 23 23.1 23.1.1 23.1.2 23.1.3 23.2 23.2.1 23.2.2 23.2.3 23.2.4 23.2.5 23.2.6 23.2.7 23.2.8 23.3 23.3.1 23.3.2 23.3.3 23.3.4 23.3.5 23.3.6 23.3.7 23.3.8 23.3.9 23.4 23.4.1 23.4.2 23.4.3 23.4.4 23.4.5 23.4.6 23.4.7 23.5 23.5.1 23.5.2 23.5.3 23.5.4 23.5.5 23.5.6 23.5.7 23.6 23.6.1 23.6.2 23.6.3 23.6.4 23.6.5 23.6.6 23.6.7 Chapter 24 Contents HeatWave Weld Schedule Data .......................................................................................... Multi-Process Considerations ............................................................................................ 22–5 22–6 ...................................................................................... 23–1 OVERVIEW .................................................................................................................. 23–3 Overview ....................................................................................................................... 23–3 Torque Observer Sensor and Electrical Continuity Sensing ...................................................... 23–5 iRCalibration TP Instructions ............................................................................................ 23–6 IRCALIBRATION MASTER SET ..................................................................................... 23–8 Overview ....................................................................................................................... 23–8 Preliminary Setup ............................................................................................................. 23–9 iRCalibration Master Set Setup ......................................................................................... 23–12 Creating a Robot Calibration Teach Pendant Program ............................................................ 23–22 Running the iRCalibration Master Set Program .................................................................... 23–34 Updating the Master Count .............................................................................................. 23–37 Viewing the Calibration Result ......................................................................................... 23–38 Troubleshooting iRCalibration Master Set ........................................................................... 23–40 iRCALIBRATION MASTER RECOVERY ........................................................................ 23–41 Overview ...................................................................................................................... 23–41 Preliminary Setup ........................................................................................................... 23–43 iRCalibration Master Recovery Setup ................................................................................. 23–45 Creating a Robot Calibration Teach Pendant Program ............................................................ 23–56 Running the iRCalibration Master Recovery Program ........................................................... 23–69 Single Axis Mastering Recovery ....................................................................................... 23–71 Updating the Master Count .............................................................................................. 23–72 Viewing the Calibration Result ......................................................................................... 23–73 Troubleshooting iRCalibration Mastering ............................................................................ 23–75 iRCALIBRATION TCP SET ............................................................................................ 23–77 Overview ...................................................................................................................... 23–77 Preliminary Setup ........................................................................................................... 23–77 iRCalibration TCP Set Setup ............................................................................................ 23–82 Running the iRCalibration TCP Set Program ...................................................................... 23–101 Displaying the UTool Log Screen .................................................................................... 23–103 iRCalibration TCP Set Error Recovery ............................................................................. 23–105 iRCalibration TCP Set Troubleshooting ............................................................................ 23–106 iRCALIBRATION TCP SHIFT ........................................................................................ 23–106 Overview ..................................................................................................................... 23–106 Preliminary Setup .......................................................................................................... 23–107 iRCalibration TCP Shift Setup .......................................................................................... 23–111 Running the iRCalibration TCP Shift Program .................................................................... 23–131 Displaying the UTool Log Screen .................................................................................... 23–133 iRCalibration TCP Shift Error Recovery ........................................................................... 23–135 iRCalibration TCP Shift Troubleshooting .......................................................................... 23–136 iRCALIBRATION FRAME SHIFT ................................................................................... 23–137 Overview .................................................................................................................... 23–137 Preliminary Setup ......................................................................................................... 23–138 iRCalibration Frame Shift Setup ...................................................................................... 23–141 Running the iRCalibration Frame Shift Program and Updating the User Frame ........................ 23–162 Using iRCalibration Frame Shift with Dynamic-Uframe ...................................................... 23–165 Displaying the UFrame Log Screen ................................................................................. 23–165 Troubleshooting iRCalibration Frame Shift ....................................................................... 23–167 iRCALIBRATION OPTIONS LOW-FREQUENCY PULSE WELDING ...................................................................... 24–1 xxvii Contents MAROUAR9102171E REV D 24.1 Low-Frequency Pulse Welding (overview) ............................................................................. 24–2 24.2 Setting up Low Frequency Pulse Welding .............................................................................. 24–2 24.3 Using Low Freq Pulse with Ramping .................................................................................... 24–7 24.4 Low Frequency Pulse Welding with TIG Filler Welding ........................................................... 24–8 Chapter 25 ................................................................................................. OVERVIEW .................................................................................................................. REQUIREMENTS AND GUIDELINES ............................................................................. INSTALLATION AND SETUP ......................................................................................... Overview ....................................................................................................................... Setting Up the Number of Equipment .................................................................................. Setting Up the Equipment Configuration .............................................................................. Changing the Application Error Severity .............................................................................. OPERATIONS ............................................................................................................... Overview ....................................................................................................................... Selecting the Current Equipment ....................................................................................... Weld System ................................................................................................................. Weld Equipment ............................................................................................................ Weld I/O ....................................................................................................................... Weld Schedules .............................................................................................................. Weld Process Data .......................................................................................................... Weld Status ................................................................................................................... On-the-Fly .................................................................................................................... Arc Enable and Weld Simulation ........................................................................................ Coupling Equipment and Motion Groups ............................................................................ Teach Pendant Keys ........................................................................................................ LEDs ........................................................................................................................... ARC START SYNCHRONIZATION ................................................................................. Overview ...................................................................................................................... Synchronizing Arc Start Methods ...................................................................................... Usage and Limitations ..................................................................................................... Limitations ................................................................................................................... Programming ................................................................................................................ MULTI-EQUIPMENT CONFIGURATIONS ...................................................................... PROGRAMMING ......................................................................................................... Creating Teach Pendant Programs ..................................................................................... Tandem Welding ............................................................................................................ 25–1 25.1 25.2 25.3 25.3.1 25.3.2 25.3.3 25.3.4 25.4 25.4.1 25.4.2 25.4.3 25.4.4 25.4.5 25.4.6 25.4.7 25.4.8 25.4.9 25.4.10 25.4.11 25.4.12 25.4.13 25.5 25.5.1 25.5.2 25.5.3 25.5.4 25.5.5 25.6 25.7 25.7.1 25.7.2 Chapter 26 26.1 26.2 26.2.1 26.2.2 26.2.3 26.2.4 26.3 26.3.1 26.3.2 26.3.3 26.4 xxviii MULTI-EQUIPMENT 25–3 25–3 25–4 25–4 25–4 25–6 25–7 25–9 25–9 25–10 25–13 25–13 25–14 25–16 25–17 25–17 25–17 25–17 25–19 25–20 25–21 25–22 25–22 25–25 25–28 25–29 25–29 25–30 25–31 25–31 25–33 ..................................................... 26–1 .................................................................................................................. 26–3 ROOT PASS MEMORIZATION ........................................................................................ 26–3 How RPM Functions ....................................................................................................... 26–3 Using RPM With Multi-pass .............................................................................................. 26–4 Programming RPM .......................................................................................................... 26–4 Setting RPM System Variables ........................................................................................... 26–7 MULTI-PASS ................................................................................................................. 26–7 How Multi-pass Functions ................................................................................................ 26–8 Applications .................................................................................................................. 26–10 Programming Examples ................................................................................................... 26–14 MULTI-PASS WITH PROGRAM HEADER ....................................................................... 26–16 ROOT PASS MEMORIZATION AND MULTI-PASS OVERVIEW MAROUAR9102171E REV D 26.4.1 26.5 Setting Up Multi-Pass Data Contents .............................................................................................. 26–16 ROOT PASS MEMORIZATION AND MULTI-PASS WITH THE PROGRAM HEADER .................................................................................................................................... 26–22 26.5.1 26.5.2 Using Multi-Pass with Adaptive Welding ............................................................................ Programming ................................................................................................................ 26–22 26–23 26.6 26.6.1 26.6.2 26.6.3 COORDINATED MOTION WITH RPM AND MULTI-PASS ................................................ Coordinated Motion with RPM ......................................................................................... Coordinated Motion with Multi-pass .................................................................................. Program Example ........................................................................................................... 26–26 26–26 26–27 26–28 26.7 SIMULTANEOUS VERTICAL TRACKING WITH RPM AND MULTI-PASS .......................... 26.7.1 Benefit ........................................................................................................................... 26.7.2 Compatibility .................................................................................................................. 26.7.3 Programming .................................................................................................................. 26–30 26–30 26–30 26–31 RPM AND MULTI-PASS WITH POSITIONER OFFSET ...................................................... Benefit ........................................................................................................................... Compatibility and Limitations ............................................................................................ Setup ............................................................................................................................. Program Examples ........................................................................................................... 26–33 26–33 26–33 26–34 26–34 .................. OVERVIEW .................................................................................................................. TAST TRACKING ........................................................................................................... Weave Plane (XY-Plane) Lateral Tracking ............................................................................ Vertical Plane (Z-Plane) Tracking ........................................................................................ FACTORS THAT AFFECT TAST TRACKING .................................................................... TAST APPLICATION GUIDELINES .................................................................................. TAST HARDWARE REQUIREMENTS .............................................................................. TAST PROGRAMMING .................................................................................................. TAST SCHEDULE SETUP ............................................................................................... SPECIAL FUNCTIONS ................................................................................................... ADJUSTMENT OF GAIN VALUE .................................................................................... Tracking Failure Conditions ............................................................................................. Fine Adjusting ................................................................................................................ TAST TROUBLESHOOTING .......................................................................................... Poor Tracking Performance ............................................................................................... No Compensation with High Vertical or Lateral Gain Setting ................................................... TAST Schedule ............................................................................................................... Robot Wanders from Path ................................................................................................. Weld Path is Shifted ........................................................................................................ Slow Response ............................................................................................................... Weld Path is Snaking ....................................................................................................... Weld Path has Changed at a Specific Position ....................................................................... Significant Changes in Joint Gap ........................................................................................ Extreme Changes in Workpiece Temperature ........................................................................ STATIONARY WELDING WITH TAST and RPM/MULTI-PASS .......................................... Overview ...................................................................................................................... Stationary Weld Limitations ............................................................................................. TAST TRACK BUFFER SIZE ........................................................................................... 27–1 26.8 26.8.1 26.8.2 26.8.3 26.8.4 Chapter 27 27.1 27.2 27.2.1 27.2.2 27.3 27.4 27.5 27.6 27.7 27.8 27.9 27.9.1 27.9.2 27.10 27.10.1 27.10.2 27.10.3 27.10.4 27.10.5 27.10.6 27.10.7 27.10.8 27.10.9 27.10.10 27.11 27.11.1 27.11.2 27.12 THRU ARC SEAM TRACKING (also known as TAST MULTIPATH PACK) 27–3 27–3 27–4 27–6 27–7 27–7 27–9 27–9 27–9 27–16 27–18 27–19 27–19 27–20 27–20 27–20 27–21 27–22 27–22 27–23 27–23 27–23 27–23 27–24 27–24 27–24 27–25 27–26 xxix Contents Chapter 28 28.1 28.2 28.2.1 28.2.2 28.2.3 28.2.4 28.2.5 28.2.6 28.3 28.3.1 28.3.2 28.3.3 28.3.4 28.4 28.4.1 28.4.2 28.4.3 28.4.4 28.5 28.5.1 28.5.2 28.6 Chapter 29 29.1 29.2 29.2.1 29.2.2 29.2.3 29.2.4 29.3 29.3.1 29.3.2 29.3.3 29.3.4 29.4 29.4.1 29.4.2 29.4.3 29.4.4 29.4.5 29.4.6 29.4.7 29.5 29.5.1 29.5.2 29.5.3 29.5.4 29.5.5 29.5.6 xxx MAROUAR9102171E REV D .................................................. OVERVIEW .................................................................................................................. SETTING UP TORCHMATE ............................................................................................ Overview of Setup ........................................................................................................... Touch Block Installation ................................................................................................... Moving to the Reference Position ....................................................................................... TorchMate Tool Frame Setup ............................................................................................ Tool Center Point (TCP) Calibration to Define the TorchMate Master TCP ................................ TorchMate Programming ................................................................................................. PERFORMING AND MONITORING A TORCHMATE ADJUSTMENT ................................ Overview ...................................................................................................................... Manual Adjustment ........................................................................................................ Automatic Adjustment .................................................................................................... Monitoring TorchMate Tool Offset Data ............................................................................. ERROR RECOVERY ..................................................................................................... Automatic Error Recovery ............................................................................................... Digital Output for TorchMate Production Faults ................................................................... Error Messages .............................................................................................................. Other Error Handling ...................................................................................................... MONITOR FUNCTIONS ................................................................................................ Touchup Monitor ........................................................................................................... Collision Monitor ........................................................................................................... TOUCH BLOCK SPECIFICATIONS ................................................................................ TORCHMATE3 (also known as ARC TORCHMATE) ..................................................................................................... OVERVIEW .................................................................................................................. ASSIGNING TOUCH SENSING I/O ................................................................................. Touch Sensing I/O Overview ............................................................................................. Touch Sensing Input Signal ............................................................................................... Touch Sensing Enable/Disable Output Signal ........................................................................ Assigning the Touch Sensing Inputs and Outputs ................................................................... SETTING UP TOUCH SENSING ...................................................................................... Touch Sensing Setup Overview .......................................................................................... Touch Frames ................................................................................................................ Search Pattern ............................................................................................................... Touch Schedule ............................................................................................................. TOUCH SENSING PROGRAMMING .............................................................................. Programming Overview ................................................................................................... Touch Sensing Instructions ............................................................................................... Touch Sensing Motion Option .......................................................................................... Motion Instructions Used with Touch Sensing ..................................................................... Executing a Touch Sensing Program .................................................................................. Touch Sensing Robot Position Touchup .............................................................................. Programming Examples ................................................................................................... TOUCH SENSING MASTERING .................................................................................... Mastering Overview ....................................................................................................... Mastering ..................................................................................................................... Remastering .................................................................................................................. Offsets ......................................................................................................................... Patterns ........................................................................................................................ Master Flag ................................................................................................................... TOUCH SENSING 28–1 28–2 28–4 28–4 28–5 28–8 28–11 28–20 28–28 28–29 28–29 28–29 28–32 28–33 28–35 28–35 28–37 28–38 28–38 28–39 28–39 28–40 28–41 29–1 29–3 29–4 29–4 29–5 29–5 29–6 29–7 29–7 29–10 29–16 29–22 29–28 29–28 29–28 29–29 29–30 29–30 29–31 29–32 29–38 29–38 29–38 29–39 29–40 29–41 29–42 MAROUAR9102171E REV D Contents 29.5.7 29.5.8 29.5.9 29.5.10 Touching Up Path Positions .............................................................................................. Adding New Positions ..................................................................................................... Multiple Searches ........................................................................................................... Touching Up Search Start Positions ................................................................................... 29–44 29–46 29–47 29–49 29.6 29.6.1 29.6.2 29.6.3 29.6.4 TOUCH SENSING HARDWARE ..................................................................................... Hardware Overview ........................................................................................................ Touch Sensing Input Signal .............................................................................................. Touch Sensing Enable/Disable Output Signal ....................................................................... Simple Low Voltage Touch Sense Detection Circuit .............................................................. 29–50 29–50 29–50 29–51 29–51 29.7 29.7.1 29.7.2 29.7.3 29.7.4 LASER ANALOG INPUT NON-CONTACT TOUCH SENSING ........................................... Overview ...................................................................................................................... System Setup ................................................................................................................. Analog Input Touch I/O Setup .......................................................................................... Analog Input Search Direction .......................................................................................... 29–53 29–53 29–53 29–55 29–56 Appendix A A.1 A.2 A.2.1 A.2.2 A.2.3 A.2.4 A.3 A.3.1 A.3.2 A.3.3 A.3.4 A.3.5 Appendix B B.1 B.1.1 B.1.2 B.1.3 B.1.4 B.1.5 B.1.6 B.2 B.3 B.3.1 B.3.2 B.3.3 B.4 B.4.1 B.4.2 B.4.3 B.5 B.5.1 B.5.2 Appendix C ............................................................................. OVERVIEW ................................................................................................................... ERROR CODE PROPERTIES ............................................................................................ Overview ........................................................................................................................ Facility Name and Code .................................................................................................... Severity Descriptions ....................................................................................................... Error Message Text .......................................................................................................... GENERAL ERROR RECOVERY PROCEDURES ............................................................... Overview ....................................................................................................................... Overtravel Release .......................................................................................................... Hand Breakage Recovery .................................................................................................. Pulse Coder Alarm Recovery ............................................................................................. Chain Failure Detection Error Recovery .............................................................................. ERROR CODES AND RECOVERY ............................................................................................. STARTUP METHODS ...................................................................................................... Overview ........................................................................................................................ Hot Start ......................................................................................................................... Cold Start(START COLD) ................................................................................................. Cycle Power .................................................................................................................... Controlled Start .............................................................................................................. INIT Start ...................................................................................................................... HARDWARE DIAGNOSIS .............................................................................................. CONTROLLER BACKUP AND RESTORE ........................................................................ Overview ....................................................................................................................... Backing Up a Controller as Images ..................................................................................... Restoring Controller Images .............................................................................................. MAINTENANCE OPERATIONS ...................................................................................... Overview ....................................................................................................................... Updating Boot Software from the Configuration Menu ........................................................... Updating iPendant Firmware ............................................................................................. DIAGNOSTIC TOOLS .................................................................................................... Development Tools ........................................................................................................... Diagnostic Log ................................................................................................................. SYSTEM OPERATIONS MASTERING ............................................................................................................. A–1 A–2 A–3 A–3 A–8 A–13 A–16 A–16 A–16 A–17 A–19 A–20 A–21 B–1 B–2 B–2 B–3 B–5 B–7 B–10 B–15 B–15 B–21 B–21 B–22 B–25 B–27 B–27 B–28 B–30 B–38 B–38 B–39 C–1 xxxi Contents MAROUAR9102171E REV D C.1 C.2 C.3 C.4 C.5 C.6 C.7 C.8 Appendix D D.1 D.2 D.3 D.4 D.5 D.6 D.7 D.8 D.9 D.10 D.11 D.12 D.13 D.14 D.15 D.16 D.17 D.18 D.19 D.20 D.21 D.22 D.23 Glossary Index xxxii ................................................................................................................... RESETTING ALARMS AND PREPARING FOR MASTERING ............................................. FIXTURE POSITION MASTER (MASTERING TO A FIXTURE) ........................................... ZERO POSITION MASTER (ZERO DEGREE MASTERING)................................................ QUICK MASTERING ...................................................................................................... QUICK MASTERING FOR SINGLE AXIS .......................................................................... SINGLE AXIS MASTERING ............................................................................................ SAVING AND RESTORING MASTERING DATA .............................................................. OVERVIEW ........................................................................... PROG ARC_MAIN ........................................................................................................ PROG AS_SCHED ......................................................................................................... PROG AS_SCHDR ......................................................................................................... PROG AS_VAL ............................................................................................................... PROG PREG_ELE ......................................................................................................... PROG PREG_VAL ......................................................................................................... PROG REG_AI ............................................................................................................... CONDITIONAL BRANCHING; USING LABELS ................................................................ TORCH MAINTENANCE ................................................................................................ WEAVE FIGURE 8 DIRECT ............................................................................................ WEAVE FIGURE 8 REGISTER ........................................................................................ WEAVE FIGURE 8 VALUE ............................................................................................. WEAVE CIRCLE DIRECT ............................................................................................... WEAVE CIRCLE REGISTER ........................................................................................... WEAVE CIRCLE VALUE ................................................................................................ WEAVE SINE DIRECT ................................................................................................... WEAVE SINE REGISTER ............................................................................................... WEAVE SINE VALUE .................................................................................................... REGISTER INCREMENT ................................................................................................ GROUP OUTPUT; WAIT INSTRUCTION PULSE INSTRUCTION ........................................ LABELS ....................................................................................................................... LABEL; JUMP LABEL; MESSAGE .................................................................................. MACRO INSTRUCTION ................................................................................................. EXAMPLE ARCTOOL PROGRAMS ........................................................................................................................................ C–2 C–4 C–7 C–11 C–14 C–19 C–22 C–26 D–1 D–3 D–3 D–4 D–5 D–5 D–6 D–7 D–8 D–9 D–10 D–11 D–11 D–12 D–13 D–14 D–15 D–16 D–17 D–17 D–18 D–19 D–20 D–21 GL–23 ............................................................................................................................................. Index–1 List of Figures Figure 1. Figure 1–1. Figure 1–2. Figure 1–3. Figure 1–4. Figure 1–5. Figure 1–6. Figure 1–7. Figure 1–8. Figure 1–9. Figure 1–10. Figure 1–11. Figure Figure 1–12. 1–13. Figure 2–1. Figure Figure 2–2. 2–3. Figure 2–4. Figure Figure 2–5. 2–6. Figure 2–7. Figure Figure 2–8. 2–9. Figure 2–10. Figure 2–11. Figure Figure Figure 2–12. 2–13. 2–14. Figure 2–15. Figure Figure 2–16. 2–17. Figure 2–18. Figure 2–19. ................................................................................. Example System Overview ................................................................................................... Major and Minor Axes ......................................................................................................... Typical Arc Welding Torch Mount ......................................................................................... R-30iB Plus A-Cabinet Controller .......................................................................................... R-30iB Plus B-Cabinet Controller .......................................................................................... R-30iB Mate Plus Controller ................................................................................................. R-30iB Plus A Cabinet Operator Panel .................................................................................... R-30iB Plus B Cabinet Operator Panel .................................................................................. R-30iB Mate Operator Panel ............................................................................................... Mode Select Switch ......................................................................................................... Effect of Opening the Safety Fence While in AUTO Mode ...................................................... Controller Memory .......................................................................................................... Cycle Power .................................................................................................................... iPendant ............................................................................................................................ Teach Pendant Enabling Device (DEADMAN Switches) ............................................................ Teach Pendant Enable Switch ................................................................................................ EMERGENCY STOP Button ............................................................................................... Touch Screen Navigation ...................................................................................................... iPendant General Setup ........................................................................................................ Touch Panel Setup............................................................................................................. Zoom.............................................................................................................................. Maximize/Restore ............................................................................................................. Window Display Control Menu ........................................................................................... TreeView ........................................................................................................................ Window and Focus Example ............................................................................................... ArcTool iPendant Keys ...................................................................................................... Haptic iPendant Overview .................................................................................................. Hardware/Software Compatibility Matrix .............................................................................. General Haptic Setup ......................................................................................................... Configuring Haptic Feedback .............................................................................................. Haptic Log ...................................................................................................................... Warning Alarms ............................................................................................................... ArcTool Quick Reference Flow Chart lxxxi 1–2 1–3 1–4 1–6 1–7 1–8 1–9 1–10 1–10 1–11 1–14 1–22 1–25 2–4 2–5 2–5 2–6 2–7 2–9 2–10 2–12 2–13 2–14 2–19 2–27 2–29 2–40 2–41 2–42 2–43 2–44 2–45 xxxiii Contents MAROUAR9102171E REV D Figure 2–20. User Alarms..................................................................................................................... 2–46 Figure 2–21. Monitoring I/O ................................................................................................................. 2–47 Figure 2–22. Monitoring Registers ......................................................................................................... 2–48 Figure 2–23. Monitoring System Variables .............................................................................................. 2–49 Figure 2–24. I/O ................................................................................................................................. 2–50 Figure 2–25. Prompt Box ..................................................................................................................... 2–51 Figure 2–26. @Taught Position ............................................................................................................. 2–52 Figure 2–27. Touch Sense (J536) ........................................................................................................... 2–53 Figure 2–28. Weld Enable .................................................................................................................... 2–54 Figure 2–29. Weld Enable at Program Run............................................................................................... 2–54 Figure 2–30. Gas Purge Hard Key .......................................................................................................... 2–55 Figure 2–31. With Weld Enabled < 100% ................................................................................................ 2–56 Figure 2–32. Arc Haptic Items Setup ...................................................................................................... 2–56 Figure 2–33. Customizing the Vibration Pattern ........................................................................................ 2–57 Figure 2–34. Status Bar Display 2–58 Figure 2–35. Figure 2–36. Figure 2–37. Figure 2–38. Figure 2–39. Figure Figure 2–40. 2–41. Figure 2–42. Figure Figure 2–43. 2–44. Figure 2–45. Figure Figure 2–46. 2–47. Figure 2–48. Figure Figure 2–49. 2–50. Figure 2–51. Figure Figure Figure 2–52. 2–53. 2–54. Figure 2–55. Figure 2–56. Figure Figure 2–57. 2–58. Figure 2–59. Figure 2–60. ............................................................................................................ Document Viewer ............................................................................................................. Menu Favorites ................................................................................................................ Add Current Menu Favorite ................................................................................................ MENU Favorite Setup ....................................................................................................... Menu History ................................................................................................................... Menu Favorites ................................................................................................................ Panel Wizard.................................................................................................................... Start Panel Wizard ............................................................................................................ Create Operation Panel Flowchart ...................................................................................... iPendant General Setup Screen ............................................................................................ iPendant HMI Setup Screen ................................................................................................ iPendant HMI Setup Screen ................................................................................................ iPendant FULL Menu ........................................................................................................ iPendant Quick Menu ........................................................................................................ Disabling the Data Key ...................................................................................................... Options Menu Item ........................................................................................................... Software Keyboard Text Display.......................................................................................... Software Keyboard ........................................................................................................... Keyboard Lowercase Letters ............................................................................................... Keyboard Uppercase Letters ............................................................................................... Keyboard Numbers ........................................................................................................... Numeric Keyboard ............................................................................................................ Web Form Entry ............................................................................................................... Software Keyboard ........................................................................................................... Vision ASCII String Input Field ........................................................................................... Vision Keyboard ............................................................................................................... xxxiv 2–64 2–66 2–67 2–68 2–69 2–72 2–74 2–75 2–76 2–78 2–79 2–81 2–82 2–83 2–84 2–89 2–90 2–91 2–92 2–93 2–94 2–95 2–96 2–97 2–98 2–99 MAROUAR9102171E REV D Contents Figure 2–61. Top Menu ....................................................................................................................... 2–100 Figure 2–62. iPendant General Setup Screen ........................................................................................... 2–101 Figure 2–63. Top Menu ....................................................................................................................... 2–102 Figure 2–64. Top Menu Setup .............................................................................................................. 2–103 Figure 2–65. Read-Write Access ........................................................................................................... 2–104 Figure 2–66. Top Menu ....................................................................................................................... 2–105 Figure 2–67. iPendant with USB Port .................................................................................................... 2–106 Figure 2–68. Modifying User Views Screen ............................................................................................ 2–108 Figure 3–1. iHMI Setup ........................................................................................................................ 3–2 Figure 3–2. Navigating the iHMI Screens ................................................................................................ 3–3 Figure 3–3. Step Pane Items .................................................................................................................. 3–4 Figure 3–4. Directional Information ........................................................................................................ 3–5 Figure 3–5. Scroll Bars......................................................................................................................... 3–6 Figure 3–6. iHMI Guided Setup Process .................................................................................................. 3–8 Figure 3–7. Exit iHMI Guides ............................................................................................................... 3–9 Figure 3–8. HOME Screen .................................................................................................................. 3–10 Figure 3–9. Basic Setup ...................................................................................................................... 3–11 Figure 3–10. Initial Setup Complete ....................................................................................................... 3–12 Figure 3–11. BASIC SETUP Finished .................................................................................................... 3–13 Figure 3–12. Caution Indicating Setup is Not Complete ............................................................................. 3–14 Figure Figure 3–13. First Time You Create a Program ......................................................................................... 3–14. After You Have Created a Program....................................................................................... 3–14 3–15 Figure 3–15. After More Than One Program is Created .............................................................................. 3–15 Figure Figure 3–16. RUN .............................................................................................................................. 3–17. Production Monitor ........................................................................................................... 3–16 3–16 Figure 3–18. UTILITY ........................................................................................................................ 3–17 Figure Figure 3–19. Jog Assist Panes ............................................................................................................... 3–20. Jog a robot ....................................................................................................................... 3–18 3–19 Figure 3–21. Edit a Program ................................................................................................................. 3–20 Figure Figure 3–22. Execute a Program ............................................................................................................ 3–20 4–1. Full Screen Mode ................................................................................................................ 4–3 Figure 4–2. Dual Screen Mode............................................................................................................... 4–4 Figure Figure Figure 4–3. i Key ................................................................................................................................ 4–4. Top Menu .......................................................................................................................... 4–5. Robot Display .................................................................................................................... 4–5 4–7 4–9 Figure 4–6. Three Groups in One Controller ........................................................................................... 4–10 Figure 4–7. Scene Selection ................................................................................................................ 4–13 Figure Figure 4–8. ZOOM Button .................................................................................................................. 4–9. PAN Button ..................................................................................................................... 4–15 4–15 Figure 4–10. ROTATE Button ............................................................................................................... 4–16 Figure 4–11. SELECT Button ............................................................................................................... 4–16 xxxv Contents MAROUAR9102171E REV D Figure 4–12. Selecting a View ............................................................................................................... 4–17 Figure 4–13. User View Menu ............................................................................................................... 4–19 Figure 4–14. [VISIBLE] Button............................................................................................................. 4–20 Figure 4–15. Visibility menu ................................................................................................................. 4–21 Figure 4–16. Linear Jog Indicator .......................................................................................................... 4–23 Figure 4–17. Joint Jog Indicators ........................................................................................................... 4–24 Figure 4–18. Positioner Jog Indicator ...................................................................................................... 4–25 Figure 4–19. Cartesian Jog Preview ........................................................................................................ 4–26 Figure 4–20. Cartesian Rotation Preview ................................................................................................. 4–26 Figure 4–21. Joint Jog Preview .............................................................................................................. 4–27 Figure 4–22. Dual Screen Mode............................................................................................................. 4–28 Figure 4–23. Select Preview Node Map................................................................................................... 4–30 Figure 4–24. Viewing two Different Programs .......................................................................................... 4–32 Figure 4–25. Shift Utility and Node Map ................................................................................................. 4–34 Figure 4–26. Node Map and Trace ......................................................................................................... 4–36 Figure 4–27. Frame Setup..................................................................................................................... 4–37 Figure 4–28. Position Registers ............................................................................................................. 4–38 Figure 4–29. Display of Remote Robots and Data ..................................................................................... 4–40 Figure 4–30. Controller Visibility Menu .................................................................................................. 4–41 Figure 4–31. TPGLCFG.XML .............................................................................................................. 4–42 Figure Figure 4–32. Full Screen Menu .............................................................................................................. 4–45 5–1. Jog Speed Keys .................................................................................................................. 5–4 Figure 5–2. COORD Key and Display..................................................................................................... 5–5 Figure Figure 5–3. 5–4. PATH Jogging for Linear Motion Instructions ....................................................................... PATH Jogging for Linear Motion Instructions during FWD Step Execution ................................ 5–11 5–11 Figure 5–5. 5–12 Figure Figure 5–6. 5–7. Figure 6–1. Figure Figure 6–2. 6–3. Figure 6–4. Figure Figure Figure 6–5. 6–6. 6–7. Figure 6–8. Figure 6–9. Figure Figure 6–10. 6–11. Figure 6–12. Figure 6–13. ................................ PATH Jogging for Linear Motion Instructions when Execution is in the Z (Tool) Direction ............ Jog Menu ........................................................................................................................ Cartesian Coordinate System ................................................................................................. Position Relative to a Frame.................................................................................................. Rotated Position ................................................................................................................. Right-hand Rule ................................................................................................................. World Positive X, Y, and Z Vector Directions ........................................................................... World Frame ...................................................................................................................... Tool Frame Origin Default Location ....................................................................................... Tool Frame Origin Moved to the End of the Tool ...................................................................... Tool Frame Adjusted to Accommodate Angled Tool .................................................................. Tool frame setup screen (Two Point + Z) ............................................................................... Approach point 2 ............................................................................................................. Approach Point 3 ............................................................................................................ Teaching Approach Points ................................................................................................. xxxvi PATH Jogging for Linear Motion Instructions during BWD Step Execution 5–12 5–24 6–2 6–3 6–3 6–4 6–5 6–6 6–7 6–7 6–8 6–11 6–31 6–32 6–33 MAROUAR9102171E REV D Figure 6–14. Figure 6–15. Figure 6–16. Figure 6–17. Figure 6–18. Figure 6–19. Figure 6–20. Figure 6–21. Figure 6–22. Figure 6–23. Figure 6–24. Figure 6–25. Figure 6–26. Figure 6–27. Figure 6–28. Figure 6–29. Figure 6–30. Figure 7–1. Figure 7–2. Figure 7–3. Figure Figure 7–4. 7–5. Figure 7–6. Figure Figure 7–7. 7–8. Figure 7–9. Figure Figure 7–10. 7–11. Figure 7–12. Figure Figure 7–13. 7–14. Figure 7–15. Figure Figure Figure 7–16. 7–17. 7–18. Figure 7–19. Figure 7–20. Figure Figure 7–21. 7–22. Figure 7–23. Figure 7–24. Contents .................................................................................................. World and User Frames ...................................................................................................... Defining the Origin .......................................................................................................... Defining the X direction Point ........................................................................................... Defining the X-Y Plane .................................................................................................... Defining the Origin .......................................................................................................... Defining the X direction Point ........................................................................................... Defining the X-Y Plane .................................................................................................... Defining the Second Origin ............................................................................................... Remote TCP Frame ......................................................................................................... Touching the TCP of the Robot Tool to the Remote TCP ......................................................... Touching the TCP of the Robot Tool to the Remote TCP ......................................................... Jog Frame Defined Parallel to Part ...................................................................................... Defining the Origin Point .................................................................................................. Defining the X direction Point ........................................................................................... Defining the X-Y Plane .................................................................................................... Cell Frame and Cell Floor .................................................................................................. Program Example .............................................................................................................. Typical Motion Instruction Example ..................................................................................... Joint Motion Type ............................................................................................................. Linear Motion Type ........................................................................................................... Linear Motion Type Used to Rotate About the Tool Center Point ................................................ Circular Motion Type ....................................................................................................... Restart of Circular Motion Instruction ................................................................................. Restart of Circular Motion Instruction ................................................................................. Extend Circular Arc .......................................................................................................... Normal Motion ................................................................................................................. First A Motion ................................................................................................................. Circle Formed by Current Point ........................................................................................... Last A Motion .................................................................................................................. This Path Used ................................................................................................................. Robot Moves in a Linear Motion.......................................................................................... Robot Moves Linear .......................................................................................................... Robot Can't Move ............................................................................................................. Resume After Jog ............................................................................................................. Resume After Jog ............................................................................................................. Change of Destination Point ................................................................................................ Change of Next Destination Point ........................................................................................ Deletion of Next A Motion ................................................................................................. Deletion of Next A Motion ................................................................................................. Deletion of Next A Motion ................................................................................................. Verifying the Tool Frame 6–34 6–44 6–47 6–48 6–48 6–53 6–54 6–54 6–55 6–63 6–66 6–69 6–74 6–77 6–78 6–79 6–86 7–5 7–6 7–7 7–8 7–9 7–10 7–11 7–11 7–12 7–14 7–14 7–15 7–16 7–17 7–18 7–19 7–19 7–20 7–21 7–22 7–23 7–23 7–24 7–24 xxxvii Contents MAROUAR9102171E REV D Figure 7–25. Program is Paused ............................................................................................................. 7–25 Figure 7–26. After Modificaton Programmed Path..................................................................................... 7–26 Figure 7–27. Motion is Resumed ........................................................................................................... 7–26 Figure 7–28. Program is Paused ............................................................................................................. 7–27 Figure 7–29. Programmed Motion .......................................................................................................... 7–27 Figure 7–30. Motion is Resumed ........................................................................................................... 7–27 Figure 7–31. Pause and Resume for Another A Motion .............................................................................. 7–28 Figure 7–32. Program is Paused ............................................................................................................. 7–29 Figure 7–33. Single Step Execution ........................................................................................................ 7–29 Figure 7–34. Single Step Execution ........................................................................................................ 7–30 Figure 7–35. Backward Execution .......................................................................................................... 7–31 Figure 7–36. Arc of the Next Destination Point......................................................................................... 7–32 Figure 7–37. Program Started by Backward From Motion........................................................................... 7–32 Figure 7–38. Figure 7–39. Figure 7–40. Figure 7–41. Figure 7–42. Figure 7–43. Figure 7–44. Figure Figure 7–45. 7–46. Figure 7–47. Figure Figure 7–48. 7–49. Figure 7–50. Figure Figure 7–51. 7–52. Figure Figure 7–53. 7–54. Figure 7–55. Figure 7–56. Figure Figure Figure 7–57. 7–58. 7–59. Figure 7–60. Figure 7–61. Figure Figure 7–62. 7–63. Figure 7–64. Figure 7–65. .............................................................................................. 7–41 ...................................................................... 7–42 Azimuth and Elevation Angles ........................................................................................... 7–43 Effect of Orientation Change on the Path ............................................................................. 7–44 Positional Information ...................................................................................................... 7–45 An Example Program in Display Mode 1 ............................................................................. 7–47 Motion Info is Toggled ON and OFF with EDCMD ............................................................... 7–48 Resume Distance Display ................................................................................................. 7–50 Example of the Sec Speed Feature ...................................................................................... 7–57 Variable Motion Speed Program Execution Example .............................................................. 7–58 Syntax for Changing the Motion Speed ................................................................................ 7–60 Robot Motion with Fine Termination Type ........................................................................... 7–64 Robot Motion with Continuous Termination Type .................................................................. 7–65 Acceleration Override ...................................................................................................... 7–69 PICK and PLACE Application ........................................................................................... 7–70 PICK and PLACE Application with CNT100 ....................................................................... 7–70 Adjusting P3 and P5 with Linear Distance ............................................................................ 7–71 RT_LD: Effect of CNT Value ............................................................................................ 7–73 Place Motion: Two Possible Traces .................................................................................... 7–74 Corner Path .................................................................................................................... 7–77 Half Segment Length ....................................................................................................... 7–78 Program Speed Changes ................................................................................................... 7–79 Corner Path determined by CRy if Linear Dist is satisfied ....................................................... 7–80 Corner path is determined by Linear Distance ....................................................................... 7–81 Constant Path Regardless of Wait ......................................................................................... 7–89 Corner Distance Screen ..................................................................................................... 7–100 The Effect of Corner Distance on Corner Rounding ............................................................... 7–102 Half Distance Rule .......................................................................................................... 7–103 xxxviii Effect of Via Point Location Effect of UTOOL Accuracy on a Small Circle MAROUAR9102171E REV D Contents Figure 7–66. Short Segment Path With Corner Distance Function Disabled ................................................... 7–105 Figure 7–67. Short Segment Path with Corner Distance Function Enabled .................................................... 7–106 Figure 7–68. Path Orientation 7–107 Figure 7–69. Figure 7–70. Figure 7–71. Figure 7–72. Figure 7–73. Figure 7–74. Figure 7–75. Figure 7–76. Figure 7–77. Figure 7–78. Figure 7–79. Figure 7–80. Figure 7–81. Figure 7–82. Figure 7–83. Figure 7–84. Figure 7–85. Figure Figure 7–86. 7–87. Figure 7–88. Figure Figure 7–89. 7–90. Figure 7–91. Figure Figure 7–92. 7–93. Figure 7–94. Figure Figure 7–95. 7–96. Figure 7–97. .............................................................................................................. Teaching a Small Corner .................................................................................................. Teaching a Flexible Path ................................................................................................... Faceplate Linear With and Without Option ........................................................................... FPLIN Option ................................................................................................................. FPLIN none-ip Option ...................................................................................................... Position Representation Screen ......................................................................................... Remote TCP Motion Option ............................................................................................. Remote TCP (RTCP) Motion Option Example ..................................................................... SKIP JUMP Motion Option Example .................................................................................. SKIP LBL[x] Motion Option Example ............................................................................... TIME BEFORE / TIME AFTER Motion Option Instructions .................................................. Tool Offset Instruction .................................................................................................... Travel Angle Definitions (Push and Drag) ............................................................................. Work Angle Definitions (XZ and XY) .................................................................................. Teaching a Reference Position ............................................................................................ Torch Angle TA_REF Instruction ........................................................................................ Torch Angle TA_REF PR[ ] Instruction ................................................................................ Torch Angle Graphical Display ........................................................................................... Torch Angle (R734) Limit – Work Angle .............................................................................. Torch Angle (R734) Limit - Travel Angle ............................................................................. Weld Procedure Screens .................................................................................................... Torch Angle Screen .......................................................................................................... Web Page Main Display .................................................................................................... Web Page Torch Angle Files .............................................................................................. Web Page Torch Angle Report File ...................................................................................... Torch Angle Report in a Spreadsheet Application ................................................................... Travel Angle Progress Display ........................................................................................... Work Angle Progress Display ............................................................................................. Torch Angle System Variables ............................................................................................ Weave Sine Pattern ......................................................................................................... Weave Figure 8 Pattern .................................................................................................... Weave Circle Pattern ....................................................................................................... Weave L Pattern ............................................................................................................. Weave Instructions[i] ...................................................................................................... TRACK {SENSOR} [i] ................................................................................................... MP OFFSET PR[i] RPM [j] ............................................................................................. TRACK{SENSOR}[i] RPM[j] ......................................................................................... SEARCH START [i] PR[x] .............................................................................................. Figure 7–98. Figure 7–99. Figure 7–100. Figure 7–101. Figure 7–102. Figure 7–103. Figure 7–104. Figure 7–105. Figure 7–106. 7–110 7–111 7–113 7–114 7–115 7–116 7–119 7–120 7–123 7–124 7–125 7–128 7–130 7–131 7–132 7–133 7–134 7–135 7–136 7–136 7–137 7–138 7–140 7–141 7–143 7–144 7–145 7–146 7–147 7–158 7–159 7–159 7–160 7–160 7–162 7–163 7–164 7–165 xxxix Contents Figure 7–107. Figure 7–108. Figure 7–109. Figure 7–110. Figure 7–111. Figure 7–112. Figure 7–113. Figure 7–114. Figure 7–115. Figure 7–116. Figure 7–117. Figure 7–118. Figure 7–119. Figure 7–120. Figure 7–121. Figure 7–122. Figure 7–123. Figure 7–124. Figure 7–125. Figure 7–126. Figure 7–127. Figure 7–128. Figure 7–129. Figure 7–130. Figure 7–131. Figure 7–132. Figure 7–133. Figure 7–134. Figure 7–135. Figure 7–136. Figure 7–137. Figure 7–138. Figure 7–139. Figure 7–140. Figure 7–141. Figure 7–142. Figure 7–143. Figure 7–144. Figure 7–145. Figure 7–146. Figure 7–147. xl MAROUAR9102171E REV D .............................................................................................................. TOUCH OFFSET PR[x] .................................................................................................. Backward Execution Example .......................................................................................... TOUCH OFFSET END ................................................................................................... SET ISDT SPEED A...=... ................................................................................................. LBL[x] ......................................................................................................................... JMP LBL[x] .................................................................................................................. CALL program .............................................................................................................. Program End Instruction .................................................................................................. Register IF Instruction ..................................................................................................... I/O IF Instruction for DI/DO, RI/RO, SI/SO and UI/UO ........................................................ I/O IF Instruction for PL .................................................................................................. I/O IF Instruction for R, AI/AO, GI/GO and System Variable ................................................. Select Instruction ........................................................................................................... Example Text (.DT) File.................................................................................................... MONITOR Instruction .................................................................................................... MONITOR END Instruction ............................................................................................ Condition for Register, System Variable, and I/O Parameters .................................................. Condition2 for I/O .......................................................................................................... Condition2 for I/O .......................................................................................................... Condition for Error Status ................................................................................................ R[x] = DI[x] .................................................................................................................. DO[x] = ON/OFF ........................................................................................................... DO[x] = PULSE [,width] ................................................................................................. DO[x] = R[x] ................................................................................................................ R[x] = RI[x] .................................................................................................................. RO[x] = ON/OFF ........................................................................................................... RO[x] = PULSE [,width] ................................................................................................. RO[x] = R[x] ................................................................................................................. R[x] = AI[x] .................................................................................................................. AO[x] = value ............................................................................................................... R[x] = GI[x] .................................................................................................................. GO[x] = value ............................................................................................................... R[x] = WI[x] ................................................................................................................. WO[x] = ON/OFF .......................................................................................................... WO[x] = PULSE [,width] ................................................................................................ WO[x] = R[x] ................................................................................................................ Comment OFF and ON ..................................................................................................... I/O Status OFF and ON ..................................................................................................... Comments and Status ON .................................................................................................. Color ON ....................................................................................................................... SEARCH END 7–165 7–166 7–166 7–167 7–168 7–169 7–170 7–170 7–171 7–171 7–172 7–172 7–173 7–175 7–176 7–186 7–187 7–187 7–188 7–189 7–189 7–203 7–204 7–204 7–205 7–205 7–205 7–206 7–206 7–207 7–207 7–208 7–208 7–209 7–209 7–209 7–210 7–211 7–211 7–212 7–212 MAROUAR9102171E REV D Figure 7–148. Figure 7–149. Figure 7–150. Figure 7–151. Figure 7–152. Figure 7–153. Figure 7–154. Figure 7–155. Figure 7–156. Figure 7–157. Figure 7–158. Figure 7–159. Figure 7–160. Figure 7–161. Figure 7–162. Figure 7–163. Figure 7–164. Figure 7–165. Figure 7–166. Figure 7–167. Figure 7–168. Figure 7–169. Figure 7–170. Figure 7–171. Figure 7–172. Figure 7–173. Figure 7–174. Figure 7–175. Figure 7–176. Figure 7–177. Figure 7–178. Figure 7–179. Figure 7–180. Figure 7–181. Figure 7–182. Figure 7–183. Figure 7–184. Figure 7–185. Figure 7–186. Figure 7–187. Figure 7–188. Contents ............................................................................................ RSR Enable/Disable ....................................................................................................... User Alarm ................................................................................................................... Timer ........................................................................................................................... OVERRIDE .................................................................................................................. Message Instruction ........................................................................................................ Parameter Name Write Instruction ..................................................................................... Parameter Name Read Instruction ...................................................................................... JOINT_MAX_SPEED Instruction - Multiple Motion Group Syntax ......................................... LINEAR_MAX_SPEED Instruction - Multiple Motion Group Syntax ...................................... JOINT_MAX_SPEED Instruction - Single Motion Group Syntax ............................................ LINEAR_MAX_SPEED Instruction - Single Motion Group Syntax ......................................... RUN program ................................................................................................................ Offset Condition ............................................................................................................ UFRAME_NUM=[value] ................................................................................................ UTOOL_NUM=[value] ................................................................................................... UFRAME[i] = PR[x] ...................................................................................................... UTOOL[i] = PR[x] ......................................................................................................... Parameter Example ......................................................................................................... CALL Program with Parameters ....................................................................................... MACRO Program with Parameters .................................................................................... Argument Registers ........................................................................................................ Use No More than Ten Parameters in an Instruction .............................................................. Make Sure Data Types Match ........................................................................................... Define All Parameter Elements ......................................................................................... Use Parameters Defined in the Main Program ...................................................................... Cursor Position to Insert Parameters ................................................................................... Payload Instruction ......................................................................................................... Inertia Equations ............................................................................................................ POINT_LOGIC Instruction................................................................................................ POINT_LOGIC Instruction................................................................................................ POINT_LOGIC View Screen (Main Program) ....................................................................... POINT_LOGIC View Instruction (in Logic Statements) .......................................................... PR[GRPn:x] = [value] ..................................................................................................... PR[GRPn:x] = [value] [operator] [value] ............................................................................ Position Register Element PR[i,j] ...................................................................................... PR[i,j] = [value] ............................................................................................................. PR[i,j] = [value] [operator] [value] .................................................................................... LOCK PREG Instruction ................................................................................................. UNLOCK PREG Instruction ............................................................................................ PAUSE ......................................................................................................................... Macro Command Instruction 7–213 7–226 7–227 7–227 7–228 7–230 7–231 7–232 7–233 7–233 7–233 7–233 7–254 7–255 7–255 7–255 7–256 7–256 7–257 7–258 7–259 7–262 7–263 7–263 7–264 7–264 7–266 7–270 7–272 7–274 7–275 7–279 7–280 7–282 7–282 7–283 7–284 7–285 7–286 7–286 7–287 xli Contents Figure 7–189. Figure 7–190. Figure 7–191. Figure 7–192. Figure 7–193. Figure 7–194. Figure 7–195. Figure 7–196. Figure 7–197. Figure 7–198. Figure 7–199. Figure 7–200. Figure 7–201. Figure 7–202. Figure 7–203. Figure 7–204. Figure 7–205. Figure 7–206. Figure 7–207. Figure 7–208. Figure 7–209. Figure 7–210. Figure 7–211. Figure 7–212. Figure 7–213. Figure 7–214. Figure 7–215. Figure 7–216. Figure 7–217. Figure Figure 8–1. 8–2. Figure 8–3. Figure Figure Figure 8–4. 8–5. 8–6. Figure 8–7. Figure 8–8. Figure Figure 8–9. 8–10. Figure 8–11. Figure 9–1. xlii MAROUAR9102171E REV D ........................................................................................................................ 7–287 Error Program ............................................................................................................... 7–288 RESUME_PROG = program ............................................................................................ 7–288 MAINT_PROG = program ............................................................................................... 7–289 CLEAR_RESUME_PRO ................................................................................................. 7–289 RETURN_PATH_DSBL .................................................................................................. 7–290 SYNC_SCHED ............................................................................................................. 7–291 INPOS ......................................................................................................................... 7–291 PR_STRT[n] ................................................................................................................. 7–292 PR_END[n] .................................................................................................................. 7–292 PR_SYNC[n] ................................................................................................................ 7–292 Direct and Indirect Addressing Example ............................................................................. 7–293 R[x] = [value] ................................................................................................................ 7–293 R[x] = [value] [operator] [value] ....................................................................................... 7–295 Skip Condition for DO/DI, RO/RI, SO/SI, and UO/UI ........................................................... 7–297 Skip Condition for DI/DO, RI/RO, SI/SO, UI/UO, and WI/WO .............................................. 7–297 Skip Condition for R, GI/GO, AI/AO, and Parameters ........................................................... 7–297 Skip Condition ............................................................................................................... 7–298 String Register Assignment ................................................................................................ 7–300 String Register Concatenation ............................................................................................ 7–301 STRLEN Instruction ......................................................................................................... 7–303 FINDSTR Instruction ....................................................................................................... 7–303 SUBSTR Instruction ......................................................................................................... 7–304 Wait Time ..................................................................................................................... 7–318 WAIT Condition for DI/DO, RI/RO, SI/SO, and UI/UO ......................................................... 7–319 WAIT Condition for DI/DO, RI/RO, SI/SO, UI/UO, and WI/WO ............................................ 7–319 WAIT Condition for R, GI/GO, AI/AO, and Parameters ......................................................... 7–320 WAIT Condition ............................................................................................................ 7–320 Mixed Logic WAIT Example ............................................................................................ 7–322 Program Detail Information ............................................................................................... 8–40 Collection Editor .............................................................................................................. 8–51 Treeview/Select ................................................................................................................ 8–52 Icon Editor ...................................................................................................................... 8–66 Instruction Icons ............................................................................................................... 8–67 Context Sensitive Icon Editing ............................................................................................ 8–68 TOOLBAR Icons .............................................................................................................. 8–69 INPUT Icon ..................................................................................................................... 8–70 Background Edit Process .................................................................................................. 8–73 Background Edit Process (Continued) ................................................................................. 8–74 Select Details ................................................................................................................... 8–83 Resume Tolerance Example ................................................................................................ 9–9 ABORT MAROUAR9102171E REV D Figure 9–2. Figure 10–1. Figure 10–2. Figure 10–3. Figure 10–4. Figure 10–5. Figure 10–6. Figure 10–7. Figure 10–8. Figure 10–9. Figure 10–10. Figure 10–11. Figure 10–12. Figure 10–13. Figure 10–14. Figure 10–15. Figure 11–1. Figure 11–2. Figure Figure 11–3. 11–4. Figure 11–5. Figure Figure 11–6. 11–7. Figure 11–8. Figure 11–9. Figure 11–10. Figure 11–11. Figure 11–12. Figure 11–13. Figure 11–14. Figure 11–15. Figure 11–16. Figure 11–17. Figure 11–18. Figure 11–19. Figure 11–20. Figure 11–21. Figure 11–22. Figure 11–23. Figure 11–24. Contents .................................................................. Production SETUP Screen ................................................................................................ RSR Timing Diagram ...................................................................................................... Example Program Showing Backward Execution PNS Timing Diagram (default and recommended configuration) NOTE: Your Timing Diagram might vary depending on your application. ............................................................... 9–17 10–4 10–9 10–14 ......................................................................................... 10–19 .............................................................................. 10–20 Password Configuration Screen .......................................................................................... 10–54 Password Help ................................................................................................................ 10–74 Error Severity Table ........................................................................................................ 10–80 Example Output Definition ............................................................................................... 10–88 Timing - One Alarm ....................................................................................................... 10–89 Timing - Multiple Alarms ................................................................................................ 10–89 Inertia Equations ............................................................................................................ 10–99 Valid Payload Configuration for Accurate Estimation .......................................................... 10–101 J5 and J6 Orientation for POS1 ....................................................................................... 10–109 Acceleration Equation ................................................................................................... 10–111 Status Indicators ............................................................................................................... 11–3 R-30iB Plus A Cabinet Operator Panel .................................................................................. 11–5 R-30iB Plus B Cabinet Operator Panel .................................................................................. 11–5 The User System to Utilize Completion Process by DI Input .................................................... 11–19 Notifications Screen ......................................................................................................... 11–26 Notifications Screen with Cleared Notification ....................................................................... 11–28 Power Consumption Monitor ............................................................................................. 11–36 Process Axes Status Screen ................................................................................................ 11–36 Status 1 Screen .............................................................................................................. 11–43 Status 2 Screen .............................................................................................................. 11–46 Pulse Screen .................................................................................................................. 11–47 Torque Monitor Screen .................................................................................................... 11–48 Tracking Screen ............................................................................................................. 11–49 Disturbance Torque Screen ............................................................................................... 11–50 Servo Diagnosis Main Screen ........................................................................................... 11–51 Servo Diagnosis Reducer Screen ....................................................................................... 11–52 Servo Diagnosis Over Heat Screen .................................................................................... 11–54 Servo Diagnosis Torque Screen ......................................................................................... 11–54 Servo Diagnosis Disturbance Screen .................................................................................. 11–55 Servo Diagnosis OVC Screen ........................................................................................... 11–56 Servo Diagnosis Collision Detection Screen ........................................................................ 11–57 String Register Simple Import Text File ............................................................................... 11–62 String Register Full Import Text File.................................................................................... 11–62 Turn Number and Joint Placement Display on Position Screen ................................................ 11–67 Typical Style Initiate Sequence Fault Recovery During Style Execution xliii Contents Figure 11–25. Figure 11–26. Figure 11–27. Figure 11–28. Figure 11–29. Figure 11–30. Figure 11–31. Figure 11–32. Figure 11–33. Figure 11–34. Figure 11–35. Figure 11–36. Figure 11–37. Figure 11–38. Figure 11–39. Figure 11–40. Figure 11–41. Figure 11–42. Figure 11–43. Figure 11–44. Figure Figure 12–1. 12–2. Figure 12–3. Figure Figure 12–4. 12–5. Figure 12–6. Figure Figure 12–7. 12–8. Figure 12–9. Figure Figure 13–1. 13–2. Figure 13–3. Figure Figure Figure 13–4. 13–5. 13–6. Figure 13–7. Figure 13–8. Figure 13–9. Figure 13–10. Figure 13–11. Figure 13–12. xliv MAROUAR9102171E REV D .................................................................................. Joint Placement Configuration Examples for Fully Articulated Robots ...................................... Joint Placement Configuration Examples for Fully Articulated Paint Robots .............................. Joint Placement Configuration Examples for Horizontally Articulated Robots ............................ $SCR_GRP[group].$turn_axis[i] for Turn Number Display Configuration ................................ Simple Gripper Example ................................................................................................... Select a Screen to Configure............................................................................................... Screen Settings Page......................................................................................................... Selecting an Image File ..................................................................................................... File Devices .................................................................................................................... Adjust ............................................................................................................................ Indicator Settings Page...................................................................................................... Indicator Settings ............................................................................................................. Adjust the Location of LED Indicator State: 0 ....................................................................... Custom Logic Program Field.............................................................................................. SETUP Visual Diagnostics ................................................................................................ Reposition the Screen ....................................................................................................... Select a Screen to View ..................................................................................................... Invalid Indicator .............................................................................................................. Visual Diagnostics Screen Display ...................................................................................... R-30iB Plus Controller Memory Card Interface Location ........................................................ R-30iB Plus Controller USB Memory Stick Device Location .................................................. R-30iB Mate Plus Controller USB Location .......................................................................... iPendant USB Port (UT1:) Interface Location ....................................................................... Making Subdirectories ...................................................................................................... Displaying Subdirectories .................................................................................................. Subdirectories ................................................................................................................. File Screen .................................................................................................................... Example ASCII File ....................................................................................................... Rack, Slot, Channel, and Starting Point ............................................................................... Example Distributed I/O Setup Block Diagram .................................................................... Interface Unit DIP Switches ............................................................................................. Basic Digital I/O Module DIP Switches .............................................................................. I/O Link Device Screen ................................................................................................... I/O Link Diagram ........................................................................................................... System that Uses FANUC I/O Link Connection Units ........................................................... LED Locations .............................................................................................................. Outline Drawing ............................................................................................................ Mounting Location ......................................................................................................... Example Connection Diagram .......................................................................................... Electrical Signal Cable Connectors .................................................................................... Turn Number Display Configuration 11–68 11–68 11–69 11–70 11–71 11–79 11–81 11–82 11–85 11–86 11–87 11–88 11–90 11–91 11–92 11–93 11–94 11–95 11–96 11–97 12–18 12–19 12–19 12–20 12–24 12–25 12–25 12–37 12–88 13–7 13–30 13–31 13–33 13–48 13–51 13–52 13–54 13–55 13–56 13–57 13–58 MAROUAR9102171E REV D Figure 13–13. Figure 13–14. Figure 13–15. Figure 14–1. Figure 14–2. Figure 14–3. Figure 14–4. Figure 14–5. Figure 14–6. Figure 14–7. Figure 14–8. Figure 14–9. Figure 14–10. Figure 14–11. Figure 14–12. Figure 14–13. Figure 14–14. Figure 14–15. Figure 14–16. Figure 14–17. Figure 14–18. Figure 14–19. Figure 14–20. Figure 14–21. Figure 14–22. Figure 14–23. Figure 14–24. Figure 14–25. Figure 14–26. Figure 14–27. Figure 14–28. Figure 14–29. Figure 14–30. Figure 14–31. Figure 14–32. Figure 14–33. Figure 14–34. Figure 14–35. Figure 14–36. Figure 14–37. Figure 14–38. Contents ......................................................................................... 13–59 RSR Timing Diagram ..................................................................................................... 13–79 PNS Timing Diagram ...................................................................................................... 13–80 ..................................................................................................................................... 14–5 Successful Scratch Start ................................................................................................... 14–12 Unsuccessful Scratch Start ............................................................................................... 14–12 Scratch Start During Resume of the Weld ............................................................................ 14–12 Scratch Distance and Closely Taught Positions ..................................................................... 14–13 Process I/O Weld Cable Pinout ......................................................................................... 14–21 MIG Welding Timing Chart .............................................................................................. 14–23 TIG Welding Timing Chart .............................................................................................. 14–24 Analog Signal Scaling Example ........................................................................................ 14–33 Enabling Wire Feed Control on the SETUP Weld Equipment Screen ........................................ 14–37 Weld Procedure List ......................................................................................................... 14–59 Weld Schedule Detail........................................................................................................ 14–59 Example Weld Procedure................................................................................................... 14–60 Adjustable range of weld schedule 1 .................................................................................... 14–60 Adjustable range of weld schedule 2 .................................................................................... 14–60 Sample program of Weld Parameter Ramping........................................................................ 14–72 Robot Operation at the Beginning of Welding ........................................................................ 14–73 Ramping at the First Weld Start .......................................................................................... 14–74 Ramping during Crater Fill ................................................................................................ 14–74 Speed Ramping ............................................................................................................... 14–77 Weave Amplitude and Frequency Ramp ............................................................................. 14–79 Resuming a Position-Based Ramp with $POS_RMP_RSM = TRUE. ....................................... 14–81 Resuming a Position-Based Ramp with $POS_RMP_RSM = FALSE ....................................... 14–82 Ramping Example using Data Monitor Chart ....................................................................... 14–84 Robot Speed Profile with Ramping .................................................................................... 14–85 Robot Speed Profile without Ramping ................................................................................ 14–86 Weave Amplitude and Frequency Ramp ............................................................................. 14–87 Resuming a Position-Based Ramp with $POS_RMP_RSM = TRUE. ....................................... 14–91 Resuming a Position-Based Ramp with $POS_RMP_RSM = FALSE ....................................... 14–92 Weaving Example ............................................................................................................ 14–94 SETUP Weave Screen ..................................................................................................... 14–95 $RUN_ANG ............................................................................................................... 14–101 DATA Weave Sched Table Screen ................................................................................... 14–102 DATA Weave Schedule DETAIL Screen ........................................................................... 14–103 Weave Start Instruction ................................................................................................. 14–108 Weave Cust Instruction Example ..................................................................................... 14–108 Triangle Weaving ......................................................................................................... 14–110 Triangle Weaving ......................................................................................................... 14–110 Power Supply Cable Connector xlv Contents Figure 14–39. Figure 14–40. Figure 14–41. Figure 14–42. Figure 14–43. Figure 14–44. Figure 14–45. Figure 14–46. Figure 14–47. Figure 14–48. Figure 14–49. Figure 14–50. Figure 14–51. Figure 14–52. Figure 14–53. Figure 14–54. Figure 14–55. Figure 14–56. Figure 14–57. Figure 14–58. Figure 14–59. Figure 14–60. Figure 14–61. Figure 14–62. Figure 14–63. Figure 14–64. Figure 14–65. Figure 16–1. Figure 16–2. Figure Figure 16–3. 16–4. Figure 16–5. Figure Figure Figure 16–6. 16–7. 16–8. Figure 16–9. Figure 16–10. Figure 16–11. Figure 16–12. Figure 16–13. Figure 16–14. xlvi MAROUAR9102171E REV D ...................................................................................... 14–111 Diamond Weaving ........................................................................................................ 14–111 Diamond Weaving Pattern Setup ..................................................................................... 14–112 Triangle on the screen of Weaving Pattern Confirm ............................................................. 14–112 Weave Pattern Confirm - Diamond .................................................................................. 14–113 Weaving Pattern Setup .................................................................................................... 14–114 Weaving Pattern Setup .................................................................................................. 14–114 Weave Pattern Custom Setup .......................................................................................... 14–115 Weaving Pattern Confirmation ........................................................................................ 14–115 Weaving Pattern Save ................................................................................................... 14–116 Extended Weave Schedule Screen ................................................................................... 14–122 Weld Controller Program Select Example ......................................................................... 14–125 DATA Weld Sched DETAIL Screen ................................................................................. 14–129 Controlled Start Menu .................................................................................................... 14–151 Connect Ethernet ........................................................................................................... 14–152 Setup PowerWave+Ethernet ............................................................................................. 14–153 Setup Complete ............................................................................................................. 14–154 SST-DN3-104, SST-DN4-104 ......................................................................................... 14–157 DN3-104-2, DN4-104-2 ................................................................................................ 14–159 Standard I/O Configuration for Power Wave : Input ............................................................ 14–160 Standard I/O Configuration for Power Wave : Output .......................................................... 14–161 Default Weld Settings for Power Wave ............................................................................. 14–161 Default Weld Settings for Power Wave (continued) ............................................................. 14–162 Default Weld Settings for Power Wave (continued) ............................................................. 14–162 Comparing Independent Arc Instructions with Motion Option Arc Instructions ........................ 14–162 Arc Start and Arc End Timing Diagram ............................................................................ 14–163 Weld ID Syntax ............................................................................................................. 14–164 Arc Start Height Adjust Function Outline .............................................................................. 16–7 Program Sample of Arc Start Height Adjust Function .............................................................. 16–8 Execute Height Adjust for a Single Robot In a Multi-Equipment Environment ............................. 16–15 Execute Height Adjust for a Multi Robot Simultaneously by Multi Task ..................................... 16–16 Execute Height Adjust for Multi Robot Simultaneously by a Single Task .................................... 16–17 Arc Welding Analog Meter Function Main Screen.................................................................. 16–19 Arc Welding Analog Meter Function Detail Screen ................................................................ 16–21 Additional Contents by Arc Abnormal Monitor Function ......................................................... 16–24 Auto Backward Exit Application......................................................................................... 16–26 Auto Backward Exit Setup Screen ....................................................................................... 16–28 Example Program ............................................................................................................ 16–30 Resume Program Example - Arc Welding ........................................................................... 16–32 Maintenance Program Example - Arc Welding ..................................................................... 16–34 Error Recovery Setup Screen ............................................................................................ 16–39 Triangle Weaving Pattern Setup MAROUAR9102171E REV D Figure 16–15. Figure 16–16. Figure 16–17. Figure 16–18. Figure 16–19. Figure 16–20. Figure 16–21. Figure 16–22. Figure 16–23. Figure 16–24. Figure 16–25. Figure 16–26. Figure 16–27. Figure 16–28. Figure 16–29. Figure 16–30. Figure 16–31. Figure 16–32. Figure 16–33. Figure 16–34. Figure 16–35. Figure 16–36. Figure 16–37. Figure 16–38. Figure 16–39. Figure 16–40. Figure 16–41. Figure 16–42. Figure 16–43. Figure 16–44. Figure 16–45. Figure 16–46. Figure 16–47. Figure 16–48. Figure 16–49. Figure 16–50. Figure 16–51. Figure 16–52. Figure 16–53. Figure 16–54. Figure 16–55. Contents ............................................................................................... RESUME_PROGRAM Instruction .................................................................................... CLEAR_RESUME_PROG Instruction ............................................................................... WELD.TP Example Program ........................................................................................... WIRE_CUT.TP (Resume Program) Example Program .......................................................... MAINT_PROGRAM Instruction ...................................................................................... RETURN_PATH_DSBL Instruction .................................................................................. WELD.TP Example Program ........................................................................................... Fast Exit/Entry Feature Enabled and Disabled in a Program .................................................... Normal Operation Auto Start Mode ................................................................................... Normal Operation without Execution of Resume Program ...................................................... Resume Program Aborted ................................................................................................ Normal Operation (Automatic Start DISABLED) ................................................................. Auto Mode When an Undefined Alarm Occurs .................................................................... Local Stop Lines .............................................................................................................. System Configuration Example ........................................................................................... Basic Process Flow .......................................................................................................... Basic Process Flow with Macro Program .............................................................................. I/O Setup Example ........................................................................................................... System Programming Example ........................................................................................... I/O Setup Example ........................................................................................................... Cycle Flow Example ........................................................................................................ Program A for welding of a workpiece A : WELD_A ............................................................. Program B for welding of a workpiece B : WELD_B .............................................................. Shape with a Perpendicular Axis ....................................................................................... Orientation Setup Approach Positions ................................................................................ Condition Monitor Function ............................................................................................. Condition for Register, System Variable, and I/O Parameters .................................................. Condition2 for I/O .......................................................................................................... Condition for Error status ................................................................................................ Program Monitor Menu ................................................................................................... System Monitor Menu ................................................................................................... CTS Frame Setup Screen ................................................................................................. CTS Program ................................................................................................................ Part with Multiple Diameter Sections ................................................................................. .................................................................................................................................. Coordinates Offset Screens ............................................................................................ TCP Fixed Method ....................................................................................................... Robot Fixed Method - Example 1 .................................................................................... Robot Fixed Method - Example 2 .................................................................................... Total Cycle Time in One Cycle Mode ............................................................................... Setting User Alarm Screen 16–44 16–46 16–46 16–46 16–46 16–47 16–47 16–48 16–48 16–53 16–54 16–55 16–56 16–57 16–58 16–59 16–60 16–60 16–65 16–66 16–67 16–68 16–69 16–69 16–74 16–81 16–93 16–97 16–97 16–98 16–99 16–100 16–143 16–145 16–146 16–147 16–149 16–150 16–151 16–151 16–162 xlvii Contents MAROUAR9102171E REV D Figure 16–56. Ten Cycle Mode ........................................................................................................... 16–163 Figure 16–57. Hundred Cycle Mode .................................................................................................... .............................................................................................. Target Cycle Time ........................................................................................................ Reference Program Recorded Display .............................................................................. Process Limits ............................................................................................................. Sample Report ............................................................................................................. Execution Timing of Distance Before ............................................................................... Distance Before Motion Option, DB ................................................................................ Checking Whether the TCP Goes into the Trigger Region .................................................... Size of Trigger Region .................................................................................................... TCP Does not Go into Trigger Region .............................................................................. Penetration .................................................................................................................. DISTBF_TTS = 0 ......................................................................................................... Execution Timing of an Action Program ............................................................................. Hold During the Execution of an Action Program ............................................................... DISTBF_TTS = 2 ......................................................................................................... Resume after Jogging ..................................................................................................... Resume After Jogging ($DISTBF_TTS = 0 ) ....................................................................... Parallel Mirror Image with Mirror Plane in Center of Robot ................................................. Parallel Mirror Image with Mirror Plane Offset from Center of Robot .................................... Parallel Mirror Image with Offset .................................................................................... Positional Mirror Image ................................................................................................. Rotational Mirror Image ................................................................................................ Rotational Mirror Image ................................................................................................ Mirror Image Shift with Orientation Mirrored (Mirror Method) ............................................. Enhanced Mirror Image with Orientation Controlled (Fixture Method) ................................... Mirror Image Key ........................................................................................................ Example of Robot Axes Only Mirror Image ...................................................................... Example of Extended Axes Integrated Mirror Image ........................................................... Example of With Extended Axes Mirror Image .................................................................. Mirroring an Entire Program .......................................................................................... Mirroring a Portion of a Program .................................................................................... Using Register Instructions to Synchronize Program Execution ............................................. Multi-Tasking Using the RUN Program Instruction ............................................................. Single Step Execution Example ....................................................................................... Single Step Backward Execution ..................................................................................... Backward Execution of a RUN Instruction Example ........................................................... Mastering Data .............................................................................................................. Interface Panel Example .................................................................................................. Setup Screen ................................................................................................................. 16–164 One Hundred Hour Mode 16–165 Figure 16–58. Figure 16–59. Figure 16–60. Figure 16–61. Figure 16–62. Figure 16–63. Figure 16–64. Figure 16–65. Figure 16–66. Figure 16–67. Figure 16–68. Figure 16–69. Figure 16–70. Figure 16–71. Figure 16–72. Figure 16–73. Figure 16–74. Figure 16–75. Figure 16–76. Figure 16–77. Figure 16–78. Figure 16–79. Figure 16–80. Figure 16–81. Figure 16–82. Figure 16–83. Figure 16–84. Figure 16–85. Figure 16–86. Figure 16–87. Figure 16–88. Figure 16–89. Figure 16–90. Figure 16–91. Figure 16–92. Figure 16–93. Figure 16–94. Figure 16–95. Figure 16–96. xlviii 16–167 16–168 16–171 16–174 16–184 16–185 16–185 16–186 16–188 16–189 16–192 16–192 16–193 16–194 16–195 16–196 16–217 16–218 16–218 16–219 16–220 16–220 16–221 16–221 16–222 16–222 16–223 16–223 16–226 16–227 16–235 16–238 16–239 16–240 16–240 16–245 16–254 16–255 MAROUAR9102171E REV D Contents Figure 16–97. Position Number ............................................................................................................ 16–259 Figure 16–98. Interface Panel Screens ................................................................................................... 16–260 Figure 16–99. Cursor ......................................................................................................................... 16–263 Figure 16–100. Position Number ............................................................................................................ 16–264 Figure 16–101. Type Code Field ............................................................................................................ 16–264 Figure 16–102. Type Code Field ............................................................................................................ 16–265 Figure 16–103. Button Preview .............................................................................................................. 16–270 Figure 16–104. Button Error Display ...................................................................................................... 16–272 Figure 16–105. Operation Condition Setup Screen ..................................................................................... 16–278 Figure 16–106. Operation Condition Detail Screen .................................................................................... 16–279 Figure 16–107. Push Button .................................................................................................................. 16–282 Figure 16–108. Lamp Status Signal ........................................................................................................ 16–289 Figure 16–109. Digital Switch ............................................................................................................... 16–291 Figure 16–110. Digital Display .............................................................................................................. 16–293 Figure 16–111. Jog Retract & Return ...................................................................................................... 16–302 Figure 16–112. ....................................................................................... Prompt Box Message Menu ............................................................................................ Prompt Box Message Menu Does not Exist Screen ............................................................. Prompt Box Yes/No Menu ............................................................................................. Prompt Box Yes/No Menu Does not Exist Screen ............................................................... List Menu ................................................................................................................... List Menu Does not Exist Screen ..................................................................................... Status Menu ................................................................................................................ Default Status Menu ..................................................................................................... Operator Entry Menu .................................................................................................... Operator Entry Menu Does Not Exist Screen ..................................................................... Parallel Mirror Image with Mirror Plane in Center of Robot ................................................. Parallel Mirror Image with Mirror Plane Offset from Center of Robot .................................... Parallel Mirror Image with Offset .................................................................................... Positional Mirror Image ................................................................................................. Rotational Mirror Image ................................................................................................ Rotational Mirror Image ................................................................................................ Mirror Image Key ........................................................................................................ Example of Robot Axes Only Mirror Image ...................................................................... Example of Extended Axes Integrated Mirror Image ........................................................... Example of With Extended Axes Mirror Image .................................................................. Mirroring an Entire Program .......................................................................................... Mirroring a Portion of a Program .................................................................................... LEDs on the R-30iB Compact Plus Controller ..................................................................... Robot Homepage Screen ................................................................................................. iRProgrammer Screen ..................................................................................................... 16–306 Figure 16–113. Figure 16–114. Figure 16–115. Figure 16–116. Figure 16–117. Figure 16–118. Figure 16–119. Figure 16–120. Figure 16–121. Figure 16–122. Figure 16–123. Figure 16–124. Figure 16–125. Figure 16–126. Figure 16–127. Figure 16–128. Figure 16–129. Figure 16–130. Figure 16–131. Figure 16–132. Figure 16–133. Figure 16–134. Figure 16–135. Figure 16–136. Figure 16–137. Teach Pendant Menus Example 16–307 16–308 16–313 16–314 16–319 16–320 16–327 16–328 16–338 16–339 16–350 16–350 16–351 16–352 16–353 16–353 16–354 16–354 16–355 16–355 16–358 16–358 16–387 16–388 16–392 xlix Contents MAROUAR9102171E REV D Figure 16–138. Position Table ............................................................................................................... 16–397 Figure 16–139. Jog Panel ...................................................................................................................... 16–398 Figure 16–140. Single Step or Continuous ............................................................................................... 16–399 Figure 16–141. Jogging iPendant Screen.................................................................................................. 16–403 Figure 16–142. Operation Key Sheet....................................................................................................... 16–406 Figure 16–143. Jog Panel Screen ............................................................................................................ 16–407 Figure 16–144. Navigate iPendant Screen ................................................................................................ 16–409 Figure 16–145. Mode Select Menu ......................................................................................................... 16–416 Figure 16–146. Mode Select Screen ........................................................................................................ 16–420 Figure 16–147. Mode Select Menu ......................................................................................................... 16–421 Figure 16–148. System/Config screen ..................................................................................................... 16–424 Figure 16–149. 16–427 Figure 16–169. .......................... Hold With Original Path Resume — Path Resumes from Stop Position ................................... Emergency Stop With Original Path Resume — Path Resumes from Stop Position ................... Payload Check Screen ................................................................................................... Payload Setting Screen .................................................................................................. Payload Setting Error .................................................................................................... Modify Program Screen ................................................................................................. Modify Program Screen ................................................................................................. Power On/Off screen ..................................................................................................... Position BumpBox with coordinated Motion ....................................................................... Position BumpBox Schedule ............................................................................................ BBox with Table ............................................................................................................ Coordinated motion setup screen....................................................................................... Leader Frame PopUp menu.............................................................................................. Leader Frame Setup - 3 point Method ................................................................................ CD Leader Frame Example .............................................................................................. Process Axes Status Screen .............................................................................................. External Process Axes Control ......................................................................................... Example Timing Chart for Process Axis Speed Control ......................................................... Example Timing Chart for Process Usage Accumulation ....................................................... Hold With Constant Path Resume Offset — Path Resumes from Offset Stop Position ................ Figure 16–170. Hold with non-Constant Path Resume Offset — Path Resumes from Offset Stop Position Figure 16–150. Figure 16–151. Figure 16–152. Figure 16–153. Figure 16–154. Figure 16–155. Figure 16–156. Figure 16–157. Figure 16–158. Figure 16–159. Figure 16–160. Figure 16–161. Figure 16–162. Figure 16–163. Figure 16–164. Figure 16–165. Figure 16–166. Figure 16–167. Figure 16–168. Figure 16–171. Figure 16–172. Figure 16–173. Figure 16–174. Figure 16–175. Figure 16–176. Figure 16–177. l Hold Without Original Path Resume — Path Resumes from Current Position .................................................................................................................................. Relationship Between Forward and Measured Position .......................................................... Wireshark Ethernet Log .................................................................................................. RSI_ON_I () Example .................................................................................................... SETUP Circle DETAIL Screen ....................................................................................... Circle Detail Terminology .............................................................................................. SETUP Hexagon DETAIL Screen ................................................................................... Hexagon Detail Terminology .......................................................................................... 16–427 16–428 16–430 16–431 16–431 16–432 16–433 16–433 16–445 16–446 16–451 16–453 16–453 16–454 16–455 16–466 16–469 16–471 16–471 16–476 16–477 16–487 16–488 16–494 16–505 16–506 16–507 16–508 MAROUAR9102171E REV D Figure 16–178. Figure 16–179. Figure 16–180. Figure 16–181. Figure 16–182. Figure 16–183. Figure 16–184. Figure 16–185. Figure 16–186. Figure 16–187. Figure 16–188. Figure 16–189. Figure 16–190. Figure 16–191. Figure 16–192. Figure 16–193. Figure 16–194. Figure 16–195. Figure 16–196. Figure 16–197. Figure 16–198. Figure 16–199. Figure 16–200. Figure 16–201. Figure 16–202. Figure 16–203. Figure 16–204. Figure 16–205. Figure 16–206. Figure 16–207. Figure 16–208. Figure 16–209. Figure 16–210. Figure 16–211. Figure 16–212. Figure 16–213. Figure 16–214. Figure 16–215. Figure 16–216. Figure 16–217. Figure 16–218. Contents .................................................................................. Rectangle Detail Terminology ......................................................................................... SETUP Slot DETAIL Screen .......................................................................................... Slot Detail Terminology ................................................................................................ SETUP Keyhole DETAIL Screen .................................................................................... Keyhole Detail Terminology ........................................................................................... SETUP Pommel DETAIL Screen .................................................................................... Pommel Detail Terminology ........................................................................................... SETUP Cust Shape DETAIL Screen ................................................................................ UTILITIES Shape Gen DETAIL Screen Example ............................................................... UTILITIES Shape Gen Screen ........................................................................................ Shape Generated Program Example ACIR1 ....................................................................... Shape Generated Program Example ACIR2 ....................................................................... Production Program Example ......................................................................................... Servo Schedules ........................................................................................................... Lemon Shape with a Bump on the Right Side .................................................................... Lemon Shape with Outward Bump and Ripples .................................................................. Flat Spot on Each Side .................................................................................................. Two Flat Spots and an Inward Bump ................................................................................ Soft Float in the X Direction ........................................................................................... Soft Float[n] Independent Instruction Example .................................................................. Soft Float[n] Motion Option Example .............................................................................. Improving Softness Example .......................................................................................... Improving Softness ....................................................................................................... Layout and Tool Selection .............................................................................................. Insertion Motion .......................................................................................................... Face-to-Face Motion ..................................................................................................... TCP Setup Example ...................................................................................................... Space Check - Single Robot Controller ............................................................................. Space Check - Single Robot Controller ............................................................................. Common Space Inside/Outside ....................................................................................... Common Space Outside Boundary .................................................................................. Common Space Vertexes ............................................................................................... MultiARM Controller ................................................................................................... Symmetric Part Orientation .............................................................................................. Max Value .................................................................................................................. Max Speed .................................................................................................................. Typical TP Shim Example .............................................................................................. Advanced TP Shim Example Using USEMAST ................................................................. Advanced TP Shim Example Using HISTORY .................................................................. TIME BEFORE / TIME AFTER Motion Option Instructions ................................................ SETUP Rectangle DETAIL Screen 16–509 16–510 16–510 16–511 16–512 16–513 16–514 16–516 16–516 16–521 16–522 16–525 16–526 16–527 16–528 16–530 16–531 16–532 16–533 16–547 16–549 16–550 16–552 16–552 16–554 16–555 16–556 16–557 16–561 16–562 16–566 16–567 16–568 16–571 16–573 16–575 16–576 16–581 16–582 16–583 16–589 li Contents MAROUAR9102171E REV D Figure 16–219. Normal Execution when $timebf_ver=4 ............................................................................ 16–591 Figure 16–220. Timing Sequence (TIME BEFORE instruction) .................................................................. 16–592 Figure 16–221. ............................................................................. 16–592 Timing Sequence (TIME BEFORE instruction) .................................................................. 16–593 Main and Sub Program Examples .................................................................................... 16–595 Program Example for TIME BEFORE Instruction .............................................................. 16–595 Basic Adaptive Welding System ......................................................................................... 17–4 Servo-Robot E-Stop Connection Wiring Diagram .................................................................. 17–6 Attaching the Laser Warning Light ..................................................................................... 17–7 Communication Connection Wiring Diagram ........................................................................ 17–8 LASON.TP ................................................................................................................... 17–13 SEARCH.TP ................................................................................................................. 17–13 Teaching Reference Positions for Sensor Calibration ............................................................. 17–18 Teaching Pair 1 .............................................................................................................. 17–20 Teaching Pair 2 .............................................................................................................. 17–21 Teaching Pair 3 .............................................................................................................. 17–22 Teaching Pair 4 .............................................................................................................. 17–23 Sensor Schedule LIST Screen ........................................................................................... 17–26 Sensor Schedule DETAIL Screen ...................................................................................... 17–27 Track Length and the Ratio Between the Front and the Rear Areas ........................................... 17–30 Detection Data Equation .................................................................................................. 17–34 Sampling Rate Equation .................................................................................................. 17–34 Example Detection Data Calculation .................................................................................. 17–35 V Groove Joint with Six Breakpoints ................................................................................. 17–43 Dynamic Search .............................................................................................................. 17–49 $MIG_CALFLG = 1 ....................................................................................................... 17–54 $MIG_CALFLG = 2 ....................................................................................................... 17–55 $MIG_CALFLG = 3 ....................................................................................................... 17–55 One Position Search - Position Type for Weld Start Position ................................................... 17–57 Welded Part with 2-D Offset (One Search Point) .................................................................. 17–58 Welded Part with X,Y, and Z offsets (Two Search Points) ....................................................... 17–59 Example of Sensor Search Point ........................................................................................ 17–62 Two Points to Determine Weld Path ................................................................................... 17–63 Dynamic Arc Off ............................................................................................................. 17–67 Schedule Change During Tracking Example ........................................................................ 17–68 Example of How the Sensor Resumes from a Tracking Error .................................................. 17–70 Use of Track Hold .......................................................................................................... 17–71 Hold Offset/Bias During a Non-tracked Weld ...................................................................... 17–73 Adjusting a Weld Path by Modifying RPM Data ................................................................... 17–76 Example Part ................................................................................................................. 17–80 Part Program ................................................................................................................. 17–81 Figure 16–222. Figure 16–223. Figure 16–224. Figure 17–1. Figure 17–2. Figure 17–3. Figure 17–4. Figure 17–5. Figure 17–6. Figure 17–7. Figure 17–8. Figure 17–9. Figure 17–10. Figure 17–11. Figure 17–12. Figure 17–13. Figure 17–14. Figure 17–15. Figure 17–16. Figure 17–17. Figure 17–18. Figure 17–19. Figure 17–20. Figure 17–21. Figure 17–22. Figure 17–23. Figure 17–24. Figure 17–25. Figure 17–26. Figure 17–27. Figure 17–28. Figure 17–29. Figure 17–30. Figure 17–31. Figure 17–32. Figure 17–33. Figure 17–34. Figure 17–35. lii Timing Sequence (AFTER instruction) MAROUAR9102171E REV D Figure 17–36. Figure 17–37. Figure 17–38. Figure 17–39. Figure 17–40. Figure 17–41. Figure 17–42. Figure 17–43. Figure 17–44. Figure 17–45. Figure 18–1. Figure 18–2. Figure 18–3. Figure 19–1. Figure 19–2. Figure 19–3. Figure 19–4. Figure 19–5. Figure 19–6. Figure 19–7. Figure Figure 20–1. 20–2. Figure 20–3. Figure Figure 20–4. 20–5. Figure 21–1. Figure Figure 21–2. 22–1. Figure 22–2. Figure Figure 23–1. 23–2. Figure 23–3. Figure Figure Figure 23–4. 23–5. 23–6. Figure 23–7. Figure 23–8. Figure 23–9. Figure 23–10. Figure 23–11. Figure 23–12. Contents ..................................................................................................... 17–84 MIG_CRS .................................................................................................................... 17–90 MIG_CRS2 ................................................................................................................... 17–92 MIG_VECTOR ............................................................................................................. 17–93 MIG_CIRCLE ............................................................................................................... 17–95 MIG_FRAME ............................................................................................................... 17–96 MIG_CROSS and MIG_VECTOR Application .................................................................... 17–99 MIG_CROSS and MIG_FRAME Application ................................................................... 17–100 WELD01.TP (Continued) .............................................................................................. 17–103 Adaptive Welding Applications ....................................................................................... 17–104 Example of Weld Start, Weld End, and Corner ........................................................................ 18–6 Example with a Programmed Speed Change........................................................................... 18–7 Example Controlling Trim .................................................................................................. 18–8 Wire Monitor Setup Menu .................................................................................................. 19–7 Wire Density Entry............................................................................................................ 19–8 Arc Welding Analog Meter ................................................................................................. 19–9 Proxy Server Setup........................................................................................................... 19–10 Proxy Server Enable Entry ................................................................................................. 19–11 Host Comm Main Menu .................................................................................................... 19–12 TCP/IP Detail Menu ......................................................................................................... 19–13 AVC Tracking ................................................................................................................ 20–3 AVC Vertical Tracking ..................................................................................................... 20–4 Voltage Feedback Pattern of Centered Weld .......................................................................... 20–5 Voltage Feedback Pattern of Weld Shifted to the Right ........................................................... 20–6 Dead Band .................................................................................................................... 20–13 Detached Jog Group Wiring .............................................................................................. 21–3 Typical 2 Axis Detached Jog Station ................................................................................... 21–4 HeatWave Functional Block Diagram .................................................................................. 22–4 Left, Center, and Right Weld Schedules ............................................................................... 22–6 Standard iRCalibration Mastering Calibration Plates ............................................................. 23–12 Example of First Three Positions ....................................................................................... 23–28 Example of Second Three Positions ................................................................................... 23–29 Standard iRCalibration Mastering Calibration Plates .............................................................. 23–45 Example of First Three Positions ........................................................................................ 23–63 Example of Second Three Positions ................................................................................... 23–63 Typical Arc Welding tool definition ................................................................................... 23–78 Typical Waterjet Tool Definition ........................................................................................ 23–79 Recommended iRCalibration TCP Set Touch Plate and Pointer Specifications ............................ 23–80 Installing the Touch Plate ................................................................................................. 23–81 Example of First Three Positions ....................................................................................... 23–94 Example of Second Three Positions ................................................................................... 23–95 Adaptive Welding I/O liii Contents MAROUAR9102171E REV D Figure 23–13. Cal-Plate Calibration Positions .......................................................................................... Figure 23–14. iRCalibration TCP Set NEW-XYZWPR Calibration Program Example Figure 23–15. iRCalibration TCP Set Cal-Plate Calibration Program Example ............................................. 23–100 Figure 23–16. Typical Arc Welding tool definition ................................................................................... 23–108 Figure 23–17. Typical Waterjet Tool Definition ....................................................................................... 23–109 Figure 23–18. Recommended iRCalibration TCP Shift Touch Plate and Pointer Specifications Figure 23–19. Installing the Touch Plate ................................................................................................ 23–111 Figure 23–20. ......................................... Example of Manually Created XYZ Search TPP Program .................................................... Example of Manually Created XY Search TP Program ........................................................ Example of Manually Created Z Search Teach Pendant Program ........................................... 23–125 Figure 23–21. Figure 23–22. Figure 23–23. Figure 23–24. Figure 23–25. Figure 23–26. 23–96 .................................... 23–99 ........................ 23–110 iRCalibration TCP Shift XYZWPR Calibration Program Example 23–126 23–126 23–127 Example of Manually Created XYZ Search TP Program Using Detect Circle Instruction (with XY and Z offsets) .................................................................................................. 23–127 Example of Manually Created XY Search TP Program Using Detect Circle Instruction (without XY and Z offsets) ............................................................................................. 23–128 Example of Standard iRCalibration TCP Shift-Generated Program with Update Frame Added ......................................................................................................................... 23–128 .................................................................................... 23–140 Figure 23–27. Typical Arc Weld Tool Definition Figure 23–28. Typical Waterjet Tool Definition ...................................................................................... Figure 23–29. ................................................................................... 23–157 Non-uniform Surface (Example 2) ................................................................................... 23–157 6 Points Search (3-2-1) (Corresponds to ) .......................................................................... 23–158 6 points (3-2-1) for x, y, z, w, p, r Offset ........................................................................... 23–159 Example program for automatic operation. ........................................................................ 23–160 Low Frequency Pulse ........................................................................................................ 24–2 Use together with ArcTool ramping function .......................................................................... 24–8 Application of Low Frequency Pulse Welding for TIG filler welding .......................................... 24–9 Multi-equipment Designation on the Teach Pendant Screen ..................................................... 25–6 iPendant Equipment Number in Focus Bar .......................................................................... 25–11 Multi-equipment Designation on the Teach Pendant Screen .................................................... 25–12 iPendant Equipment Display ............................................................................................ 25–13 Weld I/O Screens for Equipment 1 ..................................................................................... 25–15 Weld I/O Screens for Equipment 2 ..................................................................................... 25–16 TEST CYCLE Arc Screen ............................................................................................... 25–20 SHIFT + WELD ENBL ................................................................................................... 25–21 Weld Schedule Tables Side-by-Side ................................................................................... 25–23 Arc Start Synchronization ................................................................................................ 25–28 How RPM Functions ....................................................................................................... 26–4 Simple Multi-pass Weld Overlay ........................................................................................ 26–8 How Changes to the Position Register Affect the Weld .......................................................... 26–10 Multi-pass Weld 3 Path V Groove ..................................................................................... 26–11 Multi-pass Weld Orientation Changes ................................................................................ 26–11 Figure 23–30. Figure 23–31. Figure 23–32. Figure 23–33. Figure 24–1. Figure 24–2. Figure Figure 24–3. 25–1. Figure 25–2. Figure Figure 25–3. 25–4. Figure 25–5. Figure 25–6. Figure Figure Figure 25–7. 25–8. 25–9. Figure 25–10. Figure 26–1. Figure 26–2. Figure 26–3. Figure 26–4. Figure 26–5. liv Non-uniform Surface (Example 1) 23–141 MAROUAR9102171E REV D Figure 26–6. Figure 26–7. Figure 26–8. Figure 26–9. Figure 26–10. Figure 26–11. Figure 26–12. Figure 26–13. Figure 26–14. Figure 26–15. Figure 26–16. Figure 26–17. Figure 26–18. Figure 26–19. Figure 26–20. Figure 26–21. Figure 26–22. Figure 26–23. Figure 26–24. Figure 26–25. Figure 26–26. Figure 27–1. Figure 27–2. Figure Figure 27–3. 27–4. Figure 27–5. Figure Figure 27–6. 27–7. Figure 27–8. Figure 27–9. Figure 27–10. Figure 28–1. Figure Figure Figure 28–2. 28–3. 28–4. Figure 28–5. Figure 28–6. Figure Figure 28–7. 28–8. Figure 28–9. Figure 28–10. Contents ........................................................................... Multi-pass Corners ......................................................................................................... Rounded Multi-pass Corners ............................................................................................ Multi-pass Corners When Logic Instructions Appear Between Recorded Positions ..................... Example of Multi-pass without RPM ................................................................................. Example of Multi-pass with RPM ...................................................................................... Example of Three-Pass V-Groove Weld .............................................................................. Example Part ................................................................................................................. Part Program ................................................................................................................. Example of Restrictions in the RPM Recording Section of a Teach Pendant Program .................. Example of Restrictions in the Multi-pass Section of a Teach Pendant Program .......................... Program Example of Coordinated Motion with RPM and Multi-pass ........................................ Illustration of the RPM Recording Section of Example Program .............................................. Illustration of the Multi-pass Section of the Example Program ................................................ Simultaneous Tracking and MP/RPM .................................................................................. Normal Program for Track in Multi-Pass Section ................................................................... Example 1 of Restriction of Track in Multi-Pass Section ......................................................... Example 2 of Restriction of Track in Multi-Pass Section ......................................................... Root Pass with No Tilt Angle ............................................................................................. The 2nd Pass with 15 degree Tilt of Positioner....................................................................... The 3rd Pass with -15 degree Tilt of Positioner ...................................................................... Thru-Arc Seam Tracking ................................................................................................... Current Feedback Pattern of Centered Weld .......................................................................... Current Feedback Pattern of Weld Shifted to the Right ............................................................ TAST Vertical Tracking ..................................................................................................... TAST Weld Joint Configurations ......................................................................................... TAST Example Program .................................................................................................... Dead Band for Vertical Tracking ........................................................................................ Carry On Offset Function Example ..................................................................................... Carry On Offset Example Program ..................................................................................... Stationary Welding with 3 Motion Groups ........................................................................... TorchMate3 Touch Block .................................................................................................. Installing the Touch Block ................................................................................................ Aligning the Touch Plate .................................................................................................. Defining the Reference Position ........................................................................................ Verifying the Tool Frame ................................................................................................. Approach point 2 ............................................................................................................ Approach Point 3 ........................................................................................................... Teaching Approach Points ................................................................................................ Verifying the Tool Frame ................................................................................................. Moving the TCP to the Orient Origin Point of the TorchMate Tool Frame ................................. Multi-pass Weld with End of Pass Offsets 26–12 26–12 26–13 26–13 26–14 26–15 26–16 26–23 26–24 26–27 26–28 26–29 26–29 26–30 26–31 26–32 26–32 26–33 26–35 26–36 26–37 27–4 27–5 27–5 27–6 27–8 27–9 27–15 27–17 27–18 27–25 28–5 28–6 28–7 28–10 28–12 28–16 28–17 28–18 28–19 28–25 lv Contents Figure 28–11. Figure 28–12. Figure 28–13. Figure 28–14. Figure 28–15. MAROUAR9102171E REV D ........................................................................... Error Recovery Menu ...................................................................................................... TorchMate Error DO[ ] Timing ......................................................................................... TorchMate Touch Block Assembly FO-3234-600 ................................................................. TorchMate Touch Block Assembly FO-3234-600 ................................................................. Example Program Including Touch Sensing Routine .............................................................. Search Using Searches in One Direction .............................................................................. Search Using Offsets in Two Dimensions ............................................................................. Automatic Adjustment Program Example Figure 29–1. Figure 29–2. Figure 29–3. Figure 29–4. Search Using Two Search Motions in Two Different Directions to Obtain X and Y Offset and Rotation about Z ....................................................................................................... Figure 29–5. Touch Frame Used in a Program Figure 29–6. Figure 29–7. Figure 29–8. Figure 29–9. Figure 29–10. Figure 29–11. Figure 29–12. Figure 29–13. Figure 29–14. Figure 29–15. Figure 29–16. Figure 29–17. ....................................................................................... Simple Search Routine Using Searches in Two Directions ...................................................... Fillet Search in One Direction (x) with Rotation about Z ........................................................ Fillet Search in Two Directions (x and y) with Rotation about Z .............................................. Fillet Search in Three Directions (x, y, z) with Rotation about Z .............................................. V-Groove Search ............................................................................................................ OD/ID Search in Two Directions (X and Y) ........................................................................ Touch Sensing Motion Option Example .............................................................................. Points that Require Touching Up ....................................................................................... Simple Search Example Program ...................................................................................... One-Dimensional Search Ex. Prog. (Fillet/Lap, V-Groove) .................................................... Two Dimensional Search Example Program ........................................................................ Two Dimensional Search with Coordinated Motion Example Program (See and for illustrations) ................................................................................................................... First Illustration of Two Dimensional Search with Coordinated Motion Program Example ............ Second Illustration of Two Dimensional Search with Coordinated Motion Program Example ........................................................................................................................ Figure 29–20. Simple Search with Coordinated Motion Example Program .................................................... Figure 29–18. Figure 29–19. 28–33 28–36 28–38 28–42 28–43 29–4 29–8 29–9 29–10 29–11 29–17 29–18 29–19 29–19 29–20 29–20 29–29 29–31 29–32 29–33 29–33 29–34 29–35 29–35 29–36 ................... 29–37 Figure 29–21. Three Dimensional Search with Rotation Example Program (See for an illustration) Figure 29–22. Figure 29–23. Illustration of Three Dimensional Search with Rotation Program Example ................................ Part in Mastered Position and Offset Applied Illustration ....................................................... 29–37 29–39 Figure 29–24. Offset Value Illustration ................................................................................................... Part with One Touch Sense Start Position, 2, and Three Points along a Path, 5, 6, 7 ..................... Illustration of the Path when an Offset is Applied ................................................................. Offset Path Touch Up to Adjust Location of Points 6 and 7 ..................................................... New Master Touch Up Illustration ..................................................................................... Incorrect Touch Up of a Path ............................................................................................ Path Followed After Altering One Point ............................................................................. New Point Taught while Executing the Offset Path ............................................................... Multiple Searches can be Performed for Complex Shapes ...................................................... Illustration of Part Shape Change and the Effect on Multiple Searches Performed ....................... Moving a Search Start Position along the Search Direction ..................................................... 29–41 Figure 29–25. Figure 29–26. Figure 29–27. Figure 29–28. Figure 29–29. Figure 29–30. Figure 29–31. Figure 29–32. Figure 29–33. Figure 29–34. lvi 29–43 29–44 29–44 29–45 29–45 29–46 29–47 29–48 29–49 29–50 MAROUAR9102171E REV D Figure 29–35. Figure 29–36. Figure B–1. Figure B–2. Figure B–3. Figure C–1. Figure C–2. Contents .................. Simple Low Voltage Touch Sense Detection Circuit .............................................................. Cycle Power ..................................................................................................................... Cycle Power .................................................................................................................... Start Mode screen ............................................................................................................. Example of position when quick mastering J3 axis .................................................................. Example of position when quick mastering J5 axis .................................................................. Search Start Position moved to a New Location Off the Axis of the Search Direction 29–50 29–52 B–9 B–13 B–14 C–20 C–20 lvii List of Tables Table 1–1. Table 1–2. Table 2–1. Table 2–2. Table 2–3. Table 2–4. Table 2–5. Table 2–6. Table 2–7. Table 2–8. Table 2–9. Table 2–10. Table Table 2–11. 2–12. Table 2–13. Table Table 2–14. 2–15. Table Table Table 2–16. 2–17. 2–18. Table 2–19. Table Table Table 2–20. 2–21. 2–22. Table 2–23. Table Table Table 3–1. 5–1. 5–2. Table 5–3. Table Table 5–4. 5–5. Table 5–6. Table 6–1. ........................................................................................ Robot Servo Status ........................................................................................................... Touch Screen and Mouse Navigation ...................................................................................... Blanking and Dimming ...................................................................................................... Window Displays .............................................................................................................. TreeView Types ................................................................................................................ TreeView Keys ................................................................................................................. Browser Screen Keys ....................................................................................................... Favorites Screen Operations .............................................................................................. Browser Screen Keys ....................................................................................................... Navigation and Data Entry Keys ........................................................................................ Robot Motion Keys ......................................................................................................... Execution Keys ............................................................................................................... Editing Keys .................................................................................................................. ArcTool-Specific Keys ..................................................................................................... Help and Diagnostic Key .................................................................................................. FCTN Menu ................................................................................................................... Key Functions .............................................................................................................. Status Bar Display Items ................................................................................................... ..................................................................................................................................... HELP/DIAGNOSTICS Menu Items .................................................................................... Help/Diag Information Display Locations ............................................................................ Document Viewer Function Keys ......................................................................................... $UI_CONFIG.$recovermenu ............................................................................................. System Variable Settings .................................................................................................. Softkeys ............................................................................................................................ Jog Speed Values .............................................................................................................. LCD Indicators ................................................................................................................. Coordinate Systems ........................................................................................................... Jog Keys and PATH Jogging .............................................................................................. SubGroup Example ......................................................................................................... $JOG_GROUP[] System Variables ....................................................................................... Tool Frame Setup Screen Items ............................................................................................ Standard Operator Panel Buttons 1–11 1–15 2–8 2–11 2–15 2–20 2–20 2–22 2–23 2–25 2–30 2–33 2–34 2–35 2–36 2–37 2–37 2–38 2–58 2–59 2–60 2–61 2–64 2–71 2–87 3–7 5–3 5–5 5–6 5–10 5–17 5–22 6–8 lix Contents Table 6–2. Table 6–3. Table 6–4. Table 6–5. Table 6–6. Table 6–7. Table 6–8. Table 6–9. Table 6–10. Table 6–11. Table 6–12. Table 6–13. Table 6–14. Table 6–15. Table 6–16. Table 7–1. Table 7–2. Table 7–3. Table 7–4. Table 7–5. Table 7–6. Table 7–7. Table 7–8. Table Table 7–9. 7–10. Table 7–11. Table Table 7–12. 7–13. Table 7–14. Table Table 7–15. 7–16. Table 7–17. Table Table 7–18. 7–19. Table 7–20. Table 7–21. Table 7–22. Table Table 7–23. 7–24. Table 7–25. Table 7–26. lx MAROUAR9102171E REV D ............................................................. Tool Frame Setup Four Point DETAIL Screen Items .......................................................... Tool Frame Setup Six Point DETAIL Screen Items ................................................................ Tool Frame Setup Direct Entry DETAIL Screen Items ............................................................ User Frame Setup Screen Items .......................................................................................... User Frame Setup Three Point DETAIL Screen Items ............................................................. User Frame Setup Four Point DETAIL Screen Items .............................................................. User Frame Setup Direct Entry DETAIL Screen Items ............................................................ Jog Frame Setup Screen Items ........................................................................................... Jog Frame Setup Three Point DETAIL Screen Items .............................................................. Jog Frame Setup Direct Entry DETAIL Screen Items ............................................................. Cell Frame Setup Screen Items ............................................................................................ Cell Frame Setup Using Direct Entry .................................................................................... Cell Frame Copy Screen Items ............................................................................................ Cell Floor Setup Screen Items ............................................................................................. Available Logic Instructions Between Type A Motion Instructions ............................................. Instructions Unavailable Between A Type Motions but Available in Called Programs .................... Instructions Unavailable Between A Type Motion Instructions .................................................. Available Motion Options ................................................................................................... Major Unavailable Motion Options ...................................................................................... $MNDSP_POSCF Configuration Settings ............................................................................ Display Modes ................................................................................................................ Display Mode Examples ................................................................................................... Range of Register Values to Specify a Variable Motion Speed .................................................. Arc Start [..., ...] Instructions ............................................................................................ Arc End [..., ...] Instructions ............................................................................................. Weave {Pattern}[Hz,mm,s,s] ............................................................................................ Usable instruction of math function ..................................................................................... Background operation of math function ................................................................................ Data Types .................................................................................................................... Arithmetical Operators .................................................................................................... Logical Operators ........................................................................................................... Comparison Operators ..................................................................................................... Priority of Operators ....................................................................................................... Data Assignments .......................................................................................................... Mixed Logic Error Messages ............................................................................................ Background Logic Execution Modes .................................................................................. Background Logic Screen Items ........................................................................................ Background Logic Screen Operations ................................................................................. TC Online Instruction ..................................................................................................... Parameter Instructions ..................................................................................................... Tool Frame Setup Three Point DETAIL Screen Items 6–14 6–20 6–27 6–35 6–42 6–45 6–50 6–57 6–74 6–75 6–80 6–87 6–87 6–89 6–91 7–33 7–35 7–35 7–36 7–37 7–46 7–48 7–51 7–59 7–153 7–156 7–160 7–213 7–222 7–234 7–235 7–235 7–235 7–236 7–237 7–239 7–241 7–243 7–243 7–251 7–258 MAROUAR9102171E REV D Table 7–27. Table 7–28. Table 7–29. Table 7–30. Table 7–31. Table 7–32. Table 7–33. Table 7–34. Table 7–35. Table 7–36. Table 7–37. Table 7–38. Table 8–1. Table 8–2. Table 8–3. Table 8–4. Table 8–5. Table 8–6. Table 8–7. Table 8–8. Table Table 8–9. 8–10. Table 8–11. Table Table 8–12. 8–13. Table 8–14. Table Table 9–1. 9–2. Table 9–3. Table Table Table 9–4. 9–5. 9–6. Table 9–7. Table Table 10–1. 10–2. Table 10–3. Table 10–4. Table Table 10–5. 10–6. Table 10–7. Table 10–8. Contents ..................................................................................................... 7–258 String Parameter System Variables .................................................................................... 7–261 Instructions That Can Use AR[] ........................................................................................ 7–262 Instructions that can Use AR[] .......................................................................................... 7–269 Schedule and Robot Combinations .................................................................................... 7–290 SR[x]=R[y]..................................................................................................................... 7–302 R[x]=SR[y]..................................................................................................................... 7–302 SR[x]=R[y]+SR[z] ........................................................................................................... 7–302 SR[x]=SR[y]+R[z] ........................................................................................................... 7–302 R[x]=STRLEN SR[y]: ...................................................................................................... 7–303 R[x]=FINDSTR SR[y],SR[z] ............................................................................................. 7–304 SR[n]=SUBSTR SR[x],R[y],R[z]........................................................................................ 7–304 Rack 1 ............................................................................................................................ 8–5 Select Screen Items and Operations .................................................................................... 8–13 Paste Methods ................................................................................................................ 8–24 Program DETAIL Screen Items and Operations .................................................................... 8–35 Macro Command Screen Items .......................................................................................... 8–54 Application-Specific Teach Pendant User Keys ..................................................................... 8–55 Macro Command Assignments (ArcTool and HandlingTool) ................................................... 8–59 MANUAL Macros Screen Items ........................................................................................ 8–61 Troubleshoot Background Edit - Problem Cause and Remedy .................................................. 8–77 Permanent Program Storage States ....................................................................................... 8–81 Temporary Program Storage States ....................................................................................... 8–82 Load/Convert Times for 1,000 Point Program ......................................................................... 8–82 Storage Configuration Status and Settings .............................................................................. 8–84 Maximum Program Size for Typical CMOS Allocations ........................................................... 8–85 Tolerance Setup Items ...................................................................................................... 9–10 Test Cycle Conditions ...................................................................................................... 9–13 Test Cycle Arc Description ................................................................................................. 9–14 UTILITIES On The Fly Screen Items .................................................................................. 9–27 Program Select and Program Start ...................................................................................... 9–32 UTILITIES Prog Adj Screen Items ..................................................................................... 9–41 UTILITIES Prog Adj DETAIL Screen Items ........................................................................ 9–41 Production Setup Screen ................................................................................................... 10–4 RSR Setup Item Description .............................................................................................. 10–9 PNS Setup Item Description ............................................................................................. 10–16 Style Name Setup Items ................................................................................................... 10–20 Prog Select STYLE Setup DETAIL Screen Items ................................................................. 10–21 Prog Select OTHER DETAIL Screen Items ......................................................................... 10–24 SYSTEM Axis Limit Items .............................................................................................. 10–26 SETUP General Screen Items ........................................................................................... 10–33 Parameter Data Types lxi Contents Table 10–9. Table 10–10. Table 10–11. Table 10–12. Table 10–13. Table 10–14. Table 10–15. Table 10–16. Table 10–17. Table 10–18. Table 10–19. Table 10–20. Table 10–21. Table 10–22. Table 10–23. Table 10–24. Table 10–25. Table Table 10–26. 10–27. Table 10–28. Table Table 10–29. 10–30. Table 10–31. Table Table 10–32. 10–33. Table 10–34. Table Table 11–1. 11–2. Table 11–3. Table Table 11–4. 11–5. Table 11–6. Table Table Table 11–7. 11–8. 11–9. Table 11–10. Table 11–11. Table Table 11–12. 11–13. Table 11–14. Table 11–15. lxii MAROUAR9102171E REV D ................................................................................................... 10–33 $UALRM_SEV[n] Severity Values .................................................................................... 10–37 Setting/User Alarm Screen Items ....................................................................................... 10–38 Override Select Menu Listing ........................................................................................... 10–41 Password Levels ............................................................................................................ 10–43 SETUP Passwords Screen Items — Screen .......................................................................... 10–49 SETUP Passwords Screen Items — Screen .......................................................................... 10–50 Password Configuration Setup Items .................................................................................. 10–55 XML Command Syntax ................................................................................................... 10–56 Password Log Screen Items .............................................................................................. 10–70 Devices for Password Level Screen Permissions .................................................................. 10–73 Error Severity Table Items ............................................................................................... 10–80 Error Code Output Signal Definition ($ER_OUT_PUT.$out_num=1) ....................................... 10–85 Error Code Severity Definition ($ER_OUT_PUT.$out_num = 1) ............................................. 10–85 Program Control: DO[25] and DO[26] ............................................................................... 10–86 Motion Control: DO[27] and DO[28] ................................................................................. 10–86 MOTION PERFORMANCE Screen Items .......................................................................... 10–94 MOTION/PAYLOAD SET Screen Items ............................................................................ 10–97 MOTION/PAYLOAD ID Items ....................................................................................... 10–101 MOTION/ID POS1 ID Items .......................................................................................... 10–102 MOTION/ARMLOAD SET Items ................................................................................... 10–114 System Configuration Setup Screen Items ......................................................................... 10–115 Use PPABN Signal DETAIL Screen Items ........................................................................ 10–125 Default Logical Command DETAIL Screen Items .............................................................. 10–125 Output when waiting on Input DETAIL Screen Items .......................................................... 10–126 Hand Broken DETAIL Screen Items ................................................................................ 10–126 Teach Pendant Status Indicators ......................................................................................... 11–4 ArcTool Teach Pendant Status Indicators .............................................................................. 11–4 Standard Operator Panel Status Indicators ............................................................................ 11–5 Clock Screen Items .......................................................................................................... 11–6 Execution History Screen .................................................................................................. 11–7 Maintenance Reminder Main Menu Items.............................................................................. 11–9 General Setup Items ......................................................................................................... 11–11 Maintenance Reminder Items ............................................................................................. 11–12 Maintenance Record items ................................................................................................. 11–20 Items in Maintenance Record File ....................................................................................... 11–21 Memory Status .............................................................................................................. 11–24 Notifications Screen Items ................................................................................................. 11–27 DATA Position Reg Screen Items ...................................................................................... 11–29 POSITION Joint Screen Items .......................................................................................... 11–33 POSITION User Screen Items .......................................................................................... 11–33 Brake On Hold Settings MAROUAR9102171E REV D Table 11–16. Table 11–17. Table 11–18. Table 11–19. Table 11–20. Table 11–21. Table 11–22. Table 11–23. Table 11–24. Table 11–25. Table 11–26. Table 11–27. Table 11–28. Table 11–29. Table 11–30. Table 11–31. Table 11–32. Table 11–33. Table 11–34. Table 11–35. Table Table 11–36. 11–37. Table 11–38. Table Table 11–39. 11–40. Table 11–41. Table Table 11–42. 11–43. Table 11–44. Table Table 11–45. 11–46. Table 11–47. Table Table Table 11–48. 11–49. 11–50. Table 11–51. Table 11–52. Table Table 11–53. 11–54. Table 12–1. Table 12–2. Contents ........................................................................................ Power Consumption Monitor Items ..................................................................................... Process Axes Status Items ................................................................................................. Program Timer Listing Screen Items .................................................................................. Program Timer DETAIL Screen Items ................................................................................ DATA Registers Screen Items ........................................................................................... Status 1 Screen Items ...................................................................................................... Servo Alarm Status 1; Address: FC80h (L-axis), FCC0h (M-axis) ........................................... Alarm Terminology ........................................................................................................ Description of Alarm Combinations ................................................................................... Servo Alarm Status 2; Address: FC81h (L-axis), FCC1h (M-axis) ........................................... Alarm Terminology ........................................................................................................ Status 2 Screen Items ...................................................................................................... Pulse Coder Alarm Status ................................................................................................ Alarm Terminology ........................................................................................................ Pulse Screen Items ......................................................................................................... Torque Monitor Items ..................................................................................................... Tracking Screen Items ..................................................................................................... Disturbance Torque Screen Items ...................................................................................... Servo Diagnosis Main Screen Items ................................................................................... Diagnosis Reducer Screen Items ....................................................................................... Diagnosis Over Heat Screen Items ..................................................................................... Diagnosis Torque Screen Items ......................................................................................... Diagnosis Disturbance Screen Items .................................................................................. Diagnosis OVC Screen Items ........................................................................................... Diagnosis Last Detection Screen Items ............................................................................... Stop Signals .................................................................................................................. Data String Reg Screen Items ............................................................................................. System Timer Screen Items .............................................................................................. STATUS Version ID SOFTWARE Screen Items ................................................................... STATUS Version ID CONFIG Screen Items ........................................................................ STATUS Version ID MOTOR Screen Items ......................................................................... STATUS Version ID SERVO Screen Items .......................................................................... STATUS Version ID UPDATES Screen Item ......................................................................... STATUS Version ID ORDER FILE Screen Item .................................................................... Indicator States ................................................................................................................ SETUP Visual Diagnostics Screen Settings Setup Items .......................................................... SETUP Visual Diagnostics Indicator Setup Items ................................................................... Weld Status Items ........................................................................................................... Ports P1 - P4 ................................................................................................................. Default Communications Settings for Devices ..................................................................... POSITION World Screen Items 11–33 11–35 11–37 11–38 11–38 11–40 11–43 11–43 11–43 11–44 11–44 11–45 11–46 11–46 11–46 11–47 11–48 11–49 11–50 11–51 11–53 11–54 11–55 11–55 11–56 11–57 11–58 11–60 11–63 11–73 11–74 11–74 11–75 11–75 11–75 11–80 11–83 11–88 11–98 12–12 12–12 lxiii Contents MAROUAR9102171E REV D SETUP Port Init Screen Items ........................................................................................... Table 12–3. Table 12–4. File Output Using PRINT Table 12–5. System variables to control filtering ..................................................................................... 12–36 Table 12–6. $PGINP_FLTR values ...................................................................................................... 12–36 Table 12–7. Types of Files .................................................................................................................. 12–38 Table 12–8. Robot Data File Groups..................................................................................................... 12–41 Table 12–9. 12–43 Table 12–10. Table 12–11. Table 12–12. Table 12–13. Table 12–14. Table 12–15. Table 12–16. Table 12–17. Table 12–18. Table 12–19. Table 12–20. Table 12–21. Table 13–1. Table Table 13–2. 13–3. Table 13–4. Table Table 13–5. 13–6. Table 13–7. Table Table 13–8. 13–9. Table 13–10. Table Table 13–11. 13–12. Table 13–13. Table Table Table 13–14. 13–15. 13–16. Table 13–17. Table 13–18. Table Table 13–19. 13–20. Table 13–21. Table 13–22. ......................................................................... System Files .................................................................................................................. Application Files ............................................................................................................ Error Log Files .............................................................................................................. File Types Listings and Descriptions .................................................................................. Back Up Operations ........................................................................................................ File Types ..................................................................................................................... Auto Update Operations Items ............................................................................................ Valid SAVE Function Screens ........................................................................................... FILE Memory Screen Items ............................................................................................. Automatic Backup Setup Items ......................................................................................... Viewing ASCII Program Loader Error Screen Items ............................................................. Viewing ASCII Program Loader Error Screen Operations ...................................................... Process I/O Board Default Digital Input and Output Configuration ............................................ I/O Hardware Eligible for Default UOP Assignment ............................................................... Default UOP Input Configuration for Process I/O Boards ........................................................ Default UOP Output Configuration for Process I/O Boards ...................................................... Rack Assignments for Different Kinds of I/O ........................................................................ Slot Assignments for Different Kinds of I/O ......................................................................... I/O Analog In/Out Monitor Screen Items ............................................................................ I/O Analog In/Out Configure Screen Items .......................................................................... I/O Digital In/Out Monitor Screen Items ............................................................................. I/O Digital In/Out Configure Screen Items .......................................................................... I/O Digital In/Out DETAIL Screen Items ............................................................................ I/O Group In/Out Monitor Screen Items .............................................................................. I/O Group In/Out Configure Screen Items ........................................................................... CONFIG Screen I/O Status .............................................................................................. Range Setting Limitations ................................................................................................ Custom I/O Setup Items ................................................................................................... Communication Speed Settings for Switches Q and H ........................................................... Unit Number Settings of Switches 16, 8, 4, 2, and 1 .............................................................. I/O Robot In/Out Screen Items .......................................................................................... I/O Robot In/Out DETAIL Screen Items ............................................................................. I/O SOP In/Out Screen Items ............................................................................................ Standard Operator Panel Input Signals ................................................................................ lxiv 12–15 ................................................................................................ 12–34 Altering the FILE MENU [VIEW] Display 12–46 12–47 12–48 12–50 12–51 12–55 12–58 12–65 12–67 12–68 12–86 12–87 13–7 13–8 13–8 13–8 13–9 13–9 13–11 13–12 13–13 13–14 13–16 13–16 13–17 13–21 13–21 13–28 13–32 13–33 13–38 13–38 13–42 13–42 MAROUAR9102171E REV D Table 13–23. Table 13–24. Table 13–25. Table 13–26. Table 13–27. Table 13–28. Table 13–29. Table 13–30. Table 13–31. Table 13–32. Table 13–33. Table 13–34. Table 13–35. Table 13–36. Table 13–37. Table 13–38. Table 13–39. Table 13–40. Table 13–41. Table 13–42. Table Table 14–1. 14–2. Table 14–3. Table Table 14–4. 14–5. Table 14–6. Table Table 14–7. 14–8. Table 14–9. Table Table 14–10. 14–11. Table 14–12. Table Table Table 14–13. 14–14. 14–15. Table 14–16. Table 14–17. Table Table 14–18. 14–19. Table 14–20. Table 14–21. Contents ............................................................................. 13–43 Process I/O Assignments ................................................................................................. 13–46 Kinds of Process I/O available on HandlingTool ................................................................... 13–46 Model A I/O Assignments ................................................................................................ 13–46 Model B I/O Assignments ................................................................................................ 13–47 Terminal I/O Assignments ................................................................................................ 13–47 I/O Link Device List Screen Items ..................................................................................... 13–48 Device Names ............................................................................................................... 13–49 Devices that have Access to the DETAIL Screen .................................................................. 13–50 FANUC I/O Link Specifications ........................................................................................ 13–53 FANUC I/O Link Ordering Information .............................................................................. 13–53 LED Status Descriptions .................................................................................................. 13–54 I/O InterConnect Screen Items .......................................................................................... 13–63 Relationship Between the MODE SELECT Switch Signals and Modes of Operation ................... 13–66 I/O UOP In/Out Monitor Screen Items ............................................................................... 13–73 I/O UOP In/Out Configure Screen Items ............................................................................. 13–73 UOP UI to Process I/O Board DI ....................................................................................... 13–75 UOP Input Signals .......................................................................................................... 13–76 UOP Outputs to Process I/O Board DO .............................................................................. 13–80 UOP Output Signals ....................................................................................................... 13–82 Monitoring Functions ....................................................................................................... 14–8 Weld Restart Function Items ............................................................................................. 14–10 Scratch Start Function Items ............................................................................................. 14–11 Retry touch retry function .................................................................................................. 14–13 Weld Speed Function Items .............................................................................................. 14–14 Other Functions ............................................................................................................. 14–14 Weld Equipment Setup Items ............................................................................................ 14–16 I/O Weld Screen Items .................................................................................................... 14–22 I/O Weld Config Screen Items ........................................................................................... 14–22 Arc Welding Input Signals ............................................................................................... 14–25 Arc Welding Output Signals ............................................................................................. 14–28 Signal Descriptions .......................................................................................................... 14–41 Weld Schedule Items ....................................................................................................... 14–64 Weld Process Data Items ................................................................................................. 14–68 Weave Setup Items ......................................................................................................... 14–95 Weave Schedule Items ................................................................................................... 14–102 DATA Weave Sched Screen Items ................................................................................... 14–102 Weave Schedule DETAIL Display ................................................................................... 14–103 DATA Weave Sched DETAIL Screen Items ....................................................................... 14–104 Weld Controller Program Output Settings ......................................................................... 14–124 SETUP Weld Prog Screen Items ...................................................................................... 14–127 Standard Operator Panel Output Signals lxv Contents Table 14–22. Table 14–23. Table 14–24. Table 14–25. Table 14–26. Table 14–27. Table 15–1. Table 15–2. Table 16–1. Table 16–2. Table 16–3. Table 16–4. Table 16–5. Table 16–6. Table 16–7. Table 16–8. Table 16–9. Table 16–10. Table 16–11. Table 16–12. Table Table 16–13. 16–14. Table 16–15. Table Table 16–16. 16–17. Table 16–18. Table Table 16–19. 16–20. Table Table 16–21. 16–22. Table 16–23. Table 16–24. Table Table Table 16–25. 16–26. 16–27. Table 16–28. Table 16–29. Table Table 16–30. 16–31. Table 16–32. Table 16–33. lxvi MAROUAR9102171E REV D ...................................................................................... 14–130 Example of Command References for a Power Wave .......................................................... 14–131 .................................................................................................................................. 14–145 Power Wave Troubleshooting ......................................................................................... 14–155 LED Status Description ................................................................................................. 14–158 LED Status Descriptions ................................................................................................ 14–160 Cell Interface Input Signals ............................................................................................... 15–3 Cell Interface Output Signals ............................................................................................. 15–6 Arc Start Height Adjust Setup Items ..................................................................................... 16–9 Arc Welding Analog Meter Main Screen Setup Items.............................................................. 16–20 .................................................................................................................................... 16–21 Description of Additional Contents by Arc Abnormal Monitor Function is Enabled ...................... 16–24 Auto Backward Exit Macros .............................................................................................. 16–27 Auto Exit Setup Items ....................................................................................................... 16–27 Auto Backward Exit System Variables ................................................................................. 16–29 Error Recovery Features .................................................................................................. 16–35 Error Recovery Setup Items .............................................................................................. 16–39 Auto Error Recovery Manual Function Screen Items ............................................................. 16–50 Auto Error Recovery Manual Function Detail Screen Items .................................................... 16–51 Description of system variable (Following settings are necessary for each Local stop line) ............. 16–62 .................................................................................................................................... 16–63 Center Finder Menu Items ................................................................................................ 16–75 Center Finder Motion SETUP Menu .................................................................................. 16–77 Troubleshooting Information ............................................................................................ 16–82 Collision Guard Setup Items ............................................................................................. 16–87 State of Condition Monitoring .......................................................................................... 16–95 Program Monitor Menu Items ........................................................................................... 16–99 System Monitor Menu Items .......................................................................................... 16–100 Continuous Turn SETUP Screen Items ............................................................................. 16–112 $CN_USR_GRP.$cn_step_enb System Variable ................................................................. 16–118 Continuous Turn Common Problems ................................................................................ 16–123 Gear Ratio Information for FANUC Robots ........................................................................ 16–128 Tool Offset Screen Items ................................................................................................ 16–152 User Frame Offset Screen Items ...................................................................................... 16–156 Tracked Cycle Time Categories ....................................................................................... 16–159 Cycle Time Tracking Screen Items .................................................................................. 16–160 Data Monitor SETUP Screen Menu Items ......................................................................... 16–171 Data Monitor SETUP Screen Menu Items — ArcTool and DispenseTool Only .......................... 16–172 Data Monitor ITM DETAIL Screen Items ......................................................................... 16–173 Data Monitor Schedule Menu Items ................................................................................. 16–177 Distance Before Specification ......................................................................................... 16–184 Power Wave Equipment Models MAROUAR9102171E REV D Table 16–34. Table 16–35. Table 16–36. Table 16–37. Table 16–38. Table 16–39. Table 16–40. Table 16–41. Table 16–42. Table 16–43. Table 16–44. Table 16–45. Table 16–46. Table 16–47. Table 16–48. Table 16–49. Table 16–50. Table 16–51. Table 16–52. Table 16–53. Table Table 16–54. 16–55. Table 16–56. Table Table 16–57. 16–58. Table 16–59. Table Table 16–60. 16–61. Table 16–62. Table Table 16–63. 16–64. Table 16–65. Table Table Table 16–66. 16–67. 16–68. Table 16–69. Table 16–70. Table Table 16–71. 16–72. Table 16–73. Table 16–74. Contents ....................................................................... $DB_CONDTYP ......................................................................................................... Distance Before Alarms ................................................................................................. DISTBF_TTS for a CALL Program Action ....................................................................... Distance Before System Variables ................................................................................... .................................................................................................................................. Easy Teach Suite Main Setup Screen Items ....................................................................... Auto Path Smoothing Menu Items ................................................................................... ENHANCED MIRROR IMAGE Screen Items ................................................................... Mastering Methods ........................................................................................................ Mastering Method Selection ............................................................................................ Group Mask Exchange Screen Items ................................................................................ Group Mask Exchange Troubleshooting ........................................................................... TCP Cartesian position ................................................................................................... Joint angles ................................................................................................................... System Variables ........................................................................................................... Interface Panel Setup Screen ............................................................................................ Button Display Based on I/O ............................................................................................ Button Detail Setup Screen Items ...................................................................................... Button Status ................................................................................................................ Operation Condition Setup Screen Items ............................................................................ Push Button Setup Items ................................................................................................. .................................................................................................................................. Push Button Lamp Setup Items ......................................................................................... 2 Contact Point Switch Setup Items ................................................................................... Lamp Status Signal Items ................................................................................................ .................................................................................................................................. Digital Switch Setup Items .............................................................................................. Digital Display Items ...................................................................................................... Miscellaneous Setting Screen Items ................................................................................... SETUP Menu Utility Screen Items .................................................................................. Prompt box msg Menus Screen Items ............................................................................... Prompt msg menus DETAIL Screen Items ........................................................................ Prompt Box Yes/No Menu Screen Items ........................................................................... Prompt Box Yes/No Menu DETAIL Screen Items ............................................................... Select from a list Screen Items ........................................................................................ List Menu DETAIL Screen Items .................................................................................... Status Menu Variable Detail Information .......................................................................... Status Menu Screen Items .............................................................................................. Status Menu DETAIL Screen Items ................................................................................. Status Menu Sub-DETAIL Screen Items ........................................................................... Distance Before Signal Output Instructions 16–187 16–188 16–190 16–191 16–201 16–204 16–207 16–207 16–216 16–243 16–244 16–246 16–248 16–251 16–251 16–252 16–261 16–271 16–274 16–275 16–279 16–282 16–284 16–285 16–287 16–289 16–290 16–291 16–294 16–295 16–307 16–309 16–309 16–315 16–315 16–321 16–322 16–329 16–331 16–331 16–331 lxvii Contents Table 16–75. Table 16–76. Table 16–77. Table 16–78. Table 16–79. Table 16–80. Table 16–81. Table 16–82. Table 16–83. Table 16–84. Table 16–85. Table 16–86. Table 16–87. Table 16–88. Table 16–89. Table 16–90. Table 16–91. Table 16–92. Table 16–93. Table 16–94. Table Table 16–95. 16–96. Table 16–97. Table Table 16–98. 16–99. Table 16–100. Table 16–101. Table 16–102. Table 16–103. Table 16–104. Table 16–105. Table 16–106. Table 16–107. Table 16–108. Table 16–109. Table 16–110. Table 16–111. Table 16–112. Table 16–113. Table 16–114. Table 16–115. lxviii MAROUAR9102171E REV D .............................................................. Operator Entry Menu Screen Items .................................................................................. Operator Entry Menu DETAIL Screen Items ..................................................................... Operator Entry Menu Sub-DETAIL Screen Items ............................................................... MIRROR IMAGE SHIFT Screen Items ............................................................................ Motion group DO Screen Items ....................................................................................... Events Recorded by Log Book ........................................................................................ System Variables used for Filtering .................................................................................. Alarm Filtering Example ............................................................................................... System Variables for Screen Filtering ............................................................................... Items in Robot Homepage HMI iPendant............................................................................ Elements in the iRProgrammer Editor ................................................................................ Keys in Toolbar ............................................................................................................. Keys in Status Bar.......................................................................................................... Items in Position Table .................................................................................................... Tree Menu .................................................................................................................... Jogging iPendant (JITP) Keys .......................................................................................... SHIFT Key State ........................................................................................................... Tag.............................................................................................................................. Parameter of STARTMODE Tag ....................................................................................... Parameters of ETHERNET Tag ........................................................................................ Parameter of PENDANT Tag ........................................................................................... Parameters of CONFIG Tag ............................................................................................. Items in DCS Mode Select menu....................................................................................... Items in DCS Mode Select menu....................................................................................... Safety I/O for Mode Select .............................................................................................. Position BumpBox Schedule Items .................................................................................. Position BumpBox I/O Items .......................................................................................... Bump Frames ................................................................................................................ Basic Process Axes setup menu items ................................................................................ Process Axes Status Items ............................................................................................... Gear Ratio .................................................................................................................... User Scale .................................................................................................................... Group Input Scale .......................................................................................................... Input Signals ................................................................................................................. Output Signals............................................................................................................... Reference Position LISTING Screen Items ........................................................................ Reference Position DETAIL Screen Items ......................................................................... Selecting Resume Offset Type ........................................................................................ Resume Offset Setup Menu Screen Items .......................................................................... Send Event Macro Description ........................................................................................ Operator Entry Menu Variable Detail Information 16–339 16–341 16–341 16–341 16–349 16–368 16–374 16–382 16–383 16–384 16–388 16–392 16–393 16–394 16–397 16–400 16–403 16–408 16–411 16–412 16–413 16–414 16–414 16–417 16–422 16–425 16–435 16–443 16–449 16–460 16–466 16–469 16–469 16–470 16–470 16–470 16–472 16–472 16–478 16–478 16–480 MAROUAR9102171E REV D Table 16–116. Table 16–117. Table 16–118. Table 16–119. Table 16–120. Table 16–121. Table 16–122. Table 16–123. Table 16–124. Table 16–125. Table 16–126. Table 16–127. Table 16–128. Table 16–129. Table 16–130. Table 16–131. Table 16–132. Table 16–133. Table 16–134. Table 16–135. Table 16–136. Table 16–137. Table 16–138. Table 16–139. Table 16–140. Table 16–141. Table 16–142. Table 16–143. Table 16–144. Table 16–145. Table 16–146. Table 16–147. Table 16–148. Table 16–149. Table 16–150. Table 17–1. Table 17–2. Table Table 17–3. 17–4. Table 17–5. Table 17–6. Contents ......................................................................................... Send SysVar Macro Description ...................................................................................... Get Data Macro Description ........................................................................................... Request Menu Macro Description .................................................................................... Description of Each Tag .................................................................................................. RSI_CREATE_I () Elements ............................................................................................ RSI_DELETE_I () Elements ............................................................................................ RSI_DELETE_I () Elements ............................................................................................ RSI_ON_I () Elements .................................................................................................... RSI_OFF_I () Elements .................................................................................................. RSI_WRXML_I () Elements ............................................................................................ Shape Setup Information ................................................................................................ SETUP DETAIL Screen and UTILITIES DETAIL Screen Common Items .............................. Circle DETAIL Items (Circle-Specific Items) ..................................................................... Hexagon DETAIL Items (Hexagon-Specific Items) ............................................................. Rectangle DETAIL Items (Rectangle-Specific Items) .......................................................... Slot DETAIL Items (Slot-Specific Items) .......................................................................... Keyhole DETAIL Items (Keyhole-Specific Items) .............................................................. Pommel DETAIL Items (Pommel-Specific Items) ............................................................... Cust Shape DETAIL Screen Items ................................................................................... Limitations for Custom Shapes ....................................................................................... UTILITIES Shape Gen DETAIL Screens Additional Items ................................................... DATA Servo Screen Items ............................................................................................. Joint Soft Float Schedule Setup Items ............................................................................... Cartesian Soft Float Setup Items ..................................................................................... Pushout Setup Items ..................................................................................................... Insertion Softness Settings ............................................................................................. Face-to-Face Softness Settings ........................................................................................ Contouring Softness Settings ............................................................................................ Face Matching Softness Settings ....................................................................................... Common Space I/O ...................................................................................................... Space Check Function Screen Items ................................................................................. .................................................................................................................................. Teach Pendant Shim Screen Items and Function Keys ......................................................... HISTORY Screen Items ................................................................................................ SETUP Sensor Frame Direct Entry Screen Items .................................................................. SERVO-ROBOT Schedule Screen Items ............................................................................. SETUP Sensor Frame Ten Point Screen Items ...................................................................... Servo-Robot Sensor Setup items ....................................................................................... Sensor Schedule Items .................................................................................................... Ratio Settings ................................................................................................................ Send Data Macro Description 16–482 16–483 16–484 16–485 16–489 16–492 16–492 16–493 16–494 16–495 16–496 16–499 16–502 16–505 16–507 16–509 16–511 16–512 16–514 16–517 16–517 16–521 16–528 16–541 16–543 16–545 16–555 16–556 16–557 16–558 16–563 16–564 16–567 16–583 16–586 17–11 17–14 17–18 17–24 17–27 17–31 lxix Contents MAROUAR9102171E REV D Table 17–7. Detection Log Data ......................................................................................................... Table 17–8. Table 17–9. Table 17–10. Table 18–1. Table 19–1. Table 19–2. Table 19–3. Table 20–1. Table 20–2. Table 21–1. Table 21–2. ......................................................................................................... 17–53 .................................................................................................... 17–77 Multi-Pass System Variables ............................................................................................ 17–84 ..................................................................................................................................... 18–5 Setting the Weld Profile ...................................................................................................... 19–4 Serial Number Setting ........................................................................................................ 19–5 Error Handling Actions ...................................................................................................... 19–6 AVC Setup Condition SCHEDULE Screen .......................................................................... 20–7 AVC Setup Conditions ..................................................................................................... 20–7 Standard Cable Arrangement for Group 2 and 3 Detached Jog Stations ...................................... 21–4 Detach Jog SETUP Menu Items ......................................................................................... 21–5 Table 21–3. Customized Cable Arrangement for Group 2 and 3 Detached Jog Stations (Enter Your Values) ........................................................................................................................... Table 21–4. Table 23–1. Table 23–2. Table Table 23–3. 23–4. Table Table 23–5. 23–6. Table 23–7. Table Table 23–8. 23–9. Table 23–10. Table Table 23–11. 23–12. Table 23–13. Table Table 23–14. 23–15. Table 23–16. Table Table 23–17. 23–18. Table 23–19. Table 23–20. Table 23–21. Table Table 23–22. 23–23. Table 23–24. Table 23–25. Table 23–26. ......................................................... 21–12 Relation of iRCalibration Options ....................................................................................... 23–3 Calibration Hardware ...................................................................................................... 23–11 iRCalibration Master Set Schedule Screen Description .......................................................... 23–13 iRCalibration Master Set Detection Schedule Description ...................................................... 23–15 Program Creation Screen Items for Standard iRCalibration Master Set Programs ........................ 23–23 Robot Calibration Program Taught Points ........................................................................... 23–27 Troubleshooting ............................................................................................................. 23–40 Calibration Hardware ...................................................................................................... 23–44 iRCalibration Mastering Schedule Screen Description ........................................................... 23–46 iRCalibration Mastering Detection Schedule Description ....................................................... 23–49 Program Creation Screen Items for Standard iRCalibration Master Recovery Programs ............... 23–57 Robot Calibration Program Taught Points ........................................................................... 23–61 Troubleshooting ............................................................................................................. 23–76 Calibration Mode Descriptions .......................................................................................... 23–82 iRCalibration TCP Set UTOOL Schedule Item Description .................................................... 23–82 iRCalibration TCP Set Detection Schedule Description ......................................................... 23–84 New TCP Program Points ................................................................................................ 23–92 iRCalibration TCP Set Fit Errors ..................................................................................... 23–105 Calibration Mode Descriptions ......................................................................................... 23–112 iRCalibration TCP Shift UTOOL Schedule Item Description .................................................. 23–112 iRCalibration TCP Shift Detection Schedule Description ..................................................... 23–114 New TCP Program Points .............................................................................................. 23–122 iRCalibration TCP Shift Fit Errors ................................................................................... 23–135 Frame Schedule Detail Schedule Setup ............................................................................. 23–142 iRCalibration Frame Shift Detection Schedule Description ................................................... 23–144 Troubleshooting iRCalibration Frame Shift ....................................................................... 23–168 lxx 17–35 Offset Type Search RPM System Variables Operation Modes and their Effect on Detached Jogging 21–7 MAROUAR9102171E REV D Table 24–1. Table 25–1. Table 25–2. Table 25–3. Table 25–4. Table 25–5. Table 26–1. Table 26–2. Table 26–3. Table 27–1. Table 27–2. Table 28–1. Table 28–2. Table 28–3. Table 28–4. Table 28–5. Table 29–1. Table 29–2. Table 29–3. Table 29–4. Table Table A–1. A–2. Table A–3. Table Table A–4. A–5. Table A–6. Table Table A–7. A–8. Table A–9. Table Table A–10. A–11. Table A–12. Table Table Table B–1. B–2. B–3. Table B–4. Table B–5. Table Table B–6. C–1. Table C–2. Contents ..................................................................................................................................... ArcTool Predefined Inputs ................................................................................................ ArcTool Predefined Outputs ............................................................................................. TEST CYCLE Arc Screen Items ....................................................................................... Coupling Equipment Setup Items ...................................................................................... Arc Start Synchronization Programming Example ................................................................ RPM System Variables ..................................................................................................... How Changes to the Position Register Affect the Weld ........................................................... Setup system variables ...................................................................................................... TAST Setup Condition SCHEDULE Screen ......................................................................... TAST Setup Conditions DETAIL Screen ............................................................................ Tool Frame Setup Options ................................................................................................ TorchMate Setup Items .................................................................................................... When to Use a TorchMate Adjustment ............................................................................... DATA TorchMate Screen Items ......................................................................................... Automatic Error Recovery Methods ................................................................................... Touch Frame Setup Items ................................................................................................. Search Pattern and Valid Pattern Type ................................................................................ Touch Sensing Schedule Setup Items ................................................................................. Touch I/O Setup Screen Items ........................................................................................... Startup Methods ............................................................................................................... Alarm Log Screen ............................................................................................................ Application Alarm Screen .................................................................................................. Comm Log Screen ............................................................................................................ Fault Recovery Screen ...................................................................................................... Motion Alarm Screen ........................................................................................................ System Alarm Screen ........................................................................................................ Haptic Alarm Log .............................................................................................................. ERROR FACILITY CODES FOR ALL APPLICATION-TOOLS ............................................. Severity Descriptions ....................................................................................................... Effects of Error Severity ................................................................................................... MANUAL OT Release Items ............................................................................................ Startup Methods ............................................................................................................... Controlled Start Options for All Software Applications ........................................................... Controlled Start Options for ArcTool .................................................................................. Handling Config Menu Options .......................................................................................... Hardware Diagnostic Functions ......................................................................................... Backup and Restore Controller Items .................................................................................. SYSTEM Master/Cal Items ................................................................................................ Setting for “Quick mastering for single axis” .......................................................................... 24–5 25–14 25–14 25–18 25–19 25–29 26–7 26–9 26–34 27–10 27–10 28–11 28–20 28–30 28–34 28–37 29–12 29–21 29–22 29–55 A–3 A–4 A–4 A–4 A–4 A–4 A–5 A–5 A–8 A–13 A–15 A–17 B–2 B–11 B–12 B–12 B–16 B–21 C–3 C–19 lxxi Safety FANUC America Corporation is not and does not represent itself as an expert in safety systems, safety equipment, or the specific safety aspects of your company and/or its work force. It is the responsibility of the owner, employer, or user to take all necessary steps to guarantee the safety of all personnel in the workplace. The appropriate level of safety for your application and installation can best be determined by safety system professionals. FANUC America Corporation therefore, recommends that each customer consult with such professionals in order to provide a workplace that allows for the safe application, use, and operation of FANUC America Corporation systems. According to the industry standard ANSI/RIA R15-06, the owner or user is advised to consult the standards to ensure compliance with its requests for Robotics System design, usability, operation, maintenance, and service. Additionally, as the owner, employer, or user of a robotic system, it is your responsibility to arrange for the training of the operator of a robot system to recognize and respond to known hazards associated with your robotic system and to be aware of the recommended operating procedures for your particular application and robot installation. Ensure that the robot being used is appropriate for the application. Robots used in classified (hazardous) locations must be certified for this use. FANUC America Corporation therefore, recommends that all personnel who intend to operate, program, repair, or otherwise use the robotics system be trained in an approved FANUC America Corporation training course and become familiar with the proper operation of the system. Persons responsible for programming the system-including the design, implementation, and debugging of application programs-must be familiar with the recommended programming procedures for your application and robot installation. The following guidelines are provided to emphasize the importance of safety in the workplace. CONSIDERING SAFETY FOR YOUR ROBOT INSTALLATION Safety is essential whenever robots are used. Keep in mind the following factors with regard to safety: • The safety of people and equipment • Use of safety enhancing devices • Techniques for safe teaching and manual operation of the robot(s) • Techniques for safe automatic operation of the robot(s) • Regular scheduled inspection of the robot and workcell • Proper maintenance of the robot lxxiii Safety MAROUAR9102171E REV D Keeping People Safe The safety of people is always of primary importance in any situation. When applying safety measures to your robotic system, consider the following: • External devices • Robot(s) • Tooling • Workpiece Using Safety Enhancing Devices Always give appropriate attention to the work area that surrounds the robot. The safety of the work area can be enhanced by the installation of some or all of the following devices: • Safety fences, barriers, or chains • Light curtains • Interlocks • Pressure mats • Floor markings • Warning lights • Mechanical stops • EMERGENCY STOP buttons • DEADMAN switches Setting Up a Safe Workcell A safe workcell is essential to protect people and equipment. Observe the following guidelines to ensure that the workcell is set up safely. These suggestions are intended to supplement and not replace existing federal, state, and local laws, regulations, and guidelines that pertain to safety. • Sponsor your personnel for training in approved FANUC America Corporation training course(s) related to your application. Never permit untrained personnel to operate the robots. • Install a lockout device that uses an access code to prevent unauthorized persons from operating the robot. • Use anti-tie-down logic to prevent the operator from bypassing safety measures. • Arrange the workcell so the operator faces the workcell and can see what is going on inside the cell. lxxiv MAROUAR9102171E REV D Safety • Clearly identify the work envelope of each robot in the system with floor markings, signs, and special barriers. The work envelope is the area defined by the maximum motion range of the robot, including any tooling attached to the wrist flange that extend this range. • Position all controllers outside the robot work envelope. • Never rely on software or firmware based controllers as the primary safety element unless they comply with applicable current robot safety standards. • Mount an adequate number of EMERGENCY STOP buttons or switches within easy reach of the operator and at critical points inside and around the outside of the workcell. • Install flashing lights and/or audible warning devices that activate whenever the robot is operating, that is, whenever power is applied to the servo drive system. Audible warning devices shall exceed the ambient noise level at the end-use application. • Wherever possible, install safety fences to protect against unauthorized entry by personnel into the work envelope. • Install special guarding that prevents the operator from reaching into restricted areas of the work envelope. • Use interlocks. • Use presence or proximity sensing devices such as light curtains, mats, and capacitance and vision systems to enhance safety. • Periodically check the safety joints or safety clutches that can be optionally installed between the robot wrist flange and tooling. If the tooling strikes an object, these devices dislodge, remove power from the system, and help to minimize damage to the tooling and robot. • Make sure all external devices are properly filtered, grounded, shielded, and suppressed to prevent hazardous motion due to the effects of electro-magnetic interference (EMI), radio frequency interference (RFI), and electro-static discharge (ESD). • Make provisions for power lockout/tagout at the controller. • Eliminate pinch points . Pinch points are areas where personnel could get trapped between a moving robot and other equipment. • Provide enough room inside the workcell to permit personnel to teach the robot and perform maintenance safely. • Program the robot to load and unload material safely. • If high voltage electrostatics are present, be sure to provide appropriate interlocks, warning, and beacons. • If materials are being applied at dangerously high pressure, provide electrical interlocks for lockout of material flow and pressure. lxxv Safety MAROUAR9102171E REV D Staying Safe While Teaching or Manually Operating the Robot Advise all personnel who must teach the robot or otherwise manually operate the robot to observe the following rules: • Never wear watches, rings, neckties, scarves, or loose clothing that could get caught in moving machinery. • Know whether or not you are using an intrinsically safe teach pendant if you are working in a hazardous environment. • Before teaching, visually inspect the robot and work envelope to make sure that no potentially hazardous conditions exist. The work envelope is the area defined by the maximum motion range of the robot. These include tooling attached to the wrist flange that extends this range. • The area near the robot must be clean and free of oil, water, or debris. Immediately report unsafe working conditions to the supervisor or safety department. • FANUC America Corporation recommends that no one enter the work envelope of a robot that is on, except for robot teaching operations. However, if you must enter the work envelope, be sure all safeguards are in place, check the teach pendant DEADMAN switch for proper operation, and place the robot in teach mode. Take the teach pendant with you, turn it on, and be prepared to release the DEADMAN switch. Only the person with the teach pendant should be in the work envelope. Warning Never bypass, strap, or otherwise deactivate a safety device, such as a limit switch, for any operational convenience. Deactivating a safety device is known to have resulted in serious injury and death. • Know the path that can be used to escape from a moving robot; make sure the escape path is never blocked. • Isolate the robot from all remote control signals that can cause motion while data is being taught. • Test any program being run for the first time in the following manner: Warning Stay outside the robot work envelope whenever a program is being run. Failure to do so can result in injury. — Using a low motion speed, single step the program for at least one full cycle. — Using a low motion speed, test run the program continuously for at least one full cycle. — Using the programmed speed, test run the program continuously for at least one full cycle. • Make sure all personnel are outside the work envelope before running production. lxxvi MAROUAR9102171E REV D Safety Staying Safe During Automatic Operation Advise all personnel who operate the robot during production to observe the following rules: • Make sure all safety provisions are present and active. • Know the entire workcell area. The workcell includes the robot and its work envelope, plus the area occupied by all external devices and other equipment with which the robot interacts. • Understand the complete task the robot is programmed to perform before initiating automatic operation. • Make sure all personnel are outside the work envelope before operating the robot. • Never enter or allow others to enter the work envelope during automatic operation of the robot. • Know the location and status of all switches, sensors, and control signals that could cause the robot to move. • Know where the EMERGENCY STOP buttons are located on both the robot control and external control devices. Be prepared to press these buttons in an emergency. • Never assume that a program is complete if the robot is not moving. The robot could be waiting for an input signal that will permit it to continue activity. • If the robot is running in a pattern, do not assume it will continue to run in the same pattern. • Never try to stop the robot, or break its motion, with your body. The only way to stop robot motion immediately is to press an EMERGENCY STOP button located on the controller panel, teach pendant, or emergency stop stations around the workcell. Staying Safe During Inspection When inspecting the robot, be sure to • Turn off power at the controller. • Lock out and tag out the power source at the controller according to the policies of your plant. • Turn off the compressed air source and relieve the air pressure. • If robot motion is not needed for inspecting the electrical circuits, press the EMERGENCY STOP button on the operator panel. • Never wear watches, rings, neckties, scarves, or loose clothing that could get caught in moving machinery. • If power is needed to check the robot motion or electrical circuits, be prepared to press the EMERGENCY STOP button, in an emergency. • Be aware that when you remove a servomotor or brake, the associated robot arm will fall if it is not supported or resting on a hard stop. Support the arm on a solid support before you release the brake. lxxvii Safety MAROUAR9102171E REV D Staying Safe During Maintenance When performing maintenance on your robot system, observe the following rules: • Never enter the work envelope while the robot or a program is in operation. • Before entering the work envelope, visually inspect the workcell to make sure no potentially hazardous conditions exist. • Never wear watches, rings, neckties, scarves, or loose clothing that could get caught in moving machinery. • Consider all or any overlapping work envelopes of adjoining robots when standing in a work envelope. • Test the teach pendant for proper operation before entering the work envelope. • If it is necessary for you to enter the robot work envelope while power is turned on, you must be sure that you are in control of the robot. Be sure to take the teach pendant with you, press the DEADMAN switch, and turn the teach pendant on. Be prepared to release the DEADMAN switch to turn off servo power to the robot immediately. • Whenever possible, perform maintenance with the power turned off. Before you open the controller front panel or enter the work envelope, turn off and lock out the 3-phase power source at the controller. • Be aware that an applicator bell cup can continue to spin at a very high speed even if the robot is idle. Use protective gloves or disable bearing air and turbine air before servicing these items. • Be aware that when you remove a servomotor or brake, the associated robot arm will fall if it is not supported or resting on a hard stop. Support the arm on a solid support before you release the brake. Warning Lethal voltage is present in the controller WHENEVER IT IS CONNECTED to a power source. Be extremely careful to avoid electrical shock. HIGH VOLTAGE IS PRESENT at the input side whenever the controller is connected to a power source. Turning the disconnect or circuit breaker to the OFF position removes power from the output side of the device only. • Release or block all stored energy. Before working on the pneumatic system, shut off the system air supply and purge the air lines. • Isolate the robot from all remote control signals. If maintenance must be done when the power is on, make sure the person inside the work envelope has sole control of the robot. The teach pendant must be held by this person. • Make sure personnel cannot get trapped between the moving robot and other equipment. Know the path that can be used to escape from a moving robot. Make sure the escape route is never blocked. lxxviii MAROUAR9102171E REV D Safety • Use blocks, mechanical stops, and pins to prevent hazardous movement by the robot. Make sure that such devices do not create pinch points that could trap personnel. Warning Do not try to remove any mechanical component from the robot before thoroughly reading and understanding the procedures in the appropriate manual. Doing so can result in serious personal injury and component destruction. • Be aware that when you remove a servomotor or brake, the associated robot arm will fall if it is not supported or resting on a hard stop. Support the arm on a solid support before you release the brake. • When replacing or installing components, make sure dirt and debris do not enter the system. • Use only specified parts for replacement. To avoid fires and damage to parts in the controller, never use nonspecified fuses. • Before restarting a robot, make sure no one is inside the work envelope; be sure that the robot and all external devices are operating normally. KEEPING MACHINE TOOLS AND EXTERNAL DEVICES SAFE Certain programming and mechanical measures are useful in keeping the machine tools and other external devices safe. Some of these measures are outlined below. Make sure you know all associated measures for safe use of such devices. Programming Safety Precautions Implement the following programming safety measures to prevent damage to machine tools and other external devices. • Back-check limit switches in the workcell to make sure they do not fail. • Implement “failure routines” in programs that will provide appropriate robot actions if an external device or another robot in the workcell fails. • Use handshaking protocol to synchronize robot and external device operations. • Program the robot to check the condition of all external devices during an operating cycle. lxxix Safety MAROUAR9102171E REV D Mechanical Safety Precautions Implement the following mechanical safety measures to prevent damage to machine tools and other external devices. • Make sure the workcell is clean and free of oil, water, and debris. • Use DCS (Dual Check Safety), software limits, limit switches, and mechanical hardstops to prevent undesired movement of the robot into the work area of machine tools and external devices. KEEPING THE ROBOT SAFE Observe the following operating and programming guidelines to prevent damage to the robot. Operating Safety Precautions The following measures are designed to prevent damage to the robot during operation. • Use a low override speed to increase your control over the robot when jogging the robot. • Visualize the movement the robot will make before you press the jog keys on the teach pendant. • Make sure the work envelope is clean and free of oil, water, or debris. • Use circuit breakers to guard against electrical overload. Programming Safety Precautions The following safety measures are designed to prevent damage to the robot during programming: • Establish interference zones to prevent collisions when two or more robots share a work area. • Make sure that the program ends with the robot near or at the home position. • Be aware of signals or other operations that could trigger operation of tooling resulting in personal injury or equipment damage. • In dispensing applications, be aware of all safety guidelines with respect to the dispensing materials. Note Any deviation from the methods and safety practices described in this manual must conform to the approved standards of your company. If you have questions, see your supervisor. lxxx QUICK REFERENCE ArcTool Quick Reference Flow Chart Figure 1. ArcTool Quick Reference Flow Chart lxxxi Chapter 1 OVERVIEW AND STARTUP Contents Chapter 1 1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.3.10 1.3.11 1.3.12 1.3.13 1.3.14 1.4 1.5 ...................................................................... ................................................................................................ ROBOT ....................................................................................................... Robot Overview ......................................................................................... Robot Models ............................................................................................. Extended Axes .......................................................................................... Torches ...................................................................................................... CONTROLLER ........................................................................................... Controller Overview .................................................................................. Standard Operator Panel .......................................................................... MODE SELECT Switch ............................................................................. Robot Stop Variation ................................................................................. User Operator Panel (UOP) ....................................................................... Emergency Stop Devices .......................................................................... Communications ...................................................................................... Shielding Package .................................................................................... Input/Output (I/O) ..................................................................................... Remote I/O Interfaces ............................................................................... Motion ...................................................................................................... Extended Axes ......................................................................................... Controller Backplane ................................................................................ Memory .................................................................................................... FANUC SOFTWARE ................................................................................. STARTUP (AND POWER OFF) OF THE ROBOT ........................................ OVERVIEW AND STARTUP 1–1 OVERVIEW 1–2 1–2 1–2 1–3 1–3 1–4 1–5 1–5 1–9 1–11 1–15 1–15 1–16 1–16 1–17 1–17 1–18 1–18 1–20 1–20 1–20 1–22 1–23 1–1 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D 1.1 OVERVIEW The robot system consists of the robot (mechanical unit), the SYSTEM R-30iB Plus or R-30iB Mate controller, referred to as the R-30iB Plus controller, or R-30iB Mate, controller, or robot controller, and FANUC software. Due to the variation of robotic applications, FANUC makes a variety of robot mechanical units that will work with the R-30iB Mate Plus controller. Figure 1–1 displays an example robot system: the robot and controller. Your system layout might vary depending on the kind of equipment you are using. Each of the items called out in Figure 1–1 are described in more detail further in this chapter. Figure 1–1. Example System Overview 1.2 ROBOT 1.2.1 Robot Overview A robot is a series of mechanical links driven by servomotors. The area at each junction between the links is a joint, or axis . The first three axes make up the major axes. The last three axes are the minor axes. A robot is classified by the number of linear and rotational axes. 1–2 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP The major axes (1, 2, and 3) and minor axes (4, 5, and 6) move the tooling at the end of the robot arm. The movements are rotational twisting, up-and-down, and side-to-side motions. The major axes and minor axes are shown in Figure 1–2 . Figure 1–2. Major and Minor Axes 1.2.2 Robot Models A variety of FANUC robot models can be used. Contact your FANUC representative for more information about the kinds of robots you can use. 1.2.3 Extended Axes Extended axes are the available axes controlled by the controller beyond the standard number of axes. There is a limit of three extended axes per motion group. The controller can control a maximum of 72axes. HandlingTool applications generally use extended axes on jobs that require a sliding axis, rail tracking, or line tracking. Refer to Section 1.3.12 for more information about extended axes. 1–3 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D If you are using ArcTool, extended axes can include the following: • Positioner Tables • Head-tail Stock Positioners • Ferris Wheel Positioners • Tracks • Combinations 1.2.4 Torches The welding torch is attached to the end of the robot arm and performs the work of welding. The ArcTool software controls the torch and the weld equipment so you will achieve the proper weld. A safety clutch or breakaway is usually used with the torch. If a collision occurs, the safety clutch causes a hand broken fault to be sent to the controller. The hand broken fault emergency stops the robot and stops the torch from being damaged. Figure 1–3 shows a typical arc welding torch. Figure 1–3. Typical Arc Welding Torch Mount Different kinds of welding require different torches. The ArcTool system is capable of • Gas Metal Arc Welding (GMAW) • Flux-Cored Arc Welding (FCAW) • Plasma Arc Welding (PAW) • Plasma Arc Cutting (PAC) • Gas Tungsten Arc Welding (GTAW) 1–4 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP • Oxy-Fuel Cutting (OFC) 1.3 CONTROLLER 1.3.1 Controller Overview The controller contains the power supply, operator controls, control circuitry, and memory that direct the operation and motion of the robot and communication with external devices. You control the robot using a teach pendant or an operator panel. Some systems contain an optional user operator panel (UOP) that provides a remote user interface to the controller. The motion system directs robot motion for all robot axes, including any extended axes and up to seven additional motion groups. Controller memory stores the software in addition to any user-defined programs and data. The controller is shown in Figure 1–4 , Figure 1–5 , and Figure 1–6 . 1–5 1. OVERVIEW AND STARTUP Figure 1–4. R-30iB Plus A-Cabinet Controller 1–6 MAROUAR9102171E REV D MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP Figure 1–5. R-30iB Plus B-Cabinet Controller 1–7 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D Figure 1–6. R-30iB Mate Plus Controller The controller can communicate with a variety of devices. Its I/O system provides an interface between the system software through I/O signals to external devices. Remote I/O interfaces allow the controller to send signals to a remote device over a single cable. 1–8 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP 1.3.2 Standard Operator Panel The operator panel contains buttons, keyswitches, and connector ports and is part of the controller. Refer to the “Status Displays and Indicators” section of your application-specific Setup and Operations Manual for information on operator panel status indicators. See Figure 1–7 and Figure 1–8 . See Figure 1–7 , Figure 1–8 and Figure 1–9 . Figure 1–7. R-30iB Plus A Cabinet Operator Panel 1–9 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D Figure 1–8. R-30iB Plus B Cabinet Operator Panel Figure 1–9. R-30iB Mate Operator Panel CYCLE START Button with LED (Green) Emergency Stop Button Mode Switch (3-mode switch) 1–10 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP Table 1–1. Standard Operator Panel Buttons ITEM DESCRIPTION EMERGENCY STOP BUTTON This button stops the robot immediately. Turn the Emergency stop button clockwise to release it. FAULT RESET BUTTON This button releases the alarm state. CYCLE START BUTTON This button starts the currently selected program This button is lit when the program is being started. The FAULT RESET Button is not available on the R-30iB Mate Plus Controller. 1.3.3 MODE SELECT Switch The MODE SELECT switch is a keyswitch installed on the controller operator panel. You use the MODE SELECT switch to select the most appropriate way to operate the robot, depending on the conditions and situation. The operation modes are AUTO, T1, and T2. See Figure 1–10 . Figure 1–10. Mode Select Switch When you change the mode using the MODE SELECT switch, the robot is paused and a message indicating which mode is selected is displayed at the top of the teach pendant screen. This message will be overwritten by status or error messages during operation. The mode that is currently selected is displayed immediately below the first message, and remains displayed. For example, if T1 mode is selected, you will see a screen similar to the following: 1–11 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D SYST-038 Operation mode T1 Selected TEST1 LINE 9999 T1 PAUSED UTILITIES Hints JOINT 10 % You can lock the keyswitch in the AUTO or T1 modes by removing the key from the switch. You cannot remove the key from the keyswitch when the key is in the T2 position. Note If you change the mode from T1 or T2 to AUTO and the DEADMAN switch is pressed, a system error will occur and the mode will not change to AUTO until the DEADMAN switch is released Note When an invalid combination is detected by the MODE SELECT switch, programs can be activated only from the teach pendant and the robot cannot operate at speeds of more than 250 mm/s. If a program is being executed at that time, it is forcibly terminated. Refer to the description of the SYST-037 error message for more information. The operation modes you can select using the MODE SELECT switch are described in the following sections. T1 (<250mm/s): Test Mode 1 Program activation - Programs can be activated from the teach pendant only. However, programs can be activated only when the teach pendant is enabled and when the DEADMAN switch is in the center position. Robot speed • During Cartesian jogging, Cartesian speed is less than 250 mm/sec and joint speed is less than 10% of the maximum joint speed. • During joint jogging, face plate speed is less than 250 mm/sec. • During program test run at 100% override, the robot's speed will be the program speed if the program speed is below theT1 mode safe speed . T1 mode safe speed is defined as 250 mm/sec for TCP and 10% of maximum joint speeds. If the program speed is above the T1 mode safe speed, robot motion will be executed at the T1 mode safe speed. With lower overrides, the robot speed is reduced proportionally according to the override setting. Safety equipment - The safety fence is bypassed. Locking the mode - You can lock the switch in T1 mode by removing the key from the switch. Possible errors 1–12 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP • If you turn the teach pendant ON/OFF switch to OFF when the switch is in T1 mode, the robot stops and an error message is displayed. To remove the error, turn the teach pendant ON/OFF switch to ON and press RESET. • If you have set the singularity stop system variable, $PARAM_GROUP[n].$T1T2_SNGSTP, to TRUE, the robot will stop at singularity points while in T1 mode. If you change the value of this variable, you must turn the controller off and then on again for the change to take effect. T2 (100%): Test Mode 2 Program activation - Programs can be activated from the teach pendant only. However, programs can be activated only when the teach pendant is enabled and the DEADMAN switch is in the center position. Robot speed • During Cartesian jogging, Cartesian speed is less than 250 mm/sec and joint speed is less than 10% of the maximum joint speed. • During joint jogging, face plate speed is less than 250 mm/sec. • During program test run, full program speed is allowed, and the override can be changed from low to 100%. Safety equipment - The safety fence is bypassed. Locking the mode - You cannot lock the switch in T2. You cannot remove the key from the switch in this mode. Possible errors • If you turn the teach pendant ON/OFF switch to OFF when the switch is in T2 mode, the robot stops and an error message is displayed. To remove the error, turn the teach pendant ON/OFF switch to ON and press RESET. • If you have set the singularity stop system variable, $PARAM_GROUP[n].$T1T2_SNGSTP, to TRUE, the robot will stop at singularity points while in T2 mode. If you change the value of this variable, you must turn the controller off then on again for the change to take effect. AUTO: Automatic Mode Program activation - You must select AUTO mode and satisfy all other required conditions to enable the activation of programs from remote devices connected through the peripheral I/O. When the switch is in AUTO mode, you cannot start programs using the teach pendant. Refer to the “Test Cycle” section in the “Testing a Program and Running Production” chapter. 1–13 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D Robot speed - The robot can be operated at the specified maximum speed. Safety equipment - The safety fence is monitored. If the safety fence is opened during program execution ( Figure 1–11 ): • Case [1] - If the robot deceleration time is less than the hardware timer, then the robot will decelerate to a stop. This is a controlled stop. When the robot stops, servo power OFF is initiated. • Case [2] - If the robot deceleration time is greater than the hardware timer, then the robot will decelerate for the duration of the hardware timer and then stop abruptly when the hardware timer expires. When the hardware timer expires, servo power is turned OFF. Figure 1–11. Effect of Opening the Safety Fence While in AUTO Mode The system variable $PARAM_GROUP.$LC_QST P_ENB defines whether the condition specified by the condition monitor (condition handler) function will be triggered during robot deceleration. By default, the condition, if it exists, is triggered during deceleration ($LC_QSTP_ENB = TRUE). When $LC_QSTP_ENB = FALSE, a condition, if it exists, is not triggered during deceleration. Refer to the System Software Reference Manual for more information on these system variables Locking the mode - You can lock the switch in AUTO mode by removing the key from the switch. Possible errors • If you turn the teach pendant ON/OFF switch to ON when in AUTO mode, the robot stops and an error message is displayed. To remove the error, turn the teach pendant ON/OFF switch OFF and press RESET. • If you have set the singularity stop system variable, $PARAM_GROUP[n].$AUTO_SNGSTP, to FALSE, the robot will pass through singularity points while in AUTO mode. If you change the value of this variable, you must cycle power for the change to take effect. 1–14 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP 1.3.4 Robot Stop Variation When the EMERGENCY STOP button on the operator panel or teach pendant is pressed, the robot stops immediately. An emergency stop condition can be created not only when the EMERGENCY STOP button is pressed, but also by a combination of operation mode selection, teach pendant ON/OFF switch, DEADMAN switch, and safety fence open and close. Refer to Table 1–2 . Note If the DEADMAN switch is fully pressed, robot motion will not be allowed. This is the same as when the DEADMAN switch is released. Table 1–2. Robot Servo Status Mode TP-ON/OFF Switch DEADMAN Switch Fence SERVO Status Motion Possible AUTO ON pressed open OFF No close ON No open OFF No close OFF No open OFF No close ON Yes open OFF No close ON Yes open ON Yes close ON Yes open OFF No close OFF No open OFF No close OFF No open OFF No close OFF No released or pressed extremely firmly OFF pressed released or pressed extremely firmly T1 or T2 ON pressed released or pressed extremely firmly OFF pressed released or pressed extremely firmly 1.3.5 User Operator Panel (UOP) Your system might be equipped with a user operator panel (UOP). A UOP is a customized operator panel that is wired to the controller. It can be a custom control panel, a cell controller, or a host computer. Your company should provide the information necessary to operate this panel. 1–15 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D 1.3.6 Emergency Stop Devices Your FANUC America Corporation robot has the following emergency stop devices. • Two emergency stop buttons (one installed on the operator panel and one on the teach pendant) • External emergency stop (input signal) When the EMERGENCY STOP button is pressed, the robot stops immediately in all cases. The external emergency stop outputs or inputs the emergency stop signal for peripheral devices (such as a safety fence or gate). The signal terminal is on the controller and inside the operator panel. 1.3.7 Communications The controller has the capability of serial communication using: • RS-232-C which can be used for — DEC VT-220 terminal — IBM PC compatibles — Debug monitor Refer to Chapter 12 PROGRAM AND FILE MANIPULATION for more information about setting up the RS-232-C serial ports. The controller also has the capability of using standard TCP/IP and UDP/IP protocols. FANUC America Corporation-supplied options are as follows: • FTP • Internet Connectivity and Customization • PC Interface • Cimplicity/HMI • User Socket Messaging In addition, the following I/O products are available: • DeviceNet Interface • CC-link • Ethernet/IP • Ethernet Global Data • FL-NET • Interbus 1–16 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP • Modbus/TCP • Profibus DP • ProfiNet 1.3.8 Shielding Package The shielding package option is required for all robots that operate in a high frequency welding environment. This high frequency is associated with the following kinds of processes: • Gas Tungsten Arc Welding (GTAW) • Plasma Arc Welding(PAW) • Plasma Arc Cutting(PAC) The shielding package option can be used in an existing Arc Welding System, and consists of: • Shielded motor covers • Ferrite coil for weld interface cable • Ground plate for pulse coder cables 1.3.9 Input/Output (I/O) The I/O system provides the interface between the controller, teach pendant, robot, and any other external device in your workcell. Controller I/O can consist of the following kinds of I/O: • User Operator Panel (UOP) Inputs (UI) • User Operator Panel (UOP) Outputs (UO) • Standard Operator Panel (SOP) Inputs (SI) • Standard Operator Panel (SOP) Outputs (SO) • Robot Inputs (RI) • Robot Outputs (RO) • Digital Inputs (DI) • Digital Outputs (DO) • Group Inputs (GI) • Group Outputs (GO) • Analog Inputs (AI) • Analog Outputs (AO) 1–17 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D These kinds of I/O are provided by devices, including • CC-link • Distributed Modular I/O (ArcTool and PaintTool only) • DeviceNet • Ethernet Global Data (EGD) • Ethernet/IP • Interbus • Modbus/TCP • Modular I/O (Model A and Model B) • Process I/O (option) • Profibus-DP • ProfiNet Note that not all Tools support all of these options. Refer to the Setup and Operations Manual for each product for more information. The quantity of I/O can change, except for RI/RO, UOP, and SOP I/O signals, which are fixed. The number of RI and RO signals can vary slightly depending on the number of axes in your system. 1.3.10 Remote I/O Interfaces The controller has the capability to use certain signals from a remote device. These signals can include • UOP signals • Safety fence • RSR and PNS • External Emergency stop 1.3.11 Motion The motion system is used to control robot motion. The motion system regulates the characteristics of robot movement including path trajectory, acceleration/deceleration, termination and speed of the robot. In robotic applications, single segment motion is the movement of the tool center point (TCP) from an initial position to a desired destination position. The TCP is the point on the end-of-arm tooling at which the work is to be done. 1–18 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP Motion Type There are four different types of motion: linear, circular, joint, and arc. You use these motion types to perform certain tasks. For example, you use linear motion if the robot must move in a straight line between two positions. You use circular motion or arc motion when the positions must be along the arc of a circle. Joint motion is generally the motion type used at each position when it is not important how the robot moves from position to position. Note Joint motion and arc motion are not allowed in Line Tracking. Termination Type and Speed Termination type can be specified as fine and continuous. Speed can be specified in either length (mm/sec, cm/min, inch/min), percent, degrees of angle units, or length of time to execute a move. Motion Groups The controller optionally allows you to create up to eight motion groups. By default, the first motion group is a robot arm. Additional motion groups can be set up to perform tasks that are executed simultaneously with those of the robot. Each motion group can contain up to a maximum of nine axes. The total number of axes cannot exceed 72. Motion groups are independent, but a maximum of two motion groups can perform Cartesian coordinated linear or circular interpolated motion within a single program. The controller can support • Up to four full kinematics devices (robot mechanical units ) • Up to eight motion groups • Up to 72 axes — Up to 36 axes can be supported on the Main CPU PCB. — Up to 24 axes can be supported on an Auxiliary Axis PCB. — Up to 2 auxiliary axis PCBs can be supported. In some cases multiple robot followers will be present in a robot program. If the part paths are identical or mirrored (i.e. a motion segment on the first follower robot and the second, etc. are the same length), all the follower robots will be executing coordinated motion. In practice, there are small path differences between the follower robots, so the follower with the longest segment will dictate the time for the move AND will be exactly coordinated with the leader. The other follower robots will execute at a lower speed than the programmed speed. 1–19 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D 1.3.12 Extended Axes Extended axes are the available axes controlled by the controller beyond the standard number of robot axes. Depending on your system setup, many applications use extended axes on jobs that require a rotary, sliding axis, rail tracking, opening devices, or line tracking. For the controller: • Up to four full kinematics devices (robot mechanical units) are supported on one controller • Non-robot motion groups of one to four axes can be defined. The maximum number includes extended axes. This includes General Positioner, Basic Positioner, and Independent Axis devices. • One to three extended axes can be added to a motion group. — The extended axes cannot be used independently of the motion group. — Each extended axis adds a position data field (E1, E2, E3) to the motion group data. — The Index axis device is one axis by definition and the Arc Positioner device is a two axes motion group device. Neither of these can have additional axes installed. • You cannot exceed nine axes per robot motion group; you cannot exceed four axes per non-robot motion group. If you are using ArcTool, welding applications generally use extended axes on jobs that require a head-tail stock (1 axis) or tables (2–3 axes). 1.3.13 Controller Backplane A 4-slot backplane is available on the controller. The 4-slot backplane comes equipped with the following: • Power supply PCB — One wide mini slot • Main PCB — Two mini slots • Two full-size slots 1.3.14 Memory There are three kinds of controller memory: • Dynamic Random Access Memory (DRAM) • A limited amount of battery-backed static/random access memory (SRAM) 1–20 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP • Flash Programmable Read Only Memory (FROM) In addition, the controller is capable of storing information externally. DRAM DRAM memory is volatile. Memory contents do not retain their stored values when power is removed. DRAM memory is also referred to as temporary memory (TEMP). The system software is executed in DRAM memory. KAREL programs and most KAREL variables are loaded into DRAM and executed from here also. Note Even though DRAM variables are in volatile memory, you can control their value at startup. Any time that a the program .VR or .PC file is loaded, the values in DRAM for that program are set to the value in the .VR file. This means that there is not a requirement to re-load the VR file itself at every startup to set initial values. If the value of that variable changes during normal operation it will revert to the value it was set to the last time the .VR or .PC file was loaded. If you want the DRAM variables to be uninitialized at start up you can use the IN UNINIT_DRAM clause on any variable you want to insure is uninitialized at startup. You can use the %UNINITDRAM directive to specify that all the variables in a program are to be uninitialized at startup. If you have a SHADOW variables and DRAM variables in the same KAREL program, there is a possibility that the power up settings of the DRAM variables could change without loading a .PC/.VR File. In this case the programmer must pay particular attention to the reliance of KAREL software on a particular setting of a DRAM variable at startup. Specifically, the DRAM startup values will always retain the values that they had at the end of controlled start. If SHADOW memory is full, the DRAM startup values could be set during normal system operation. SRAM SRAM memory is nonvolatile. Memory contents retain their stored values when power is removed. SRAM memory is also referred to as CMOS or as permanent memory (PERM). The TPP memory pool (used for teach pendant programs) is allocated from PERM. KAREL programs can designate variables to be stored in CMOS. A portion of SRAM memory can be defined as a user storage device called RAM Disk (RD:). Flash memory (FROM) FROM memory is nonvolatile. Memory contents retain their stored values when power is removed. FROM is used for permanent storage of the system software. FROM is also available for user storage as the FROM device (FR:). SHADOW Shadow memory provides the same capabilities as SRAM. Any values set in shadow are non-volatile and will maintain their state through power cycle. Shadow memory is intended for data which tends to 1–21 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D be static. Storing dynamic variables in shadow memory, such as FOR loop indexes or other rapidly changing data, is not efficient. Figure 1–12. Controller Memory External Storage You can back up and store files on external devices. You can use the following devices: • Memory card • Ethernet via FTP • USB Memory Stick 1.4 FANUC SOFTWARE The FANUC software works in conjunction with the robot and the controller to allow you to: • Set up information required for the application • Program your application • Test your program 1–22 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP • Run production • Display and monitor process information Other tools such as program and file management capabilities help you to maintain your system before, during, and after the production stage. 1.5 STARTUP (AND POWER OFF) OF THE ROBOT Turning on the robot provides power to the robot and controller. This section contains information and procedures to turn the robot on and off. Note For more information on various startup methods, see Section B.1 . Warning Lethal voltage is present in the controller WHENEVER IT IS CONNECTED to a power source. Be extremely careful to avoid electrical shock. Turning the disconnect or circuit breaker to the OFF position removes power from the output side of the device only. High voltage is always present at the input side whenever the controller is connected to a power source. Use Procedure 1-1 to turn on the robot. Use Procedure 1-2 to turn off the robot. Use Procedure B-5 to cycle controller power. Caution Your plant might require additional inspections before turning on power to the robot. To help ensure safe operation, you should familiarize yourself with the guidelines for your particular installation before you turn on the robot. Procedure 1-1 Turning On the Robot Conditions • All personnel and unnecessary equipment are out of the workcell. Steps 1. Visually inspect the robot, controller, workcell, and the surrounding area. During the inspection make sure all safeguards are in place and the safeguarded space is clear of personnel. 1–23 1. OVERVIEW AND STARTUP MAROUAR9102171E REV D 2. Turn the power disconnect circuit breaker on the operator panel to ON. Procedure 1-2 Turning Off the Robot Steps 1. If a program is running or if the robot is moving, press the HOLD key on the teach pendant. 2. Perform any shutdown procedures specific to your installation. 3. Turn the disconnect circuit breaker to OFF. Warning Lethal voltage is present in the controller WHENEVER IT IS CONNECTED to a power source. Be extremely careful to avoid electrical shock. Turning the power disconnect circuit breaker to the OFF position removes power from the output side of the device only. High voltage is always present at the input side whenever the controller is connected to a power source. Procedure 1-3 Cycling Power from a Powered-up Controller Note For R-30iB Mate Plus controllers, power must be manually switched off and then on. Conditions • The controller is plugged in and is working properly. • The robot is powered on and in a Cold or Hot start state. • The REMOTE/LOCAL setup item in the System Configuration Menu is set to LOCAL. • The teach pendant is enabled. • You are not using an external robot connection. This is only available on the teach pendant. 1. Press FCTN. 2. Select CYCLE POWER. You will see a screen like the one shown below. 1–24 MAROUAR9102171E REV D 1. OVERVIEW AND STARTUP Figure 1–13. Cycle Power 3. Press ENTER. You will see a screen similar to the following. 4. Press YES. Controller power will cycle off and back on. 1–25 Chapter 2 iPENDANT OPERATIONS Contents ........................................................................ 2–1 2.1 OVERVIEW.................................................................................................. 2–3 2.2 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.4 TEACH PENDANT SWITCHES .................................................................... SCREEN NAVIGATION ................................................................................ Touch/Non-Touch Screen ........................................................................... Screen Backlighting .................................................................................. Zoom ......................................................................................................... Related View Menu .................................................................................... Maximize/Restore ...................................................................................... Window Display ......................................................................................... Browser Guidelines ................................................................................. Changing Focus ....................................................................................... Color Setup .............................................................................................. TEACH PENDANT KEYS ............................................................................ 2–4 2–6 2–6 2–10 2–11 2–12 2–12 2–14 2–21 2–26 2–27 2–28 2.5 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 HAPTIC iPENDANT .................................................................................... Overview .................................................................................................... Hardware/Software Requirements, Application Tools................................ Testing the Haptic iPendant ....................................................................... Configuring the Haptic iPendant................................................................ Haptic Log ................................................................................................. Common Haptic Functions ........................................................................ Arc Haptic Functions ................................................................................. 2–39 2–39 2–40 2–41 2–42 2–44 2–44 2–52 2.6 STATUS ...................................................................................................... 2.6.1 Status Bar Displays .................................................................................. 2.6.2 Status indicators ...................................................................................... 2.6.3 LEDs ........................................................................................................ 2.6.4 Display Equip ............................................................................................ 2–57 2–57 2–59 2–59 2–59 2.7 HELP .......................................................................................................... 2.7.1 MORE INFO ................................................................................................ 2–60 2–60 Chapter 2 iPENDANT OPERATIONS 2–1 2. iPENDANT OPERATIONS 2.7.2 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.8.10 2.8.11 2–2 MAROUAR9102171E REV D ............................................................................... ADDITIONAL iPENDANT FUNCTIONS ........................................................ Document Viewer....................................................................................... Menu Favorites ......................................................................................... Menu History ............................................................................................ Multi-Pane Edit ......................................................................................... Other iPendant Guidelines ....................................................................... Popup Menus ............................................................................................ Screen Customizations ............................................................................. Software Keyboard .................................................................................... Top Menu ................................................................................................... Universal Serial Bus (USB) Port ............................................................. User Views .............................................................................................. Help and Diagnostics 2–60 2–62 2–62 2–65 2–69 2–69 2–70 2–71 2–72 2–88 2–99 2–106 2–106 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS 2.1 OVERVIEW The iPendant is the primary means with which to interact with the robot. The R-30iB Plus iPendant is the standard teach pendant style. The iPendant provides • Teach pendant keys designed to make the FANUC software easy to use • iHMI Guides for setting up your robot • Tutorials to teach you how to perform functions such as creating and executing a program, moving (jogging) the robot • A USB Port • An ON/OFF switch, Enabling Devices (DEADMAN switches), and an EMERGENCY STOP button • A touch screen interface (option) • A color graphics interface • Popup menus • Multiple screens displayed simultaneously • Internet/intranet access (option) • Integrated Help and Diagnostics • User-customized help and web pages • Customized displays • A 3D graphics processing engine to display the robot, tooling, parts and other cell components in 3D desktop quality graphics 2–3 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–1. iPendant 2.2 TEACH PENDANT SWITCHES The iPendant includes keys that are used to display software menus, select options from the teach pendant menus, help you program, move the robot, and perform specific functions. If you are using PalletTool, you do not have to perform special programming functions unless you want to add custom features to your application. DEADMAN Switch Two DEADMAN switches are located on the back of the teach pendant, and are used as enabling devices. Each DEADMAN switch is a three-position switch. When the teach pendant is enabled, this switch allows robot motion only while a DEADMAN switch is gripped in the middle position. If the DEADMAN switch is completely gripped, or is released, no motion is allowed. Press the DEADMAN switch in the middle position to run the robot. See Figure 2–2 . 2–4 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–2. Teach Pendant Enabling Device (DEADMAN Switches) Teach Pendant Enable Switch (ON/OFF) This switch turns on and off the teach pendant. When the teach pendant is off, you cannot jog the robot, create a program, or test/run a program. Figure 2–3. Teach Pendant Enable Switch EMERGENCY STOP Button The red EMERGENCY STOP button is located on the front of both teach pendant styles and can be pressed to stop the robot immediately in case of an accident or failure. 2–5 2. iPENDANT OPERATIONS MAROUAR9102171E REV D See Figure 2–4 . Figure 2–4. EMERGENCY STOP Button 2.3 SCREEN NAVIGATION 2.3.1 Touch/Non-Touch Screen If you have the optional touch screen available on your iPendant, you can select items by touching them on the screen. The item is activated as soon as you release the touch. If you press one of the following keys, you can select and activate a displayed item by touching and releasing that item on the screen: • MENU • DISPLAY • FUNCTION • [TYPE] • [CHOICE] Note Prompt box and Warn windows will not allow touch and release events. These events are typically shown in yellow on the iPendant screen. You can touch the screen anywhere to focus the window. The title bar of the focused window is divided into three parts and can be touched to activate a shortcut to the MENU, DISPLAY, and 2–6 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS FCTN menus. If the title bar has any icons, such as (zoom), (maximize/restore), you can touch the icon to activate the feature. (related view), or See Figure 2–5 . Figure 2–5. Touch Screen Navigation 2–7 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–5 displays the capabilities for touch screen and mouse navigation. Refer to Table 2–1 for information on navigating the touch screen. Table 2–1. Touch Screen and Mouse Navigation TOUCH SCREEN MOUSE DESCRIPTION Single tap Single left click Select a line or an item in a line. Touching above the first line will scroll up and touching below the last line will scroll down. Double tap Double left click Edit an item, select a program in the SELECT menu. Touch and hold Single right click Activate [CHOICE] menu while cursor is on item which contains [CHOICE] menu. Activate [EDCMD] while cursor is on line number in TP Editor. Select an item in 4D display. Mouse movement while left button is held Typically screens will scroll up or down. If you move fast, the automatic scroll feature will be enabled. You can now lift your finger or mouse and the screen will continue to scroll until it reaches the top or bottom of the screen. You can stop the scroll at any time by touching the screen. If your screen is in zoom mode, you can scroll left or right. Touch and drag. Firmly touch and hold the screen while moving your finger. Be sure to maintain contact by pressing firmly or using the fingernail side of your finger. Beeping means that you are not maintaining contact. Refer to Procedure 2-1 if you wish to disable the touch panel. Procedure 2-1 Touch Panel Setup 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select iPendant Setup. You will see a screen similar to the following. 2–8 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–6. iPendant General Setup 5. Select iPendant Touch Panel Setup. You will see a screen similar to the following. 2–9 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–7. Touch Panel Setup 6. Uncheck the boxes to disable touch. 7. Cycle power for the change to occur. 2.3.2 Screen Backlighting The teach pendant backlight has an automatic dimming function. If there is neither key nor touch operation for 4 minutes, the automatic dimming function will be activated. This decreases the brightness of the LCD backlight to 35%. It cannot be disabled. The teach pendant backlight can also be turned off completely to save energy when no keys are pressed for a defined period of time. 2–10 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS The system variable $UI_CONFIG.$BLNK_ENABLE, disables or enables automatic shut off. If this is true the variable $UI_CONFIG.$BLNK_TIMER controls the amount of inactive time before the backlight is turned off. Table 2–2. Blanking and Dimming Automatic Blanking Blanking and Dimming Spec. Enabled (default) After 4 minutes, brightness is decreased. After 5 minutes, backlight is turned off. Disabled After 4 minutes, brightness is decreased. Backlight will not be turned off. Note • When the teach pendant enable switch is turned to the enable position, the automatic turn off is not performed. • If any key is pressed while the backlight is turned off, the the teach pendant will be recovered quickly. FANUC recommends pressing the left or right shift key to recover the display. • When the backlight is turned off, no display is visible on the screen. Caution Do not judge the status of power cycle of your controller by whether display is visible or not on the screen. The teach pendant has a green LED indicator on a key sheet to show the status of a controller cycle power. 2.3.3 Zoom in the top right corner of You can zoom in on the current iPendant screen using the Zoom icon the screen. The Zoom Caret toggles through three zoom modes. If you change the displayed screen, the default zoom resolution will be displayed. See Figure 2–8 . 2–11 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–8. Zoom 2.3.4 Related View Menu The Related View Menu displays other menu choices that are available. It can display Related Views or provide a shortcut to the related iHMI Guide if one is available. 2.3.5 Maximize/Restore ) provides the ability to ZOOM the current window. You either touch Maximize/Restore ( the Maximize icon or press the Maximize/Restore button or function key from User View dialog box or select the Maximize/Restore entry in the DISPLAY menu. The configuration changes to Single Window with the currently selected window. See Figure 2–9 . 2–12 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS You can revert to the original display by touching the Restore icon or selecting Maximize/Restore. If you change configuration while the window is Maximized, then the Restore is cancelled. Figure 2–9. Maximize/Restore 2–13 2. iPENDANT OPERATIONS MAROUAR9102171E REV D 2.3.6 Window Display 2.3.6.1 Overview Information can be displayed in multiple windows. You can activate the Display menu to select the window modes by pressing the SHIFT key and the DISP key (the Display key) at the same time. To select a window mode, you can either use the arrow keys to highlight a mode and then press ENTER, or you can type the number of the mode you want. You will see a menu displayed as shown in Figure 2–10 . Figure 2–10. Window Display Control Menu SHIFT + DISP = The following window display modes are available. These are shown in Table 2–3 . 2–14 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–3. Window Displays Window Display Mode Example Screen Additional Comment Single Window In Single mode, one window is displayed. Double Window In Double, two different windows can be displayed at one time. 2–15 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–3. Window Displays (Cont'd) Window Display Mode Triple Example Screen Additional Comment In Triple, three different windows can be displayed at one time. TreeView The TreeView window presents a hierarchical view of information. Each item (often called a branch or a node) can have a number of subitems. An item can be expanded to reveal subitems, if any exist, and collapsed to hide subitems. See Section 2.3.6.2 . 2–16 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–3. Window Displays (Cont'd) Window Display Mode Example Screen Additional Comment Single Wide In Single Wide, one wide screen window is displayed. Double Horizontal In Double Horizontal, two different windows can be displayed at one time horizontally. 2–17 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–3. Window Displays (Cont'd) Window Display Mode Example Screen Additional Comment Triple Horizontal In Triple Horizontal, three different windows can be displayed at one time with one horizontal screen at the bottom. Status/Single The left hand side of the Status/Single window always displays a list of status information that you can select to display. It allows you to display one of the following status modes: • Position Display • Operator Panel • Stop Signal Note Additional status modes might be available based on your application. Note The information displayed in the left hand side of the Status/Single Window is always Status. Multiple Window Rules The following rules apply to multiple window display modes: • Switching between Single window display mode and Treeview or Status/Single window display mode does not affect the information in the right-hand window. 2–18 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS • When you switch from other modes to Single window mode, the information in the left window is displayed in the Single window. • When you use Maximize/Restore to switch to Single window mode, the information in the currently selected window is displayed in the Single window. 2.3.6.2 Additional Information about the TreeView Window The TreeView window presents a hierarchical view of information. Each item (often called a branch or a node) can have a number of subitems. An item can be expanded to reveal subitems, if any exist, and collapsed to hide subitems. Figure 2–11. TreeView The TreeView can be related to menus on the right. Use Top Menu -> TREEVIEW to access related views. 2–19 2. iPENDANT OPERATIONS MAROUAR9102171E REV D The TreeView can display different types using the [ TYPE ] key. See Table 2–4 Table 2–4. TreeView Types TYPE DESCRIPTION Menu Select a menu to display. TIP: Use the open all the menus. Collections Displays all the collections which are used to collect programs together. If a program is not loaded, it will be grayed out. Jobs Displays all the jobs. Each job opens to display its called programs. All Program Types Displays all program types. Call Trees Displays all programs which call other programs. Each program opens to display its called programs. Files Displays all file devices. Each device opens to display its files and subdirectories. System Variables Displays all system variables. Each system variable opens to display its field names. + right arrow key to There may be more or less types depending on the options loaded. When the TreeView pane has focus, the following keys are available for operation: Table 2–5. TreeView Keys KEY DESCRIPTION [TYPE] Use this function key to display different types. [ATTR] Use this function key for program types to display and sort the tree with Name Only, Name/Comment, and Comment/Name. REFRESH Use this function key to refresh the contents of the TreeView. FIND Use this function key to search the entire tree for entered string. It is case insensitive and can be a partial string. If found, then the TreeView item is highlighted. You can press enter or double-click to select the TreeView item and the right pane may change if linked with the TreeView pane. The search remains valid. You can continue searching by pressing F4 NEXSRCH or cancel using F5 CANCEL. The search will wrap around continuously until PREV or CANCEL is performed. If no TreeView items are found, then the search is immediately cancelled. ENTER Select the TreeView item that is currently highlighted. Up and Down Arrow Key These keys will cursor up and down within the TreeView. Left and Right Arrow Key These keys will collapse and expand the TreeView. 2–20 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–5. TreeView Keys (Cont'd) KEY DESCRIPTION SHIFT + Up, SHIFT + Down, SHIFT + Left, SHIFT + Right Scroll page in that direction. Scroll bars will be visible if more content is available in the horizontal or vertical direction. On Windows, use CTRL key instead of SHIFT. + Left or PREV or When the type is Menus, use these 2 keys together to collapse or expand all menu entries. + Right When the TreeView is used within a web page and has focus, this key is mapped to TAB in order to move focus out of the TreeView to other elements on the web page. + Down Maximize/Restore The TreeView can be maximized for easier viewing and selecting. When restored, the TreeView will retain its selection. Zoom Zoom between 3 different size fonts. 2.3.7 Browser Guidelines You can use the iPendant to browse web pages that are accessible on the network from the robot. Note In order to access any web page that is not resident on a controller to which the iPendant is attached, the Internet Protocol Connectivity and Customization Option must be loaded and the Proxy Server properly configured. This includes accessing other robots on the network, and any other intranet or internet site. Without the Internet Protocol Connectivity and Customization Option, the iPendant can only be used to access web pages resident on the controller to which the iPendant is connected. This includes standard Help and Diagnostic (Cause/Remedy) information, the Home page of the robot and any custom developed .htm pages. Caution The browser only supports a limited subset of JavaScript and HTML tags. Browser components like FLASH, JAVA, ActiveX components, and so forth are not supported on the iPendant. Therefore, not all web pages are guaranteed to display correctly. To display the browser , press MENU, and select BROWSER. This will display the Browser Favorites menu. To access web pages, select Favorites from the Main menu. Table 2–8 lists the operations you can perform using the Browser keys. Table 2–7 describes the following Favorites operations: • Browse the Home Page of the robot to which the iPendant is connected 2–21 2. iPENDANT OPERATIONS MAROUAR9102171E REV D • Add a hyperlink to another website or robot • Modify or Delete a Hyperlink that you have created • Select a Pre-Programmed Hyperlink (using the [TYPE] key) Table 2–6. Browser Screen Keys Key Description [TYPE] Use this function key to access pre-programmed hyperlinks. BACK Use this function key to move back to the previously displayed web page. FORWARD Use this function key to move forward one web page in the history buffer. REFRESH Use this function key to refresh the currently displayed web page. HOME Use this function key to move to the Home page of the robot to which the iPendant is connected. CLR CACHE Use this function key to clear the cache of the iPendant browser. The cache is automatically cleared every power-up and when the language is changed on the controller. STOP Use this function key to stop the download of a web page. FAVORITES Use this function key to display the Favorites Page or to add or select a link. + ENTER Use these 2 keys together to add a space. Can also be used to check and uncheck an HTML checkbox. ENTER Select the link that is currently highlighted. Up and Down Arrow Key These keys are mapped to TAB and SHIFT-TAB in order to move the focus between elements on a web page. Left and Right Arrow Key These keys will operate left and right within a text box or up and down within an HTML select tag (drop-down list). SHIFT + Up, SHIFT + Down, SHIFT + Left, SHIFT + Right Scroll page in that direction. Scroll bars will be visible if more content is available in the horizontal or vertical direction. 2–22 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–7. Favorites Screen Operations Operation Description Browse <my_robot> Home Page This link displays the home page of the robot to which the iPendant is connected. <my_robot> is the hostname of the robot to which the iPendant is connected. This is the robot name entered in the robot controller TCP/IP setup. Add a Link This allows you to create hyperlinks to any website available on the network with the robot or to link to .htm or .stm files resident on the robot. To access any file or link not resident on the controller the “Internet Protocol Connectivity and Customization Option” must be loaded and the Proxy and DNS services must be properly configured. Adding a link requires that you define two fields. The first is a “ friendly name” for the link. This name is used to identify the file or site to which you are linking. The second field is the network address for the link. It can be either a static IP address, or a DNS name. (For example, http://192.168.1.125, http://robot11.frc.com, and so forth.) To link to a file resident on the robot, use a relative link without the http://. For example, /fr/pw_op1.stm refers to pw_op1.stm on the FR: device. Also, /md/memory.dg refers to the memory diagnostic page on the MD: device. When“Add a Link” is selected, the following screen is displayed. Select the Enter a Name box using the cursor keys, and press ENTER. The popup keyboard will be displayed. Use the cursor keys to type the < name> (ex. FANUC, Yahoo, and so forth) you want associated with this link. When you are finished typing the name, select EXIT on the popup keyboard. Select the Enter an Address box and use the same procedure as above to type the link address (ex. http://192.168.1.1 or http://robot1.frc.com). Note The http:// will be added to the link address automatically. 2–23 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–7. Favorites Screen Operations (Cont'd) Operation Description Add a Link Continued After the link name and address are entered, press Continue to add the entry to the Favorites Screen. See the following screen for an example. Modify an Entry To modify an entry, go to the Modify <name> link and press ENTER. This will display a screen similar to the entry screen above. Modify the appropriate items and press CONTINUE to save the modifications. 2–24 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–7. Favorites Screen Operations (Cont'd) Operation Description Delete an Entry To delete an entry, go to the Delete <name> link and press ENTER. This will immediately remove this link from the list. Pre-Programmed These links are those that are listed when you select the [TYPE] key while in the Browser. They also Links show up as a pop-up menu when you select BROWSER from the Main Menu. Up to 10 of these pre-programmed links can be created by setting the following system variables: $tx_screen[n].$destination = "Your HTML page" $tx_screen[n].$screen_name = "Your screen name" Where n is 1 - 10 Example: $tx_screen[1].$destination = "http://www.yahoo.com" $tx_screen[1].$screen_name = "yahoo" Example2: $tx_screen[2].$destination = "/fr/pw_op1.stm" $tx_screen[2].$screen_name = "Production Status" In this case the popup [TYPE] menu will have "yahoo" and “Production Status” as entries. If “yahoo” is selected the website, www.yahoo.com, will be displayed on the iPendant. If “Production Status” is selected, the web page FR:\PW_OP1.STM will be displayed. Note Access to external links requires the Internet Protocol Connectivity and Customization Option. While in any browser screen, the following iPendant keys can be used to navigate the displayed web page. Refer to Table 2–8 . Table 2–8. Browser Screen Keys Key Description [TYPE] Use this function key to access pre-programmed hyperlinks. BACK Use this function key to move back to the previously displayed web page. FORWARD Use this function key to move forward one web page in the history buffer. REFRESH Use this function key to refresh the currently displayed web page. HOME Use this function key to move to the Home page of the robot to which the iPendant is connected. CLR CACHE Use this function key to clear the cache of the iPendant browser. The cache is automatically cleared every power-up and when the language is changed on the controller. STOP Use this function key to stop the download of a web page. 2–25 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–8. Browser Screen Keys (Cont'd) Key Description FAVORITES Use this function key to display the Favorites Page or to add or select a link. Use these 2 keys together to add a space. Can also be used to check and uncheck an HTML checkbox. + ENTER ENTER Select the link that is currently highlighted. Up and Down Arrow Key These keys are mapped to TAB and SHIFT-TAB in order to move the focus between elements on a web page. Left and Right Arrow Key These keys will operate left and right within a text box or up and down within an HTML select tag (drop-down list). SHIFT + Up, SHIFT + Down, SHIFT + Left, SHIFT + Right Scroll page in that direction. Scroll bars will be visible if more content is available in the horizontal or vertical direction. 2.3.8 Changing Focus Focus identifies the currently active or primary window. The current focus can be one of the multiple windows. Only one window has focus at a time. The window with the current focus is identified with a red border and a blue title bar at the top of the window. All other displayed windows will have a gray title bar when they are not the current focus. The displayed function key labels reflect the currently focused window. See Figure 2–12 . 2–26 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–12. Window and Focus Example To change the focus automatically, press DISP without pressing the SHIFT key. After you have changed the focus, you can then perform the functions that are allowed for the currently active window. 2.3.9 Color Setup The iPendant uses #E1E7EC (decimal 14804972) for the default background color for most of the screens. In a RGB color space, this is composed of 88.2% red, 90.6% green, and 92.5% blue. The iPendant background color can be changed by setting $UI_CONFIG.$BACKCOLOR. You will have to convert the hex number to decimal in order to set it. 2–27 2. iPENDANT OPERATIONS MAROUAR9102171E REV D The foreground color is always black (#000000) so in order to see the text, the background color cannot be too dark. When the controller is restarted, if ((red + green + blue) / 3) < 127, then $UI_CONFIG.$BACKCOLOR is reset to #E1E7EC. 2.4 TEACH PENDANT KEYS The teach pendant has the following keys: • Navigation and Data Entry Keys • Robot Motion Keys • Execution Keys • Editing Keys • Application-Specific Keys • Help/Diagnostic Keys (iPendant only) 2–28 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–13. ArcTool iPendant Keys 2–29 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–9. Navigation and Data Entry Keys iPendant Key Symbolic iPendant Key (if available) Function The F1 through F5 function keys are used to make choices based on the teach pendant display. Each function key has a unique label depending on the menu displayed on the teach pendant screen. The key is a special key. key When you press the together with other keys, the special screen is displayed. + HELP, the When you press Help for i key screen is displayed. The PREV key restores the most recent state. In some cases, the screen might not return to the immediately preceding status. The next page key is used to display the next set of function keys. The MENU key is used to display the screen menu. 2–30 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–9. Navigation and Data Entry Keys (Cont'd) iPendant Key Symbolic iPendant Key (if available) Function The SELECT key is used to display the program selection screen. The EDIT key is used to display the program edit screen. The DATA key is used to display the program data screen. 2–31 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–9. Navigation and Data Entry Keys (Cont'd) iPendant Key Symbolic iPendant Key (if available) Function The DISP key is available only on the iPendant and is used to activate the DISPLAY menu or change the focus. When you press SHIFT and the DISP key together, the DISPLAY menu appears. The DISPLAY menu allows you to change the number of windows displayed to be Single, Double, or Triple. The Status/Single choice displays status in addition to the single window. You can also use it to display help or diagnostics, set up user views and menu favorites, or to display a menu history. The FCTN key is used to display the function menu. 2–32 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–10. Robot Motion Keys iPendant Key Symbolic i Pendant Key (if available) Function The GROUP key is used to switch groups. Hold down the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. Note The group key is enabled only when Multi motion group software option (J601) or Extended Axis Control software option (J518) has been ordered, and the extended axis or the independent axis has been set up. The SHIFT key is used to jog the robot, teach the position data, and start a program. The right and left SHIFT keys have the same function. The jog keys are effective while a SHIFT key is pressed. They are used to jog the robot. These keys are used to jog extended axes or servo gun axes. 2–33 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–10. Robot Motion Keys (Cont'd) iPendant Key Symbolic i Pendant Key (if available) Function The COORD key selects a jog coordinate system. Each time the COORD key is pressed, it selects the next jog type in the order: JOINT, JGFRM, World frame, TOOL, USER. When this key is pressed while a SHIFT key is pressed and held down, a jog menu for changing the coordinate system is displayed. The override key adjusts the feedrate override. Each time the override key is pressed, it selects the next override in the order: VFINE, FINE, 1%, 2% 3% 4% 5%, 10% 15% 20% and so forth in 5% increments to 100%. (Set $SHFTOV_ENB to alter the override settings.) Table 2–11. Execution Keys iPendant Key Symbolic iPendant Key (if available) Function The FWD key or BWD key (+ SHIFT key) starts a program. When the SHIFT key is released during regeneration, the program halts. The HOLD key causes a program to halt. 2–34 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–11. Execution Keys (Cont'd) iPendant Key Symbolic iPendant Key (if available) Function The STEP key selects step or continuous test operation. The RESET key is used to clear an alarm. Table 2–12. Editing Keys iPendant Key Symbolic iPendant Key (if available) Function The ENTER key is used to process and activate the current information set. The BACK SPACE key deletes the character or numeral immediately before the cursor. The arrow keys are used to highlight or select an item on the screen. 2–35 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–12. Editing Keys (Cont'd) iPendant Key Symbolic iPendant Key (if available) Function The ITEM key moves the cursor to a line whose number is specified. Table 2–13. ArcTool-Specific Keys iPendant Key Function The WELD ENBL key is used to enable and disable the weld equipment. The WIRE + key is used to advance the wire. The WIRE - key is used to retract the wire. The OTF key is used for on-the-fly weld parameter adjustment. The POSN key displays position data. 2–36 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–13. ArcTool-Specific Keys (Cont'd) iPendant Key Function The I/O key displays I/O screen. The STATUS key displays welding and robot status. The SHIFT and GAS keys together perform a gas purge. Table 2–14. Help and Diagnostic Key iPendant Key Symbolic iPendant Key (if available) Function The HELP key displays help files that describe the functions available for the active window. The SHIFT and DIAG keys together display diagnostic information for the currently active error or the selected error in the Alarm menu. This key is only available on the iPendant. Table 2–15. FCTN Menu Item Function ABORT ALL This item aborts all running or paused programs. Disable FWD/BWD This item allows you to disable the ability to execute program instructions when the SHIFT and FWD keys or SHIFT and BWD keys are pressed. The ability to use SHIFT FWD and SHIFT BWD will be disabled until you press FCTN and select DISABLE FWD/BWD again. RELEASE WAIT During program execution, wait release allows you to override pauses in the program when the robot is waiting for I/O conditions to be satisfied. Release wait works only when a program is running. QUICK/FULL MENU This item toggles the menu display between a full or a shorter menu list. SAVE This item saves the current program. PRINT SCREEN This item saves the current teach pendant screen image to the default device as tpscrn.ls. 2–37 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–15. FCTN Menu (Cont'd) Item Function PRINT This item saves the current program to the default device as program_name.ls. UNSIM ALL I/O This item unsimulates all simulated signals. CYCLE POWER This option is available on the FCTN menu after a Cold start. This item toggles the power relay via external I/O. The teach pendant must be enabled for this to work. If the teach pendant is enabled, a prompt box will be displayed asking if you are sure. This is not available on an external robot connection — only from the teach pendant. ENABLE/DISABLE HMI MENUS This item enables (or disables) the optional HMI Menus in both FULL and QUICK Menu mode. REFRESH PANE This item refreshes the page in the active window. Key The key is a special key. When you press the key together with other keys, the special screen is displayed. When you press + HELP, the Help for the key is displayed. See Table 2–16 . Table 2–16. Key Key Functions Description + MENU Displays the Top Menu. + SELECT Displays the Select menu in the left pane and the 4D node map in the right pane for the program which is highlighted by the cursor. + EDIT Displays the TPP editor in the left pane and 4D node map in the right pane. + DATA Displays the position register data in the left pane and a 4D display of position registers in the right pane. + FCTN Displays the Related View Menu if one is available. + POSN Presents a 4D display of the robot using the last selected view. + Jog Key Shows you the direction that the robot will move when the jog key is pressed when the 4D screen is displayed. + DISP Switches the display to the next window if one is available. + COORD Toggles jog indicators on and off. 2–38 MAROUAR9102171E REV D Table 2–16. 2. iPENDANT OPERATIONS Key Functions (Cont'd) Key Description Adds a space. Can also be used to check and uncheck an HTML checkbox. + ENTER When a blinking is shown in the Status Bar, then pressing and releasing will display the STATUS Notifications screen. 2.5 HAPTIC iPENDANT 2.5.1 Overview The iPendant provides you valuable information such as warnings and other messages. During teaching and playback, however, you often focus on the robot, equipment, and workpiece rather than the iPendant, and can miss valuable information displayed to alert or notify you. Critical events such as I/O triggering, motion / process parameter changes, and so forth could go unnoticed, since they could be invisible or are not easy to see. The Haptic (vibration) iPendant (equipped with a haptic motor) alerts you by vibrating the iPendant case and displaying a Bubble Notification momentarily to indicate the cause and/or action required. The Haptic iPendant: • Saves Teaching Time: by letting you know a Critical / Invisible Event just occurred or could soon occur • Alerts you to Process Conditions: alerts you on process conditions that you might overlook (e.g. Arc enabled) • Lets You Feel an Event: It is not easy to watch the Robot (e.g. TCP) and the iPendant (e.g. I/O status) at the same time, e.g. while tuning a robot mounted proximity sensor. The vibration lets you feel it. • Provides User-Defined Alerts: Enhances the user teaching experience by defining your own conditions for Haptic feedback. The Haptic iPendant is active when the • Teach Pendant is enabled or, • DEADMAN switch is held Note These conditions are independent of the Mode Switch Setting. For example, even in Auto Mode, the Haptic iPendant will be active if you hold the DEADMAN switch. 2–39 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–14. Haptic iPendant Overview 2.5.2 Hardware/Software Requirements, Application Tools The Haptic iPendant requires both hardware equipment and software: Hardware • Haptic enabled iPendant with a designated part number including 104, or 105 in the part number label at the back of the iPendant — A05B-2255-C105/xxx – Haptic, with touch panel — A05B-2255-C104/xxx – Haptic, without touch panel Software: • R848 iPendant Haptic Refer to Figure 2–15 . 2–40 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–15. Hardware/Software Compatibility Matrix The Haptic iPendant currently supports: • Arc Welding • Material Handling • Dispense Note The Haptic iPendant is not supported on Paint Robot Controllers. 2.5.3 Testing the Haptic iPendant You can test Haptic vibration by pressing the “Test Haptic” button at the bottom of the General category on the Haptic Setup UIF Touch Screen (see Figure 2–16 ), then the: • Teach pendant vibrates • A Bubble Notification will pop up momentarily and then disappear Note On an Arc Haptic iPendant, you could also test haptic vibration by pressing: • GAS purge hard key, or • WELD enabled hard key 2–41 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–16. General Haptic Setup 2.5.4 Configuring the Haptic iPendant Haptic features are ENABLED by default on Haptic iPendants, so no setup is typically required. However, many setup items such as events, vibration lengths and so forth., can be configured. Procedure 2-2 Configuring the Haptic iPendant Conditions • You are using a Haptic iPendant. Steps 1. To access the Haptic Touch Screen Setup screen, press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Haptic. You will see a screen similar to the following. It is organized into a few categories, such as General, System Configured Alarms, Inputs / Outputs, Motion, and so forth. 2–42 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS If you touch the title bar of each category, the category will be expanded to show the detailed items. If you touch the title bar again, the category will collapse. Figure 2–17. Configuring Haptic Feedback 5. You can customize the Haptic settings in Haptic Setup UIF Screen: • Enable / Disable ALL Haptic vibration, or Bubble Notification • Enable / Disable only a selected group of Haptic features • Enable / Disable individual Haptic feature by setting vibration pattern (OFF is disable) • Customize vibration pattern (short, medium, long, short – long, … etc). • Define I/O type / number, and the transition that triggers Haptic feedback • Define vibration pattern for an User Alarm once it’s defined • Haptic settings are saved in HAPTIC.SV in an all file backup or MD backup Note If your iPendant does not have a touch screen, you could use the ARROW keys to navigate the Haptic Setup UIF screen (which is a web page): • Up and Down Arrow Key: These keys are mapped to TAB and SHIFT-TAB in order to move the focus between elements on a web page • Left and Right Arrow Key: These keys will operate left and right within a text box or up and down within an HTML select tag (drop-down list) Note Refer to Table 2–8 for information on the Browser Screen Keys. 2–43 2. iPENDANT OPERATIONS MAROUAR9102171E REV D 2.5.5 Haptic Log The most recent haptic events are listed in the Haptic Log under Alarms. Figure 2–18. Haptic Log 2.5.6 Common Haptic Functions The following are Haptic functions common and default to most applications: • Warning Alarms • User Alarms • I/O • Prompt Box • @ Taught Position 2–44 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–19. Warning Alarms A set of pre-selected System Warning Alarms could trigger haptic feedback, they include: • MotorSpd lim/DVC – robot could be near singularity • Disturbance excess – robot could be near collision • Speed limit used – large orientation moves • Joint Torque Over – too large joint torque 2–45 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–20. User Alarms • You can first define a User Alarm, including its severity (e.g. $UALRM_SEV[n] = 0 for a user alarm with warning severity) as usual. • Once defined, a new Haptic item “User Alarms” will be displayed in the Haptic Setup UIF. You could change the default vibration pattern. • When the UALM[n] instruction is executed in a teach pendant program, teach pendant will vibrate, and a bubble notification will be displayed. • This allows you to customize your own Haptic vibration event. The following sample programs can be used to monitor I/O, Registers, or System Variables in order to post a user alarm and initiate Haptic feedback. This first example will monitor the state of DI[1] and post a user alarm UALM[1] if the input is ON. Since UALM[1] has been set up in $UARLM_MSG[1] then it will appear on the Haptic setup menu and can be enabled to generate a Haptic response when the alarm is posted. 2–46 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–21. Monitoring I/O This second example will monitor the state of R[123] and post a user alarm UALM[2] if the value is >= 5000. Since UALM[2] has been set up in $UARLM_MSG[2] then it will appear on the Haptic setup menu and can be enabled to generate a Haptic response when the alarm is posted. 2–47 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–22. Monitoring Registers This third example will monitor the state of the system variable $MCR.$genoverride and post a user alarm UALM[3] if the value is not equal to 100. Since UALM[3] has been set up in $UARLM_MSG[3] then it will appear on the Haptic setup menu and can be enabled to generate a Haptic response when the alarm is posted. 2–48 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–23. Monitoring System Variables 2–49 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–24. I/O From the Haptic Setup screen, you can define I/O or FLG (which does not require physical I/O) to create your own haptic event. 2–50 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–25. Prompt Box After a program is paused, if cursor is moved to a different line, and you attempt to resume the program, the prompt box will trigger haptic vibration. No notification message is displayed since prompt box already has the message. 2–51 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–26. @Taught Position During Single Step, when robot reaches a taught position, haptic vibration is triggered. No notification is provided since @ sign is already displayed at the program taught position 2.5.7 Arc Haptic Functions Haptic Feedback is integrated into ArcTool and some Arc Welding functions to enhance your arc welding program teaching experience: • Torch Angle Limit (if R734 Torch Angle option is loaded) • Touch Sense (if J536 Touch Sense option is loaded) • Gas Purge • Weld Enabled • Arc Alarms Torch Angle • If you have the Torch Angle Software Option (R734), the Haptic iPendant allows you to feel and see that Torch Angle is inside or outside its limit • You teach the weld path which establishes the desired torch angles (work / travel angles) 2–52 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Touch Sense • If you have the Touch Sense Software Option (J536), Haptic iPendant alerts you when you begin a SEARCH START, so you are aware that touch sense circuit is live. Figure 2–27. Touch Sense (J536) Weld Enable • When the WELD ENBL hard key is pressed to enable welding, the pendant vibrates to alert you. 2–53 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–28. Weld Enable • When a program is run with Welding Enabled, the pendant vibrates to alert you. Figure 2–29. Weld Enable at Program Run 2–54 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–30. Gas Purge Hard Key 2–55 2. iPENDANT OPERATIONS Figure 2–31. With Weld Enabled < 100% Figure 2–32. Arc Haptic Items Setup 2–56 MAROUAR9102171E REV D MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–33. Customizing the Vibration Pattern 2.6 STATUS 2.6.1 Status Bar Displays The status bar displays dynamic controller and robot status information. and Table 2–17 describes each kind of status. Figure 2–34 displays the following status information. 2–57 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–34. Status Bar Display Table 2–17. Status Bar Display Items STATUS ITEM DESCRIPTION Status Indicators The teach pendant status indicators indicate the system condition when you are using the teach pendant to control the system. • Busy indicates that the controller is processing information. • Step indicates that the robot is in step mode. • HOLD indicates that the robot is in a hold condition. HOLD is not on continuously during a hold condition. • FAULT indicates that a fault condition has occurred. • Run indicates that a program is being executed. • The last three indicators are application-specific Alarm Status Line This item displays the current alarm. Touching the Alarm or Program Status Line will be the same as pressing the DIAG key, which can be used to display diagnostics for the current alarm. Program Status Line This item indicates the name of the currently executing program, and the current line number and status. It also indicates the mode AUTO, T1, or T2. 2–58 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Table 2–17. Status Bar Display Items (Cont'd) STATUS ITEM DESCRIPTION Motion Information This item lists the following information: Speed Override • Coordinate System • Group • Subgroup The speed override is a percentage of the maximum speed at which the robot will move. A speed override of 100% indicates that the robot will move with the maximum possible speed. 2.6.2 Status indicators Teach pendant status indicators indicate the current system condition. Refer to the Status chapter of your application-specific Setup and Operations manual for more information. If you are using PalletTool, refer to the HandlingTool Setup and Operations Manual . 2.6.3 LEDs The iPendant has the following LEDs. Table 2–18. LED Description FAULT This LED indicates that a fault condition has occurred. POWER This item indicates controller power is on. 2.6.4 Display Equip This item is only used in applications that are controlling multiple equipments. Some menus in these applications are equipment related and change based on which equipment is chosen. The Display Equip item is used to select the equipment number being referenced by these menus. Display Equip applies to the menu in the pane that currently has focus. The equipment number selected is displayed in the focus bar for that pane. If your system uses multiple equipment, refer to the multiple equipment section in this manual for more information. 2–59 2. iPENDANT OPERATIONS MAROUAR9102171E REV D 2.7 HELP Assistance with screens and menu functions is provided • In iHMI Guides • On the iPendant screen 2.7.1 MORE INFO iHMI Guides display additional help when the MORE INFO button is pressed. MORE INFO is available to describe a topic in more detail, such as providing more information about coordinate systems or network setup. 2.7.2 Help and Diagnostics You can use the HELP/DIAG key to display help and diagnostics for the data displayed in the current window on the iPendant. You can also select the HELP/DIAGNOSTICS menu item on the DISPLAY popup menu. To display help information for the currently active window, press the HELP/DIAG key. To display diagnostic information, press the SHIFT key and the HELP/DIAG key. To use the HELP/DIAGNOSTICS menu item, refer to Table 2–19 . Note If help is already displayed when you select another help function, the previous menu will be displayed. You must select help again to display the help menu. Table 2–19. HELP/DIAGNOSTICS Menu Items ITEM DESCRIPTION Help This item displays help for the currently active window. Context Help This item displays context sensitive help, if it exists, for the currently active window. Diagnostics/Diagnostics Home Diagnostics will display alarm documentation for the active alarm. Diagnostics Home will display the Alarm Documentation Home page. Menu Help This item displays the menu tree and provides links to all the help files menus other than the current menu. While in help and diagnostics screen, most of the browser screen keys can be used to navigate the displayed web page. Refer to Table 2–8 . 2–60 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Note The Help and Diagnostics information display location depends on the current window mode and the active window. Table 2–20 lists the display locations for each available window mode. Table 2–20. Help/Diag Information Display Locations Window Mode Display Location Single The Help/Diag information replaces the current information in the window. Treeview and Status/Single The Help/Diag information replaces the current information in window on the right. Double The Help/Diag information replaces the information in the inactive window (Window without focus) and makes HELP/DIAG window the active window. Triple The Help/Diag information replaces the current information in the window without focus and makes the HELP/DIAG window the active window. For example in triple mode, the left window is window 1, the upper right window is window 2, and the lower right window is window 3. Then, if the active window is window 2, the Help/Diag information replaces the contents of window 3. If the active window is window 3, the Help/Diag information replaces the contents of Window 1, and so forth. Note To display the previous screen after Help has been displayed , press PREV. To display Help information for any screen, • Press the HELP key while in that screen. To return to the previous screen, press the HELP/DIAG key or press SHIFT and the HELP/DIAG key at the same time. • Press SHIFT, and DISP to display the DISPLAY popup menu. Select Help/Diagnostics. Move the cursor to the right and select Help. Help for the current menu will be displayed. To display context sensitive help if it exists for a screen , • Press the HELP key while in that screen. To return to the previous screen, press the HELP/DIAG key or press SHIFT and the HELP/DIAG key at the same time. • Press SHIFT, and DISP to display the DISPLAY popup menu. Select Help/Diagnostics. Move the cursor to the right and select Context Help. Context sensitive help for the current menu will be displayed. To display diagnostic information , • Press the SHIFT key and the HELP/DIAG key. A popup screen, similar to the one shown below, will be displayed. This screen contains the program status, the most recent alarm, and the cause code if one exists. 2–61 2. iPENDANT OPERATIONS MAROUAR9102171E REV D To display the diagnostic information for that specific alarm, press CONTINUE. Cancel will return to the previous screen. • Press SHIFT, and DISP to display the DISPLAY popup menu. Select Help/Diagnostics. Move the cursor to the right and select Diagnostics or Diagnostics Home. In addition, if you are in an ALARM screen and press the SHIFT + HELP/DIAG key you will get the diagnostic information for the alarm that you have selected. To exit the diagnostic screen and return to your previous screen, press either the HELP/DIAG key or press SHIFT and the HELP/DIAG key at the same time. You can also press PREV to display the previous screen. To display Menu Help , • Press the SHIFT key and the DISP key, select Help/Diagnostics and select Menu Help. This displays the menu tree and provides links to all the help files menus other than the current menu. 2.8 ADDITIONAL iPENDANT FUNCTIONS 2.8.1 Document Viewer 2.8.1.1 Overview The iPendant Document Viewer allows viewing of documents in proprietary file formats. 2–62 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS The following file formats are supported: Adobe® Acrobat® Portable Document Format (PDF) v1.3 and later. 2.8.1.2 Opening a Document Documents can be opened on any local R-30iB Plus storage device. Procedure 2-3 Open Document 1. Press MENU. 2. Select FILE. 3. Press F5, [UTIL] 4. Select Set Device. 5. Select a device. 6. Press F2, [DIR] 7. Select a filter. 8. Select the file to view. 9. Press ENTER. 2.8.1.3 Navigating with the Document Viewer Figure 2–35 shows a typical single pane view of a document open in the Document Viewer. 2–63 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–35. Document Viewer Three function keys are available when the Document Viewer has focus. Table 2–21. Document Viewer Function Keys Function Key Description FIT PAGE Zoom so that the entire page is visible within the Document Viewer window. this mode allows quick navigation between pages of a document. ZOOM The up and down arrow key will increase and decrease the zoom level respectively. PAN The arrow keys will pan the display. Touch screen gestures will always pan the display. JUMP The JUMP function key will display a list of bookmarks in the document. Selecting a bookmark will jump to that location in the document. 2–64 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS 2.8.2 Menu Favorites Menu Favorites allows you to generate and store a list of menus that you display most often. There are two ways to add a menu favorite. Use Procedure 2-4 to set up your Menu Favorites using the MENU Dialog box. Use Procedure 2-5 to set up your Menu Favorites list using the DISPLAY Menu. Use Procedure 2-6 to modify the Menu Favorites list. Procedure 2-4 Adding Menus to the Menu Favorites using MENU Dialog Box 1. Display the menu that you want to add as a favorite menu. 2. Press the MENU key. 3. If the dialog box is shown at the bottom of the screen, you may press and hold the button or function key which you want to set for three (3) seconds. The currently displayed menu will be added to the button with an icon. You can overwrite existing buttons. In addition, you can press the right arrow button or next key to display and set the next five (5) buttons. The PREV key will cancel the Dialog Box and the Menu popup. See Figure 2–40 for an example. 2–65 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–36. Menu Favorites 4. To display a menu stored in the Menu Favorites press MENU, and choose the menu by pressing the button or function key. Procedure 2-5 Adding Menus to the Menu Favorites List using DISPLAY Menu 1. Display the menu that you want to add as a favorite menu. 2. Press SHIFT and then press the DISP key. 3. Select Menu Favorites. 4. Move the arrow keys to Add current. The currently displayed menu will then be added to the list. See Figure 2–37 for an example. 2–66 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–37. Add Current Menu Favorite 5. To display a menu stored in the Menu Favorites list press SHIFT, and then the DISP key. Move the cursor to Menu Favorites and choose the menu from the list. Procedure 2-6 Modifying Menu Favorites 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select iPendant Setup. You will see the iPendant General Setup Screen. 5. Select Menu Favorites Setup. You will see a screen similar to the following. 2–67 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–38. MENU Favorite Setup Note Menu Favorites, after they have been cleared, cannot be recovered. 6. To clear one entry from the Menu Favorites list, move the cursor to the view you want to clear, and press F4, CLEAR. The Menus Favorites list will be redisplayed automatically. 7. To clear ALL entries from the Menus Favorites list, press SHIFT and F4, CLEAR. The Menu Favorites list will be cleared automatically. 8. To disable the Menus Favorites dialog box which is displayed by the MENU popup, clear the Menu Favorites checkbox. 9. To enable the Menus Favorites dialog box which is displayed by the MENU popup, check the Menu Favorites checkbox. 10. To display the main iPendant Setup menu, press F2, BACK. 2–68 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS 2.8.3 Menu History The Menu History keeps track of the last eight menus that have been displayed. This list is generated automatically and cannot be modified. You can, however, select a name on the list and that screen will be displayed. See Figure 2–39 . Figure 2–39. Menu History 2.8.4 Multi-Pane Edit A teach pendant program must be moved to the left-hand window for FWD/BWD to work. The DISPLAY menu will contain an EDIT<->EDIT entry. While in the left-hand window, the entry is only enabled if two windows are active. The entry is always enabled while in a right-hand window. The 2–69 2. iPENDANT OPERATIONS MAROUAR9102171E REV D entry is available even if you are not in the EDIT screen. When pressed, the programs are swapped and the EDIT screens are automatically entered. 2.8.5 Other iPendant Guidelines Editing Guidelines • LOOK/MONITOR mode is available in any window. • Each window can have a unique default program. • Selecting a teach pendant program from the SELECT screen in the left-hand window will cause that program to be the default program for that window ($TP_DEFPROG). • Selecting a teach pendant program from the SELECT screen in the right-hand window will cause that program to be the default program for that window ($UI_DEFPROG[1]). • Selecting a teach pendant program from the SELECT screen in the lower right-hand window will cause that program to be the default program for that window ($UI_DEFPROG[2]). • The Status line will always show the default program for the left-hand window even if it does not have focus. • The Editor title line shows the program that is being edited. • The program selected will be retained during cycle power. The current line number will only be retained during cycle power for the left-hand window during hot start. The right-hand windows do not retain the current line number. • The same program can be edited in multiple windows. The cursor is independent. When a change is made in one window, the change is immediately reflected in the other window. Both windows can make changes to the same program. This is useful for copy and paste within the same program. • The 3 windows will share the same copy and paste buffer. This provides the ability to copy and paste from one TP program to another. • Each window has its own undo and redo buffers so multiple edit sessions will not affect each other. • TP FWD/BWD is only supported in the left-hand window. If focus is in a right-hand window, then the warning “TPIF-166 FWD/BWD in left window only” is posted. • The program must be moved to the left-hand window for TP FWD/BWD to work. The DISPLAY menu will contain EDIT->EDIT entry. While in the left-hand window, the entry is only enabled if 2 windows are active. The entry is always enabled while in a right-hand window. The entry is available even if you are not in the EDIT screen. When pressed, the programs are swapped and the EDIT screens are automatically entered. Operational Guidelines • The system variable $UI_CONFIG.$recovermenu is provided to display the menus in the same state they were in when the controller was turned off. 2–70 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS • After the controller is turned off and then on again, the editor configuration should not change if $UI_CONFIG.$recovermenu is set. Refer to Table 2–22 . Table 2–22. $UI_CONFIG.$recovermenu Setting Description 0 At Cold start the system will display the "Hints" screen in single window mode. 1 At Cold start the system will display the last screen displayed before power down in single window mode. 2 At Cold start the system will display the "Hints" screen in all windows in whatever window mode was used at power down. 3 Both 1 and 2. 4 At Hot start the system will display the last screen displayed before power down in single window mode. 6 Both 4 and 2. This is the default setting. 2.8.6 Popup Menus To display the popup menus in the currently active window, press the MENU key. This will display the first level popup menu. See Figure 2–40 . 2–71 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–40. Menu Favorites Use the up, down, left, and right arrow keys to select the desired menu item. When a second menu exists for the selected item, use the right arrow key to move to the fly out menu. Then use the up and down arrow keys to select an item on that menu. To display the menu item that you have selected, press ENTER. Note You can also type the number of the item you have selected and press ENTER to display that menu item. 2.8.7 Screen Customizations 2.8.7.1 Overview The iPendant screen can be customized using the following tools: 2–72 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS • EasyPanel environment • PanelWizard • HMI screen customizations • Displaying Web Page Macros • Customizing User Menus 2.8.7.2 Easy Panel Environment Setup Overview The i Pendant can be easily customized to fit your needs. These custom screens can be used to display data, variables, I/O, or other system information specific to your application. The EasyPanel environment is used for this development, and consists of a set of custom “OBJECTS” or “CONTROLS” that are specially designed to work with the iPendant, the FANUC America Corporation Robot Controller, and the Microsoft® Office SharePoint Designer 2007 ™ Web development environment. Requirements The following items are required to develop and run custom screens on the iPendant in the EasyPanel environment: • iPendant Controls installed on the PC . • Microsoft® Office SharePoint Designer 2007 ™ (freeware) installed on the PC. Do not use Microsoft® Office SharePoint Designer 2010 ™ since it is not a generic HTML editor. • Microsoft® Expression Web ™can also be used. • The IPCC (Internet Protocol Connectivity and Customization) Option loaded on the controller if you want to use Remote Operation of the iPendant. Refer to the Internet Options Manual for more information. Configuring Your PC In order to develop custom pages you will need to download and install the iPendant Controls setup from the FANUC America Corporation Customer Resource Center. Refer to the Internet Options Manual for instructions. After the controls are installed you can begin to create custom screens for the iPendant. Review the iPendant Customization Guide. This guide will provide further instructions on setting up SharePoint Designer 2007, using the iPendant Controls, and loading and accessing your custom screens. 2–73 2. iPENDANT OPERATIONS MAROUAR9102171E REV D 2.8.7.3 Panel Wizard The Panel Wizard option allows you to use the controller to create up to four operation panels to be displayed on the i Pendant. The iPendant Customization Guide will provide further details on each control created by the Panel Wizard. Use Procedure 2-7 to set up the Panel Wizard. Procedure 2-7 Setting Up the Panel Wizard 1. Press MENU. 2. Select BROWSER. 3. Press F1, [TYPE]. 4. Select Panel Wizard. You will see a screen similar to the following. Figure 2–41. Panel Wizard 5. Select Start Wizard. You will see a screen similar to the following. 2–74 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Note Double Panel mode will be displayed automatically. Figure 2–42. Start Panel Wizard Note After you make a selection on any screen, press NEXT. To cancel the Panel Wizard at any time, press F2, CANCEL. To display the previous screen at any time , press F3, BACK. 6. Select the panel that you want to create. Refer to Figure 2–43 for a flowchart overview of the steps required to create an operator panel. Refer to the iPendant Customization Guide for more information. See Figure 2–43 for a flowchart that describes the sequence of operations for using the Panel Wizard. 2–75 2. iPENDANT OPERATIONS Figure 2–43. Create Operation Panel Flowchart 2–76 MAROUAR9102171E REV D MAROUAR9102171E REV D 2. iPENDANT OPERATIONS 2.8.7.4 iPendant HMI Screen Customizations When you are using HMI on the iPendant, you can customize your teach pendant screens to fit your application. The HMI screen customization feature allows you to set the available menu options to display a specific set of HTM or STM menus. You can either display the default set of menus or, you can generate your own set of .HTM or .STM menus to display. The user menus are stored in • FRS:\USRHMIQK.STM — Quick Menu • FRS:\USRHMIFL.STM — Full Menu • FRS:\REMHMIQK.STM — Quick Menu for remote connections • FRS:\REMHMIFL.STM — Full Menu for remote connections The default pages that are created each time the controller is turned on are • FRS:\JIPHMIQK.STM — Quick Menu using JavaScript with icons • FRS:\JIPHMIFL.STM — Full Menu using JavaScript with icons • FRS:\IPHMIQK.HTM — Quick Menu using table of links • FRS:\IPHMIFL.HTM — Full Menu using table of links The operator does not have access to the FRS:\ device so that the files cannot be accidentally modified or deleted. If many web pages and images are linked together, the best way to make an HMI out of your site is to submit a web page that redirects to your main web page on FR:\ device. main.htm <html><head> <meta http-equiv=refresh content="0; URL=/fr/mainmenu.stm"> </head><body></body></html> Submit main.htm as your HMI. It redirects to mainmenu.stm which is on FR:\ device. If you do this all web pages and images are together in one directory. SharePoint Designer can easily find them and you can copy all files to FR:\ device when you are ready to try it on the robot. User Procedure 2-8 to create a user-defined HMI Full or Quick Menu. Use Procedure 2-9 to define and set up HMI Full, Quick, and Remote Menus. Procedure 2-8 Creating a User-Defined HMI Full or Quick Menu Conditions • You are using the iPendant. • The default device is set appropriately. Refer to the “Program and File Manipulation Chapter” in the application-specific Setup and Operations Manual for more information. 2–77 2. iPENDANT OPERATIONS MAROUAR9102171E REV D 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select iPendant Setup. You will see a screen similar to the following. Figure 2–44. iPendant General Setup Screen 5. Select iPendant HMI Setup. You will see a screen similar to the following. 2–78 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–45. iPendant HMI Setup Screen 6. By default, the iPendant HMI Full Menu is stored in JIPHMIFL.STM and IPHMIFL.HTM (non-JavaScript version) and the iPendant Quick Menu is stored in JIPHMIQK.STM and IPHMIQK.HTM (non-Javascript version). You can make a copy of these files and then edit them to make your own Full and Quick HMI menus. To make a copy of the default files, press F4, BACKUP. This will save a copy each of the files on to the default device. 7. Move the copied file to a personal computer so that you can edit the file. Caution In the HMI Full Menu file, you must have the iPendant Setup as a menu item. In the HMI Quick Menu file, you must have Password Setup as a menu item if passwords are available on your controller. Make sure to retain these menu items as appropriate; otherwise, the generated menu files will not operate properly. 2–79 2. iPENDANT OPERATIONS MAROUAR9102171E REV D 8. Add or remove menu items within this file as necessary. 9. Save the file with a new name if necessary. 10. Move the file back to the controller. 11. Use Procedure 2-9 to set up and use the file you just created. Procedure 2-9 Setting up the iPendant HMI Full, Quick, and Remote Menu Selections Conditions • You are using the iPendant. 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select iPendant Setup. 5. Select iPendant HMI Setup. You will see a screen similar to the following. 2–80 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–46. iPendant HMI Setup Screen 6. You can now select HTM or STM files to be displayed in place of Full Menus, Quick Menus, Remote Full Menus, and Remote Quick Menus. a. To choose an HTM or STM file that resides on the default device on the controller, click the blue bar below the desired menu you want to set. A list of available HTM and STM files will be displayed. b. Select the desired file, and press ENTER. c. Continue selecting files for each Menu (User HMI Full, User HMI Quick, Remote HMI Full, and Remote HMI Quick). d. Press F3, SUBMIT. The names in the blue bar will be erased showing you that they have been set. 7. To activate the selected Full or Quick HMI Menus, or the Remote Full or Quick HMI Menu modes , click the box next to the selection at the bottom of the screen, then press F3, SUBMIT. The check box will disappear after you press F3 to show you that the selection has been made. 2–81 2. iPENDANT OPERATIONS MAROUAR9102171E REV D If you have set the HMI Full Menus, when you press MENU, you will see a screen similar to the following. Figure 2–47. iPendant FULL Menu If you have set the HMI Quick Menus, when you press FCTN and select QUICK/FULL MENUS, you will see a screen similar to the following. 2–82 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–48. iPendant Quick Menu 8. To deactivate the SELECT, EDIT, or DATA key during HMI mode, scroll down then click the box next to the desired key name. By default the TYPE key is disabled. To activate the TYPE key during HMI mode, scroll down then click the box. See the following screen for an example. 2–83 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–49. Disabling the Data Key When you have finished clicking the desired key, press F3, SUBMIT. The check box will disappear after you press F3 to show you that the selection has been made. Note Each time the HMI Setup menu is displayed, check marks will be displayed showing you the current selection. 9. To back up all HMI files to the default device, press F4, BACKUP. This will copy all HMI files from FRS: to the default device using the overwrite function. 10. To display the previous menu, press F2, BACK. 2.8.7.5 Displaying Web Page Macros The Menu Utility option (R577) provides a macro called DSP_WEBP.MR. Users can call this macro with a parameter in their teach pendant programs. Usage: CALL DSP_WEBP(1)--Displays the Favorites menu CALL DSP_WEBP(2)--Displays the first user created web page in the [TYPE] pull-up Parameters 2-11 are for displaying user-created web pages (created with or without the Panel Wizard). The menu will be displayed only if you are using an i Pendant. It will always be displayed on the active pane on the i Pendant. 2–84 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS 2.8.7.6 Customizing User Menus Overview The Custom User Menu Function allows you to add additional menus in most of the MENUS categories. You can use the Custom User Menu Function to: • Run a teach pendant program • Display a menu using a KAREL program • Display a custom web page on the iPendant Running a Teach Pendant Program To run a teach pendant program from a customized menu, you must set the following system variables: • $CUSTOMMENU[n ].$TITLE • $CUSTOMMENU[n ].$PROG_NAME For example, to run a program called PERCHMOV by selecting an item on the EDIT menu called “Move to Perch,” you would set the system variables as follows: $CUSTOMMENU[3].$TITLE : $CUSTOMMENU[3].$PROG_NAME : “Move to Perch” “PERCHMOV” Note For more information on displaying and setting system variables, refer to Section 11.17 . Refer to Section 2.8.7.6 for the system variable settings used for teach pendant programs. Displaying a Menu Using a KAREL Program Note For R-30iB Plus, R-30iB, and R-30iB Mate controllers, the KAREL option must be installed on the robot controller in order to load KAREL programs. You can use the Custom Menu Function to display a menu programmed using KAREL. The KAREL program must include the following processes: • DISCTRL_FORM or DISCTRL_TBL can be used to display a form or table. • The term mask should contain kc_f1_type. This will allow the KAREL form or table to process the F1, [TYPE] menu selection. The mask is defined in klevkmsk.kl. • The F1 key should be labeled [ TYPE ]. 2–85 2. iPENDANT OPERATIONS MAROUAR9102171E REV D • The KAREL program can remain in the form or table until the user selects a new menu. In this case the KAREL program should exit. • Another option is for the KAREL program to call FORCE_SPMENU to display another menu. You must also set the following system variables: • $CUSTOMMENU[n ].$TITLE • $CUSTOMMENU[n ].$PROG_NAME • $CUSTOMMENU[n].$OPTION = SPI_SFMISC SPI_SFMISC is 31 If running the KAREL program from the EDIT menu, you must call FORCE_SPMENU(device_stat, SPI_TPUSER2, 1) before writing to the screen. This forces the teach pendant into the USER2 menu. For example, to run a program called PERCHSET by selecting an item from the UTILITY menu called “Set up Perch,” you would set the system variables as follows: $CUSTOMMENU[10].$TITLE : “Set up Perch” $CUSTOMMENU[10].$PROG_NAME : “PERCHSET” $CUSTOMMENU[10].$OPTION: 31 Note For more information on displaying and setting system variables, refer to Section 11.17 . Refer to Section 2.8.7.6 for the system variable settings used for KAREL programs. Displaying a Custom Web Page on the iPendant You can use the Custom Menu Function to display a custom web page on the iPendant. The 8.3 file extension of the web page is stored in $PROG_NAME. If $PROG_NAME contains a .htm or .stm, then the system will look for the file on the FR: device (customer), or on FRH:CGTP (application). If it exists, then the iPendant will display the web page. The title specified in the web page within the title tags (<title> </title>) will be displayed in the focus bar on the iPendant. The number of title characters displayed on the focus bar is limited to 33. If the specified title is longer than 33 characters, it will be truncated. When the web page is displayed, it will run within its own menu so it has a unique sofpart ID and screen ID. The [TYPE] key will be available and you will remain in the MENU category. The web page will be displayed until a new MENU is selected. For example, if you set the following system variables: 2–86 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS $CUSTOMMENU[10].$TITLE : $CUSTOMMENU[10].$PROG_NAME : “Utility 1” “custom.stm” then, in the UTILITIES Menu, “UTILITY 1” is displayed as a [TYPE] menu choice. If you select this item and the file custom.stm exists on the FR: device, then the web page will be displayed. System Variable Settings Table 2–23 lists the system variable settings that can be used to set up custom user menus to run teach pendant programs, run KAREL programs, and display custom Web pages. Table 2–23. System Variable Settings System Variable Top Level Menu Softpart ID Screen ID Used for Teach Pendant or KAREL programs Only $CUSTOMMENU[1] EDIT [INST] 64 1 $CUSTOMMENU[2] EDIT [INST] 64 1 $CUSTOMMENU[3] EDIT F2 64 1 $CUSTOMMENU[4] EDIT F3 64 1 $CUSTOMMENU[5] EDIT F4 64 1 Used for teach pendant, KAREL programs, or for Custom Web Pages $CUSTOMMENU[6] FCTN 31 246 $CUSTOMMENU[7] FCTN 31 247 $CUSTOMMENU[10] UTILITIES 31 250 $CUSTOMMENU[11] UTILITIES 31 251 $CUSTOMMENU[12] TEST CYCLE 31 252 $CUSTOMMENU[13] MANUAL FCTNS 31 253 $CUSTOMMENU[14] MANUAL FCTNS 31 254 $CUSTOMMENU[15] ALARM 31 240 $CUSTOMMENU[16] ALARM 31 239 $CUSTOMMENU[17] I/O 31 238 $CUSTOMMENU[18] I/O 31 237 $CUSTOMMENU[19] SETUP 31 236 $CUSTOMMENU[20] SETUP 31 235 $CUSTOMMENU[21] FILE 31 234 $CUSTOMMENU[22] DATA 31 233 2–87 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Table 2–23. System Variable Settings (Cont'd) System Variable Top Level Menu Softpart ID Screen ID $CUSTOMMENU[23] DATA 31 232 $CUSTOMMENU[24] STATUS 31 231 $CUSTOMMENU[25] STATUS 31 230 $CUSTOMMENU[26] STATUS 31 229 $CUSTOMMENU[27] STATUS 31 228 $CUSTOMMENU[28] SYSTEM 31 227 $TX_SCREEN[1] BROWSER 381 10 $TX_SCREEN[2] BROWSER 381 11 $TX_SCREEN[3] BROWSER 381 12 $TX_SCREEN[4] BROWSER 381 13 $TX_SCREEN[5] BROWSER 381 14 $TX_SCREEN[6] BROWSER 381 15 $TX_SCREEN[7] BROWSER 381 16 $TX_SCREEN[8] BROWSER 381 17 $TX_SCREEN[9] BROWSER 381 18 $TX_SCREEN[10] BROWSER 381 19 Used for Custom Web Pages Only 2.8.8 Software Keyboard 2.8.8.1 Robot Menus You can use the software keyboard to input a character string. In order to use the software keyboard, set the cursor to the item that you want to input a character string, then press ENTER. Set the cursor to the item Options in the menu, then press F5, KEYBOARD. See Figure 2–50 . 2–88 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–50. Options Menu Item The menu to input characters is displayed as shown in Figure 2–51 . 2–89 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–51. Software Keyboard Text Display When the keyboard is activated Figure 2–52 shows that the current text for the item is displayed on the top and the text string is highlighted. Inputting any character will clear the string and start over. Pressing the arrow keys on the keyboard (right arrow for example) will clear the highlight and allow you to append to the string. 2–90 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–52. Software Keyboard If the length of the string is longer than what can be displayed in the text box the < indicates that the text is extended to the left or the right of the text box. Touching the text will move the cursor to the touched area of the text. The arrows keys can be used to move left and right in the text box. Selecting up arrow moves the cursor to the beginning of the text, down arrow moves to the end. In order to input characters, move the cursor to the character that you want to input by the arrow key on the teach pendant, then press ENTER key on the teach pendant. If the teach pendant has a touch panel, you can input the character by touching the character on the touch panel. After you finish the input, select the “Exit” button or press F5, EXIT to exit the software keyboard. If you want to cancel the input characters and return to the previous screen, select the “Cancel” button or PREV hardkey. In order to change the input mode, select “abc” or “123” on the software keyboard. When “abc” is selected, the input mode becomes the alphabetic character input mode. 2–91 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–53. Keyboard Lowercase Letters When SHIFT on the software keyboard is pressed, the character on the software keyboard is changed from lower to upper case. 2–92 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–54. Keyboard Uppercase Letters When “123” is selected, the input mode becomes the numeric character and symbol input mode. 2–93 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–55. Keyboard Numbers Some teach pendant menus include the use of the numeric entry keypad. This allows the touch panel to be used for numeric entry but additionally it allows the user to see the limits for the data being entered. The numeric keypad on the pendant still works in this context. 2–94 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–56. Numeric Keyboard 2.8.8.2 Web Menus Entering text in standard Web form menus provides a slightly different set of choices. Figure 2–57 shows the result when a text input field is selected on the browser. By default this does not bring up the ASCII keyboard. This allows numeric data to be entered without having to bring up the full keyboard. 2–95 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–57. Web Form Entry The softkeys function as follows: • F1 – KEYBOARD brings up the keyboard in MANUAL mode. • F2 – AUTO set the keyboard to come up automatically on string input fields • F3 – MANUAL set the keyboard to not come up automatically. • F4 – SPACE put a space character in the string • F5 – EXIT from the keyboard and accept the result. Figure 2–58 shows the keyboard once activated in this mode. Note that the arrow key on the keyboard can be used to cursor to the missing “i” character and correct it. Or, you can touch the screen to set the input cursor to that point. The software keyboard is displayed as shown in Figure 2–58 . 2–96 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–58. Software Keyboard 2.8.8.3 Vision Menus Vision menu string input is very similar to Web form input. The difference is that the keyboard appears automatically for ASCII string keyboard input and does not appear for numeric input. For numeric input, the number is entered exclusively from the pendant keypad. 2–97 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–59. Vision ASCII String Input Field Entering text for a vision menu is very similar to standard menus except that the SPACE and EXIT are part of the keyboard itself. 2–98 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–60. Vision Keyboard 2.8.9 Top Menu 2.8.9.1 Overview The Top Menu is displayed when + MENU is pressed. The Top Menu will take over the screen even if pressed from a multiple pane mode. PREV will cancel the Top Menu and restore whatever was shown before. However, the Top Menu is not considered a popup menu. The controller may power up with the Top Menu or application code can force the Top Menu. The Top Menu has up to 9 icon selections which are shortcuts to the selected operation. The number keys can be used as shortcuts if a touch panel is not available. After selecting a shortcut, the screen will display the menu for the selected operation. The screen may split into several related panes especially if you have the 4D graphics functionality. 2–99 2. iPENDANT OPERATIONS MAROUAR9102171E REV D There can be 10 different Top Menus. They are changed using the Function Keys. Each function key can be password protected and operators are required to enter their username and password in order to select the function key. Figure 2–61. Top Menu 2.8.9.2 Top Menu Setup The Top Menu is a browser menu. It uses an inline style. However, you can change the appearance of the Top Menu by creating the file FR:\TOP.CSS. For example, to change the backcolor to a gradient orange color, put the following lines in TOP.CSS. body { background: White url(/frh/jcgtp/bg_orgb.png); } 2–100 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS The Top Menu entries may be configured. Use Procedure 2-10 to insert or change the Top Menu entries. Procedure 2-10 Top Menu Setup 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select iPendant Setup. You will see a screen similar to the following. Figure 2–62. iPendant General Setup Screen 5. Select Top Menu Setup. You will see a screen similar to the following. 2–101 2. iPENDANT OPERATIONS Figure 2–63. Top Menu 2–102 MAROUAR9102171E REV D MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–64. Top Menu Setup 6. The buttons on the left side represent each Top Menu page for the 10 function keys. Press the button to view the Top Menu page. 7. The function key label is shown for each Top Menu page. Press the button to change the label. Use *level0 - *level8 for the password level names, such as OPERATOR (level 0), PROGRAM (level 1), SETUP (level 2), and INSTALL (level 8). Levels 3 - 7 are custom password levels. All password level names can be configured in a password configuration file. 8. The Read-Write Access is shown for each Top Menu page if passwords are installed. The Read-Write Access field displays all 7 levels: (Level 7, Level 6, Level 5, Level 4, Level 3, Setup, Program, Operator). A value of 1 indicates that level is granted read-write access. A value of 0 indicates that level has read-only access. Press the button to change the read-write access. A dialog box with checkboxes for all 7 levels will be displayed. Checking the box allows read-write access. 2–103 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–65. Read-Write Access 9. Press FACTORY to reset the entire Top Menu back to factory defaults. This can also be useful after a new option is loaded, since the factory defaults will look for any new options. 10. Press COPY to copy one page to another. If the page already exists, you will be prompted to overwrite it. 11. Press DELETE to delete an entire Top Menu page. You will be prompted for the page number to delete. 12. When you press a button, such as F1, you will see a screen similar to the following. 2–104 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Figure 2–66. Top Menu 13. The title is shown on the title line. The icon and text are shown for all 9 shortcuts. 14. Press FACTORY to reset just the current page to factory defaults. 15. Press COPY to copy one number to another. If the number already exists, you will be prompted to overwrite it. 16. Press DELETE to delete a number. You will be prompted for the number to delete. 17. Press TITLE to change the page title. Use *default for the default title. 18. Press NEXT to view the 2nd set of function keys. Press MENU to create or change a shortcut for a number. If the number already exists, you will be prompted to overwrite it. First you will be prompted to select a window configuration. Then for each window you selected, you will choose a menu. If you do not choose a menu, then only the configuration will change when the shortcut is selected. The default text and icon will be used. 19. Press TEXT to change the shortcut text. Use *default for the default text. 20. Press ICON to change the icon. You can put images on FR: using 8.3 filenames. If none are available, then the system icons from FRH:\GUI\ are shown for your selection. 2–105 2. iPENDANT OPERATIONS MAROUAR9102171E REV D 21. The Top Menu entries are stored in $UI_TOPMENU and will be backed up and restored in SYSUIF.SV. 2.8.10 Universal Serial Bus (USB) Port A USB keyboard or mouse can be inserted into the USB port on the controller and on the iPendant. Using a USB hub allows you to connect a keyboard, mouse, and USB stick. The keyboard can be used for any numeric or text entry. You can connect a memory stick, mouse, or keyboard to this port, or you can connect a camera for iRCalibration Vision. Refer to the iRVision Calibration Operator's Manual. See Figure 2–67 Figure 2–67. iPendant with USB Port 2.8.11 User Views User views can be used to store up to ten commonly used user-defined single or multi-window displays. For example, if you commonly use the triple pane window and have the ALARM menu, 2–106 MAROUAR9102171E REV D 2. iPENDANT OPERATIONS Cell I/O menu, and the FILE menu displayed, then you would want to define this set of menus as a user view. After you store a user view, it is named and listed on the User Views menu so that you can select it for redisplay later. The previous example user view would be listed on the User Views menu as Alarm|Cell I|File. In addition, the User Views are displayed on a dialog box at the bottom of the screen with a thumbnail view of the configuration. Use Procedure 2-11 to add a menu set as a User View. Use Procedure 2-12 to modify the list of User Views. Procedure 2-11 Adding a User View 1. Display the set of menus on the iPendant that you want to add as a view. 2. Press SHIFT and then press the DISP key. 3. If the User Views dialog box is shown at the bottom of the screen, you may press and hold the button or function key which you want to set for 3 seconds. The currently displayed menu set will be added to the button. You may overwrite existing buttons. In addition, you may press the right arrow button or next key to display and set the next 5 buttons. The left-most exit button or prev key will cancel the Display Menu. 4. If the User Views dialog box is not shown at the bottom of the screen, select User Views in the Display Menu. Move the arrow keys to Add current. The currently displayed menu set will be added to the list as Menu (if it is a Single Pane display), Menu|Menu (if it is a Double Pane display), and Menu|Menu|Menu (if it is a Triple Pane display). 5. Repeat Step 1 through Step 4 for each User View you want to add. Procedure 2-12 Modifying User Views 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select iPendant Setup. You will see the iPendant General Setup Screen. 5. Select User Views Setup. You will see a screen similar to the following. 2–107 2. iPENDANT OPERATIONS MAROUAR9102171E REV D Figure 2–68. Modifying User Views Screen Note User Views, after they have been cleared, cannot be recovered. 6. To clear one entry from the User View list , move the cursor to the view you want to clear, and press F4, CLEAR. The User View list will be redisplayed automatically. 7. To clear ALL entries from the User View list , press SHIFT and F4, CLEAR. The User View list will be cleared automatically. 8. To disable the User Views dialog box which is displayed by the DISPLAY menu, clear the User Favorites checkbox. 9. To enable the User Views dialog box which is displayed by the DISPLAY menu, check the User Favorites checkbox. 10. To display the main iPendant Setup menu , press F2, BACK. 2–108 Chapter 3 iHMI GUIDES Contents .......................................................................................... 3–1 3.1 iHMI GUIDE NAVIGATION ............................................................................ 3.1.1 The First Time you use iHMI Guided Setup ................................................. 3.1.2 How to Use iHMI Setup Guides ................................................................... 3–2 3–2 3–3 BASIC SETUP ............................................................................................ Overview .................................................................................................... Initial Setup ................................................................................................ End of Arm Tool Setup ............................................................................... TEACH ....................................................................................................... Creating a Program.................................................................................... Selecting a Program .................................................................................. 3–10 3–10 3–11 3–12 3–14 3–14 3–14 3.4 RUN ........................................................................................................... 3.4.1 Monitoring a Running Program ................................................................. 3–15 3–15 3.5 UTILITY ...................................................................................................... 3.5.1 Backup ...................................................................................................... 3.5.2 Jog Assist .................................................................................................. 3.5.3 Tutorials ..................................................................................................... 3–17 3–17 3–17 3–19 Chapter 3 3.2 3.2.1 3.2.2 3.2.3 3.3 3.3.1 3.3.2 iHMI GUIDES 3–1 3. iHMI GUIDES MAROUAR9102171E REV D 3.1 iHMI GUIDE NAVIGATION 3.1.1 The First Time you use iHMI Guided Setup FANUC’s iHMI Guides assist novice FANUC robot users with robot setup, creating a program, and monitoring production. Tutorials are also available to teach you how to perform basic robot functions. Figure 3–1 displays the first iHMI Guide Initial Setup screen that is displayed when you start up your robot. Note Figure 3–1 will also be displayed if you select Basic Setup from the HOME screen and then choose Initial Setup. See Section 3.1.2.4 . Figure 3–1. iHMI Setup 3–2 MAROUAR9102171E REV D 3. iHMI GUIDES 3.1.2 How to Use iHMI Setup Guides 3.1.2.1 Overview If you have a touchable iPendant, you can touch the buttons on the screen to activate them. If you do not have a touch pendant, use the up and down arrow keys to navigate among items on the screen. Press ENTER to select a button. 3.1.2.2 Sections of the iHMI Guide Screen The iHMI Guide screens are divided into four sections. This is shown in Figure 3–2 . Figure 3–2. Navigating the iHMI Screens 3–3 3. iHMI GUIDES MAROUAR9102171E REV D Step Pane The Step Pane displays a scrolling list of steps needed to perform the setup. The number of steps displayed varies depending on the type of the guide screen. Subsequent steps may also be added or changed, depending on the setting content. See Figure 3–3 . Figure 3–3. Step Pane Items As you advance through the steps and make a selection or perform the action displayed in the Action Pane, press NEXT STEP to continue. Each step will be marked with a checkbox after it is completed. To repeat a step, press the step name and perform the setup in the Action Pane. When you are done, press NEXT STEP. When the entire setup is complete, press FINISH. If you press 3–4 or to step through the pane display. MAROUAR9102171E REV D 3. iHMI GUIDES Action Pane The Action Pane allows you to make selections or set up information. Press NEXT STEP to continue after you have made a selection or performed a setup task. When available, the Action Pane will provide information directing you to perform a task. See Figure 3–4 . Figure 3–4. Directional Information The Action Pane will also indicate at the bottom of the screen additional information about the selections you are making. Scroll bars will be displayed if the information doesn’t fit on the screen. Drag the scroll bar up or down to view all of the information. If you don’t have a touch screen, use the arrow keys to display this additional information. 3–5 3. iHMI GUIDES MAROUAR9102171E REV D Figure 3–5. Scroll Bars Status The Status bar at the top of the screen displays status for items running in your system. Refer to Section 2.6.1 . Softkeys The Softkeys shown in Table 3–1 are available to assist in the use of the iHMI Guides. 3–6 MAROUAR9102171E REV D 3. iHMI GUIDES Table 3–1. Softkeys KEY DESCRIPTION Displays the HOME screen (Section 3.1.2.4 ), resets the screen to the previous display, or will display setup if it hasn’t been performed yet. Restarts the current guide. The following screen will be displayed: Press YES to restart the Guide. All changes will be canceled and the screen will display the original screen. If you do not want to restart the Guide, press NO. NEXT STEP is displayed after a choice is selected in the Action Pane. When pressed, activates the choice, and displays the next step screen. Displays the previous step screen. Displays the next step screen. Displays a confirmation that allows you to confirm, yes or no, whether you want to restart the Guide from the beginning with the default selections. 3–7 3. iHMI GUIDES MAROUAR9102171E REV D Table 3–1. Softkeys (Cont'd) KEY DESCRIPTION When available, displays a screen with more information about the step. Press EXIT to redisplay the Action for the current step. When available, exits the MORE INFORMATION screen and redisplays the Action for the current step. 3.1.2.3 iHMI Guided Setup Process Finishing iHMI Guided Setup To finish the iHMI Guided Setup, you must proceed through all of the steps, and then press FINISH. Sometimes FINISH is shown in addition to NEXT STEP, as in Create a Program Guide. In this case, there are defaults which will be used to finish the Guide. See Figure 3–6 . Figure 3–6. iHMI Guided Setup Process Exiting iHMI Guided Setup You can Skip the iHMI Guided Setup if you choose to do so. From the first iHMI Guided Setup screen, press NEXT STEP twice, then select Skip Guidance and Finish Setup, and press FINISH to set up your robot without stepping through the iHMI Guides. See Figure 3–7 . 3–8 MAROUAR9102171E REV D 3. iHMI GUIDES Figure 3–7. Exit iHMI Guides Note If you Skip Guidance and Finish Setup in the Initial Setup Guide, both Initial Setup and End of Arm Tool Setup will be skipped. You can then proceed to Create a Program using iHMI Guides. The Initial Setup and End of Arm Tooling will not be set up, but you can return and perform those at any time. Refer to Section 3.3 . 3.1.2.4 HOME Screen The HOME screen can be displayed at any time. Whenever you see this icon corner of the screen, you can touch it to display the HOME screen. at the bottom left Select an item on the HOME screen by touching that area as shown in Figure 3–8 . If you do not have an iPendant with a touch screen, use the up and down arrow keys and ENTER on the iPendant to move between items on the screen. Note Your HOME screen might display additional icons to those shown in Figure 3–8 . 3–9 3. iHMI GUIDES MAROUAR9102171E REV D Figure 3–8. HOME Screen Refer to Section 3.2 through Section 3.5 for more information. 3.2 BASIC SETUP 3.2.1 Overview Basic Setup iHMI Guides step you through Initial Setup and End of Arm Tool setup for your robot. If Initial Setup has not yet been performed, iHMI Guides automatically displays Guided Setup on the iPendant as soon as the controller is turned on. iHMI Guided Basic Setup has two parts: • Initial Setup 3–10 MAROUAR9102171E REV D 3. iHMI GUIDES • End of Arm Tool Setup Note Both Initial Setup and End of Arm Tool Setup must to be finished before you can proceed to more advanced iHMI Guided functions such as moving the robot or creating a program. Figure 3–9. Basic Setup 3.2.2 Initial Setup Initial Setup helps you define basic robot settings. It is an easy way for you to set up and be aware of general information such as standard safety considerations, local region, time zone, and basic network settings. You can use this iHMI Guide to determine your level of network access and connect your robot to a local network. Select the Initial Setup icon from the SETUP page, and the iHMI Initial Setup Guide will begin. 3–11 3. iHMI GUIDES MAROUAR9102171E REV D Complete each step in the Guide, and press FINISH when you are done. You should finish the steps in Initial Setup before you perform the steps in End of Arm Tool Setup. After you press FINISH at the end of Initial Setup, a screen similar to the following will be displayed. Figure 3–10. Initial Setup Complete The screen shown in Figure 3–10 indicates with a checkmark that Initial Setup is done, but End of Arm Tool Setup still needs to be completed. 3.2.3 End of Arm Tool Setup End of Arm Tool (EOAT), sometimes called a tool or tooling, is the equipment attached to your robot that you use to perform work. In this setup you will be specifying details about your kind of tooling, such as EOAT dimensions, angles, and other applicable parameters so that the robot can properly make use of the EOAT. You can return to this setup to change any setting at any time. If you do not want to save your changes, press CANCEL. 3–12 MAROUAR9102171E REV D 3. iHMI GUIDES Select the End of Arm Tool Setup icon from the SETUP page, and the iHMI End of Arm Tool Setup Guide will begin. Complete each step in the Guide, and press FINISH when you are done. After you press FINISH at the end of End of Arm Tool Setup, a screen similar to the following will be displayed. Figure 3–11. BASIC SETUP Finished Note Whenever you see this icon display the HOME screen. at the bottom left corner of the screen, you can touch it to When both Initial Setup and End of Arm Tool Setup are finished, and checkmarks are displayed on the icons you can proceed perform other tasks such as Creating a Program, or use the Tutorials. See Figure 3–11 . 3–13 3. iHMI GUIDES MAROUAR9102171E REV D 3.3 TEACH 3.3.1 Creating a Program Create Program guides a novice user through the steps of creating a new program using predefined templates. For a tutorial on how to Create and Edit a program, press the TUTORIAL button from the HOME screen or refer to Section 3.5.3 . Note You must finish iHMI Guided Initial Setup and End of Arm Tool Setup before you can create a program using iHMI Guides. Otherwise, the following message will be displayed: Figure 3–12. Caution Indicating Setup is Not Complete If you need information on how to start the iHMI Guided Initial Setup, refer to Chapter 3 iHMI GUIDES . If you have completed iHMI Guided Initial Setup, you can then Create a Program. Press CREATE PROGRAM as shown in Figure 3–13 . Figure 3–13. First Time You Create a Program Refer to Chapter 8 CREATING A PROGRAM for information on editing a program. For information on the Icon Editor, refer to Section 8.9 . 3.3.2 Selecting a Program After you have created a program, your most recent program name will be displayed as a selectable choice on the TEACH section of the HOME screen. If the most recent program is called PROG_1, you will see a screen similar to the one shown in Figure 3–14 . 3–14 MAROUAR9102171E REV D 3. iHMI GUIDES Figure 3–14. After You Have Created a Program Choose your most recent program name to edit it. If you have created more than one program, SELECT PROG. will be displayed on the TEACH section of the HOME screen. Choose SELECT PROG. to select your program for edit from a list of created programs. Figure 3–15. After More Than One Program is Created Refer to Chapter 8 CREATING A PROGRAM for information on editing a program. For information on the Icon Editor, refer to Section 8.9 . Refer to Chapter 8 CREATING A PROGRAM for information on editing a program. For information on the Icon Editor, refer to Section 8.9 . 3.4 RUN 3.4.1 Monitoring a Running Program After you have created a program, you can execute it as described in the Execute a Program tutorial. To monitor the running program or to monitor production, choose MONITOR from the RUN section of the HOME screen. You can also refer to Chapter 9 TESTING A PROGRAM AND RUNNING PRODUCTION for details on test running your program. 3–15 3. iHMI GUIDES MAROUAR9102171E REV D Figure 3–16. RUN A 4D visualization of the robot is displayed with the program lines on the right side. The currently executing line will be displayed at the top in red similar to the one shown below. Figure 3–17. Production Monitor 3–16 MAROUAR9102171E REV D 3. iHMI GUIDES 3.5 UTILITY The UTILITY section of the HOME screen provides easy to use links to common robot utilities. See Figure 3–18 . Figure 3–18. UTILITY 3.5.1 Backup BACKUP provides an iHMI Guided step by step method of backing up programs and other files. For more information about the files you can back up, refer to Section 12.3.4 . 3.5.2 Jog Assist Jog Assist allows you to practice jogging and allows you to adjust robot speed and set the coordinate system easily. Caution Your plant might require additional inspections before turning on power to the robot. To help ensure safe operation, you should familiarize yourself with the guidelines for your particular installation before you turn on the robot. Your plant might require additional inspections before turning on power to the robot. To help ensure safe operation, you should familiarize yourself with the guidelines for your particular installation before you turn on the robot. 3–17 3. iHMI GUIDES MAROUAR9102171E REV D Figure 3–19. Jog Assist Panes Adjust Jog Speed Jog speed is a percentage of the maximum speed at which you can jog the robot. The current jog speed is displayed in the top right corner of every teach pendant screen (in a bright green box). A jog speed of 100% indicates that the robot will move with the maximum possible jog speed. The maximum possible jog speed varies depending on the robot model. The jog speed is a percentage of the maximum speed at which you can jog the robot. Drag the gray scroll bar to the right to increase jog speed. Select Coord System A coordinate system defines how the robot will move. • JOINT - moves each individual axis of the robot. • Cartesian - moves the robot in a straight line based on a defined frame of reference: — JGFRM 3–18 MAROUAR9102171E REV D 3. iHMI GUIDES — TOOL — USER Perform the JOG TUTORIAL ( systems. Refer to Section 3.5.3 . ) to learn more about jogging the robot and selecting coordinate For information on JGFRM, TOOL, and USER coordinate systems, refer to Section 5.4 . 3.5.3 Tutorials Three iHMI Guide tutorials provide step by step information on how to perform the following common robot tasks: • Jog a robot • Edit a program • Execute a program 3.5.3.1 Jog a Robot The jog a robot tutorial teaches you to jog (manually move) the robot using the iPendant. Each item you must perform to jog the robot will be indicated on the iPendant. Figure 3–20. Jog a robot Note You can display the Jog Tutorial either from the Jog Assist screen or from the TUTORIAL Utility. 3.5.3.2 Edit a Program Edit a program tutorial teaches you to create a program using the iPendant. 3–19 3. iHMI GUIDES MAROUAR9102171E REV D Figure 3–21. Edit a Program 3.5.3.3 Execute a Program The Execute a program tutorial teaches you to execute a program you have created using the iPendant. Figure 3–22. Execute a Program 3–20 Chapter 4 4D FUNCTIONALITY Contents Chapter 4 4.1 4.1.1 4.1.2 4.1.3 4.1.4 4.1.5 4.1.6 4D FUNCTIONALITY ................................................................................ 4–1 OVERVIEW ................................................................................................. 4–2 Introduction ................................................................................................ 4–2 Navigation .................................................................................................. 4–5 Basic Display Concepts .............................................................................. 4–9 Selected Program ...................................................................................... 4–11 Frames ....................................................................................................... 4–11 Groups ....................................................................................................... 4–12 4.2 USER INTERFACE SCREENS ................................................................... 4.2.1 VIEWING 4D SCENES ................................................................................ 4.2.2 ADJUSTING THE VIEW .............................................................................. 4.3 VISUAL JOG .............................................................................................. 4–12 4–12 4–14 4–22 EDIT NODE MAP SCREEN ......................................................................... 4–27 4.5 SELECT SCREEN....................................................................................... 4.6 VIEWING TWO DIFFERENT PROGRAMS ................................................... 4–30 4–31 4.7 PROGRAM UTILITIES ................................................................................ 4–33 4.8 TCP TRACE .............................................................................................. FRAME SETUP .......................................................................................... POSITION REGISTERS ............................................................................. REMOTE CONTROLLER DISPLAY ............................................................. DCS 4D VISUALIZATION ........................................................................... 4D CUSTOMIZATION .................................................................................. ACCESSING THE 4D DISPLAY FROM A PC ............................................... View Adjustment Mode .............................................................................. Scene Visibility .......................................................................................... 4D GRAPHICS IMPORT .............................................................................. 4–35 4.4 4.9 4.10 4.11 4.12 4.13 4.14 4.14.1 4.14.2 4.15 4–37 4–38 4–39 4–42 4–43 4–44 4–45 4–46 4–46 4–1 4. 4D FUNCTIONALITY MAROUAR9102171E REV D 4.1 OVERVIEW 4.1.1 Introduction The teach pendant includes a 3D graphics processing engine. This enables the teach pendant to display the robot, tooling, parts and other cell components in 3D desktop quality graphics. When coupled with the robot controller internal data, the teach pendant displays otherwise invisible data in the robot as the 4th dimension of information. Warning When moving the robot with the pendant enabled, be sure to watch the robot instead of watching the teach pendant screen. After the robot is in a safe state, you can examine the pendant graphics. Otherwise, you could injure personnel or damage equipment. Note R764 4D Graphics is required for most of the functionality defined in this chapter. Warning 4D graphics might not be an accurate representation of the real world, so actual program verification with the robot arm is still required. Otherwise, you could injure personnel or damage equipment. Since the graphics processing occurs on the teach pendant, there is no impact to the performance of the robot operating system. In the case of displaying the position screen, the text for the position of the robot is sent to the teach pendant. In the case of 3D display of the robot arm, similar text is sent to the robot. The conversion of the text into a 3D waving robot model is all done on the pendant itself. The robot controller operates in three-dimensional space. Robot positions, frames of reference, etc., within three-dimensional space are represented to the user by the letters X, Y, Z (location) and W, P, and R (Orientation). While these letter designations accurately convey positional information, using 3D graphics to display this significant data makes things much clearer. The invisible data that can be displayed are: 1. The points (nodes) in a TP program and their logical connections. 2. DCS safety zones. 3. Robot jog settings. 4. Exact path that the robot followed. 5. Logical tool center point (does it match the physical TCP). 6. Frame settings. 4–2 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY 7. Position register settings. 8. Interference zones. 9. Line tracking boundaries. 10. Vision camera setups. In addition to displaying this internal data, the pendant can also display traditional graphics files provided by ROBOGUIDE. This allows the robot’s surroundings (fences, conveyers, and so forth) to be displayed. This context allows the operator to see the relationship between the real world and the graphical world displayed on the pendant. Screen modes allow the user to view up to three viewing panes on the Teach Pendant screen at any given time. The 4D menus can be used in any screen mode. In full screen mode, the entire screen is devoted to displaying 4D data. This has the advantage of showing the maximum amount of 4D context. In addition to the 4D world data, text can be displayed to label elements. This text provides a good reference back to the traditional text representation of the data. Figure 4–1. Full Screen Mode 4–3 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Dual screen mode allows related text information to be displayed in the left pane and graphics in the right pane. For example, the text TP program can be displayed in the left in text form and that same program can be displayed graphically in a 4D node map on the right. Figure 4–2 shows the editor and corresponding linked node map. Figure 4–2. Dual Screen Mode When the system is operating in dual pane mode, the graphical pane and the test pane are linked. The linked information will stay synchronized between the two panes. This is indicated by the color of the title bar of the unfocussed pane. In linked mode, when you cursor in the text window the selected item is also selected in the 4D world. If you select an item in the graphics screen with the touch panel, that item is selected in the text menu as well. Transitions between full screen mode and dual screen mode are quick and easy requiring a single touch or a single keystroke. The context of the operation is maintained through this transition as is the center of the screen view and the magnification. 4–4 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Multiple 4D windows can be displayed at the same time. Different windows are independent and have no restrictions on what can be displayed or how it can be displayed. Up to eight windows can be displayed between the teach pendant and external connections. The 4D menus use scenes (Refer to Section 4.2.1 ) to allow you to select what information you want to see. If all of the invisible information were shown at the same time, the display would become cluttered making it difficult to see the specific information of interest. Scenes allow you to filter that information and look at a subset. You can select a specific scene like DCS, or you can show multiple scenes like DCS and node map at the same time. The system provides controls to manipulate what information is displayed on the screen. These controls allow you to adjust magnification, position, and orientation of the 4D view. Each scene has its own viewpoint. The 4D display can be accessed from a remote PC. In addition to Monitor iPendant (ECHO) and Navigate iPendant (CGTP), a full screen Internet Explorer graphical window can display any data which is shown on the pane of the teach pendant. A link to this Full Screen 4D Display is found on the robot home page. 4.1.2 Navigation Figure 4–3 shows the teach pendant keypad highlighting the key. Figure 4–3. i Key 4D navigation is done using the i key ( ). It works like a shift key in that it is pressed along with another key to provide a special function. This special function is not always related to 4D, but it often is. Refer to Section 2.4 for a complete description of the options. 4–5 4. 4D FUNCTIONALITY MAROUAR9102171E REV D There are several ways to get to the 4D screen: • + POSITION displays the full screen view • The TOP menu has many 4D related ICONS • + EDIT displays the TP Editor and Node map • + DATA displays the Position register screen and 4D map • Touching the i symbol on the focus bar may bring up a menu with graphical entries • “4D Graphics” is under the standard menus on the second page item five. • “4D Graphics” in the same group as position so is accessible form the position type menu Note If R764 4D Graphics is not loaded the only thing displayed will be the robot. There will not be any 4D shortcuts in the TOP menu. The top menu has a full page of 4D shortcuts accessed by pressing the 4D soft key. Figure 4–4 shows a typical configuration with DCS loaded. The actual displayed ICONS will depend on what options are loaded. 4–6 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Figure 4–4. Top Menu After you are in the 4D display, navigation allows you to adjust the view point in order to see what you need to see. The soft keys determine the “mode” of operation of this sort of navigation. These keys allow you to: • Zoom the image in and out to narrow in on an item of interest • Pan around in the image to see different items from the same angle • Rotate the image in order to see the information from a different angle All of these movements can be accomplished with the touch screen or the arrow keys. After the view is set, the hard keys above can be used to transition quickly between full screen mode and dual pane mode. In the case where hard keys are not available maximize and minimize can be used to transition quickly between these modes without loosing context. Refer to Section 2.3 for a discussion on window setting. 4–7 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Each scene has its own viewpoint. This means that once the system is adjusted for a particular operation, coming back to that operation shows the same information. The following example illustrates: • A viewpoint is set up which shows DCS controls from a wide angle so that all zones are visible in on the screen, • The node map (TP program display) is selected for operation. The viewpoint is set for optimal viewing of that program. • DCS setup is selected and the same information is shown that was shown the last time this sceen was displayed. • The node map is selected for operation. The viewpoint is still set for optimal viewing of that program. 4–8 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY 4.1.3 Basic Display Concepts Figure 4–5. Robot Display Displaying the robot is basic for 4D Display. The robot is always displayed and always moves as the real robot moves. Even when the 4D Graphics option is not available, the robots and the floor are displayed. This is shown in Figure 4–5 . The black triad is the tool center point (TCP). A triad is a symbolic representation of a robot position and orientation. It shows the XYZ coordinate of a point in space and its orientation. Triads are used extensively to represent positions such as program positions and position registers. Triads are used to show coordinate frames such as visual jogging and frame setup. In Figure 4–5 the current tool center point has a Z offset of 500mm. 4–9 4. 4D FUNCTIONALITY MAROUAR9102171E REV D The black triad is exactly 500mm from the faceplate of the robot. As the robot moves the black triad moves. As the robot executes a program in single step mode the black triad will exactly line up with the triads representing the taught points. If the tool center point is changed, the black triad will move. Generally the system will include a graphical representation of the tool as well as this triad. Figure 4–6. Three Groups in One Controller Figure 4–6 shows a system equipped with three groups on one controller. In Figure 4–6 the near robot is selected for operation and is group two. All groups are shown. When the teach pendant is enabled, a particular group is always selected for teach pendant operations.On the status line G2 is displayed which also corresponds to the selected group. When a robot is selected for operation, the Tool Center Point (TCP) indicator is bright green. Other displayed robot TCPs are black. In Figure 4–5 the teach pendant is disabled. When the teach pendant is enabled the TCP triad will display bright green like in Figure 4–6 . 4–10 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY The floor is always shown with a 1 meter grid. This provides a good reference point for being “square.” The group one robot is positioned, by default, on the floor in the center with the X and Y coordinates of the robot lined up with the grid. Note that certain robots, such as the M-3iA, are top mounted so hung by default two meters above the floor hanging down. Robots can be repositioned in the cell by setting the $CELL_GRP[x].$CELL_FRAME system variable. This variable can also be used for robot calibration depending on the application. . Details of cell frame are in Section 6.10 . 4.1.4 Selected Program One of the main purposes of the 4D system is to provide views of TP programs. This can be used in many contexts including the SELECT menu, the editor, and various utilities. In both full screen mode and dual screen mode, the program that is used in the “4D Edit Node Map” scene is the default program. This is the program which is selected in the left window of in the full screen SELECT screen. This is also the program which will execute if you press the SHIFT+FWD buttons. If you want to view a specific program, select it from the SELECT menu. Any operations that you perform in whole mode of dual screen mode with the “4D Edit Node Map” scene will follow that program. A second program can be viewed which is not the default program. This is the program the cursor is on in the SELECT menu. Any operations that you perform in whole mode or dual screen mode with the “4D Select Node Map” scene will follow that program. Certain utilities will also set this program when they are used with a graphics screen. 4.1.5 Frames Any change to frames is always immediately reflected in the 4D views. There is no user action required to make this happen. For example a TP program has positions recorded in a vision frame. The points will move in the node map view as the vision offset frame on the controller change. Points which are not in the vision frame will not move. Any programs which are taught in a line tracking frame or in a coordinated frame will be displayed in that frame. When you look at the taught program in the node map editor, you will see the points with respect to the part in a particular position. As the line moves or the coordinated frame moves, the points will move as a whole with the connected frame. Note By definition, position registers are in the “current” frame. This might depend on context so position registers might not be displayed in a frame that they are not associated with. Set the correct frame to see the registers in the correct frame. 4–11 4. 4D FUNCTIONALITY MAROUAR9102171E REV D 4.1.6 Groups Each group is separately identified in the 4D system. The robots associated with those groups are always graphically displayed. The currently selected group displayed in the status window will be highlighted when the teach pendant is enabled. This makes it obvious which group is selected for a teach pendant operation. If that operation is jogging, then addition information on jog type, frame and direction will be displayed associated with that group. This provides the means to display information that moves with the group and is associated with that group easily. The tool for group 1 is a different entity than the tool for group 2. The jog information moves as the group moves. Other information like this can be displayed with the group such as line tracking boundaries. 4.2 USER INTERFACE SCREENS 4.2.1 VIEWING 4D SCENES The 4D world is divided into a number of different scenes. Each scene displays different information. If all of the invisible data on the robot were shown at the same time it would be difficult to find what you are looking for. Scenes filter that information so that you can look in a particular area for an issue without being distracted by information that is not of interest for the current operation. Some 4D world information is always shown. This information serves as a “background” for the scene that you want to view. The background consists of: • The floor to serve as a reference. • The robot arm(s) and other mechanisms. • End of arm tooling. • Cell components that have been configured with ROBOGUIDE for use on the 4D pendant. See Section 4.13 for details on how this works. Scenes are changed in a similar fashion as menus are changed for the text menus. In any 4D menu, F1 is the [ TYPE ] key. This key allows you to select what data to display in addition to the background. Available scenes depend on options. 4–12 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Figure 4–7. Scene Selection Each scene has a view associated with it. As the scene is changed, the viewpoint is changed to correspond to the viewpoint which was set the last time that scene was viewed. Typically you want to look at DCS setting from a wide view and programs from a narrower view. The standard scene is “4D Display”- by default this scene only shows the background. Other scenes can be made visible on a scene by scene basis. This is the only scene you can composite together multiple scenes to be viewed together. For example, this scene can display DCS and node map in the same screen. The standard scenes are: • 4D Display —shows the background plus any selected scene(s). • 4D Edit Node Map –shows the current default program graphical view or node map. • 4D Select Node Map —shows the node map of the program that corresponds to the where the cursor is in the SELECT menu. 4–13 4. 4D FUNCTIONALITY MAROUAR9102171E REV D • 4D Position Reg —shows the current position registers in the currently selected frame. • 4D TCP Trace —will show the path the robot takes when this screen is active while the robot is moving. • 4D Frame Display —shows the last frame shown in the frame setup menu. • Position display shows the standard text position display. Optional scenes include: • 4D DCS Display —shows the DCS setup or the last scene shown in the DCS setup menu. • 4D iRVision —shows camera locations and view areas. • 4D IIC Display —shows interference information. • 4D Pick Boundaries —shows boundaries for PickTOOL. • 4D Pick Frames —shows frames for PickTOOL • 4D Pick Registers —shows registers for PickTOOL 4.2.2 ADJUSTING THE VIEW The touch screen makes the 4D menus much more convenient to use. The key to using these menus effectively is the ability to change the position, angle and magnification of the 4D screen. This process provides the means to get the information critical for the current operation optimally displayed on the 4D screen. Arrow keys may also be used to adjust the view incrementally. Pressing SHIFT-ARROW will use a larger increment. Holding the arrow will cause the view to change as long as the arrow is pressed. An optional USB mouse can also be used to manipulate the 4D display. Note For the following sections any action initiated by touch can be initiated by clicking the left mouse button. The right mouse button always makes the selection regardless of the mode setting. 4.2.2.1 Zooming the View Zooming the view consists of changing the magnification. Increasing the magnification makes the objects larger but the field of view is narrow. Decreasing the magnification widens the field of view but the objects in the view become smaller. 4–14 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Figure 4–8. ZOOM Button To zoom the view: • Press F3 to set the system to zoom mode as shown above. • Touch and release near the top of the screen to increase the magnification. • Touch and release near the bottom of the screen to decrease magnification. • Firmly touch and hold the screen and zoom the image by dragging your finger up and down on the screen. Be sure to maintain contact by pressing firmly or using the fingernail side of your finger. Beeping means that you are not maintaining contact. • Use the up arrow to increase the magnification. • Use the down arrow decrease the magnification. • Holding the arrow will cause the magnification to continue changing as long as the arrow is pressed. 4.2.2.2 Panning the View Panning the view consists of moving the view left, right, up and down. Figure 4–9. PAN Button To pan the view: • Press F4 to set the system to PAN mode as shown above. • Firmly touch and release a point on the screen to make it the center of the view. When you release the image will jump so that the touch point is the center. • Firmly touch and hold the screen and drag the image around the screen. The image will follow your finger. Be sure to maintain contact by pressing firmly or using fingernail side of your finger. Beeping means that you are not maintaining contact. Releasing the touch leaves the view where it was dragged. • Use the arrow keys to move the image up, down left and right. SHIFT-ARROW moves further. • Holding the arrow will cause the views to continue moving as long as the arrow is pressed. 4–15 4. 4D FUNCTIONALITY MAROUAR9102171E REV D 4.2.2.3 Rotating the View Rotating the view consists of rotating the view left, right, up and down. The center of rotation is the selected item. By default, the selected item is the tool center point. Rotating left and right is like walking around the cell. Rotating up down is like climbing up and down a ladder to see the cell from an elevated position. Figure 4–10. ROTATE Button To rotate the view: • Press F5 to set the system to ROTATE mode as shown above. • Touch and release the view to “push” that part of the screen away from you. This will cause the view to tilt in response to a touch in a specific area. • Firmly touch and hold the screen and rotate the image by dragging your finger on the screen. The image will rotate with the action of your finger. Be sure to maintain contact by pressing firmly or using the fingernail side of your finger. Beeping means that you are not maintaining contact. • Use the arrow keys to rotate the image up, down left and right. • Holding the arrow will cause the views to continue rotating as long as the arrow is pressed. 4.2.2.4 Selecting an Item Selecting an item consists of touching it on the touch screen or cursoring in a related text view. Figure 4–11. SELECT Button To select an item: • Press F2 to set the system to SELECT mode as shown in above. • Firmly touch the item that you want to select. • With an optional USB mouse right click to select an item. The selected item will be highlighted in the graphical view and the linked text if the view is linked. In come cases, additional information will be displayed about the selected item. 4–16 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY 4.2.2.5 Selecting Preset Views The 4D Display system provides seven preset views. The default view provides a view from 45 degrees. This view is often a good starting point for setting the view. It will also put information back on the screen in the case where it has inadvertently been lost. All preset views will center the floor in the middle of the view. The other six views are orthogonal views. These views are from the top, bottom, left, right, front and back. Figure 4–12. Selecting a View Procedure 4-1 Selecting a View 1. Press NEXT to view the second page of soft keys. 2. Press the [VIEW] key to display the selection of preset and user views. 3. Select the type view you want to display with the softkey. • PRESET- Fixed views from specific viewpoints. • USER-Views recorded and named by user. 4–17 4. 4D FUNCTIONALITY MAROUAR9102171E REV D 4. Select the view that you want to use. • Touch the view that you want to be displayed. • Use the arrow keys to cursor to the view to be selected. • Use the number keys to select a specific view and then hit enter. PICTURE IN PICTURE In addition to selecting a preset view you can also select a “picture in picture” or PIP view. This allows you to view a small version of one scene within another. The PIP window remembers its content so when you swap a scene and viewpoint into the PIP window it will remember what was there the next time you bring up PIP. To manipulate picture in picture (PIP) views: • Select F4 from the preset view menu to show the PIP view. • Touch the PIP sub-window view to swap the main windows and the PIP window. • Use the ITEM key to swap the main windows and the PIP window. • Use the PREV key to dismiss the PIP window. • Use any menu key to dismiss the PIP window. 4.2.2.6 Recording and Using User Views The 4D system provides eight user definable views. These views can be recorded and then retrieved by selecting them. 4–18 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Figure 4–13. User View Menu By default these views are not initialized (indicated by the ***) and named User View 1–8. These views can be recorded and named to suit the needs of a specific installation. Procedure 4-2 Selecting a View 1. Press NEXT to view the second page of soft keys. 2. Press the [VIEW] key to display the selection of preset and user views. 3. Select the type view you want to display with the softkey. • PRESET- Fixed views from specific viewpoints. • USER-Views recorded and named by user. 4. Select the view that you want to use. • Touch the view that you want to be displayed. • Use the arrow keys to cursor to the view to be selected. • Use the number keys to select a specific view and then hit enter. 4–19 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Recording a user view 1. Set up the screen to display what you want to record using the PAN, ROTATE and ZOOM functions. 2. Press NEXT to view the second page of soft keys. 3. Press the [VIEW] key to display the selection of preset and user views. 4. Select F2 USER to display the list of user views. 5. Cursor to the view to be recorded. 6. Select F4 RECORD to record the current view into the user view. You can also select F5 RENAME and name the view without exiting the menu. Naming a user view 1. Press NEXT to view the second page of soft keys. 2. Press the [VIEW] key to display the selection of preset and user views. 3. Select F2 USER to display the list of user views. 4. Cursor to the view to be named. 5. Select F5 RENAME and enter the new name in the input box. You can also select F4 RECORD and record the current view without exiting the menu. 4.2.2.7 Visibility Figure 4–14. [VISIBLE] Button The elements which are visible in each screen are typically controlled by the visibility softkey on page two of the soft keys. In other cases, the visibility is based on what operation last took place in the linked screen. For the “4D Display,” the visibility key controls which scene(s) are displayed. The visibility key displays the menu of scenes which can be toggled on and off. This allows you to display multiple scenes at the same time. For all of the other scenes, the visibility key controls visibility of aspects of that scene such as text labels. For the register and node map scenes, you can control the visibility of the text labels. In the node map screen you can control the visibility of called programs. 4–20 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY The other scenes are controlled by the menu with which they are linked. In the frame setup menu the frame that the cursor is on is visible. When a DETAIL menu is displayed the frame and setup points associated with that frame are displayed. The other frames are not visible. For DCS, the Cartesian limits and robot restrictions are visible by default. After you link the DCS setup screen to the graphical pane, the last selected setup item is visible in the DCS graphics screen. 4D Graphics Display Visibility For the main graphics display screen which is the first entry in the [TYPE] menu visibility is special. This visibility allows you to display any combination of information from the other scenes. For example you can display the “4D Edit Node Map” and the “4D TCP Trace” at the same time in this screen. Visibility is where you select what 4D information is visible. Figure 4–15. Visibility menu The menu highlights which of the 4D elements are currently selected. From this menu you can “HIDE” or “SHOW” different elements. 1. Select next from the function key menu. 2. Select [VISIBLE] from F2 or [RIPE] from F3. Any elements which are currently visible will be displayed in BLUE. 4–21 4. 4D FUNCTIONALITY MAROUAR9102171E REV D 3. Select the element that you wish to hide or show. • Touch the item of interest and the visibility will be toggled. • Enter the number of the element you want to change and F5 to HIDE or SHOW it. • Use the arrow keys to cursor to the element you want to change and F5 to HIDE or SHOW it. 4. Exit the [VISIBLE] menu by hitting PREV, ENTER, F1, F2, F3 or any other menu key. 4.3 VISUAL JOG Visual jogging allows the coordinate system and the group selected for jogging to be indicated on the 4D display. It also allows you to preview the direction that the robot will move before actually jogging the robot. The jog indicators are displayed whenever the teach pendant is enabled and jog preview is turned on. It is not necessary to engage the DEADMAN in order to see the indicators. To turn jog preview on, press the and the COORD key simultaneously. This operation toggles the visibility of the jog indicators on and off. Caution When moving the robot with the pendant enabled, be sure to watch the robot instead of watching the TP screen. After the robot is in a safe state you can examine the pendant graphics. 4–22 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Linear Coordinate Display Figure 4–16. Linear Jog Indicator Figure 4–16 shows jog indicators for a 3 group Arc welding system. This concept applies for all applications. The Cartesian coordinate system at the tool center point of the robot shows what coordinate system in which the robot will jog. The red, green, and blue axes correspond to the X, Y and Z jog directions. For details on jogging in different coordinate systems, refer to Section 5.1 . As the coordinate system is changed (COORD key by itself) the display will show the currently selected coordinate system. This will work for all coordinate systems supported by your robot system. Note PATH coordinate system is not always valid. In this case visual jog will not show a coordinate system and the jog keys will be ineffective. 4–23 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Joint Jog Display Figure 4–17. Joint Jog Indicators Figure 4–17 shows the jog information for joint jogging. Each joint that can be jogged has a indicator consisting of: • A semi-transparent fan indicating the arc of joint motion and the proximity of joint limits. • A needle gauge showing the current joint position. • A blue arrow tangent to the fan showing the positive jog direction • A label naming the corresponding joint. Figure 4–17 shows joints 2 and 3 within 22.5 degrees of the joint limits. The fan will turn red as the robot is jogged closer to the limit. When the robot is jogged all the way to the limit the needle gauge will be at the boundary between the red and green color of the fan. 4–24 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Figure 4–18. Positioner Jog Indicator Figure 4–18 shows the same joint indicators for the positioner. This sort of display applies to any sort of mechanism connected to the robot controller. A linear mechanism is similar but slightly different to reflect that joint jogging is a linear operation. In the case the fan is replaced by a rectangle with similar functionality. Jog Preview Visual jogging will also preview the direction of movement of the robot when a particular jog key is pressed. This feature is activated when pressing a single jog key at the same time as the . Note that pressing more than one jog key will display the jog direction of the last key pressed. It is not necessary to enable the DEADMAN or clear errors. The preview will always be shown. The system must be in any 4D graphical display in order to see the jog preview information. Pressing and a jog key will NOT bring up the 4D display. Pressing at the same time as the position key is an easy way to bring up full screen 4D graphics for assistance in jogging the robot. The jog preview indicator is a single red arrow indicating the direction that the robot will move. Depending on the setting of the speed override (refer to Section 5.3 ) the size of the arrow will change. For low speed it will be short, for high speed it will be long. 4–25 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Cartesian Jog Preview Figure 4–19. Cartesian Jog Preview Figure 4–19 shows the typical display when a key is pressed with +Z. In this case the blue arrow shows the direction that the robot will move when the SHIFT and +Z keys is pressed. The length of the arrow will depend on the jog speed. for this example the override is 50%. Figure 4–20. Cartesian Rotation Preview Figure 4–20 shows the display for positive rotations about the X, Y and Z axis in WORLD frame. 4–26 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY These will be displayed when you press and a positive rotation key (+X(J4), (+Y(J5) or (+Z(J6). The robot will rotate about the tool center point in the plane shown by the circle. Joint Jog Preview Figure 4–21. Joint Jog Preview Figure 4–21 shows the display when you press the and +(J4) jog key. The red arrow along the fan show the direction that the robot will move if the SHIFT + (J4) is pressed. 4.4 EDIT NODE MAP SCREEN The 4D visualization of TP programs is called a node map. This shows all the points in the program as small triads in 3D in the “4D Edit Node Map” screen. 4–27 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Figure 4–22. Dual Screen Mode Figure 4–22 shows the node map screen always shows the node map for default program. This is true if it is shown full screen or in the right pane for dual mode. In the case of dual mode the right pane is always linked to the default program. To get to the graphical node map screen: • Press +EDIT. • Or from the TP edit screen press + FCTN and select “4D Edit Node Map”. • Or from the TP edit screen touch the i symbol on the left side of the focus bar and select “4D Edit Node Map”. • Or press ENTER from the graphical select menu. The main purpose of this is to see the relationship among the positions in a program. It also allows you to relate the line of the TP program to the point in space where the position is taught. For 4–28 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY example, if you know you want to adjust the highest point in the program, you can find that point easily without moving the robot. As the program is edited, the graphical view always reflects the current status of the edited program. As points are added, deleted, or touched up, the graphical view is updated to reflect those changes. The points are all linked by lines. Typically the lines are black but if the point is ambiguous the lines may be red. Note These lines do NOT indicate the exact path that the robot will take. Instead they illustrate the sequence in which the points will be visited in the program. To see the actual path of the program see Section 4.8 . The color of the triads varies depending on conditions. A yellow triad indicates that the position is a PR or INC option is used in the motion statement. The color of the lines also varies on conditions. For example, a red line indicates that there is a point without position data between the two nodes. Using AR (argument register) as index in a point also gives a red line because the value of AR is not clear until a program is executed. Points in the program which are position registers are also displayed as triads. The easy way to tell that they are registers is to enable the point labels. Visibility toggles the point labels off and on. The point labels include the position register number and comment. For the full edit line, refer to the linked edit pane. The larger green triad indicates the selected point. This will correspond to the text cursor in linked dual pane mode. As the cursor is changed in the text pane, the green highlight will change to correspond to the selected point. Touching a point in the graphical screen in select mode will change that point triad to a larger green triad and move the text highlight to the corresponding TP line in the linked left pane. Selecting the point from either pane makes that point the center of rotation for rotational view adjustment. 4–29 4. 4D FUNCTIONALITY MAROUAR9102171E REV D 4.5 SELECT SCREEN Figure 4–23. Select Preview Node Map Figure 4–23 shows the select list on the left and ”4D Select Node Map” scene on the right. The 4D scene displays the graphical content of the program which is highlighted by the cursor in the SELECT screen. In this case it may NOT be the selected program. As the cursor is moved up and down in the SELECT menu, the program display changes to correspond to the program that the text cursor is on. This allows the programs to be quickly reviewed such that the correct program is selected. To bring up the linked select screen: • Press +SELECT • Or when in the SELECT screen press +FCTN and select “4D Select Node Map” • Or touch the graphical i on the right side of the focus bar and select “4D Select Node Map ” 4–30 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY This program is loaded in to the “4D Select Node Map” and will be displayed when the “4D Select Node Map” is displayed. After you press ENTER to edit the program, the system will automatically go into linked edit mode. The brings up the text editor on the left and the node map in the right. Now the selected program and the default program are the same program. Pressing ENTER has selected the program into the default. If you do not press ENTER, the program displayed in the “4D Select Node Map” in the right pane remains associated with the select scene. The next time you enter the “4D Select Node Map” in any context, that is the program that will be displayed. Any time in any context you enter the “4D Edit Node map” scene the default program is shown. In Figure 4–23 the program has not be selected. So the program displayed in the “4D Select Node Map” scene is PNSRSR. The default program is ARC234. This means that “4D Select Node Map” will display PNSRSR and “4D Edit Node Map” will display ARC234. 4.6 VIEWING TWO DIFFERENT PROGRAMS Two programs can be viewed by using the program associated with the “4D Select Node Map ” scene and the default program associated with the “4D Edit Node Map” scene. To select the default program, cursor to it in the SELECT screen and press ENTER. To load a program into the “4D Select Node Map” scene, cursor to a program n the SELECT screen and leave the cursor there. 4–31 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Figure 4–24. Viewing two Different Programs This allows you to examine a program which is NOT the default program. In general the “4D Edit Node Map” always displays the default program. “4D Select Node Map” displays the program that the cursor is on in the SELECT screen. Going to full screen allows the program to be closely examined without impacting the default program. Another advantage of this is that the selected program can be displayed in one pane at the same time the default program node map is displayed in the other pane. This allows two programs to be viewed at the same time in the graphical environment. Procedure 4-4 Viewing two Programs 1. Edit the first program of interest in the left pane. This is the default program. 2. Bring up the linked select view: • Press +SELECT • Or press SELECT and press 4–32 +FCTN and select “4D Select Node Map ” MAROUAR9102171E REV D 4. 4D FUNCTIONALITY • Or press SELECT and touch the i on the left side of the task bar and select “Select” 3. Cursor to the second program of interest. This program is displayed in the right pane graphically. 4. Bring up the 4D Display in the left pane: • Press the position hardkey and select “4D Display” from the type menu. • Or use MENU-0–5 and select “4D Display” • Or go to top menu and select “4D Split Screen” 5. Select “4D Edit Node Map” from the type menu This will show the default program in the left pane using the “4D Edit Node Map” scene and the SELECT cursored program in the right pane using the “4D Select Node Map” scene. Note This is one example of how this can be set up and used. There are many other applications for viewing different graphical scenes in the two windows or viewing the same scene from different viewpoints in the two windows. 4.7 PROGRAM UTILITIES Many of the utility programs modify programs. It is possible to view the result of these programs in dual mode. In this case the panes are not linked in any way. 4–33 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Figure 4–25. Shift Utility and Node Map Utilities can operate on programs which are the default program or the currently selected program. Either program view can be used to display the result of the utility operation. The panes are not linked because the graphics pane is showing the current status of the program associated with that scene. In Figure 4–25 the mirror utility is operating on the selected program. Mirror can operate on any program but in order to view the result interactively it must be either the default program or the program loaded into the select scene. Some of the utilities which can benefit from this are: • Program adjust • Program Shift • Mirror Image Shift • Tool offset 4–34 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY To set up this operation you must select the program of interest as the default program or cursor to it in the SELECT screen. If the program being operated on is not the same as the “4D Edit Node Map” or “4D Select Node Map” program the utility will make it the “4D Select Node Map” program so it can viewed. • Press +FCTN and select “4D Edit Node Map” or “4D Select Node Map” • Touch the i on the status bar and select “4D Edit Node Map” or “4D Select Node Map” If there is not an i displayed graphically in the corner of the screen then this utility does not support bringing up the program automatically. In this case the program of interest must be selected or be the default. To make it the default edit it in the left pane. To make it the selected program (only affects graphics): 1. Bring up the linked select view: • Press +SELECT • Or press SELECT and press +FCTN and select “4D Select Node Map” • Or press SELECT and touch the i on the left side of the task bar and select “Select” 2. Cursor to the program of interest. This program is displayed in the right pane graphically. 3. Bring up the utility in the left pane via the standard menus 4.8 TCP TRACE The “4D TCP Trace” scene provides the capability to view the actual path that the robot took when executing a program. The key element is that you must be displaying the “4D TCP Trace” while the program is executing in order to see the trace. 4–35 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Figure 4–26. Node Map and Trace TCP trace works by sampling the actual position of the robot periodically. This is displayed as a line in XYZ space. Rotational information is not displayed at this release. Use Procedure 4-6 to view a TCP trace. 1. Select the graphical view in whole mode or dual mode with other information of interest in the LEFT pane. 2. Select the TCP trace scene from the type menu. 3. Run the program 4. Examine the resultant trace for problems. Caution When executing a program be sure to watch the robot. Do not watch the TP screen. After the robot is in a safe state you can examine the result. 4–36 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Running the program with motion DISABLED will also display the trace and movement of the graphical robot. Refer to Chapter 9 TESTING A PROGRAM AND RUNNING PRODUCTION for details on test running your program. 4.9 FRAME SETUP Figure 4–27. Frame Setup The Frame Setup screens offer a related 4D view. When this view is activated, you will be shown the 4D world with details about the current frame setup operation. Figure 4–27 shows the result of a frame setup which may not be expected. It is clear from the 4D picture that the frame Z points down instead of up. This is a common error which is easy to see in the 4D display. 4–37 4. 4D FUNCTIONALITY MAROUAR9102171E REV D The text view and the graphics view are linked. A large blue triad representing the location and orientation of the frame currently being set up is shown in the 4D world. If you are on the 3, 4 or 6 point detail screen, a small triad is displayed for each recorded point. The point currently highlighted in the text pane will also be highlighted in the graphics pane as a green triad. Changes made in the Frame Setup menu are immediately reflected in the 4D world. Any other changes to the frames such as a vision offset are immediately reflected. 4.10 POSITION REGISTERS The 4D display for position registers provides a graphical display for position registers which is very similar to node map described in Section 4.4 . Figure 4–28. Position Registers 4–38 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Each recorded position register is displayed as a triad in the graphical pane. The selected register is displayed as a larger green triad. Note Any register which has been set to joint representation will not be displayed. The default representations for registers is Cartesian, so unless the default representation is changed, the register will be displayed. In dual pane mode, the text view is linked to the graphical view. The highlighted register in the text view corresponds to the highlighted register in the graphical view. As the cursor is moved in the text pane, the green highlight will move to the selected register. Touching a register in the graphical menu in select mode will highlight the selected register in the text view. If the value of the register is changed, the triad for that register will move in the graphical pane. When operated in full screen mode, the selected register will be remembered and displayed the next time that the text mode is activated and vice versa. The visibility key on the second softkey page toggles the text label display. The label includes the register number and the comment. Note Registers are always considered to be in the “current” frame. The register graphical display reflects the position of the register in the current frame. This may not be how the register is used. Changing the current frame will be reflected in the position of the register triad in the graphics display. 4.11 REMOTE CONTROLLER DISPLAY The 4D graphics display provides a mechanism to display information from other controllers connected via Ethernet. By default it will display the robot arm and any tooling graphics associated with the remote arm. For certain options and applications other otherwise invisible data is also displayed. For example, interference zones automatically display data from any connected robots. 4–39 4. 4D FUNCTIONALITY MAROUAR9102171E REV D Figure 4–29. Display of Remote Robots and Data There are two ways to set up the display of remote robots. They can either be displayed using RIPE (refer to the Internet Options Manual) or by specifying, in a configuration file, any external robots that you want to show in your graphical scenes. After a configuration file is supplied or RIPE is active, the “4D GRAPHICS Display” scene provides the means to enable or disable the display of robots connected to other controllers. The [RIPE] menu provides the list of configured robots and the visibility of each robot can be toggled on and off. Remote robots are considered part of the background even though this mechanism turns them off and on globally. 4–40 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Controller Visibility Menu Figure 4–30. Controller Visibility Menu 1. Select next from the function key menu. 2. Select [VISIBLE] from F2 or [RIPE] from F3. Any elements which are currently visible will be displayed in BLUE. 3. Select the element that you wish to hide or show. • Touch the item of interest and the visibility will be toggled. • Enter the number of the element you want to change and F5 to HIDE or SHOW it. • Use the arrow keys to cursor to the element you want to change and F5 to HIDE or SHOW it. 4. Exit the [VISIBLE] menu by hitting PREV, ENTER, F1, F2, F3 or any other menu key. By default a maximum of three external controller can be displayed. This maximum is controlled by the system variable $TPGL_CONFIG.$CONTROLMAX. The visibility of each robot can be controlled from a TPP program by setting $TPGL_CONFIG.$CONTROLMASK[idx] where index is indicated by the order in the TPCLCG.XML file or ROSIPCFG.XML file. 4–41 4. 4D FUNCTIONALITY MAROUAR9102171E REV D In this menu you can select as many robots as you wish but the number of robots displayed will be limited by $TPGL_CONFIG.$CONTROLMAX. The maximum value of $TPGL_CONFIG.$CONTROLMAX is 16 but, for performance reasons, it is not recommended to increase this from the default 3 robots. Figure 4–31. TPGLCFG.XML The syntax is very simple and provides just the names and IP addresses of the remote controller from which you want to display information. This file can be provided on a USB stick or memory card and copied to MD:. At this release there is no menu to set this up. There is a menu to set up RIPE which is documented in the Ethernet Operations Manual. However, RIPE has the additional constraint that all connected robots must have the same version number. Graphical remote display does not have this restriction. Note In order to display information on a remote PC for Monitor iPendant (ECHO), Navigate iPendant (CGTP), or Full Screen 4D Display, the IP addresses in this file must be accessible to the remote PC. 4.12 DCS 4D VISUALIZATION Dual Check Safety (DCS) Visualization enables you to view a 4D graphical representation of the DCS settings. J657 DCS Pos./Speed Pkg. is required for this functionality. The view that is presented relates to the feature currently selected in the DCS Setup menu. The following features provide a graphical view: • DCS Robot setup. • DCS User model setup. • DCS Cartesian position check. • DCS Joint position check. The DCS settings that are displayed come from the setup pages so you can view the effects of your changes before they have been applied. As soon as you change the position or size of a DCS zone that change is graphically displayed in the graphics pane. The views are also “live”. That is – they update to follow the robot as it moves and reflect the current state of position check zones. 4–42 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Refer to the Dual Check Safety Function Operator's Manual for details. 4.13 4D CUSTOMIZATION The parts of the graphical display which are NOT the robot and not process data (programs, registers, DCS etc) are part of the 4D customization. The customization is accomplished by using a “4D Editor” PC tool. This tool allows the shapes that make up the cell to reflect the actual physical elements of the cell. These physical elements include things like tooling, fences, parts, conveyers and other cell elements. Use Procedure 4-8 to customize the information displayed in the physical cell. Procedure 4-8 Loading ROBOGUIDE Customization 1. Get a backup of your robot controller. 2. Generate a ROBOGUIDE cell from that backup. 3. Use the ROBOGUIDE tool to position and create cell components. 4. Load the ROBOGUIDE generated components onto your machine. This can be done by: • Copying the files onto a USB stick or memory stick and hitting enter on LOADTPGL.CM and responding YES to load the files. • Connecting the robot into the same network as the PC and selecting that robot as the destination from ROBOGUIDE. • Leave the files on the USB stick or memory card and leave that device plugged in when operating 4D menus Caution Graphical files can get quite large. The robot controller has limited FROM storage space to hold graphics files. ROBOGUIDE will help in reducing the size of the graphics files and using primitives wherever possible. ROBOGUIDE will generate two description files —TOOLING4D.XML and WORKCELL4D.XML. TOOLING4D.XML contains information which is considered part of the robot such as end of arm tooling. WORKCELL4D.XML tells the graphics system on the robot where to display the other shapes defined in the ROBOGUIDE setup. This file will contain the size and position of basic elements like boxes and cylinders. It will also contain the size and position of graphics files. 4–43 4. 4D FUNCTIONALITY MAROUAR9102171E REV D The graphics files used on the pendant have the extension .POD. These are the files that can get very large. They are typically derived from traditional graphics format files like IGES files. The XML file and the associated POD files are all copied to FR: by default. In this case they are backed up and restored with the full controller backup. Optionally these files can be left on the memory card or USB stick. This means that if the memory card or USB stick is not plugged in, the custom graphics will not be displayed. This approach reduces the limitation on how big the graphics files can be. Caution The amount of graphics that can be efficiently displayed on the pendant is limited. As more and more graphics are added, the frame refresh rate on the pendant will decrease. This will not impact execution of programs on the robot controller, but will result in a sluggish display. If you notice that the display is updating slowly, remove some of the graphics or reduce the size of some of the display to reduce a slowdown on the display. The performance will vary depending on the application. 4.14 ACCESSING THE 4D DISPLAY FROM A PC There are several ways to access 4D data from a remote PC: • Select “Monitor iPendant (ECHO)” from the home page to display on your PC an exact copy of what you see on the teach pendant. • Select “Navigate iPendant (CGTP)” from the home page to navigate 4D menus from your PC. This requires the R558 Internet Conn/Custo option • Select “Full Screen 4D Display” from the home page to show the “4D Display” scene on your PC. This requires the R558 Internet Conn/Custo and R7644D Graphics options. Note For early releases, display of 4D information requires that the PC have a advanced graphics card capable of displaying OpenGL. If your PC does not work, updating your PC graphics drivers might fix it. Select “Full Screen 4D Display” from the home page to provide a similar functionality as the 4D window on the teach pendant. The left mouse is used to adjust the view setting based on the current mode of operation. It also provides the ability to show any combination of 4D display scenes. A context menu is provided for selecting operation modes and scene visibility. This menu is displayed by right clicking the mouse anywhere in the active 4D display. 4–44 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY Figure 4–32. Full Screen Menu 4.14.1 View Adjustment Mode The view of the 4D scene can be adjusted with the mouse. The mouse can PAN, ROTATE or ZOOM the view. The mouse can also SELECT an item in the view as the rotation center. The function of the primary mouse button is determined by selecting the view adjustment mode. Procedure 4-9 Selecting View Adjustment Mode 1. Click with the right (alternate) mouse button. 2. Use either mouse button to select the view adjustment mode you want: • Select - To select a 4D element. • Pan - To move the view up and down and side to side. • Rotate - To rotate the view. • Zoom - To zoom the view in and out. 3. Click anywhere outside the menu to dismiss the menu. 4. Use the left (primary) mouse button to adjust the view according to the selection. 4–45 4. 4D FUNCTIONALITY MAROUAR9102171E REV D 4.14.2 Scene Visibility Scene visibility allows selection of any combination of 4D display entities. The highlighted (white on blue) elements in the menu are the ones which are currently being displayed. Selecting an element will toggle the visibility on or off. Procedure 4-10 Selecting Scene Visibility 1. Click with the right (alternate) mouse button. 2. Use the left or right mouse button to select the scene you want to toggle. • If the scene information is not showing the scene information will appear when selected. • If the scene information is already visible (white on blue) the scene information will become invisible when selected. 3. The information in the selected scenes will appear in 4D, but the menu will still be active 4. Click anywhere outside the menu to dismiss the menu. 4.15 4D GRAPHICS IMPORT The 4D Graphics Import option (R829) provides the ability to load graphics data that has been created with tools other than FANUC America Corporation's ROBOGUIDE®. This option requires that the 4D graphics option (R764) is also installed. With these two options, graphics data can be imported and displayed from other graphics design tools. This graphics data is displayed on the teach pendant along with the robot and other invisible information such as jog frames and Dual Check Safety (DCS). The data will typically be the peripheral equipment such as end effectors, fixtures and conveyers that constitute the physical environment that the robot is working on. Parts can also be included in this third party import. Generally third party graphics systems will not directly support the graphics formats required by the teach pendant graphics system. Tools from third party vendors are available to convert output from various CAD manufactures into the required data format. The conversion is done from the native format of the various tools to the format required by the teach pendant. As with the ROBOGUIDE option, the size of the graphics import is limited to 10MB. Loading graphics sets larger than 10M will result in a sluggish performance. Typically, third-party software products provide high level tools to limit the output data to what is required to be supported on the pendant. Generally these tools model an entire line of robots. For the pendant only, the peripheral equipment relevant to a specific robot needs to be displayed on a particular robot Graphics are imported into the FANUC graphics system via TOOLING.TPG and WORKCELL.TPG. These files can be copied to the MD: device on the robot by any normal file mechanism. For example, from the teach pendant you can select the files on a USB stick or memory card, and select “load” 4–46 MAROUAR9102171E REV D 4. 4D FUNCTIONALITY to load them onto the robot MD: device. If the file WORKCELL.TPG exists and the R829 option is loaded, then any existing graphics files will be ignored and this file will be used exclusively. WORKCELL.TPG can be deleted from FR: in the case that you want to remove the graphcis from the pendant. Note ROBOGUIDE will also generate TOOLING.TPG and WORKCELL.TPG for certain versions. The R829 option does not need to be installed in order to load the ROBOGUIDE generated files. Note The robot arm itself is always displayed. The TPG files contain graphics for external devices. If only the robot is displayed verify that R764 and R829 are loaded and the TPG files are on the MD: device. 4–47 Chapter 5 JOGGING THE ROBOT Contents Chapter 5 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.10.1 5.10.2 5.11 5.12 .......................................................................... ................................................................................................... Visual Jog ................................................................................................... Jog Speed ................................................................................................... Coordinate Systems ................................................................................... Wrist Jogging ............................................................................................. Remote TCP Jogging (Option) .................................................................... PATH Jogging (available only for ArcTool) ................................................. Motion Groups ........................................................................................... Jog Menu ................................................................................................... Extended Axes and Sub-Groups................................................................ Overview .................................................................................................... J7 and J8 Jog Keys.................................................................................... Jogging the Robot and Other Axes ........................................................... Jogging the Robot without the Teach Pendant .......................................... JOGGING THE ROBOT 5–1 Overview 5–2 5–2 5–2 5–4 5–8 5–9 5–9 5–13 5–14 5–16 5–16 5–17 5–22 5–27 5–1 5. JOGGING THE ROBOT MAROUAR9102171E REV D 5.1 Overview Jogging is manually moving the robot axes by pressing keys on the teach pendant. Before you add a motion instruction to a teach pendant program, you must first jog the robot to the position you want. This chapter contains information and procedures that describe how to jog the robot. The following items affect the way the robot jogs and the axes that move while jogging: • Jog speed - How fast the robot moves when jogging • Coordinate system - The way the robot moves when jogging • Minor axis wrist jogging - How the wrist axes will jog • Remote TCP jogging - Whether the tool is fixed in the workcell • PATH jogging - Jog coordinate system corresponds to current path The following items affect the axes that move while jogging: • Motion Groups - Which motion group is selected • Extended axes and motion sub-groups - Which extended axes or sub-group that is selected Note Some items listed above might not be supported by your software application. Note Refer to the iPendant Setup and Operations Manual for information on how to jog the robot remotely from a device other than the iPendant. 5.2 Visual Jog The best way to understand how jogging works is by using visual jog. Visual jog uses the 4D graphics system to assist in determining visually what mechanism will move and which direction it will move. Much of the information that is documented in the sections to follow is visually shown on the screen in real time. For details on using visual jog, see Section 4.3 . 5.3 Jog Speed Jog Speed 5–2 MAROUAR9102171E REV D 5. JOGGING THE ROBOT The jog speed determines how fast the robot will move when the jog keys are pressed. The jog speed is a percentage of the maximum speed at which you can jog the robot. The current jog speed is displayed in the top right corner of every teach pendant screen. A jog speed of 100% indicates that the robot will move with the maximum possible jog speed. The maximum possible jog speed varies depending on the robot model. The maximum possible jog speed is defined by the tool center point (TCP) moving at and below 250 millimeters per second. A jog speed of FINE or VFINE indicates that the robot will move in incremental steps. Care must be taken to ensure that the speed is set to a safe and acceptable level for jogging before the robot is moved. Table 5–1 lists all the possible values of the jog speed. Note When you use FINE and VFINE speed values, the robot moves one step at a time. You must release the jog key and press it again to move the robot again. Table 5–1. Jog Speed Values Speed Values Joint Cartesian 100, 95, 90, 85, ... 20, 15, 10, 5, 4, 3, 2, 1 % of jog speed % of jog speed FINE (incremental steps) Approximately 0.001 degrees Approximately 0.023 mm VFINE (incremental steps) Approximately 0.0001 degrees Approximately 0.002 mm The jog speed keys on the teach pendant are used to increment or decrement the jog speed. The SHIFT key combined with a jog speed key causes the jog speed to be changed between 100, 50, 5, FINE, and VFINE. Figure 5–1 shows the jog speed keys. 5–3 5. JOGGING THE ROBOT MAROUAR9102171E REV D Figure 5–1. Jog Speed Keys Set the jog speed to a value that is appropriate for the conditions in the workcell, the kind of jogging the robot is doing, and your own experience in jogging a robot. Use a slow jog speed until you are familiar with the robot. The slower the jog speed, the more control you have over robot motion. Note If you are in T2 mode and you release the deadman switch, the override speed will revert to a limited value such that the robot cannot move over 250mm/sec. For example, if you were jogging or running a program in T2 mode at 100% and you release the deadman switch, the override speed might reduce to 4%. This is to ensure safety when operation is resumed. 5.4 Coordinate Systems In jogging, a coordinate system defines how the robot will move. The coordinate systems are listed below: • JOINT • XYZ - includes WORLD, JGFRM, and USER • TOOL 5–4 MAROUAR9102171E REV D 5. JOGGING THE ROBOT • PATH - (ArcTool only). • LDR 2 - refer to the Coordinated Motion Manual You change the coordinate system by pressing the COORD key on the teach pendant, shown in Figure 5–2 . The coordinate system you choose is displayed in the upper right hand corner of the teach pendant screen. Table 5–2 indicates the LED or LCD indicator that corresponds to the coordinate system you choose. Figure 5–2. COORD Key and Display Table 5–2. LCD Indicators LCD Coordinate System JOINT JOINT XYZ WORLD, USER, JGFRAME TOOL TOOL PATH PATH (ArcTool only) Refer to Table 5–3 for listings and descriptions of the JOINT, XYZ, and TOOL coordinate systems. 5–5 5. JOGGING THE ROBOT MAROUAR9102171E REV D Table 5–3. Coordinate Systems COORDINATE DESCRIPTION SYSTEM JOINT Moves the individual axes of the robot. Caution Use of the JOINT motion mode with the F-200i series robots can cause damage to the robot. Jogging the F-200i series robot in JOINT is only permissible when single axis mastering. 5–6 ILLUSTRATION MAROUAR9102171E REV D 5. JOGGING THE ROBOT Table 5–3. Coordinate Systems (Cont'd) COORDINATE DESCRIPTION SYSTEM XYZ ILLUSTRATION Moves the robot TCP in the x, y, or z directions and rotates about x (w), y (p), or z (r). 5–7 5. JOGGING THE ROBOT MAROUAR9102171E REV D Table 5–3. Coordinate Systems (Cont'd) COORDINATE DESCRIPTION SYSTEM TOOL ILLUSTRATION Moves the robot TCP in the x, y, or z direction and rotates x(w), y(p), and z(r) in the selected tool frame. 5.5 Wrist Jogging The wrist jog function allows you to control how the robot axes will jog when you are using a Cartesian coordinate system, such as WORLD or TOOL. In wrist jog, the wrist axes are fixed and do not change when jogging in x, y, and z coordinates. This is helpful when you have to jog in the x, y, and z directions through a singularity position. When you jog a wrist axis using wrist jog, the other wrist axes will remain stationary and the rest of the robot axes will move to accommodate the movement of the wrist axes to maintain a fixed TCP location. You select wrist jog using the FCTN menu. When you select wrist jog, "W/" appears next to the coordinate system name displayed on the teach pendant screen as shown below. PROGRAM NAME W/TOOL 10% Use Procedure 5-3 to select wrist jog and jog the axes. 5–8 MAROUAR9102171E REV D 5. JOGGING THE ROBOT 5.6 Remote TCP Jogging (Option) The optional remote TCP jog function is useful for applications in which the tool is fixed in the workcell and the robot manipulates the workpiece around the tool. The frame used for jogging is a user frame (UFRAME) you set up and select. Note Remote TCP jogging will not be available if the Coordinated Motion option is loaded. When remote TCP jogging is turned on, if you move the robot in x, y, or z using the TOOL coordinate system, the robot moves as it normally would without remote TCP jogging. If you move the robot in w, p, and r (rotational moves), the rotational center will be the remote TCP position. In remote TCP jogging, an invisible tool is established to connect the faceplate to the remote TCP position. For example, if you select the WORLD coordinate system and jog the robot in w, the invisible tool will rotate along the WORLD x-axis. If you select the TOOL coordinate system and jog the robot in w, the invisible tool will rotate along the TOOL x-axis. You select remote TCP jogging using the FCTN menu. You also select the remote TCP frame using the FCTN menu. When you select remote TCP jogging, "Rn/" appears next to the coordinate system name displayed on the teach pendant screen, where "n" is the number of the user frame, which can be from 1 to 5 as shown below. PROGRAM NAME S R1/TOOL 10% You can perform remote TCP jogging only if you have selected a Cartesian coordinate system such as WORLD, TOOL, JOGFRAME, or USER. You cannot perform remote TCP jogging if you have selected the JOINT coordinate system. Use Procedure 5-3 to select remote TCP jogging, select the remote TCP frame, and jog the axes. 5.7 PATH Jogging (available only for ArcTool) If a running program is paused while executing a linear or circular motion instruction, you can jog the robot so that the jog coordinate system used corresponds to the current path of the robot. You do this using the PATH jog coordinate system. When you jog the robot using the PATH coordinate system, the robot will move in the frame created by the currently paused motion instruction. 5–9 5. JOGGING THE ROBOT MAROUAR9102171E REV D In PATH jogging, the +x jog key moves the TCP along the path. The +z jog key moves the TCP along the +z direction of the tool frame, and the +y jog key moves the TCP across the path. Refer to Table 5–4 . Table 5–4. Jog Keys and PATH Jogging Pressing this Jog Key Moves the Robot Pressing this Jog Key Moves the Robot Along the path Work angle Across the path Travel angle Stick out Around the wire You can use the PATH jog coordinate system only when a program is paused while executing a linear or circular motion instruction. You cannot use the PATH jog coordinate system any other time, or when using wrist joint (Wjnt) execution. PATH jogging continues to jog in an arc for circular motion instructions. Determining the PATH Jog Coordinate System for Linear Motion Instructions 5–10 MAROUAR9102171E REV D 5. JOGGING THE ROBOT The program shown in Figure 5–3 is used to illustrate PATH coordinate jogging during linear motion instruction execution. In the coordinate system shown, the x-direction is the direction of the path between positions, the z-direction is the z-direction of the tool, and the y-direction is calculated from the plane formed by the x- and z-directions. Figure 5–3. PATH Jogging for Linear Motion Instructions If the program is paused at P2 during FWD step execution, the PATH jog coordinates are determined by the last executed path, from P1 to P2. See Figure 5–4 . Figure 5–4. PATH Jogging for Linear Motion Instructions during FWD Step Execution If the program is paused at P2 during BWD step execution, the PATH jog coordinates are decided by the last execution path, from P2 to P3. See Figure 5–5 . 5–11 5. JOGGING THE ROBOT MAROUAR9102171E REV D Figure 5–5. PATH Jogging for Linear Motion Instructions during BWD Step Execution If the execution direction is in the tool z-direction, the x and z coordinates are the same, and the PATH coordinates do not have y coordinates. If you press the Y jog key, the robot will not move. See Figure 5–6 . Figure 5–6. PATH Jogging for Linear Motion Instructions when Execution is in the Z (Tool) Direction Determining the PATH Jog Coordinate System for Circular Motion Instructions When a program is paused during the execution of a circular motion instruction, the x-direction of the PATH coordinates is a tangent of the circular pass, the z-direction is the tool z-direction, and the 5–12 MAROUAR9102171E REV D 5. JOGGING THE ROBOT y-direction is calculated from the plane formed by the x-and z-directions. The PATH jog coordinates are determined the same way they are for linear motion instruction execution. 5.8 Motion Groups A motion group is a group of axes that work together to perform motion. A motion group defines these groups of axes that can be used for independent pieces of equipment, positioning tables, and other devices. Since each motion group can have a maximum of nine axes, if your system contains more than nine axes, there is more than one group that controls motion. The robot is in Group 1. The robot controller can operate up to four full kinematics devices (robot mechanical units) in eight motion groups, for a total of up to 72 axes; however: • There is a maximum of nine axes in a single group. — Process Axis devices (ServoTorch, Dispense ISDT, etc.) are considered an axis with respect to the total number of axes, but they do not constitute a motion group. — Line tracking encoders are limited to 4 channels, but they are not considered axes with respect to the total number of axes. • non-robot motion groups of one to four axes can be defined. The maximum number includes extended axes such as General Positioner, Basic Positioner, and Independent Axis devices. — The Index axis device is one axis by definition and the Arc Positioner device is a two-axis motion group device. Neither of these can have additional axes installed. Up to 36 axes are supported on the Main CPU PCB. Up to 24 axes can be supported on each of the two optional Auxiliary Axis PCBs. Note Although this adds up to 84 axes, due to other constraints, the maximum number of axes is 72. Extended Axes One to three extended axes can be added to a motion group. The axes cannot be used independently of the motion group. Each extended axis adds a position data field (E1, E2, E3) to the motion group data. Group Mask When you create a program, you define the group mask which is the group of axes that the program will control. A single program can be defined to use all eight motion groups, but a maximum of four robot motion groups can perform Cartesian interpolated motion within a single program. 5–13 5. JOGGING THE ROBOT MAROUAR9102171E REV D With multiple groups, the axes that jog depend on which group you have selected. You select groups using the GROUP key on the iPendant, or by using the FCTN menu, or by pressing the SHIFT and COORD keys. Use Procedure 5-3 to select groups and jog the axes. To change the group number, you can also use the jog menu. Refer to Procedure 5-1 . 5.9 Jog Menu The jog menu provides a method to check and change the following jogging information: • Currently selected frame number of each frame (TOOL, JOG, USER) • Currently selected group number • Currently selected sub-group type (ROBOT/EXT) Jog Menu Modes of Operation The jog menu has two modes of operation: AutoClose and Sticky. • In AutoClose mode the jog menu operates as it has in the past. To change an item, press a single numeric key on the Tool, Jog, User or Group lines. The item will change and the menu will close. AutoClose is the default when nine User Frames or ten Tool Frames are configured. The (.=10) on the Tool line indicates that AutoClose mode is active. The dot (“.”) key is interpreted as entering 10. This allows you to set the Tool Frame to 10 in AutoClose mode. • In Sticky mode you can make multiple entries. You must close the menu when done. In Sticky Mode, the < > characters indicate that a number is being entered but has not been applied yet. In the following example screen the jog menu is displayed on a controller with two motion groups. Tool Jog User Group 14 3 55 2 In Sticky Mode with Tool selected, when you press 2 you will see a display similar to the following: 5–14 MAROUAR9102171E REV D Tool Jog User Group 5. JOGGING THE ROBOT <2> 3 55 2 The < > symbols show that the number is being entered but has not yet been applied. When you press another number key, for example 3, the display will show <23>. You can accept this entry by — pressing any one of ENTER, COORD, PREV, or a function Key. This will close the jog menu. — pressing the up or down arrow. This will accept the entry, move the cursor to the item above or below, and keep the jog menu displayed. You can edit a number before it has been accepted: — pressing Back Space will remove the last number you entered. — pressing Back Space again will remove the next to last number you entered. In the example above, when <23> is displayed, after you press Back Space the <2> will remain. Pressing backspace again will remove the 2 and display the original number 14 without the < > characters. Sticky mode is the default mode when more than nine User Frames or ten Tool Frames are configured. If nine User Frames or ten Tool Frames are configured, you can enter Sticky mode by pressing ENTER. The (.=10) missing from the Tool line indicates that Sticky mode is active. Use Procedure 5-1 to display and use the jog menu. Procedure 5-1 Using the Jog Menu Steps 1. To display the jog menu, press and hold the SHIFT key and press the COORD key. 2. Use the up and down arrow keys to move the cursor to the item you want to change. 3. To change the number of each frame , press the appropriate numeric key. The item on which the cursor is located is changed to the new value. Valid frame numbers are as follows: • USER: 0-253. • TOOL: 0–253. To select 10, press the "." (period) key on the teach pendant. • JOG: 1-5 Note The text (.=10) does not appear and the "." key is not accepted if there are fewer than ten tool frames. 5–15 5. JOGGING THE ROBOT MAROUAR9102171E REV D Note The maximum number of tool frames is set in the system variable $SCR.$MAXNUMUTOOL. Refer to the Software Reference Manual and Software Installation Manual for more information. 4. To change to sub-group (available only for systems with extended axes), move the cursor to ROBOT/EXT and press the left and right arrow keys. 5. To change the group number (available only for multiple motion group systems), move the cursor to GROUP and press the appropriate numeric key. You can specify numbers only for existing motion groups. 6. To close the jog menu without entering a number, • Press SHIFT and COORD again. or • Press the PREV key. 7. To close the jog menu after you enter a number, • in Auto Close mode: If fewer than nine UFrames or ten TOOL Frames are configured, the jog menu closes automatically after you enter a frame or group number. • in Sticky Mode: If more than nine UFrames or ten TOOL Frames are configured, you can close the jog menu by pressing any one of ENTER, COORD, PREV, or a function Key. 5.10 Extended Axes and Sub-Groups 5.10.1 Overview Overview Extended axes are the available axes controlled by the controller beyond the standard number of robot axes. There is a limit of three extended axes per motion group. • One to three extended axes can be added to a motion group. The axes cannot be used independently of the motion group. • Each extended axis adds a position data field (E1, E2, E3) to the motion group data. • Process Axis devices (ServoTorch, Dispense ISDT, etc.) are considered an axis with respect to the total number of axes, but they do not constitute a motion group. 5–16 MAROUAR9102171E REV D 5. JOGGING THE ROBOT Extended axes become a sub-group of the motion group to which they belong. There are eight jog keys on the R-30iB Plus ipendant. You can jog all robot axes and extended axes for a total of eight axes. For robots with five axes, you can jog all robot axes and all the extended axes available by using jog keys J7 and J8. For a robot with six axes, you can jog all robot axes and two additional extended axes by using jog keys J7 and J8. If your configuration is a 6 axis robot with 3 extended axes, you can jog the third extended axis using sub-group jogging. You can jog all the extended axes with sub-group. To jog the extended axes in a sub-group, you must first select the sub-group using the FCTN menu. Or, you can press the GROUP key to toggle it to sub-group. The status line at the top of the screen displays whether a sub-group is being used, as shown below. PROGRAM NAME S JOINT 10% For example, if the sub-group controls axes 7, 8 and 9, select the sub-group and then refer to Table 5–5 . Table 5–5. SubGroup Example For Axis Number Use Jog Keys 7 +X, -X 8 +Y, -Y 9 +Z, -Z 5.10.2 J7 and J8 Jog Keys The J7, J8 jog keys can be used for jogging in the following applications: • Extended axis • Positioner • Servo Gun axis Using the J7 and J8 Keys to Jog Extended Axes When the robot group has extended axes, the J7 and J8 keys can be used to jog these extended axes without any additional setup. For example, when a robot group has 6 axes and 3 extended axes, J7 will jog the first extended axis, and J8 will jog the second extended axis. To jog the third extended axis, you have to switch to sub group to jog it. When a robot group has 5 axes and 3 extended axes, J6 will jog the first extended axis, J7 will jog the second extended axis, and J8 will jog the third extended axis. 5–17 5. JOGGING THE ROBOT MAROUAR9102171E REV D For a system with a 6 axes, robot group and 2 extended axes, the position display page appears as follows: POSITION Joint Tool: 1 J1: 180.000 J2: 24.637 J3: J4: 66.560 J5: -18.600 J6: E1: 998.995 E2: 0.000 J2/J3 Interaction: -5.751 -30.388 -69.385 Using the J7 and J8 Keys to Jog a Positioner Axis To use the J7 and J8 jog keys to jog a positioner axis, you need to define the mapping of each key to a specific axis of the positioner. Use Procedure 5-2 to perform the setup. Procedure 5-2 Assigning J7 and J8 to Jog a Positioner Axis 1. Press MENU. 2. Select System. 3. Press F1, [TYPE]. 4. Select item CONFIG. You will see a screen similar to the following. This menu can be used to set up the mapping. System/Config 49/49 39 40 41 42 43 44 45 46 47 48 49 Set when prompt displayed: DO[ 0] Output when WAIT on Input:<*DETAIL*> Signal if OVERRIDE = 100 DO[ 0] Hand broken : <*GROUPS*> Remote/Local setup: OP panel key External I/O(ON:Remote):DI [ 0] UOP auto assignment: None Multi Program Selection: TRUE WAIT at Taught Position: FALSE Brake control ECO mode: FALSE J7, J8 Jog Key : <*DETAIL*> [ TYPE ] 5. To display the SYSTEM/CONFIG menu again, press PREV. 6. To map J7 to the first axis of positioner axis, and J8 to the second axis of positioner axis in a system that has an R-2000iB/165F as group 1 , and 2 axes positioner as group 2 for example, perform the following: 5–18 MAROUAR9102171E REV D 5. JOGGING THE ROBOT a. Map J7 to the first axis of positioner axis by changing item 1, J7 Group from 1 to 2. The menu display for robot group description will change from R-2000iB/165F to GEN_POS. b. Change item 2, J7 Axis, from 0 to 1 System/Config J7, J8 Jog Keys Group: 1 2 3 4 5 6 J7 Group J7 Axis J7 Label J8 Group J8 Axis J8 Label : : : : : : 1 R-2000iB/165F 2 0 ‘’ 1 0 ‘’ [ TYPE ] GEN_POS R-2000iB/165F GROUP c. Map J8 to the 2nd axis of positioner axis by changing item 4, J8 Group, from 1 to 2. The menu display for robot group description will change from R-2000iB/165F to GEN_POS. d. Change item 5, J8 Axis, from 0 to 2 System/Config J7, J8 Jog Keys Group: 1 2 3 4 5 6 J7 Group J7 Axis J7 Label J8 Group J8 Axis J8 Label [ TYPE ] : : : : : : 1 R-2000iB/165F 2 1 ‘’ 2 2 ‘’ GEN_POS GEN_POS GROUP e. If you display the position display menu, additional J7, J8 Keys mapping and position information of the mapping axis will be displayed as follows. 5–19 5. JOGGING THE ROBOT POSITION Joint J1: J4: MAROUAR9102171E REV D 0 Tool: 1 180.000 J2: 66.560 J5: 24.637 J3: -18.600 J6: J2/J3 Interaction: -30.388 -69.385 -5.751 (J7) G2 / J1 (J8) G2 / J2 986.119 180.000 Note If you have multiple panes displayed, the position display will not reflect your changes on the other pane until you either exit and re-enter position display, or change display coordinate (such as from JOINT to WORLD or USER). f. Step 4 ( Optional ). This step allow you to change description of J7, J8 mapping from default ( Gx / Jy ) to your own label • Change the J7 label to Table axis 1 as shown below. System/Config J7, J8 Jog Keys Group: 1 2 3 4 5 6 J7 Group J7 Axis J7 Label J8 Group J8 Axis J8 Label : : : : : : 1 R-2000iB/165F 2 1 ‘Table axis 1’ 2 2 ‘’ [ TYPE ] GEN_POS GEN_POS GROUP • Change the J8 label to Table axis 2 as shown below. System/Config J7, J8 Jog Keys Group: 1 2 3 4 5 6 J7 Group J7 Axis J7 Label J8 Group J8 Axis J8 Label [ TYPE ] 5–20 : : : : : : 1 R-2000iB/165F 2 1 ‘Table axis 1’ 2 2 ‘Table axis 2’ GROUP GEN_POS GEN_POS MAROUAR9102171E REV D POSITION Joint J1: J4: 5. JOGGING THE ROBOT 0 Tool: 1 180.000 J2: 66.560 J5: 24.637 J3: -18.600 J6: J2/J3 Interaction: -30.388 -69.385 -5.751 (J7) Table axis 1 (J8) Table axis 2 986.119 180.000 Note In a multiple group system, each group has its own mapping for the J7, and J8 keys. When you toggle groups in a multiple group system, the J7, and J8 keys automatically switch to the mapping of the toggled group. You can use F3, GROUP to switch to “J7, J8 Jog Keys” setup menu for a different group. For example, in a system with an R-2000iB/165F as group 1, M-20iA/10L as group 3, and positioner as group 2. If you press F3, GROUP and select 3, the display will change to be similar to the following. System/Config J7, J8 Jog Keys Group: 1 2 3 4 5 6 J7 Group J7 Axis J7 Label J8 Group J8 Axis J8 Label [ TYPE ] : : : : : : 1 M-20iA/10L 3 0 ‘’ 3 0 ‘’ M-20iA/10L M-20iA/10L GROUP Note You can follow the steps described above to set up mapping of the J7, and J8 jog keys for an M-20iA/10L. You can disable the J7 jog key by setting item 2, J7 axis, to 0. You can disable the J8 jog key by setting item 5, J8 axis, to 0. When the J7 key is disabled, the position display for J7 will not be shown. When the J8 key is disabled, the position display for J8 will not be shown. Using the J7 and J8 Keys to Jog the Servo Gun Axes Please refer to the Servo Gun Function Operator's Manual for details. 5–21 5. JOGGING THE ROBOT MAROUAR9102171E REV D You can change the following system variables directly to map the J7 and J8 keys to jog a certain software axis. Refer to Table 5–6 . Table 5–6. $JOG_GROUP[] System Variables System Variable in $JOG_GROUP[] Type Description $J7_GROUP INTEGER The group number that J7 is mapped to. $J7_AXIS INTEGER The axis number that J7 is mapped to. $_GROUP INTEGER The group number that J8 is mapped to. $J8_AXIS INTEGER The axis number that J8 is mapped to. $J7_LABEL STRING[15] This is an optional string for the Position Display Screen. If this string is empty, on the Position Display Screen will show Gx/Ay next to (J7) line. If this string is set, its contents will replace Gx/Ay. $J8_LABEL STRING[15] This is an optional string for the Position Display Screen. If this string is empty, on the Position Display Screen will show Gx/Ay next to (J8) line. If this string is set, its contents will replace Gx/Ay. $DSB_J7J8 BOOLEAN When the value is TRUE, both J7 and J8 key will be disabled. $DSBL_KEY[1–6] BOOLEAN When the value is TRUE, the specified jog key will be disabled. 5.11 Jogging the Robot and Other Axes You can use the iHMI Guide tutorials to learn how to perform this procedure. You can use iHMI Guides to perform a similar procedure. Use Procedure 5-3 to select sub-groups and jog the robot and other axes. Procedure 5-3 Jogging the Robot and Other Axes Condition • All personnel and unnecessary equipment are out of the workcell. • All EMERGENCY STOP faults have been cleared. Refer to Section 9.2 . • All other faults have been cleared and the fault light is not illuminated. 5–22 MAROUAR9102171E REV D 5. JOGGING THE ROBOT • The MODE SELECT switch is in the T1 or T2 position. Warning Make certain that all safety requirements for your workplace have been followed; otherwise, you could injure personnel or damage equipment. Note If you are using ArcTool, the PATH coordinate system is available only when a program is paused while executing linear or circular motion instructions that do not use the wrist joint (Wjnt) motion option. Step Caution Use of the JOINT motion mode with the F-200i series robots can cause damage to the robot. Jogging the F-200i series robot in JOINT is only permissible when single axis mastering. 1. Select a coordinate system by pressing the COORD key on the teach pendant until the coordinate system you want is displayed in the upper right hand corner of the teach pendant screen, as shown below. Note The jog speed value will automatically be set to 10%, when the teach pendant is turned on, or when the controller is first powered up. 2. Hold the teach pendant and continuously press the DEADMAN switch on the back of the teach pendant. 5–23 5. JOGGING THE ROBOT MAROUAR9102171E REV D Note If you compress the DEADMAN switch fully, robot motion will not be allowed and an error occurs. This is the same as when the DEADMAN switch is released. To clear the error, press the DEADMAN switch in the center position and press RESET. 3. Turn the teach pendant ON/OFF switch to the ON position. Note If you release the DEADMAN switch while the teach pendant is ON, an error will occur. To clear the error, continuously press the DEADMAN switch and then press the RESET key on the teach pendant. 4. If your system is configured with multiple motion groups, select the motion group you want to jog by doing the following: a. Press and hold the SHIFT key and press COORD to display the JOG menu. Figure 5–7. Jog Menu b. Move the cursor to GROUP and press the appropriate numeric key. 5. If your system has extended axes, select the sub-group that you want to jog by doing the following: a. Press FCTN. b. Move the cursor to TOGGLE SUB-GROUP and press ENTER You will see a screen similar to the following. 5–24 MAROUAR9102171E REV D 5. JOGGING THE ROBOT PROGRAM NAME S JOINT 10% c. To de-select a sub-group press FCTN, move the cursor to TOGGLE SUB-GROUP, and press ENTER. 6. If you want to use wrist jogging, a. Press FCTN. b. Move the cursor to TOGGLE WRIST JOG and press ENTER. The status line indicator for wrist jog is displayed in the upper right hand corner of the teach pendant screen. See the following screen for an example. PROGRAM NAME S W/TOOL 10% c. To de-select wrist jogging press FCTN, move the cursor to TOGGLE WRIST JOG, and press ENTER. Note WRIST JOG is not available or applicable in "JOINT" mode. 7. If you want to use optional remote TCP jogging, a. Select the Cartesian coordinate system you want to use for remote TCP jogging. b. Press FCTN. c. Move the cursor to TOGGLE REMOTE TCP and press ENTER. The status line indicator for remote TCP jogging is displayed as "Rn/" in the upper right hand corner of the teach pendant screen next to the coordinate system, where "n" is the number of the remote TCP frame. PROGRAM NAME S R1/TOOL 25% d. Press FCTN. e. Move the cursor to CHANGE RTCP FRAME and press ENTER. Each time you select CHANGE RTCP FRAME, the user frame selection is advanced: from 1 (R1) to 2 (R2) to 3 (R3) to 4 (R4) to 5 (R5) and then back to 1 (R1). Select the user frame (UFRAME) you want to use for remote TCP jogging. f. To de-select remote TCP jogging, press FCTN and move the cursor to TOGGLE REMOTE TCP and press ENTER. 5–25 5. JOGGING THE ROBOT MAROUAR9102171E REV D 8. Select a jog speed by pressing and releasing the appropriate jog speed key until the jog speed you want is displayed in the upper right hand corner of the teach pendant screen, as shown below. PROGRAM NAME S TOOL 25% Note Set the jog speed to a low percentage (%) value if you are inexperienced in jogging the robot, or if you are uncertain how the robot will move. Warning In the next step, the robot will move. To stop the robot immediately any time during jogging, release the DEADMAN switch or press the EMERGENCY STOP button. Caution Use of the JOINT motion mode with the F-200i series robots can cause damage to the robot. Jogging the F-200i series robot in JOINT is only permissible when single axis mastering. 9. To jog, press and hold the SHIFT key and continuously press the jog key that corresponds to the direction in which you want to move the robot. To stop jogging, release the jog key. 5–26 MAROUAR9102171E REV D 5. JOGGING THE ROBOT Note If you have set the singularity stop system variable, $PARAM_GROUP[n].$T1T2_SNGSTP to TRUE, the robot will stop at singularity points while in T1 or T2 mode. 10. When you are finished jogging, turn the teach pendant ON/OFF switch to OFF, and release the DEADMAN switch. 5.12 Jogging the Robot without the Teach Pendant Refer to the “Advanced iPendant Functions” chapter of the Internet Options Manual for more information. 5–27 Chapter 6 FRAMES Contents Chapter 6 6.1 6.2 6.3 6.4 6.5 6.6 6.6.1 6.6.2 6.6.3 6.7 6.7.1 6.7.2 6.7.3 6.8 6.8.1 6.9 6.9.1 6.9.2 6.10 6.10.1 6.10.2 6.11 6.12 .................................................................................................. ...................................................................................... How Frames are Used ................................................................................. Using the Right-Hand Rule to Understand Robot Frames .......................... Frame Types ............................................................................................... World Frame ............................................................................................... Tool Frame .................................................................................................. Tool Frame General Information ................................................................. Setting Up a Tool Frame ............................................................................. Selecting a Tool Frame ............................................................................ User Frame ................................................................................................ Overview .................................................................................................... Setting Up a User Frame ............................................................................ Selecting a User Frame .............................................................................. Remote TCP Frame .................................................................................... Setting Up a Remote TCP Frame .............................................................. Jog Frame .................................................................................................. Setting Up Jog Frame .............................................................................. Selecting a Jog Frame ............................................................................. Cell Frame and Cell Floor .......................................................................... Cell Frame Setup ....................................................................................... Cell Floor Setup ......................................................................................... Saving Frame Data .................................................................................... Frame Visualization ................................................................................... FRAMES 6–1 Frames Overview 6–2 6–2 6–4 6–5 6–5 6–6 6–6 6–9 6–39 6–41 6–41 6–44 6–61 6–63 6–63 6–73 6–73 6–84 6–85 6–86 6–91 6–92 6–94 6–1 6. FRAMES MAROUAR9102171E REV D 6.1 Frames Overview A 3D Cartesian coordinate system is a set of three planes at right angles to each other. The point at which all three planes intersect is the origin of the system. FANUC typically refers to such a system as a Frame. In the robot system, the intersecting edges of the planes are the X, Y, and Z axes of the frame. See Figure 6–1 . Figure 6–1. Cartesian Coordinate System Caution Do not set up or alter frames when you use PalletTool. Frames are automatically set up for you by PalletTool. 6.2 How Frames are Used Frames are used to describe the location and orientation of a position in three-dimensional space. The location is the distance in the X, Y, and Z directions from the origin of the reference frame. The orientation is the rotation about the X, Y, and Z axes of the reference frame. When you record a position, its location and orientation are automatically recorded as X, Y, Z, W, P, and R relative to the origin of the frame it uses as a reference. The location of a position is expressed as three dimensions, which, in the robot, are measured in millimeters from the origin in the X, Y, and Z directions. For example, 1000,500,500 means the position is 1000mm in the X direction, 500mm in the Y direction, and 500mm in the Z direction from the origin. See Figure 6–2 6–2 MAROUAR9102171E REV D 6. FRAMES Figure 6–2. Position Relative to a Frame The orientation of a robot position is measured in degrees of rotation about the X, Y, and Z axes. For example, 0,45,0 means that the position is rotated +45 degrees about the Y axis and is not rotated about the X or Z axes. See Figure 6–3 Figure 6–3. Rotated Position Moving the Location and Orientation of a Frame You can move the location and orientation of any frame except the world frame. When you move the location or orientation of a frame, all positions recorded with that frame also move. However, the location of those positions will stay the same within that frame. See Section 6.7 for the default location of the user frame. 6–3 6. FRAMES MAROUAR9102171E REV D Caution If you change any TOOL or USER frame data after a program has been taught, you must reteach each program position or range. If you do not, damage could occur to the equipment. 6.3 Using the Right-Hand Rule to Understand Robot Frames In mathematics and physics, the right-hand rule is a common mnemonic to aid in understanding three-dimensional vector relationships. In robotics, with proper positioning of the hand, the right-hand rule can also be used in remembering which direction each frame vector should be pointing. FANUC’s use of the right-hand rule assigns the X-vector to the index finger, the Y-vector to the middle finger, and the Z-vector to the thumb as shown in Figure 6–4 . If the right hand is positioned with the index finger pointing toward the front of the robot (usually opposite of the base cables) the X, Y, and Z of the World frame can easily be recalled as illustrated in Figure 6–5 . Figure 6–4. Right-hand Rule 6–4 MAROUAR9102171E REV D 6. FRAMES Figure 6–5. World Positive X, Y, and Z Vector Directions 6.4 Frame Types The robot uses five kinds of frames. The different kinds of frames make it easier to perform certain tasks. The kinds of frames are: • World frame - the default frame of the robot • Tool frame - a user-defined frame • User frame - a user-defined frame • Jog frame - a user-defined frame • Cell frame - a user-defined frame The Cell Floor is also set up under this menu item. It is only used to place the picture of the floor in the 3D display. 6.5 World Frame The world frame is a default frame of the robot and cannot be changed. It is the basis for all taught positions and all taught frames within the robot. On most FANUC serial-link robots, the origin of 6–5 6. FRAMES MAROUAR9102171E REV D World frame is typically designated as the intersection of the center of the robot base with a plane at the level of the motor controlling joint 2. This origin, along with the X, Y, and Z directions, is illustrated in Figure 6–6 . Robot positions that reference the World frame reflect the position of the robot’s Tool Center Point (TCP) in X,Y,Z,W,P, and R relative to the origin of this frame. See Figure 6–6 for an example. Your robot might be different depending on your system. Figure 6–6. World Frame 6.6 Tool Frame 6.6.1 Tool Frame General Information Tool frame is used to describe the orientation and location of the physical tool on the robot. By default, the tool frame has its origin at the robot faceplate. 6–6 MAROUAR9102171E REV D 6. FRAMES Figure 6–7. Tool Frame Origin Default Location When you set up a Tool frame (sometimes referred to as the User Tool or UTool), you move the default Tool frame origin from the robot faceplate (see Figure 6–7 ) to the point on the applicator, gun, torch, or tool at which the painting, welding, sealing, handling, or other application work is to be done (see Figure 6–8 ). The tool frame origin is often referred to as the Tool Center Point (TCP). Figure 6–8. Tool Frame Origin Moved to the End of the Tool Notice the angle of the tool frame axes (X, Y, and Z) did not change between Figure 6–7 and Figure 6–8 since the shape of the tool did not require any such change. If, however, the tool has an angle to it, we may want to adjust the angle of X, Y, and Z of the tool frame to reflect this (see Figure 6–9 ). 6–7 6. FRAMES MAROUAR9102171E REV D Figure 6–9. Tool Frame Adjusted to Accommodate Angled Tool Things to keep in mind when using tool frames. • Before you use tool frame, you must set up its location and orientation. • The controller allows you to set up many different tool frames for each robot. The default number is ten, but you can configure the controller for up to 253 tool frames. They will be stored in the system variable $MNUTOOL. • You can select only one tool frame at a time to be active. The frame number will be stored in the system variable $MNUTOOLNUM. • You can jog the robot in the active tool frame. • If a system uses different end-of-arm-tooling (EOAT), each tool will need a different tool frame. By setting up a different tool frame for each tool, the existing program points will be valid, regardless of the tool used. Table 6–1 lists the tool frame setup items and function key operations. Table 6–1. Tool Frame Setup Screen Items ITEMS DESCRIPTION Tool Frame Setup/xxxx This line shows the current selected method for setting each tool frame. Frame number 1-10 These lines show the current position and comment for each available tool frame. X This column shows the coordinate of each tool frame. 6–8 MAROUAR9102171E REV D 6. FRAMES Table 6–1. Tool Frame Setup Screen Items (Cont'd) ITEMS DESCRIPTION Y This column show the coordinate of each tool frame. Z This column show the coordinate of each tool frame. Comment This column shows the comment for each tool frame. Active TOOL $MNUTOOLNUM[1] = 1 This line indicates which tool frame is currently selected for use. [TYPE] Press this key to access various application-specific options. DETAIL Press this key to display detailed information for each tool frame and to set the definition and comment of each tool frame. OTHER Press this key to select one of the other available reference frames or to choose the motion group for the frame you are setting up (in systems with multiple motion groups). CLEAR To set the numerical values of any tool frame to zero, move the cursor to the frame number, press CLEAR and answer YES to the prompt. SETIND To select the tool frame to use, press F5, SETIND, type the number of the tool frame you want, and press ENTER. This sets the active tool frame ($MNUTOOLNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. 6.6.2 Setting Up a Tool Frame You can use the following standard methods to define the tool frame: • Two Point +Z method • Three Point method • Four Point method • Six Point (XZ) method • Six Point (XY) method • Direct Entry method Note If you have a 4-axis robot, you can define a tool frame using only the two point +Z or the direct entry method. Note Only the Six Point (XZ) method can be used with ArcTool. 6–9 6. FRAMES MAROUAR9102171E REV D Warning If you are using weaving, Thru-Arc Seam Tracking (TAST), coordinated motion, or TorchMate, you must define a six point tool frame by the six point method or the direct entry method. Failure to do so could injure personnel or damage equipment. If a system uses different end-of-arm-tooling (EOAT), each tool will need a different tool frame. By setting up a different tool frame for each tool, the existing program points will be valid, regardless of the tool used. 6.6.2.1 Two Point +Z Method This function can set TCP for robots which can not tilt their tools to the XY plane in the world frame (i.e. 4 axes robots). Teach the approach point 1 and 2 with the tool touching a certain fixed point from two different approach statuses. X and Y values are calculated from these two approach points. You can measure the Z value with a ruler, etc. and input the Z value directly. Also, enter the W, P, and R values directly. (However, input 0 for all three values when the direction of the flange and the direction of the tool attitude are same.) Note Not for use with ArcTool. Procedure 6-1 Setting Up Tool Frame Using the Two Point +Z Method You can use iHMI Guides to perform a similar procedure. Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. 1. Press MENU. 2. Select SETUP 3. Press F1, [TYPE]. 4. Select Frames. 6–10 MAROUAR9102171E REV D 6. FRAMES 5. Display the tool frame list screen. The tool frame list screen may show right away, or you may need to press F3, [OTHER] and choose Tool Frame. SETUP Frames Tool Frame / Direct Entry X Y Z Comment 1 100.0 0.0 120.0 [TOOL1 ] 2 200.0 0.0 255.5 [TOOL2 ] 3 0.0 0.0 350.0 [TOOL3 ] 4 0.0 0.0 0.0 [ ] 5 0.0 0.0 0.0 [ ] 6 0.0 0.0 0.0 [ ] 7 0.0 0.0 0.0 [ ] 8 0.0 0.0 0.0 [ ] 9 0.0 0.0 0.0 [ ] 10 0.0 0.0 0.0 [ ] Active TOOL $MNUTOOLNUM [G:1] = 1 4/10 6. Move the cursor to the tool frame number line you want to set. 7. Press F2, DETAIL. The tool frame setup screen of the selected frame number is displayed. 8. Press F2, METHOD. 9. Select Two Point + Z. The tool frame setup is displayed, and Z, W, P, and R contain present tool frame value. Figure 6–10. Tool frame setup screen (Two Point + Z) SETUP Frames Tool Frame Two Point + Z Frame Number: 4 X: 0.0 Y: 0.0 Z: 0.0 W: 0.0 P: 0.0 R: 0.0 Comment: ********************* Approach point 1: UNINIT Approach point 2: UNINIT Z: 0.000 W: 0.000 P: 0.000 R: 0.000 Active TOOL $MNUTOOLNUMN[1] = 1 1/7 10. Teach the approach point. a. Move the cursor to each approach point. b. Jog the robot to the position you want to record. c. Press and hold the SHIFT] key and press F5, RECORD to record the data of the current position as the reference position. 6–11 6. FRAMES MAROUAR9102171E REV D Note If a reference point has already been taught, RECORDED is displayed. SETUP Frames Tool Frame Two Point + Z Frame Number: 4 X: 0.0 Y: 0.0 Z: 0.0 W: 0.0 P: 0.0 R: 0.0 Comment: TOOL4 Approach point 1: RECORDED Approach point 2: UNINIT Z: 0.000 W: 0.000 P: 0.000 R: 0.000 Active TOOL $MNUTOOLNUMN[1] = 1 2/7 Note • Set the flange (faceplate) upward or downward when teaching approach points. Also, match the orientation of flanges of the two approach points. • • Teach the approach point 1 and 2 at different locations. If the above mentioned conditions are not met, the message, “Invalid set of input points,” will be displayed on the coordinates screen. 11. After you teach all approach points, the description next to the approach points will be changed to USED and the tool frame will be calculated. 12. Measure the Z value with a ruler, etc. and input the Z value directly. Also, input W, P, and R values directly. Note When Z, W, P, and R are input, X and Y are changed if all approach points are RECORDED. SETUP Frames Tool Frame Two Point + Z Frame Number: 4 X: -5.5 Y: 6.6 Z: 10.0 W: 0.0 P: 0.0 R: 0.0 Comment: TOOL4 Approach point 1: USED Approach point 2: USED Z: 10.000 W: 0.000 P: 0.000 R: 0.000 Active TOOL $MNUTOOLNUMN[1] = 1 6–12 2/7 MAROUAR9102171E REV D 6. FRAMES 13. To display the tool frame list screen, press [PREV] key. You can see the settings of all the tool frames. SETUP Frames Tool Frame / Two Point + Z X Y Z Comment 1 100.0 0.0 120.0 [TOOL1 ] 2 200.0 0.0 255.5 [TOOL2 ] 3 0.0 0.0 350.0 [TOOL3 ] 4 -5.5 6.6 10.0 [TOOL4 ] 5 0.0 0.0 0.0 [ ] 6 0.0 0.0 0.0 [ ] 7 0.0 0.0 0.0 [ ] 8 0.0 0.0 0.0 [ ] 9 0.0 0.0 0.0 [ ] 10 0.0 0.0 0.0 [ ] Active TOOL $MNUTOOLNUM [G:1] = 1 4/10 14. To make the set tool frame effective, press F5, SETIND, then enter the frame number. Caution 1 If you do not press F5, SETIND, the tool frame will not be effective. 2 After all coordinate systems are set, the setting information should be saved in external storage in case the information needs to be re-loaded. Otherwise, the current setting information would be lost when it is changed. Note To select the number of a coordinate system to be used, the jog menu can also be used. See Section 5.9 . 15. To delete the data of the set frame, move the cursor to the desired frame and press F4, CLEAR. You can select whether or not to clear its comment.. 6.6.2.2 Three Point Method Use the three point method to define the location of the tool frame when the values cannot be measured and directly entered. The three approach points must be taught with the tool touching a common point from three different approach directions. Note The three point method of defining the tool frame always places the +z direction of the frame outward from the faceplate. You cannot use this method to define the tool frame for weaving, Thru-Arc Seam Tracking, or touch sensing if you are using ArcTool. Note Not for use with ArcTool. 6–13 6. FRAMES MAROUAR9102171E REV D Table 6–2. Tool Frame Setup Three Point DETAIL Screen Items ITEMS DESCRIPTION Frame number This line shows the number of the tool frame being defined. X, Y, Z, W, P, R These items show the current coordinates of the tool frame being defined. Comment This item is used to add a comment. Approach point 1 This item is used to define the first approach point. Approach point 2 This item is used to define the second approach point. Approach point 3 This item is used to define the third approach point. Active TOOL $MNUTOOLNUM[1] = 1 This line indicates which tool frame is currently selected for use. [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. MOVE_TO Press this key to move to a recorded position. Move the cursor to the desired point and press MOVE_TO along with the SHIFT key. RECORD Press this key along with the SHIFT key to record a position. Procedure 6-2 Setting Up Tool Frame Using the Three Point Method You can use iHMI Guides to perform a similar procedure. Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Warning Do not use the three point method if you are using weaving, Thru-Arc Seam Tracking (TAST), coordinated motion, or TorchMate. When you use these features, you must use the six point method or the direct entry method to define the tool frame. Failure to do so can cause injury to personnel or damage to equipment. 6–14 MAROUAR9102171E REV D 6. FRAMES Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups, press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key to toggle the sub group. 6. If tool frames are not displayed, press F3, [OTHER], and select Tool Frame. If F3, [OTHER], is not displayed, press PREV. 7. To display the settings for all frames, press PREV repeatedly until you see a screen similar to the following. SETUP Frames Tool Frame Setup / Three Point X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* 7: 0.0 0.0 0.0 ************* 8: 0.0 0.0 0.0 ************* 9: 0.0 0.0 0.0 ************* Active TOOL $MNUTOOLNUM[1]=1 Note The maximum number of tool frames is set in the system variable $SCR.$MAXNUMUTOOL. Refer to the Software Reference Manual for more information. 8. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. Warning Do not run a KAREL program that includes motion statements. All motion must be initiated from a teach pendant program. Otherwise, the robot could move unexpectedly, personnel could be injured, and equipment could be damaged. 6–15 6. FRAMES MAROUAR9102171E REV D 9. Press F2, DETAIL. 10. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 11. Press F2, [METHOD]. 12. Select Three Point. You will see a screen similar to the following. SETUP Frames Tool Frame Setup / Three Point Frame Number: 1 X: 0.0 Y: 0.0 Z: 0.0 W: 0.0 P: 0.0 R: 0.0 Comment: **************** Approach point 1: UNINIT Approach point 2: UNINIT Approach point 3: UNINIT Active TOOL $MNUTOOLNUM[1]=1 13. To add a comment: a. Move the cursor to the comment line and press ENTER. b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. Note Record the three approach points with the tool tip touching the same point from three different approach directions. 14. Record the first approach point: 6–16 MAROUAR9102171E REV D 6. FRAMES a. Move the cursor to Approach point 1. b. Jog the robot, in the WORLD coordinate system, so that the tool tip touches a reference point. c. Press and hold the SHIFT key and press F5, RECORD. 15. Record the second approach point: a. Move the cursor to Approach point 2. b. Rotate axis 6 (faceplate), in the JOINT coordinate system, at least 90 ° (but no more than 360°) about the z axis of the tool coordinates. c. Jog the robot, in the WORLD coordinate system, so that the tool tip touches the reference point used in Step 14 . d. Press and hold the SHIFT key and press F5, RECORD. 16. Record the third approach point: 6–17 6. FRAMES MAROUAR9102171E REV D a. Move the cursor to Approach point 3. b. Rotate axis 4 and axis 5, in the JOINT coordinate system, (no more than 90) about either the x or Y axis of the tool coordinates. c. Jog the robot, in the WORLD coordinate system, so that the tool tip touches the reference point used in Step 14 . d. Press and hold the SHIFT key and press F5, RECORD. 17. To select the tool frame to use, press F5, SETIND, type the number of the tool frame you want, and press ENTER. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to Tool, and type the number of the frame you want to use. Refer to Section 5.9 for more information. 18. Jog the robot in the frame you just taught. • If the TCP is correct, it will remain stationary during rotational moves. Go to Step 20 . Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. • If the TCP is not correct, it will not remain stationary during rotational moves. You need to review your recorded positions. If they are not correct, re-record them correctly. Go to Step 19 . 6–18 MAROUAR9102171E REV D 6. FRAMES Warning When you use F4, MOVE_TO, to move the robot, unexpected motion can occur. This could injure personnel or damage equipment. 19. To move to a recorded position, move the cursor to the desired position, press and hold the SHIFT key and press F4, MOVE_TO. 20. To save the frames and related system variables to a file on the default device, a. Press MENU. b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the tool frame screen. i. Press FCTN. j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV, on the default device. k. Press MENU. l. Select SYSTEM. m. Press F1, [TYPE]. n. Select Variables. o. Press FCTN. p. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. This is optional since frame variables are saved in SYSFRAME.SV. 6.6.2.3 Four Point Method Use the four point method to define the precise location of the tool frame by utilizing the feedback provided by this method on how well the approach positions are taught. This method requires four approach points to be taught with the tool touching a common point from four different approach positions. This method indicates the approach position with maximum TCP error so that user can correct that position and re-compute the tool frame. This will reduce the effect of user’s teaching errors incorporated in the computation of the tool frame. Adjust and re-teach the approach positions 6–19 6. FRAMES MAROUAR9102171E REV D that are slightly off iteratively until the tool frame computed is of desired accuracy on the basis of the TCP error feedback. Note The four point method of defining the tool frame always places the +Z direction of the frame outward from the faceplate. Note Not for use with ArcTool. Table 6–3. Tool Frame Setup Four Point DETAIL Screen Items ITEMS DESCRIPTION Frame number This line shows the number of the tool frame being defined. X, Y, Z, W, P, R These items show the current coordinates of the tool frame being defined. Comment This item is used to add a comment. Approach point 1 This item is used to define the first approach point. Approach point 2 This item is used to define the second approach point. Approach point 3 This item is used to define the third approach point. Approach point 4 This item is used to define the fourth approach point. Mean error Mean TCP error of the four approach positions.Mean error gives an indication of how much the four approach positions deviate. A value of ****** indicates that it is uninitialized. Max. error Max.TCP error of the approach positions; the approach position corresponding to the max. error is also indicated. A value of ****** indicates that it is uninitialized. Active TOOL $MNUTOOLNUM[1] =1 This line indicates which tool frame is currently selected for use. [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. MOVE_TO Press this key to move to a recorded position. Move the cursor to the desired point and press MOVE_TO along with the SHIFT key. RECORD Press this key along with the SHIFT key to record a position. Procedure 6-3 Setting Up Tool Frame Using the Four Point Method You can use iHMI Guides to perform a similar procedure. 6–20 MAROUAR9102171E REV D 6. FRAMES Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Warning Do not use the four point method if you are using weaving, Thru-Arc Seam Tracking (TAST), coordinated motion, or TorchMate. When you use these features, you must use the six point method or the direct entry method to define the tool frame. Failure to do so can cause injury to personnel or damage to equipment. 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups, press F3, [OTHER], and select the group you want. The default motion group is Group 1. 6. If tool frames are not displayed, press F3, [OTHER], and select Tool Frame. 7. To display the settings for all frames, press PREV repeatedly until you see a screen similar to the following. SETUP Frames Tool Frame Setup / Four Point X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* 7: 0.0 0.0 0.0 ************* 8: 0.0 0.0 0.0 ************* 9: 0.0 0.0 0.0 ************* Active TOOL $MNUTOOLNUM[1]=1 6–21 6. FRAMES MAROUAR9102171E REV D 8. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. 9. Press F2, DETAIL. 10. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 11. Press F2, [METHOD]. 12. Select Four Point. You will see a screen similar to the following. SETUP Frames Tool Frame Setup / Four PT Tool Frame Number: 1 X: 0.0 Y: 0.0 Z: 0.0 W: 0.0 P: 0.0 R: 0.0 Comment: **************** Approach point 1: UNINIT Approach point 2: UNINIT Approach point 3: UNINIT Approach point 4: UNINIT Mean Error: ******* mm Max. Error: ******* mm at point[0] Active TOOL $MNUTOOLNUM[1]=1 13. To add a comment: a. Move the cursor to the comment line and press ENTER. b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. Note Record the four approach points with the tool tip touching the same point from four different approach directions. 14. Record the first approach point: 6–22 MAROUAR9102171E REV D 6. FRAMES a. Move the cursor to Approach point 1. b. Jog the robot, in the WORLD coordinate system, so that the tool tip touches a reference point. c. Press and hold the SHIFT key and press F5, RECORD. 15. Record the second approach point: 2 REF. POINT a. Move the cursor to Approach point 2. b. Jog the robot in WORLD so that the tool tip moves away from the reference point. Either jog axis 4 and/or 5 in JOINT or rotate TCP about WORLD +x, WORLD +y and/or WORLD +z so that the tool has a significantly different approach angle from approach point1. c. Jog the robot, in the WORLD coordinate system, so that the tool tip touches the reference point used in Step 14 . d. Press and hold the SHIFT key and press F5, RECORD. 16. Record the third approach point: 6–23 6. FRAMES MAROUAR9102171E REV D a. Move the cursor to Approach point 3. b. Jog the robot in WORLD so that the tool tip moves away from the reference point. Jog axis 4 and/or 5 in JOINT or rotate TCP about WORLD +x, WORLD +y and/or WORLD +z so that the tool has a significantly different approach angle from approach points, 1 and 2. c. Jog the robot, in the WORLD coordinate system, so that the tool tip touches the reference point used in Step 14 . d. Press and hold the SHIFT key and press F5, RECORD. 17. Record the fourth approach point: a. Move the cursor to Approach point 4. b. Jog the robot in WORLD so that the tool tip moves away from the reference point. Jog axis 4 and/or 5 in JOINT or rotate TCP about WORLD +x, WORLD +y and/or WORLD +z so that the tool has a significantly different approach angle from approach points, 1, 2 and 3. 6–24 MAROUAR9102171E REV D 6. FRAMES c. Jog the robot, in the WORLD coordinate system, so that the tool tip touches the reference point used in Step 14 . d. Press and hold the SHIFT key and press F5, RECORD. 18. The Four Point Method of teaching tool frame is now complete. 19. You will see the message, “New position calculated” and the tool frame computed will be displayed along with the mean and max. errors of all four approach points. 20. If the mean and max. TCP errors are within desired limits, the new tool frame is ready to use. 21. If the user wants better accuracy, correct the approach position corresponding to max. error and re-compute the tool frame. a. Move the cursor to the Approach point indicated as having the max. error. b. Press and hold the SHIFT key and press F4, MOVE_TO. c. Adjust the position to correct any positional errors. d. Press and hold the SHIFT key and press F5, RECORD to record the new approach position. e. Tool frame is computed again. f. Repeat Step 21 if more accuracy is needed. Note If the mean error does not decrease after re-teaching the point with max. error, do not proceed any further. At this point the mean error is attributed to inaccuracies in mastering or calibration and not due to user error in teaching. Note If the mean error decreases after re-teaching the point with max. error, it implies that the user error in teaching was corrected in the subsequent tool frame calculation. Caution The TCP errors are calculated based on the recorded positions. It provides a guideline for the user to iteratively improve the accuracy of the recorded positions. The error measures are reasonable only when one of the four positions recorded is slightly off. When two or more recorded positions are inaccurate and deviate more from the reference position, the error feedback may not be accurate. When the difference between max. and mean errors is not significantly large, more than one recorded positions deviate from the reference position. Caution When the mean error is very small, it is possible that three of the four recorded positions are inaccurate (relatively speaking) resulting in the correct position having the largest deviation from the mean. Using a precise tool and a reference point for teaching should overcome this. 6–25 6. FRAMES MAROUAR9102171E REV D 22. If the approach angles of the input positions are redundant, you will see the message, “Invalid set of input points”. Clear the frame data and then repeat the teaching procedure. 23. To clear the tool frame, move the cursor to the frame number and press F4, CLEAR. 24. If there isn't sufficient memory space required for the tool frame computation, you will see the message “Insufficient memory for computing Utool”. The four point method cannot be used in this case and a different teaching method should be used to compute the tool frame. 25. To select the tool frame to use, press F5, SETIND, type the number of the tool frame you want, and press ENTER. If F5, SETIND, is not displayed, press PREV. 26. Jog the robot in the tool frame you just taught. • If the TCP is correct, it will remain stationary during rotational moves. Caution The four point error corrects significant errors on the user’s part while teaching the reference points and do not correct position error attributed to inaccuracies in robot calibration. The accuracy of the final tool frame computed is limited by the accuracy of the robot. Caution Only the tool frame and the approach positions are saved in the SYSFRAME.SV file. The mean and max. errors are not permanently saved in the system. If you navigate to a different frame (F3) or change the method of teaching (F2), the mean and max. errors will be cleared and will be displayed as uninit in the TP screen. 6.6.2.4 Six Point Method Use the six point method to define the location and orientation of the tool frame when the values cannot be measured and directly entered. The six point method requires three points that define the direction vector for the tool, and three points that define the location of the tool center point. There are two variations of the six point method — XZ and XY. Use XZ when it is easier for you to record a point in the +z direction. Use the XY when it is easier for you to record a point in the +y direction. Note The XY method is not for use with ArcTool. 6–26 MAROUAR9102171E REV D 6. FRAMES Table 6–4. Tool Frame Setup Six Point DETAIL Screen Items ITEM DESCRIPTION Frame number This line shows the number of the tool frame being defined. X, Y, Z, W, P, R These items show the current coordinates of the tool frame being defined. Comment This item is used to add a comment. Approach point 1 This item is used to define the first approach point. Approach point 2 This item is used to define the second approach point. Approach point 3 This item is used to define the third approach point. Orient Origin Point This item is used to define the reference point of the user frame. X direction Point This item is used to define the +X direction point. Z or Y Direction Point This item is used to define the +z or +y direction point. Active TOOL $MNUTOOLNUM[1] = 1 This line indicates which tool frame is currently selected for use. [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. MOVE_TO Press this key to move to a recorded position. Move the cursor to the desired point and press MOVE_TO along with the SHIFT key. RECORD Press this key along with the SHIFT key to record a position. Procedure 6-4 ArcTool Tool Frame Six Point Method You can use iHMI Guides to perform a similar procedure. Conditions • Warning If you are setting up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you are modifying an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. 6–27 6. FRAMES MAROUAR9102171E REV D • Make sure that the weld wire stickout length is correct for welding. Typically this is 1/2" 3/4" (12.5mm to 19mm). • The robot is at the reference position with the TCP (wire tip) touching a pointer tip. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up a MultiARM controller, press F3, [OTHER], and select the group you want. The default motion group is Group 1. Note The jog group indicated on the status line does not select the motion group in the SETUP Frames Tool screen. Make sure that the jog frame is set to the Tool frame number. 6. If the jog group is not set to the motion group you want to set up: a. Press FCTN, and select Change Group to toggle to the next motion group. b. Press SHIFT and COORD, and scroll to Group, then type the number of the motion group you want to jog. 7. If tool frames are not displayed, press F3, [OTHER], and select Tool Frame. If F3, [OTHER], is not displayed, press PREV. 8. Press F2, DETAIL. Note TorchMate adjustment is frame specific. Make sure that your weld programs also use the frame you select in Step 9 . 9. To select a frame : a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 10. Press F2, [METHOD]. 11. Select Six Point (XZ). You will see a screen similar to the following. 6–28 MAROUAR9102171E REV D 6. FRAMES SETUP Frames Tool Frame Setup/ Six Point Frame Number: 1 X: 0.0 Y: 0.0 Z: 0.0 W: 0.0 P: 0.0 R: 0.0 Comment: **************** Approach point 1: UNINIT Approach point 2: UNINIT Approach point 3: UNINIT Orient Origin Point: UNINIT X direction Point: UNINIT Z Direction Point: UNINIT Active TOOL $MNUTOOLNUM[1]=1 Note In this screen, Tool frames are being set for group 1, because the active tool is $MNUTOOLNUM[1]. If the active tool is $MNUTOOLNUM[2], then Tool frames for group 2 will be set. Note The XZ variation of the six point method is described here. The XY variation is the same except a +y direction point is taught in instead of the +z direction point. 12. To add a comment: a. Move the cursor to the comment line and press ENTER. b. Select a method of naming the comment (Word, Upper Case, or Lower Case). c. Press the appropriate function keys to enter the comment. d. When you are finished , press ENTER. 13. Record Approach point 1 and the Orient Origin Point: a. Make sure that the robot is at the reference position with the torch parallel to the z-axis, and that the tip of the wire is touching the tip of the pointer. b. Move the cursor to Approach point 1. c. Press and hold the SHIFT key and press F5, RECORD. d. Move the cursor to Orient Origin Point. e. Press and hold the SHIFT key and press F5, RECORD. 14. Define the X direction Point: a. Move the cursor to X direction Point. b. Change the jog coordinate system to WORLD. c. Jog the robot along the +X direction by at least 250 mm. 6–29 6. FRAMES MAROUAR9102171E REV D d. Press and hold the SHIFT key and press F5, RECORD. e. Move the cursor to Orient Origin Point. Warning In Step 14f , DO NOT press SHIFT and FWD. Otherwise, the robot will execute the currently selected program, causing unexpected results. f. Press and hold the SHIFT key and press F4, MOVE_TO, until the TCP has returned back to the touch block pointer tip. 15. Define the Z Direction Point: a. Move the cursor to Z Direction Point. b. Change the jog coordinate system to WORLD. c. Jog the robot along the +z direction by at least 250 mm. d. Press and hold the SHIFT key and press F5, RECORD. e. Move the cursor to Orient Origin Point. Warning In Step 15f , DO NOT press SHIFT and FWD. Otherwise, the robot will execute the currently selected program, causing unexpected results. f. Press and hold the SHIFT key and press F4, MOVE_TO, until the TCP has returned back to the touch block pointer tip. 16. Record Approach point 2 (see Figure 6–11 ): 6–30 MAROUAR9102171E REV D 6. FRAMES Figure 6–11. Approach point 2 a. Jog the robot in WORLD +z approximately 50 mm. b. Move the cursor to Approach point 2. c. Rotate axis 6 (faceplate) in JOINT coordinate system at least 90 tool coordinates. d. Jog the robot in WORLD coordinate system (using X, Y, and Z axes only) so that the TCP touches the touch block pointer tip. e. Press and hold the SHIFT key and press F5, RECORD. f. Jog the robot in WORLD +z approximately 50 mm. g. Move the cursor to Orient Origin Point. Warning In Step 16h , DO NOT press SHIFT and FWD. Otherwise, the robot will execute the currently selected program, causing unexpected results. h. Press and hold the SHIFT key, and press F4, MOVE_TO, until the TCP has returned back to the touch block pointer tip. 17. Record Approach point 3: 6–31 6. FRAMES MAROUAR9102171E REV D Figure 6–12. Approach Point 3 a. Jog the robot in WORLD +z approximately 50 mm. b. Move the cursor to Approach point 3. c. Rotate the TCP about the WORLD +x-axis (w) by approximately 35 ° to 90°. d. Jog the robot in WORLD coordinate system (using the X, Y, and Z axes only) so that the TCP touches the touch block pointer tip. e. Press and hold the SHIFT key and press F5, RECORD. f. Jog the robot in WORLD +z approximately 50 mm. g. Move the cursor to Orient Origin Point. Warning In Step 17h , DO NOT press SHIFT and FWD. Otherwise, the robot will execute the currently selected program, causing unexpected results. h. Press and hold the SHIFT key and press F4, MOVE_TO, until the TCP has returned back to the touch block pointer tip. Note Approach points will be recorded incorrectly if they point directly at each other. See Figure 6–13 . 6–32 MAROUAR9102171E REV D 6. FRAMES Figure 6–13. Teaching Approach Points i. The Six Point Method of setting up a new tool frame is now complete. 18. To move to a recorded position, scroll to any of the six positions, press and hold the SHIFT key, and press F4, MOVE_TO. 19. To display the settings for all the frames, press PREV repeatedly until you see a screen similar to the following. SETUP Frames Tool Frame Setup / Six Point X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* 7: 0.0 0.0 0.0 ************* 8: 0.0 0.0 0.0 ************* 9: 0.0 0.0 0.0 ************* Active TOOL $MNUTOOLNUM[1]=1 Caution Step 20 erases TCP data. Do not perform Step 20 unless you want to erase the TCP data. Otherwise, you will have to re-record the TCP data. 6–33 6. FRAMES MAROUAR9102171E REV D 20. To set the numerical values to zero, move the cursor to the frame number and press F4, CLEAR. 21. To select the tool frame to use, press F5, SETIND. Type the number of the tool frame you want and press ENTER. Caution When you are finished setting the frame configuration, save the information to a default device (MC:) or write down the values so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 22. To save the frames and related system variables to a file. 23. To check that the tool frame has been defined properly: a. Move the cursor to the Orient Origin Point. b. Press and hold the SHIFT key and press F4, MOVE_TO, until the TCP has returned back to the touch block pointer tip. c. Press COORD until TOOL is displayed. d. Jog about the +x (w), +y (p), or +z (r) axes. e. Determine whether the TCP remains close to the pointer tip while jogging, as shown in Figure 6–14 . Figure 6–14. Verifying the Tool Frame 6–34 MAROUAR9102171E REV D 6. FRAMES f. If the TCP does not remain close to the pointer tip, repeat Procedure 6-4 to redefine the tool frame. 6.6.2.5 Tool Frame Direct Entry Method The direct entry method provides for direct recording and numerical entry of the frame position. For TCP dimensions, refer to the manufacturing specifications of the tool. Use Procedure 6-5 to set up the tool frame using the direct entry method. Table 6–5. Tool Frame Setup Direct Entry DETAIL Screen Items ITEM DESCRIPTION Frame number This line shows the number of the tool frame being defined. Comment This item is used to add a comment. X This item is used to define the X component of the tool frame. Y This item is used to define the Y component of the tool frame. Z This item is used to define the Z component of the tool frame. W This item is used to define the W component of the tool frame. P This item is used to define the P component of the tool frame. R This item is used to define the R component of the tool frame. Configuration This line displays the current robot configuration. Active TOOL $MNUTOOLNUM[1] = 1 This line indicates which tool frame is currently selected for use. [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. Note Not for use with ArcTool. Procedure 6-5 Setting Up Tool Frame Using the Direct Entry Method You can use iHMI Guides to perform a similar procedure. 6–35 6. FRAMES MAROUAR9102171E REV D Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Caution Do not set up or alter frames when you use PalletTool. Frames are automatically set up for you by PalletTool. Note If you have a 4-axis robot (such as an A-520i or M-410iHS/iHW), you can define a tool frame using only the direct entry method. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. 6. If tool frames are not displayed press F3, [OTHER], and select Tool Frame. If F3, [OTHER], is not displayed, press PREV. 7. To display the settings for all the frames, press PREV repeatedly until you see a screen similar to the following. 6–36 MAROUAR9102171E REV D 6. FRAMES SETUP Frames Tool Frame G1 / Direct Entry 1/29 X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* 7: 0.0 0.0 0.0 ************* 8: 0.0 0.0 0.0 ************* 9: 0.0 0.0 0.0 ************* Active TOOL $MNUTOOLNUM[1]=1 Note The maximum number of tool frames is set in the system variable $SCR.$MAXNUMUTOOL. Refer to the Software Installation Manual and to the Software Reference Manual for more information. 8. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. Warning Do not run a KAREL program that includes motion statements. All motion must be initiated from a teach pendant program. Otherwise, the robot could move unexpectedly, personnel could be injured, and equipment could be damaged. 9. Press F2, DETAIL. 10. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 11. Press F2, [METHOD]. 12. Select Direct Entry. You will see a screen similar to the following. 6–37 6. FRAMES MAROUAR9102171E REV D SETUP Frames Tool Frame Direct Entry Frame Number: 1 1 Comment: **************** 2 X: 0.000 3 Y: 0.000 4 Z: 0.000 5 W: 0.000 6 P: 0.000 7 R: 0.000 Configuration: N R D B, 0, 0, 0 13. To add a comment: a. Move the cursor to the comment line and press ENTER. b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. 14. Set each position component: a. Move the cursor to the component. b. Enter the numeric value for the component. c. Press the ENTER key to set the new value. 15. To select the tool frame to use, press F5, SETIND, type the number of the tool frame you want, and press ENTER. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to Tool, and type the number of the frame you want to select. Refer to Section 5.9 for more information. Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 16. To save the frames and related system variables to a file on the default device, a. Press MENU. 6–38 MAROUAR9102171E REV D 6. FRAMES b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the tool frame screen. i. Press FCTN. j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV 17. To Display the SYSTEM Variables menu (optional since data is saved in sysframe.sv), a. Press MENU. b. Select SYSTEM. c. Press F1, [TYPE]. d. Select Variables. e. Press FCTN. f. Select SAVE. The tool frame positions and system variables are saved in the SYSVAR.SV file, on the default device. 6.6.3 Selecting a Tool Frame Caution Do not set up or alter frames when you use PalletTool. Frames are automatically set up for you by PalletTool. Note You can also use the Jog Menu to select the number of the tool frame you want to use. Refer to Section 5.9 . Conditions • The tool frame you want to select has been set up. Steps 1. Press MENU. 2. Select SETUP. 6–39 6. FRAMES MAROUAR9102171E REV D 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. Warning Do not run a KAREL program that includes motion statements. All motion must be initiated from a teach pendant program. Otherwise, the robot could move unexpectedly, personnel could be injured, and equipment could be damaged. 6. If tool frames are not displayed, press F3, [OTHER], and select Tool Frame. If F3, [OTHER], is not displayed, press PREV. You will see a screen similar to the following. SETUP Frames Tool Frame Setup / Direct Entry 1/10 X Y Z Comment 0.0 0.0 0.0 ********* **** 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* 7: 0.0 0.0 0.0 ************* 8: 0.0 0.0 0.0 ************* 9: 0.0 0.0 0.0 ************* Active TOOL $MNUTOOLNUM[1]=1 Note The maximum number of tool frames is set in the system variable $SCR.$MAXNUMUTOOL. Refer to the Software Reference Manual for more information. 7. To select the tool frame to use, press F5, SETIND, type the number of the tool frame you want, and press ENTER. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to Tool, and type the number of the frame you want to select. Refer to Section 5.9 for more information. 6–40 MAROUAR9102171E REV D 6. FRAMES 8. When a position is recorded in the teach pendant program, the value of the position's tool frame will always equal the value of $MNUTOOLNUM[group_no] at the time the position was recorded. When a teach pendant program is executed, you must make sure that the tool frame of the position equals the value of $MNUTOOLNUM [group_no], otherwise, an error will occur. Set the value of $MNUTOOLNUM using the UTOOL_NUM=n instruction in the teach pendant program before you record the position to guarantee that the tool frame numbers match during program execution. Refer to Section 7.20 for more information on the UTOOL_NUM instruction. 6.7 User Frame 6.7.1 Overview User frame is the reference frame for all recorded positional data in a program. As the name suggests, user frames are taught by the robot programmer, or user. More than one user frame can be taught, but only one can be active at a time. If you do not set up the location and orientation of the user frame before you create a program, the user frame will use World frame’s location and orientation. You can modify the user frame to offset the positions in the program easily. You can define this frame anywhere. Note If you are using the remote TCP option, you must define a user frame to be your remote TCP (RTCP) frame. Refer to the “Remote TCP Frame” section. Caution Recorded positions and position registers are affected by MNUFRAME, and MNUFRAME has an affect during playback. If you change MNUFRAME, any recorded positions and position registers will also change. Enabling $USEUFRAME The system variable $USEUFRAME defines whether the current value of $MNUFRAMENUM[group_no] will be assigned to the position's user frame when it is recorded or touched up. Note Changing the user frame number in one group does not change the user frame number of other groups. 6–41 6. FRAMES MAROUAR9102171E REV D Caution When $USEUFRAME=FALSE, the user frame number is equal to 0 when you initially record positions and touch them up, regardless of the value of $MNUFRAMENUM[group_no]. When $USEUFRAME=TRUE, the position's user frame number is equal to the user frame defined by $MNUFRAMENUM[group_no] when you initially record positions and touch them up. You must also touch up positions with the position's user frame equal to the user frame defined by $MNUFRAMENUM[group_no]. Be sure to set the system variable $USEUFRAME properly. Otherwise, your program will not operate properly. After you set up the user frame, you can change its location and orientation. Before you teach positions in a frame that is to move, change $USEUFRAME to TRUE and record the positions. All positions in a program recorded relative to that frame change with it. All positions are taught relative to the default user frame. Use the UFRAME_NUM program instruction to change the user frame. • The controller allows you to set up many different user frames for each robot. The default number is nine, but you can configure the controller for up to 61 user frames. They will be stored in the system variable $MNUFRAME. Refer to the Software Installation Manual for more information. • You can select one user frame per robot group to be active at a time. The frame number will be stored in $MNUFRAMENUM. • You can jog the robot in user frame. Caution Each time you create a program, set the current user frame number to a value between 1 and 9 ( Procedure 6-10 ). Do this even if you do not plan to use a user frame in the program, or if you want the user frame position to be zero (0,0,0,0,0,0). Otherwise, if the current user frame number is zero, a user frame set in that program will not work. Table 6–6. User Frame Setup Screen Items ITEM DESCRIPTION User frame setup/xxxx This line shows the current selected method for setting each user frame. Frame number 1-9 These lines show the current position and comment for each available user frame. X This column shows the X coordinate of each user frame. Y This column shows the Y coordinate of each user frame. Z This column shows the Z coordinate of each user frame. Comment This column shows the comment for each user frame. 6–42 MAROUAR9102171E REV D 6. FRAMES Table 6–6. User Frame Setup Screen Items (Cont'd) Active UFRAME $MNUFRAMENUM[1] = 0 This line indicates which user frame is currently selected for use. [TYPE] Press this key to access various application-specific options. DETAIL Press this key to display detailed information for each user frame and to set the definition and comment of each frame. OTHER Press this key to select one of the other available reference frames or to choose the motion group for the frame you are setting up (in systems with multiple motion groups). CLEAR To set the numerical values of any user frame to zero, move the cursor to the frame number, press CLEAR and answer YES to the prompt. SETIND To select the user frame to use, press F5, SETIND, type the number of the user frame you want, and press ENTER. This sets the active user frame ($MNUFRAMNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. CLRIND Press this key if you want to clear the number of the user frame currently selected for use. See Figure 6–15 . 6–43 6. FRAMES MAROUAR9102171E REV D Figure 6–15. World and User Frames 6.7.2 Setting Up a User Frame You can use three methods to define the user frame: • Three point method • Four point method • Direct entry method 6.7.2.1 Three Point Method Recording three points defines the user frame. The three points are the origin, a position along the +X-axis of the user frame, and a position on the X-Y plane of the user frame (defines the X-Y plane and the Y-Z plane). 6–44 MAROUAR9102171E REV D 6. FRAMES Table 6–7. User Frame Setup Three Point DETAIL Screen Items ITEM DESCRIPTION Frame number This line shows the number of the user frame being defined. X, Y, Z, W, P, R These items show the current coordinates of the user frame being defined. Comment This item is used to add a comment. Orient Origin Point This item is used to define the reference point of the user frame. X direction Point This item is used to define the +X direction point. Y Direction Point This item is used to define a point on the X-Y plane. Active UFRAME $MNUFRAMENUM[1] = 0 This line indicates which user frame is currently selected for use. [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. MOVE_TO Press this key to move to a recorded position. Move the cursor to the desired point and press MOVE_TO along with the SHIFT key. RECORD Press this key along with the SHIFT key to record a position. Procedure 6-7 Setting Up the User Frame Using the Three Point Method Conditions • The tool frame you want to select has been set up. Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 6–45 6. FRAMES MAROUAR9102171E REV D 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. 6. If user frames are not displayed, press F3, [OTHER], and select User Frame. If F3, [OTHER], is not displayed, press PREV. 7. To display the settings for all frames, press PREV repeatedly until you see a screen similar to the following. SETUP Frames User Frame Setup / Three Point X Y Z Comment 0.0 0.0 0.0 **************** 2: 0.0 0.0 0.0 **************** 3: 0.0 0.0 0.0 **************** 4: 0.0 0.0 0.0 **************** 5: 0.0 0.0 0.0 **************** 6: 0.0 0.0 0.0 **************** 7: 0.0 0.0 0.0 **************** 8: 0.0 0.0 0.0 **************** 9: 0.0 0.0 0.0 **************** Active UFRAME $MNUFRAMNUM[1]=0 8. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. 9. Press F2, DETAIL. 10. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 11. Press F2, [METHOD]. 12. Select Three Point. You will see a screen similar to the following. 6–46 MAROUAR9102171E REV D 6. FRAMES SETUP Frames User Frame Setup/ Three Point Frame number: 2 X: 0.0 Y: 0.0 Z: 0.0 W: 0.0 P: 0.0 R: 0.0 Comment: **************** Orient Origin Point: UNINIT X direction Point: UNINIT Y Direction Point: UNINIT Active UFRAME $MNUFRAMNUM[1]=0 13. To add a comment: a. Move the cursor to the comment line and press ENTER. b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. 14. Define the origin point of the user frame: a. Move the cursor to Orient Origin Point. b. Jog the robot TCP to the origin. In Figure 6–16 , the origin is labeled 1. c. Press and hold the SHIFT key and press F5, RECORD. Figure 6–16. Defining the Origin 15. Define the +X direction point: 6–47 6. FRAMES MAROUAR9102171E REV D a. Move the cursor to X direction Point. b. Jog the robot to a point along the x-axis. In Figure 6–17 , this point is labeled 2. c. Press and hold the SHIFT key and press F5, RECORD. Figure 6–17. Defining the X direction Point 16. Define a point on the positive X-Y plane: a. Move the cursor to Y Direction Point. b. Jog the robot to a location on the positive X-Y plane. In Figure 6–18 , this point is labeled number 3. c. Press and hold the SHIFT key and press F5, RECORD. Figure 6–18. Defining the X-Y Plane 6–48 MAROUAR9102171E REV D 6. FRAMES 17. To select the user frame to use, press F5, SETIND, type the number of the user frame you want, and press ENTER. This sets the active user frame ($MNUFRAMNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to User, and type the number of the frame you want to use. Refer to Section 5.9 for more information. 18. Jog the robot in the +x, +y, and +z directions. The robot should move in the correct directions according to the frame you defined. If the robot does not move in the correct directions, go to Step 19 . Otherwise, go to Step 20 . Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 19. To move to a recorded position, move the cursor to the desired position, press and hold the SHIFT key and press F4, MOVE_TO. Warning When you use F4, MOVE_TO, to jog the robot, unexpected motion can occur. This could injure personnel or damage equipment. Note If you want to clear the current user frame selected, press NEXT, >, and then F2, CLRIND. This sets the active user frame ($MNUFRAMNUM[1]) to zero, which means that the default user frame is currently selected. 20. To save the frames and related system variables to a file on the default device, a. Press MENU. b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the user frame screen. i. Press FCTN. 6–49 6. FRAMES MAROUAR9102171E REV D j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV, on the default device. k. Press MENU. l. Select SYSTEM. m. Press F1, [TYPE]. n. Select Variables. o. Press FCTN. p. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. This is optional since frame variables are saved in SYSFRAME.SV. 6.7.2.2 Four Point Method Use the four point method when you need to define a frame that has its origin at a position other than the reference of the frame. You can also use it to define multiple frames with parallel axes. The four points are the reference of the frame (called orient origin point), a point along the +x-axis of the frame (defines the x-z plane), a point on the x-y plane of the frame (defines the x-y plane and the y-z plane) and the origin of the frame (called system origin). Table 6–8. User Frame Setup Four Point DETAIL Screen Items ITEM DESCRIPTION Frame number This line shows the number of the user frame being defined. X, Y, Z, W, P, R These items show the current coordinates of the user frame being defined. Comment This item is used to add a comment. Orient Origin Point This item is used to define the reference point of the user frame. X direction Point This item is used to define the +X direction point. Y Direction Point This item is used to define a point on the X-Y plane. System Origin This item is used to teach the origin of the second user frame. Active UFRAME $MUFRAMENUM[1] = 0 This line indicates which user frame is currently selected for use. [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. MOVE_TO Press this key to move to a recorded position. Move the cursor to the desired point and press MOVE_TO along with the SHIFT key. RECORD Press this key along with the SHIFT key to record a position. 6–50 MAROUAR9102171E REV D 6. FRAMES Procedure 6-8 Setting Up User Frame Using Four Point Method Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Conditions • The tool frame is set up and selected. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. 6. If user frames are not displayed, press F3, [OTHER], and select User Frame. If F3, [OTHER], is not displayed, press PREV. 7. To display the settings for all frames, press PREV repeatedly until you see a screen similar to the following. 6–51 6. FRAMES MAROUAR9102171E REV D SETUP Frames User Frame Setup / Four Point X Y Z Comment 1: 0.0 0.0 0.0 **************** 2: 0.0 0.0 0.0 **************** 3: 0.0 0.0 0.0 **************** 4: 0.0 0.0 0.0 **************** 5: 0.0 0.0 0.0 **************** 6: 0.0 0.0 0.0 **************** 7: 0.0 0.0 0.0 **************** 8: 0.0 0.0 0.0 **************** 9: 0.0 0.0 0.0 **************** Active UFRAME $MNUFRAMNUM[1]=0 8. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. 9. Press F2, DETAIL. 10. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 11. Press F2, [METHOD]. 12. Select Four Point. You will see a screen similar to the following. SETUP Frames User Frame Setup/ Four Point Frame number: 2 X: 0.0 Y: 0.0 Z: 0.0 W: 0.0 P: 0.0 R: 0.0 Comment: **************** Orient Origin Point: UNINIT X direction Point: UNINIT Y Direction Point: UNINIT System Origin: UNINIT Active UFRAME $MNUFRAMNUM[1]=0 13. To add a comment: a. Move the cursor to the comment line and press ENTER. 6–52 MAROUAR9102171E REV D 6. FRAMES b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. 14. Define the reference point of the user frame: a. Move the cursor to Orient Origin Point. b. Jog the robot TCP to the origin. In Figure 6–19 , the origin is labeled 1. c. Press and hold the SHIFT key and press F5, RECORD. Figure 6–19. Defining the Origin 15. Define the +X direction point: a. Move the cursor to X direction Point. b. Jog the robot TCP to a point along the +x-axis. In Figure 6–20 , the +X direction Point is labeled 2. c. Press and hold the SHIFT key and press F5, RECORD, to record a position. 6–53 6. FRAMES MAROUAR9102171E REV D Figure 6–20. Defining the X direction Point 16. Define a point on the X-Y plane: a. Move the cursor to Y Direction Point. b. Jog the robot to a location on the positive X-Y plane. In Figure 6–21 , this point is labeled number 3. c. Press and hold the SHIFT key and press F5, RECORD. Figure 6–21. Defining the X-Y Plane 17. Teach the origin of the second user frame: a. Move the cursor to System Origin. 6–54 MAROUAR9102171E REV D 6. FRAMES b. Jog the robot TCP to the system origin of the user frame. In Figure 6–22 , the origin is labeled 4. c. Press F5, RECORD, to record a position. Figure 6–22. Defining the Second Origin 18. To select the user frame to use, press F5, SETIND, type the number of the user frame you want, and press ENTER. This sets the active user frame ($MNUFRAMNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to User, and type the number of the frame you want to use. Refer to Section 5.9 for more information. 19. Jog the robot in the +x, +y, and +z directions. The robot should move in the correct directions according to the frame you defined. If the robot does not move in the correct directions, go to Step 20 . Otherwise, go to Step 21 . Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 6–55 6. FRAMES MAROUAR9102171E REV D 20. To move to a recorded position, move the cursor to the desired position, press and hold the SHIFT key and press F4, MOVE_TO. Warning When you use F4, MOVE_TO, to jog the robot, unexpected motion can occur. This could injure personnel or damage equipment. Note If you want to clear the current frame to zero, move the cursor to the frame number and press NEXT, >, and then F2, CLRIND. This sets the active user frame ($MNUFRAMNUM[1]) to zero, which means that the default user frame is currently selected. 21. To save the frames and related system variables to a file on the default device, a. Press MENU. b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the user frame screen. i. Press FCTN. j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV, on the default device. 22. To save the system variable a. Press MENU. b. Select SYSTEM. c. Press F1, [TYPE]. d. Select Variables. e. Press FCTN. f. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. 6–56 MAROUAR9102171E REV D 6. FRAMES 6.7.2.3 Direct Entry Method Use the direct entry method when you know the coordinates of the user frame. The direct entry method allows you to designate the origin with values forX, Y, Z, W, P, and R. Use Procedure 6-9 to define a user frame using the direct entry method. Table 6–9. User Frame Setup Direct Entry DETAIL Screen Items ITEM DESCRIPTION Frame number This line shows the number of the user frame being defined. Comment This item is used to add a comment. X This item is used to define the component of the user frame. Y This item is used to define the component of the user frame. Z This item is used to define the component of the user frame. W This item is used to define the component of the user frame. P This item is used to define the component of the user frame. R This item is used to define the component of the user frame. Configuration This line displays the current robot configuration. Active UFRAME $MNUFRAMENUM[1] =0 This line indicates which user frame is currently selected for use. [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. MOVE_TO Press this key along with the SHIFT key to move to a recorded position. RECORD Press this key along with the SHIFT key to record a position. Use Procedure 6-10 to select a user frame. Caution Do not set up or alter frames when you use PalletTool. Frames are automatically set up for you by PalletTool. Procedure 6-9 Setting Up User Frame Using the Direct Entry Method Caution Do not set up or alter frames when you use PalletTool. Frames are automatically set up for you by PalletTool. 6–57 6. FRAMES MAROUAR9102171E REV D Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. Warning Do not run a KAREL program that includes motion statements. All motion must be initiated from a teach pendant program. Otherwise, the robot could move unexpectedly, personnel could be injured, and equipment could be damaged. 6. If user frames are not displayed, press F3, [OTHER], and select User Frame. If F3, [OTHER], is not displayed, press PREV. 7. To display the settings for all the frames, press PREV repeatedly until you see a screen similar to the following. 6–58 MAROUAR9102171E REV D 6. FRAMES SETUP Frames User/RTCP Setup / Direct Entry X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* 7: 0.0 0.0 0.0 ************* 8: 0.0 0.0 0.0 ************* 9: 0.0 0.0 0.0 ************* Active UFRAME/RTCP $MNUFRAMNUM[1]=0 8. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. 9. Press F2, DETAIL. 10. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 11. Press F2, [METHOD]. 12. Select Direct Entry. You will see a screen similar to the following. SETUP Frames User/RTCP Setup/ Direct Entry Frame Number: 1 1 Comment: **************** 2 X: 0.000 3 Y: 0.000 4 Z: 0.000 5 W: 0.000 6 P: 0.000 7 R: 0.000 Configuration: N, 0, 0, 0 Active UFRAME/RTCP $MNUFRAMENUM[1]=0 13. To add a comment: a. Move the cursor to the comment line and press ENTER. 6–59 6. FRAMES MAROUAR9102171E REV D b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. 14. Set each position component: a. Move the cursor to the component. b. Enter the numeric value for the component. c. Press the ENTER key to set the new value. 15. To select the user frame to use, press F5, SETIND, type the number of the user frame you want, and press ENTER. This sets the active user frame ($MNUFRAMNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to User, and type the number of the frame you want to use. Refer to Section 5.9 for more information. Note If you want to clear the current frame to zero, move the cursor to the frame number and press NEXT, >, and then F2, CLRIND. This sets the active user frame ($MNUFRAMNUM[1]) to zero, which means that the default user frame is currently selected. Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 16. To save the frames and related system variables to a file on the default device, a. Press MENU. b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the user frame screen. i. Press FCTN. j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV, on the default device. 6–60 MAROUAR9102171E REV D 6. FRAMES 17. To save the SYSTEM Variables menu, a. Press MENU. b. Select SYSTEM. c. Press F1, [TYPE]. d. Select Variables. e. Press FCTN. f. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. This is optional since frame variables are saved in SYSFRAME.SV. 6.7.3 Selecting a User Frame Procedure 6-10 Selecting a User Frame Caution The system variable $USEUFRAME defines whether the current value of $MNUFRAMENUM[group_no] will be assigned to the position's user frame when it is being recorded or touched up. When $USEUFRAME=FALSE, the initial recording of positions and the touching up of positions is done with the user frame number equal to 0, regardless of the value of $MNUFRAMENUM[group_no]. When $USEUFRAME=TRUE, the initial recording of positions is done with the position's user frame equal to the user frame defined by $MNUFRAMENUM[group_no]. The touching up of positions must also be done with the position's user frame equal to the user frame defined by $MNUFRAMENUM[group_no]. Be sure to set system variable $USEUFRAME correctly. Otherwise, your program will not operate properly. Note You can also use the Jog Menu to select the number of the user frame you want to use. Refer to Section 5.9 . Conditions • The user frame you want to select has been set up. Steps 1. Press MENU. 6–61 6. FRAMES MAROUAR9102171E REV D 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. If user frames are not displayed press F3, [OTHER], and select User Frame. If F3, [OTHER], is not displayed, press PREV. You will see a screen similar to the following. SETUP Frames User/RTCP Setup / Direct Entry X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* 7: 0.0 0.0 0.0 ************* 8: 0.0 0.0 0.0 ************* 9: 0.0 0.0 0.0 ************* Active UFRAME/RTCP $MNUFRAMNUM[1]=0 6. To select the user frame to use, press F5, SETIND, type the number of the user frame you want, and press ENTER. This sets the active user frame ($MNUFRAMNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to User, and type the number of the frame you want to use. Refer to Section 5.9 for more information. Note When a teach pendant program is executed, you must make sure that the user frame of the position equals the value of $MNUFRAMENUM[group_no], otherwise, an error will occur. Set the value of $MNUFRAMENUM[1] using the UFRAME_NUM=n instruction in the teach pendant program and then execute that instruction before you record the position. This guarantees that the position corresponds to the correct user frame. 6–62 MAROUAR9102171E REV D 6. FRAMES 6.8 Remote TCP Frame Remote TCP Frame 6.8.1 Setting Up a Remote TCP Frame You must define a remote TCP (RTCP) frame before you can use the remote TCP option to jog or include remote TCP within a motion instruction. Use Procedure 6-12 to set up an RTCP frame. You define this frame using the location of the remote TCP as the origin of the frame. Note Remote TCP frame will not be available if the Coordinated Motion option is loaded. See Figure 6–23 for an example of a remote TCP frame. Figure 6–23. Remote TCP Frame You can use two methods to define the RTCP frame: • Three point method • Direct entry method 6–63 6. FRAMES MAROUAR9102171E REV D 6.8.1.1 Three Point Method Recording three points defines the RTCP frame. The three points are the origin, or TCP of the fixed tool, a position along the +x-axis of the RTCP frame, and a position on the y-axis of the RTCP frame. Use Procedure 6-11 to define an RTCP frame using the three point method. Procedure 6-11 Setting Up a Remote TCP Frame Using the Three Point Method Warning If you are setting up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you are modifying an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Conditions • The end-of-arm tooling or a setup pointer is attached to the robot faceplate. • You have set up the tool frame for the end-of-arm tooling or setup pointer. Refer to Section 6.6.2 . Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. If user/RTCP frames are not displayed, press F3, [OTHER], and select User/RTCP. If F3, [OTHER], is not displayed, press PREV. 6. To display the settings for all frames, press PREV repeatedly until you see a screen similar to the following. 6–64 MAROUAR9102171E REV D 6. FRAMES SETUP Frames User/RTCP Setup / Three Point X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* Active UFRAME/RTCP $MNUFRAMNUM[1]=0 7. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. 8. Press F2, DETAIL. 9. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 10. Press F2, [METHOD]. 11. Select Three Point. You will see a screen similar to the following. SETUP Frames User/RTCP Setup/ Three Point Frame Number: 2 X: 0.0 Y: 0.0 Z: 0.0 W: 0.0 P: 0.0 R: 0.0 Comment: **************** Orient Origin Point: UNINIT X direction Point: UNINIT Y Direction Point: UNINIT Active UFRAME/RTCP $MNUFRAMNUM[1]=0 12. To add a comment: a. Move the cursor to the comment line and press ENTER. b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. 6–65 6. FRAMES MAROUAR9102171E REV D 13. Define the origin point of the remote TCP frame (Orient Origin Point): a. Move the cursor to Orient Origin Point. b. Jog the robot so that the TCP of the end-of-arm tooling or setup pointer touches the remote TCP of the fixed tool. See Figure 6–24 . c. Press and hold the SHIFT key and press F5, RECORD. Figure 6–24. Touching the TCP of the Robot Tool to the Remote TCP 14. Define the +X direction point (X direction Point): a. Move the cursor to X direction Point. b. Select an xyz coordinate system. c. Jog the robot in the desired +X direction. d. Press and hold the SHIFT key and press F5, RECORD. 15. Define a point on the positive X-Y plane (Y Direction Point): a. Move the cursor to Orient Origin Point. b. Select an xyz coordinate system. c. Press and hold the SHIFT key and press F4, MOVE_TO. d. Move the cursor to Y Direction Point. e. Jog the robot in the desired +y direction. f. Press and hold the SHIFT key and press F5, RECORD. 6–66 MAROUAR9102171E REV D 6. FRAMES 16. To select the RTCP frame to use press F5, SETIND, type the number of the user frame you want, and press ENTER. This sets the active user frame ($MNUFRAMNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to RTCP, and type the number of the frame you want to use. Refer to Section 5.9 for more information. 17. Jog the robot in the +x, +y, and +z directions. The robot should move in the correct directions according to the frame you defined. If the robot does not move in the correct directions, go to Step 18 . Otherwise, go to Step 19 . Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 18. To move to a recorded position, move the cursor to the desired position, press and hold the SHIFT key and press F4, MOVE_TO. Warning When you use F4, MOVE_TO, to jog the robot, unexpected motion can occur. This could injure personnel or damage equipment. Note If you want to clear the current RTCP frame selected, press NEXT, >, and then F2, CLRIND. This sets the active user frame ($MNUFRAMNUM[1]) to zero, which means that the default user frame is currently selected. 19. To save the frames and related system variables to a file on the default device, a. Press MENU. b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the RTCP frame screen. i. Press FCTN. 6–67 6. FRAMES MAROUAR9102171E REV D j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV, on the default device. 20. To display the SYSTEM Variables menu, a. Press MENU. b. Select SYSTEM. c. Press F1, [TYPE]. d. Select Variables. e. Press FCTN. f. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. 6.8.1.2 Direct Entry Method If you cannot use the three point method, use the direct entry method. In the direct entry method, you will be required to specify values for X, Y, and Z of the remote TCP. Use Procedure 6-12 to define an RTCP frame using the direct entry method. Use Procedure 6-13 to select an RTCP frame. Procedure 6-12 Setting Up a Remote TCP Frame Using the Direct Entry Method Warning If you are setting up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you are modifying an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Conditions • The end-of-arm tooling or a setup pointer is attached to the robot faceplate. • You have set up the tool frame for the end-of-arm tooling or setup pointer. Refer to Section 6.6 . Steps 1. Determine the Remote TCP of the fixed tool: 6–68 MAROUAR9102171E REV D 6. FRAMES a. Jog the robot so that the TCP of the end-of-arm tooling or setup pointer touches the remote TCP of the fixed tool. Figure 6–25. Touching the TCP of the Robot Tool to the Remote TCP b. Press POSN. c. Press F4, WORLD. d. Write down the X, Y, and Z values of the current position in the WORLD coordinate system. This is the remote TCP of the fixed tool. 2. Use the Direct Entry Method to set up the Remote TCP frame: a. Press MENU. b. Select SETUP. c. Press F1, [TYPE]. d. Select Frames. e. If user/RTCP frames are not displayed, press F3, [OTHER], and select User/RTCP. If F3, [OTHER], is not displayed, press PREV. f. To display the settings for all the frames, press PREV repeatedly until you see a screen similar to the following. 6–69 6. FRAMES MAROUAR9102171E REV D SETUP Frames User/RTCP Setup/ Direct Entry X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* Active UFRAME/RTCP $MNUFRAMNUM[1]=0 g. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. h. Press F2, DETAIL. i. To select a frame, press F3, FRAME, type the desired frame number, and press ENTER. j. Press F2, [METHOD]. k. Select Direct Entry. You will see a screen similar to the following. SETUP Frames User/RTCP Setup/ Direct Entry Frame Number: 1 1 Comment: **************** 2 X: 0.000 3 Y: 0.000 4 Z: 0.000 5 W: 0.000 6 P: 0.000 7 R: 0.000 Configuration: N R D B, 0, 0, 0 Active UFRAME/RTCP $MNUFRAMENUM[1]=0 l. To add a comment, move the cursor to the comment line, press ENTER, select a method of naming the comment, and press the appropriate function keys to enter the comment. When you are finished, press ENTER. m. Set each position component: • Move the cursor to the X, Y, and Z components and enter the values you recorded in Step 1d . 6–70 MAROUAR9102171E REV D 6. FRAMES • Move the cursor to the w, p, and r components and enter 0 for each component. 3. To select the RTCP frame to use, press F5, SETIND, type the number of the RTCP frame you want, and press ENTER. This sets the active user frame ($MNUFRAMNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to RTCP, and type the number of the frame you want to use. Refer to Section 5.9 for more information. Note If you want to clear the current frame to zero, move the cursor to the frame number and press NEXT, >, and then F2, CLRIND. This sets the active user frame ($MNUFRAMNUM[1]) to zero, which means that the default user frame is currently selected. Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 4. To save the frames and related system variables to a file on the default device, a. Press MENU. b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the RTCP frame screen. i. Press FCTN. j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV, on the default device. 5. To display the SYSTEM Variables menu, a. Press MENU. b. Select SYSTEM. c. Press F1, [TYPE]. 6–71 6. FRAMES MAROUAR9102171E REV D d. Select Variables. e. Press FCTN. f. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. This is optional since frame variables are saved in SYSFRAME.SV. Procedure 6-13 Selecting an RTCP Frame Note To select the number of the RTCP frame you want to use, you can also use the jog menu. Refer to Section 5.9 for more information. Conditions • The user frame you want to select has been set up. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. If user frames are not displayed press F3, [OTHER], and select User Frame. If F3, [OTHER], is not displayed, press PREV. You will see a screen similar to the following. SETUP Frames User/RTCP Setup/Direct Entry X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* Active UFRAME/RTCP $MNUFRAMNUM[1]=0 6. To select the user frame to use press F5, SETIND, type the number of the user frame you want, and press ENTER. This sets the active user frame ($MNUFRAMNUM[1]) to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to RTCP, and type the number of the frame you want to use. Refer to Section 5.9 for more information. 6–72 MAROUAR9102171E REV D 6. FRAMES 7. The system variable $USEUFRAME defines whether the current value of $MNUFRAMENUM[group_no] will be assigned to the position's user frame when it is being recorded or touched up. When $UFRAMENUM=FALSE, the initial recording of positions and the touching up of positions is done with the user frame number equal to 0, regardless of the value of $MNUFRAMENUM[group_no]. When $UFRAMENUM=TRUE, the initial recording of positions is done with the position's user frame equal to the user frame defined by $MNUFRAMENUM[group_no]. The touching up of positions must also be done with the position's user frame equal to the user frame defined by $MNUFRAMENUM[group_no]. Note When a teach pendant program is executed, you must make sure that the user frame of the position equals the value of $MNUFRAMENUM[group_no]; otherwise, an error will occur. Set the value of $MNUFRAMENUM[1] using the UFRAME_NUM=n instruction in the teach pendant program before you record the position to guarantee that the user frame numbers match during program execution. 6.9 Jog Frame 6.9.1 Setting Up Jog Frame Jog frame is a frame that you can set up in any location, with any orientation. Jog frame provides a convenient way to move along a part when the part is oriented differently from the world frame. See Figure 6–26 . You can set up jog frame so that the coordinates of jog frame correspond to the coordinates of the part. You can then jog along X, Y, and Z to teach the positions on the part. • Before you use jog frame, you must set up its location and orientation. • You can set up as many as five different jog frames for each robot. • You can select one jog frame to be active at a time per robot group. • You can jog the robot in jog frame. 6–73 6. FRAMES MAROUAR9102171E REV D Figure 6–26. Jog Frame Defined Parallel to Part Table 6–10. Jog Frame Setup Screen Items ITEM DESCRIPTION Jog frame setup/xxxx This line shows the current selected method for setting each jog frame. Frame number 1-5 These lines show the current position and comment for each available jog frame. X This column shows the X coordinate of each jog frame. Y This column shows the Y coordinate of each jog frame. Z This column shows the Z coordinate of each jog frame. Comment This column shows the comment for each jog frame. Active JOG FRAME[1] = 0 This line indicates which jog frame is currently selected for use. [TYPE] Press this key to access various application-specific options. DETAIL Press this key to display detailed information for each jog frame and to set the definition and comment of each jog frame. OTHER Press this key to select one of the other available reference frames or to choose the motion group for the frame you are setting up (in systems with multiple motion groups). CLEAR To set the numerical values of any jog frame to zero, move the cursor to the frame number, press CLEAR and answer YES to the prompt. SETIND To select the jog frame to use, press F5, SETIND, type the number of the jog frame you want, and press ENTER. This sets the active jog frame to the number of the frame you want. If F5, SETIND, is not displayed, press PREV. You can use two methods to define the jog frame. • Three point method 6–74 MAROUAR9102171E REV D 6. FRAMES • Direct entry method 6.9.1.1 Three Point Method The three point method allows you to define a jog frame by recording three points: the origin, a point along the +x-axis of the user frame, and a point on the x-y plane of the user frame (defines the x-y plane and the y-z plane). Table 6–11. Jog Frame Setup Three Point DETAIL Screen Items ITEM DESCRIPTION Frame number This line shows the number of the jog frame being defined. X, Y, Z, W, P, R These items show the current coordinates of the jog frame being defined. Comment This item is used to add a comment. Orient Origin Point This item is used to define the reference point of the jog frame. X direction Point This item is used to define the +X direction point. Y Direction Point This item is used to define a point on the X-Y plane. Active JOG FRAME[1] = 0 This item indicates which jog frame is currently selected for use [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. MOVE_TO Press this key to move to a recorded position. Move the cursor to the desired point and press MOVE_TO along with the SHIFT key. RECORD Press this key along with the SHIFT key to record a position. ArcTool Jog Frame Three Point Method Procedure 6-14 Setting Up the Jog Frame Using the Three Point Method Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. 6–75 6. FRAMES MAROUAR9102171E REV D Conditions • You have a cardboard box. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. 6. If jog frames are not displayed, press F3, [OTHER], and select Jog Frame. If F3, [OTHER], is not displayed, press PREV. 7. To display the settings for all frames, press PREV repeatedly until you see a screen similar to the following. SETUP Frames JOG Frame Setup / Three Point X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* Active JOG FRAME[1] = 0 8. To set the numerical values to zero move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. 9. Press F2, DETAIL. 10. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 11. Press F2, [METHOD]. 12. Select Three Point. You will see a screen similar to the following. 6–76 MAROUAR9102171E REV D 6. FRAMES SETUP Frames Jog Frame Setup / Three Point Frame Number: 2 X 0.0 Y 0.0 Z 0.0 W 0.0 P 0.0 R 0.0 Comment: **************** Orient Origin Point: UNINIT X direction Point: UNINIT Y Direction Point: UNINIT Active JOG FRAME[1] = 0 13. To add a comment: a. Move the cursor to the comment line and press ENTER. b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. 14. Mount a box within the workcell so that the orientation of the box matches the orientation of the desired jog frame. Make sure that the corner of the box used to record the origin is at the proper location. 15. Define the origin of the jog frame: a. Move the cursor to System Origin Point. b. Jog the robot TCP to the origin. In Figure 6–27 the origin is labeled 1. c. Press and hold the SHIFT key and press F5, RECORD. Figure 6–27. Defining the Origin Point 6–77 6. FRAMES MAROUAR9102171E REV D 16. Define the +X direction point: a. Move the cursor to X direction Point. b. Jog the robot along the x-axis of the box. In Figure 6–28 the +X direction point is labeled 2. c. Press and hold the SHIFT key and press F5, RECORD. Figure 6–28. Defining the X direction Point 17. Define a point on the positive X-Y plane: a. Move the cursor to Y Direction Point. b. Jog the robot to a location on the positive X-Y plane. In Figure 6–29 this point is labeled number 3. c. Press and hold the SHIFT key and press F5, RECORD. 6–78 MAROUAR9102171E REV D 6. FRAMES Figure 6–29. Defining the X-Y Plane 18. To select the jog frame to use, press F5, SETIND, type the number of the jog frame you want, and press ENTER. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to Jog, and type the number of the frame you want to use. Refer to Section 5.9 for more information. 19. Jog the robot in the +x, +y, and +z directions. The robot should move in the correct directions according to the frame you defined. If the robot does not move in the correct directions, go to Step 20 . Otherwise, go to Step 21 . Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. Warning When you use F4, MOVE_TO, to jog the robot, unexpected motion can occur. This could injure personnel or damage equipment. 20. To move to a recorded position, move the cursor to the desired position, press and hold the SHIFT key and press F4, MOVE_TO. 21. To save the frames and related system variables to a file on the default device, 6–79 6. FRAMES MAROUAR9102171E REV D a. Press MENU. b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the jog frame screen. i. Press FCTN. j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV, on the default device. 22. To save the frame positions and the system variables, a. Press MENU. b. Select SYSTEM. c. Press F1, [TYPE]. d. Select Variables. e. Press FCTN. f. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. 6.9.1.2 Jog Frame Direct Entry Method Direct Entry Method The direct entry method allows you to designate the origin with values forX, Y, Z, W, P, and R. This method provides direct recording and numerical entry of the frame position. Table 6–12. Jog Frame Setup Direct Entry DETAIL Screen Items ITEM DESCRIPTION Frame number This line shows the number of the jog frame being defined. Comment This item is used to add a comment. X This item is used to define the component of the jog frame. Y This item is used to define the component of the jog frame. Z This item is used to define the component of the jog frame. W This item is used to define the component of the jog frame. 6–80 MAROUAR9102171E REV D 6. FRAMES Table 6–12. Jog Frame Setup Direct Entry DETAIL Screen Items (Cont'd) P This item is used to define the component of the jog frame. R This item is used to define the component of the jog frame. Configuration This line displays the current robot configuration. Active JOG FRAME[1] = 0 This line indicates which jog frame is currently selected for use. [TYPE] Press this key to access various application-specific options. [METHOD] Press this key to select a method of entry. [FRAME] Press this key to select a frame. MOVE_TO Press this key along with the SHIFT key to move to a recorded position. RECORD Press this key along with the SHIFT key to record a position. Use Procedure 6-16 to select a jog frame. Procedure 6-15 Setting Up the Jog Frame Using the Direct Entry Method Caution Do not set up or alter frames when you use PalletTool. Frames are automatically set up for you by PalletTool. Warning If you set up a new frame, make sure that all frame data is zero or uninitialized before you record any positions. Press F4, CLEAR, to clear frame data. If you modify an existing frame, make sure that all frame data is set the way you want before you change it. Otherwise, you could injure personnel or damage equipment. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. To choose the motion group for the frame you are setting up in systems with multiple motion groups press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. 6–81 6. FRAMES MAROUAR9102171E REV D Warning Do not run a KAREL program that includes motion statements. All motion must be initiated from a teach pendant program. Otherwise, the robot could move unexpectedly, personnel could be injured, and equipment could be damaged. 5. Select Frames. 6. If jog frames are not displayed, press F3, [OTHER] and select Jog Frame. If F3, [OTHER], is not displayed, press PREV. 7. To display the settings for all frames, press PREV repeatedly until you see a screen similar to the following. SETUP Frames JOG Frame Setup / Three Point X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* Active JOG FRAME[1] = 0 8. To set the numerical values to zero, move the cursor to the frame number, press F4, CLEAR, and then press F4, YES, to confirm. 9. Press F2, DETAIL. 10. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 11. Press F2, [METHOD]. 12. Select Direct Entry. You will see a screen similar to the following. 6–82 MAROUAR9102171E REV D 6. FRAMES SETUP Frames Jog Frame Setup / Direct Entry Frame Number: 1 1 Comment: **************** 2 X: 0.000 3 Y: 0.000 4 Z: 0.000 5 W: 0.000 6 P: 0.000 7 R: 0.000 Configuration: N R D B, 0, 0, 0 Active JOG FRAME[1] = 0 13. To add a comment: a. Move the cursor to the comment line and press ENTER. b. Select a method of naming the comment. c. Press the appropriate function keys to enter the comment. d. When you are finished, press ENTER. 14. Set each position component: a. Move the cursor to the component. b. Enter the numeric value for the component. c. Press ENTER to set the new value. 15. To select the jog frame to use, press F5, SETIND, type the number of the jog frame you want, and press ENTER. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to Jog, and type the number of the frame you want to use. Refer to Section 5.9 for more information. Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 16. To save the frames and related system variables to a file on the default device, a. Press MENU. 6–83 6. FRAMES MAROUAR9102171E REV D b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the jog frame screen. i. Press FCTN. j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV on the default device. Display the SYSTEM Variables menu, 17. To save the SYSTEM Variables (optional since data is in SYSFRAME.SV) a. Press MENU. b. Select SYSTEM. c. Press F1, [TYPE]. d. Select Variables. e. Press FCTN. f. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. 6.9.2 Selecting a Jog Frame Procedure 6-16 Selecting a Jog Frame Caution Do not set up or alter frames when you use PalletTool. Frames are automatically set up for you by PalletTool. Note You can also use the Jog Menu to select the number of the jog frame you want to use. Refer to Section 5.9 for more information. Conditions • The jog frame you want to select has been set up. 6–84 MAROUAR9102171E REV D 6. FRAMES Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. If jog frames are not displayed press F3, [OTHER], and select Jog Frame. If F3, [OTHER], is not displayed, press PREV. You will see a screen similar to the following. SETUP Frames Jog Frame Setup / Direct Entry X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* Active JOG FRAME[1] = 0 6. To select the jog frame to use, press F5, SETIND, type the number of the jog frame you want, and press ENTER. This copies the selected jog frame to $JOG_GROUP[group_no].$JOGFRAME. If F5, SETIND, is not displayed, press PREV. -ORUse the Jog Menu. Press and hold SHIFT and press COORD, move the cursor to Jog, and type the number of the frame you want to use. Refer to Section 5.9 for more information. 6.10 Cell Frame and Cell Floor Cell Frame and Cell Floor Cell frame is a reference frame whose origin is common to all robots within the cell frame. The cell frame is used by TP graphics to provide proper relative positioning of each robot in the workcell. Cell frame can provide a convenient mean for calibrating the robots in a cell with respect to each other by first calibrating them with a single reference frame. The transformation representing a cell frame of a robot is defined from the cell frame origin to the world frame of each robot. The number of cell frames is always the same as the number of the robots in the workcell. Cell floor origin is the reference frame attached to the physical floor in the workcell. The origin of the cell floor can be represented by a transformation from the cell floor to the cell frame origin. At the 6–85 6. FRAMES MAROUAR9102171E REV D initialization, the cell floor is set by TP graphics to a default value. The default value is calculated based on the model and dimensions of the robot. The default value of the cell floor can then be adjusted through its dedicated setup screen.TP 3D graphics uses the cell floor to determine the position and orientation of the floor with respect to the cell frame origin. Figure 6–30 shows an example with robots calibrated to a cell frame. The white arrows represent the direction of the transformation. Figure 6–30. Cell Frame and Cell Floor 6.10.1 Cell Frame Setup You can set the cell frame directly using the direct entry method, or by copying the cell frame from a user frame or a cd pair (in systems with coordinated motion option). 6–86 MAROUAR9102171E REV D 6. FRAMES Direct Entry Method Use the direct entry method when the coordinates of the robot with respect to the cell frame is known. The direct entry method allows you to designate the cell frame values ofX, Y, Z, W, P, and R. Use Procedure 6-17 to define the cell frame of a robot using the direct entry method. Table 6–13. Cell Frame Setup Screen Items ITEM DESCRIPTION Frame Status This field indicates whether the cell frame has been calibrated or not. Calibration Type If the cell frame is calibrated, this field shows the method used for the calibration. X, Y, Z, W, P, R These items show the current coordinates of the cell frame of the current robot. Press this key to access various application-specific options. [TYPE] DETAIL [OTHER] Press this key to display detailed information for the cell frame and to calibrate the frame. Press this key to select the other available reference frames or to choose the motion group for the frame you are setting up (in systems with multiple motion groups). Press this key to clear the current value of the cell frame. CLEAR COPY Press this key to copy to/from cell frame from/to a specific user frame or cd pair (in systems with coordinated motion option). Table 6–14. Cell Frame Setup Using Direct Entry ITEM DESCRIPTION Frame Status This field indicates whether the cell frame has been calibrated or not. Calibration Type If the cell frame is calibrated, this shows the method used for calibration. X, Y, Z, W, P, R These items are the coordinates of the cell frame of the current robot. [OTHER] APPLY Press this key to select the other available frames or to choose the motion group for the frame you are setting up (in systems with multiple motion groups). Press this button for the changes you have applied to take effect. 6–87 6. FRAMES MAROUAR9102171E REV D Procedure 6-17 Setting Up the Cell Frame Using the Direct Entry Method Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. To choose the motion group for the frame you are setting up in systems with multiple motion groups press F3, [OTHER], and select the group you want. The default motion group is Group 1. If you have the new iPendant, you can press the GROUP key and press the numeric key to switch to a specified group. Press the GROUP key and the 0 key together to toggle the sub group. 6. If cell frames are not displayed, press F3, [OTHER], and select Cell Frame. If F3, [OTHER], is not displayed, press PREV. 7. To display the cell frame setup summary screen, press PREV repeatedly until you seen a screen smiliar to the following. SETUP Frames User Frame Setup Frame Status: Calibration Type: X: 0.0 Y: 0.0 W: 0.0 P: 0.0 Not Set Not Set Z: 0.0 R: 0.0 8. To set the cell frame to zero, press F4, CLEAR, and then press F4, YES, to confirm. 9. Press F2, DETAIL. You will see a screen similar to the following. SETUP Frames User Frame Setup Frame Status: Calibration Type: 1 X: 2 Y: 3 Z: 4 W: 5 P: 6 R: Not Set Not Set 0.000 0.000 0.000 0.000 0.000 0.000 10. Set each position component: a. Mover the cursor to the component. 6–88 MAROUAR9102171E REV D 6. FRAMES b. Enter the numeric value for the component. c. Press the ENTER key to set the new value. 11. Press F5, APPLY, to apply the changes made on the screen to the cell frame. Copying the Cell Frame With the copy button you can copy a user frame or a cd pair (in systems with the coordinated motion) to a cell frame. This allows you to use the three point or four point method of the user frame setup menu to define the cell frame as a user frame and then copy over the defined user frame to the cell frame. In systems with the coordinated motion option, CD pairs also become available as a source for the copy. This allows you to use an already calibrated CD pair for setting the cell frame of the leader of the group, under the condition that the cell frame of the follower of the CD pair is already calibrated. The value of the cell frame can also be copied to a user frame. Among the other uses, it allows you to observe the coordinates of the TCP or the tool frame as represented in the cell frame. Caution Before copying the cell frame to a user frame, make sure that the selected user frame is not used by any programs. In order to copy the cell frame the following conditions should be satisfied: • The source and destination of the copy cannot be the same. • One of the source or destination should be the cell frame. • In case of the copy from the CD PAIR, when the coordinated motion option is loaded, the selected source CD PAIR should already be calibrated. Also, the cell frame of the follower group of the CD PAIR should be calibrated. Follow Procedure 6-18 for copying the cell frame. Table 6–15. Cell Frame Copy Screen Items ITEM DESCRIPTION Source Shows the source of the copy operation. Destination Shows the destination of the copy operation. Frame Index Shows the index of the source or destination of the copy operation. [TYPE] Press this key to access various application-specific options. 6–89 6. FRAMES MAROUAR9102171E REV D Table 6–15. Cell Frame Copy Screen Items (Cont'd) ITEM DESCRIPTION [CHOICE] Press this key to access the list of the possible source or destinations. This key becomes active when the source or the destination fields are selected. APPLY Press this key to set the cell frame to the value shown on the screen. Procedure 6-18 Copying the Cell Frame Conditions • The source and destination of the copy cannot be the same. • One of the source or destination should be the cell frame. • In case of the copy from the CD PAIR, when the coordinated motion option is loaded, the selected source CD PAIR should already be calibrated. Also, the cell frame of the follower group of the CD PAIR should be calibrated. Steps 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. Press F3, [OTHER], and select the cell frame. 6. To copy the cell frame, press F5, COPY. The following screen will be shown. SETUP Frame / Cell Frame Source: CELL FRAME Destination: UFRAME Frame Index: 1 7. To change the source of the copy: a. Move the cursor to Source and press F4, [CHOICE]. b. Select the source of the copy from the list of possible sources which consists of UFRAME and CELL FRAME. If the coordinated motion option is loaded, CD PAIR will also becomes available as a copy source. 6–90 MAROUAR9102171E REV D 6. FRAMES c. When the source of the copy is selected press ENTER. 8. To change the destination of the copy: a. Move the cursor to Destination and press F4, [CHOICE]. b. Select the source of the copy from the list of possible sources which consists of UFRAME and CELL FRAME. c. When the source of the copy is selected press ENTER. 9. Enter the Frame Index number. The index number is the index of the UFRAME or CD PAIR that is selected as a source or destination of the copy. 10. Press ENTER for the copy operation to take effect. 6.10.2 Cell Floor Setup To set the cell floor follow Procedure 6-19 . Table 6–16. Cell Floor Setup Screen Items ITEM DESCRIPTION X, Y, Z, W, P, R These items are the coordinates of the cell frame of the current robot. [TYPE] Press this key to access various application-specific options. {OTHER] Press this key to select the other available reference frames or to choose the motion group for the frame you are setting up (in systems with multiple motion groups). Procedure 6-19 Cell Floor Setup Using the Direct Entry Method 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. If cell floor is not displayed, press F3, [OTHER], and select Cell Floor. If F3, [OTHER], is not displayed, press PREV. 6. The cell floor setup screen is similar to the following: SETUP Frames Cell Floor X: 0.0 Y: W: 0.0 P: 0.0 0.0 Z: R: 0.0 0.0 6–91 6. FRAMES MAROUAR9102171E REV D 7. Set each position component: a. Mover the cursor to the component. b. Enter the numeric value for the component. c. Press the ENTER key to set the new value. 6.11 Saving Frame Data Saving frame data saves the frame positions and comments. Use Procedure 6-20 to save frame data to a file. Caution Do not set up or alter frames when you use PalletTool. Frames are automatically set up for you by PalletTool. Procedure 6-20 Saving Frame Data to a File 1. Press MENU. 2. Select SETUP. 3. Press F1, [TYPE]. 4. Select Frames. 5. Press F2, DETAIL. 6. To select a frame, a. Press F3, FRAME. b. Type the desired frame number. c. Press ENTER. 7. Press F2, [METHOD]. 8. Select a frame method. You will see a screen similar to the following. 6–92 MAROUAR9102171E REV D 6. FRAMES SETUP Frames Tool Frame Setup / Three Point X Y Z Comment 1: 0.0 0.0 0.0 ************* 2: 0.0 0.0 0.0 ************* 3: 0.0 0.0 0.0 ************* 4: 0.0 0.0 0.0 ************* 5: 0.0 0.0 0.0 ************* 6: 0.0 0.0 0.0 ************* ACTIVE TOOL $MNUTOOLNUM[1]=1 Caution When you are finished setting the frame configuration, save the information to the default device so that you can reload the configuration data if necessary. Otherwise, if the configuration is altered, you will have no record of it. 9. To save the frames and related system variables to a file on the default device, a. Press MENU. b. Select FILE. c. Press F1, [TYPE]. d. Select File. e. Press F5, [UTIL]. f. Select Set Device. g. Move the cursor to the device you want and press ENTER. h. Display the frame screen. i. Press FCTN. j. Select SAVE. This will save the frame positions and comments for all frames to the file FRAMEVAR.VR, and the frame data to SYSFRAME.SV, on the default device. 10. To save the SYSTEM Variables, a. Press MENU. b. Select SYSTEM. c. Press F1, [TYPE]. d. Select Variables. e. Press FCTN. 6–93 6. FRAMES MAROUAR9102171E REV D f. Select SAVE. The frame positions and system variables are saved in the SYSVAR.SV file, on the default device. This is optional since frame variables are saved in SYSFRAME.SV 6.12 Frame Visualization If the option R764 4D Graphics is installed, the Frame Setup screens will offer a related view. When this view is activated, you will be shown the 3D world with details about the current frame setup operation. Refer to Chapter 8 CREATING A PROGRAM on launching a related view, and Chapter 4 4D FUNCTIONALITY for details on manipulating the 3D world. A large blue triad representing the location and orientation of the frame currently being set up is shown in the 3D world. If you are on the 3, 4 or 6 point detail screen, a small triad is displayed for each recorded point. The color of the triad is black unless it represents the location of the cursor in the setup pane. In that case it is green. Changes made in the frame setup menu are immediately reflected in the 3D world. 6–94 Chapter 7 PROGRAM INSTRUCTIONS Contents Chapter 7 7.1 7.2 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.2.6 7.2.7 7.2.8 7.2.9 7.2.10 7.3 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 7.3.7 7.3.8 7.3.9 7.3.10 7.3.11 7.3.12 7.3.13 7.3.14 7.3.15 7.3.16 ................................................................... 7–1 ................................................................................................ 7–5 MOTION INSTRUCTION ............................................................................. 7–5 Overview ................................................................................................... 7–5 Motion Type .............................................................................................. 7–6 Circular Arc Type A Motion Instructions .................................................... 7–11 Guidelines for Teaching a Small Circular Arc .......................................... 7–39 Positional Information ............................................................................. 7–44 Position Confirmation .............................................................................. 7–46 Motion Status Display .............................................................................. 7–47 Frame Number of Positional Data ............................................................ 7–55 Speed ....................................................................................................... 7–56 Termination Type ..................................................................................... 7–63 MOTION OPTIONS INSTRUCTION.............................................................. 7–66 Acceleration Override .............................................................................. 7–67 Advanced Constant Path ......................................................................... 7–69 Arc Welding ............................................................................................. 7–87 Break ....................................................................................................... 7–87 Constant Path .......................................................................................... 7–87 Coordinated Motion .................................................................................. 7–98 Corner Distance Control Option ................................................................ 7–99 Extended Velocity EV Motion Option ..................................................... 7–111 FacePlate Linear ...................................................................................... 7–113 Incremental Motion ................................................................................ 7–115 Offset ..................................................................................................... 7–116 Offset Position Register ......................................................................... 7–117 PTH Motion Option ................................................................................ 7–117 Remote TCP Motion Option (optional) ................................................... 7–118 Search [ ] Motion Option ........................................................................ 7–122 Skip Jump ................................................................................................ 7–123 PROGRAM INSTRUCTIONS OVERVIEW 7–1 7. PROGRAM INSTRUCTIONS 7.3.17 Skip Label .............................................................................................. 7.3.18 Time Before / Time After ........................................................................ 7.3.19 Tool_offset ............................................................................................. 7.3.20 Tool offset position register ................................................................... 7.3.21 Torch Angle ............................................................................................. 7.3.22 Wrist Joint ............................................................................................. 7–124 7–125 7–125 7–127 7–128 7–147 7.4 ARC WELDING INSTRUCTIONS ............................................................... 7.4.1 Overview .................................................................................................. 7.4.2 Weld Start and Weld End Programming................................................... 7–147 7–147 7–148 7.5 7.5.1 7.5.2 7.5.3 7.5.4 ARC WELDING INSTRUCTIONS without Weld Procedures ..................... Overview ................................................................................................ Arc Start Instructions ............................................................................. Arc End Instructions .............................................................................. Multi-Equipment Arc Instructions .......................................................... 7–152 7–152 7–152 7–155 7–156 7.6 7.6.1 7.6.2 WEAVING INSTRUCTIONS ..................................................................... Weave Instructions ................................................................................ Weave End Instructions ......................................................................... 7–157 7–157 7–161 7.7 7.7.1 7.7.2 7.7.3 7.7.4 7.7.5 7.7.6 7.8 7.8.1 7.8.2 7.8.3 7.8.4 7.8.5 TRACK/OFFSET INSTRUCTIONS (OPTION) ........................................... Overview ................................................................................................ TRACK {Sensor} Instruction .................................................................. TRACK END Instruction ......................................................................... MP OFFSET Instruction ......................................................................... MP OFFSET END Instruction ................................................................. TRACK {sensor} RPM Instruction .......................................................... TOUCH SENSE INSTRUCTIONS ............................................................. Overview ................................................................................................ Search Start Instruction ......................................................................... Search End Instruction .......................................................................... Touch Offset Instruction ........................................................................ Touch Offset End Instruction ................................................................. 7–161 7–161 7–161 7–162 7–162 7–163 7–163 7–164 7–164 7–164 7–165 7–165 7–167 7.9 BASIC PROCESS AXES INSTRUCTIONS (OPTION) ................................. 7.9.1 Overview .................................................................................................. 7.9.2 SET ISDT SPEED Instruction ................................................................... 7.9.3 STOP ALL ISDT Instruction ..................................................................... 7–167 7–167 7–167 7–169 7.10 7.10.1 7.10.2 7.10.3 7.10.4 7.10.5 BRANCHING INSTRUCTIONS ................................................................ Overview ................................................................................................ Label Definition Instruction LBL[x] ........................................................ Unconditional Branching Instructions ................................................... Conditional Branching Instructions ....................................................... Wizard to Input Arguments ...................................................................... 7–169 7–169 7–169 7–170 7–171 7–175 7.11 COLLISION GUARD INSTRUCTIONS (OPTION) ..................................... ................................................. FOR/ENDFOR INSTRUCTIONS................................................................. Overview .................................................................................................. FOR/ENDFOR Instruction Specification ................................................... Teach FOR/ENDFOR Instruction .............................................................. Execution examples ................................................................................ Alarms ..................................................................................................... INPUT/OUTPUT INSTRUCTIONS ............................................................ Overview ................................................................................................ Digital Input and Output Instructions ..................................................... 7–185 CONDITION MONITOR INSTRUCTIONS 7–186 7.12 7.13 7.13.1 7.13.2 7.13.3 7.13.4 7.13.5 7.14 7.14.1 7.14.2 7–2 MAROUAR9102171E REV D 7–190 7–190 7–190 7–191 7–197 7–201 7–203 7–203 7–203 MAROUAR9102171E REV D 7.14.3 7.14.4 7.14.5 7.14.6 7.14.7 7.15 7. PROGRAM INSTRUCTIONS Robot Digital Input and Output Instructions .......................................... Analog Input and Output Instructions .................................................... Group Input and Output Instructions ..................................................... Welding Input and Output Instructions .................................................. Input and Output Instruction Format ....................................................... MACRO COMMAND INSTRUCTION 7–205 7–206 7–207 7–208 7–210 ........................................................ 7–212 MATH FUNCTION INSTRUCTIONS ........................................................... Type of Math Functions ........................................................................... Instruction Format of Math Function ....................................................... Function Specification of Math Functions ............................................... Background Operation of Math Function ................................................. Teach Math Function Instruction ............................................................. Restriction of Teaching Math Function .................................................... Exceptions and Restriction...................................................................... 7–213 7–213 7–214 7–216 7–222 7–222 7–224 7–225 7.17 MISCELLANEOUS INSTRUCTIONS ........................................................ 7.17.1 Overview ................................................................................................ 7.17.2 RSR Enable/Disable Instruction ............................................................. 7.17.3 User Alarm Instruction ........................................................................... 7.17.4 Timer Instruction ................................................................................... 7.17.5 OVERRIDE Instruction ........................................................................... 7.17.6 Remark Instruction ................................................................................ 7.17.7 Multi-lng Remark Instruction ................................................................... 7.17.8 Line Remark (Comment out) Instruction .................................................. 7.17.9 Message Instruction .............................................................................. 7.17.10 Parameter Name Instruction .................................................................. 7.17.11 Maximum Speed Instruction .................................................................. 7–226 7–226 7–226 7–226 7–227 7–227 7–228 7–228 7–229 7–230 7–231 7–232 MIXED LOGIC INSTRUCTIONS ............................................................... Overview ................................................................................................ Data Types ............................................................................................. Operators ............................................................................................... Expressions ........................................................................................... Adding Mixed Logic Instructions ........................................................... Background Logic ................................................................................. Backup/Restore ..................................................................................... 7–234 7–234 7–234 7–235 7–236 7–238 7–240 7–253 7.16 7.16.1 7.16.2 7.16.3 7.16.4 7.16.5 7.16.6 7.16.7 7.18 7.18.1 7.18.2 7.18.3 7.18.4 7.18.5 7.18.6 7.18.7 7.19 7.20 7.21 ................................................... 7–253 OFFSET/FRAME INSTRUCTIONS ........................................................... 7–254 MULTIPLE CONTROL INSTRUCTIONS PARAMETERS FOR PROGRAM CALL AND MACRO INSTRUCTIONS ....................................................................................... Overview ................................................................................................ Parameter Instruction Syntax ................................................................ String Value Selections .......................................................................... Argument Registers ............................................................................... Guidelines for Using Parameters ........................................................... Including Parameters in Program Call and Macro Instructions .............. Including Argument Registers in Sub-Programs ................................... 7–257 7–257 7–258 7–260 7–262 7–263 7–265 7–269 7.22 PAYLOAD INSTRUCTION ....................................................................... 7.23 POINT LOGIC INSTRUCTION ................................................................... 7.23.1 Overview .................................................................................................. 7.23.2 Point Logic Instruction ............................................................................ 7.23.3 Point Logic View Function ....................................................................... 7–270 7–273 7–273 7–274 7–277 POSITION REGISTER INSTRUCTIONS ................................................... Overview ................................................................................................ 7–281 7–281 7.21.1 7.21.2 7.21.3 7.21.4 7.21.5 7.21.6 7.21.7 7.24 7.24.1 7–3 7. PROGRAM INSTRUCTIONS 7.24.2 7.24.3 PR[x] Position Register Instructions ...................................................... PR[i,j] Position Register Element Instructions ....................................... 7–281 7–283 7.25 ........................... PROGRAM CONTROL INSTRUCTIONS .................................................. Overview ................................................................................................ PAUSE Instruction ................................................................................. ABORT Instruction ................................................................................. Error Program Instruction ...................................................................... Resume Program Instruction ................................................................. Maintenance Program Instruction .......................................................... Clear Resume Program Instruction ........................................................ Return Path Disable Instruction ............................................................. PROCESS SYNCHRONIZATION ............................................................. REGISTER INSTRUCTIONS .................................................................... SKIP INSTRUCTION ............................................................................... STRING REGISTER INSTRUCTIONS ........................................................ Overview .................................................................................................. String Register Assignment and Concatenation ...................................... String Conversion and Precedence ......................................................... STRLEN Instruction ................................................................................. FINDSTR Instruction ................................................................................ SUBSTR Instruction ................................................................................. VISION INSTRUCTIONS ......................................................................... Overview ................................................................................................ RUN_FIND .............................................................................................. GET_OFFSET ......................................................................................... GET_PASSFAIL ........................................................................................ GET_NFOUND.......................................................................................... SET_REFERENCE .................................................................................. OVERRIDE ............................................................................................... CAMERA_CALIB .................................................................................... VR[]. MODELID ...................................................................................... VR[].MES[] ............................................................................................... VR[].FOUND_POS[] .................................................................................. VR[].OFFSET .......................................................................................... VR.[].ENC ................................................................................................. RUN_FIND SR[] ........................................................................................ GET_OFFSET SR[] ................................................................................... SET_REF SR[] .......................................................................................... CAMERA_CAL SR[] ................................................................................. GET_PASSFAIL SR[] ................................................................................ GET_READING ........................................................................................ SAMPLE PROGRAM .............................................................................. Re-Calibration and Verification Sample Program..................................... Bar Code Reading Sample Program ........................................................ Inspection Sample Program .................................................................... 2D Single Multi-View Vision Process ....................................................... Calling Vision by String Register Sample Program ................................. WAIT INSTRUCTIONS ............................................................................ 7–286 7.26 7.26.1 7.26.2 7.26.3 7.26.4 7.26.5 7.26.6 7.26.7 7.26.8 7.27 7.28 7.29 7.30 7.30.1 7.30.2 7.30.3 7.30.4 7.30.5 7.30.6 7.31 7.31.1 7.31.2 7.31.3 7.31.4 7.31.5 7.31.6 7.31.7 7.31.8 7.31.9 7.31.10 7.31.11 7.31.12 7.31.13 7.31.14 7.31.15 7.31.16 7.31.17 7.31.18 7.31.19 7.31.20 7.31.21 7.31.22 7.31.23 7.31.24 7.31.25 7.32 7–4 MAROUAR9102171E REV D POSITION REGISTER LOOK-AHEAD INSTRUCTIONS 7–287 7–287 7–287 7–287 7–288 7–288 7–289 7–289 7–289 7–290 7–293 7–296 7–299 7–299 7–300 7–301 7–302 7–303 7–304 7–305 7–305 7–305 7–306 7–306 7–307 7–307 7–308 7–308 7–309 7–309 7–309 7–310 7–310 7–311 7–311 7–312 7–312 7–313 7–313 7–314 7–314 7–316 7–316 7–317 7–317 7–318 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.1 OVERVIEW A program instruction tells the robot what to do at a given point in time. FANUC provides predefined instructions to accomplish certain tasks. For example, FANUC has created an instruction to move the robot in a certain way and at a certain speed. Another instruction FANUC makes available tells the robot to wait for an event to transpire before completing other tasks. Many other instructions like these are available. You can choose from these available instructions, gathering them together in a teach pendant program, in order to create a series of steps organized to accomplish a task. This chapter provides a list of the available program instructions . Figure 7–1 shows some of the program elements of a typical palletizing program. Figure 7–1. Program Example Program name Remark Motion instruction Program instructions Line number Program end marker PROG_01 1: This program palletizes. 2: PALLET[1 :pallet_sample] 3: J P[1:A_1] 70% CNT100 4: J P[1:A_2] 50% CNT50 5: L P[1:A_3] 500mm/s FINE 6: L P[1:BTM] 300mm/s FINE 7: CLOSE HAND [1] 8: WAIT SDI[1] 9: If PL[3]=[5,*,*] JUMP[11] [End] 7.2 MOTION INSTRUCTION 7.2.1 Overview A motion instruction directs the robot to move in a specified way to a specific location in the workcell using a specified speed. A motion instruction includes: • Motion type - How the robot moves to the position • Position indicator symbol - Indicates that the robot is at the taught position • Positional information - Where the robot moves 7–5 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Termination type - How the robot ends the move to the position • Speed - How fast the robot moves to a position • Motion options - Additional commands that perform specific tasks during robot motion A typical example motion instruction is shown in Figure 7–2 . Figure 7–2. Typical Motion Instruction Example Note Wrist Joint (W/JNT) is a motion option that allows the robot to move only in Linear or Circular. 7.2.2 Motion Type Motion type defines how the robot will move to the destination position. There are three motion types: • Joint • Linear • Circular Joint Motion J P[2] 50% FINE 7–6 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Joint motion • Causes the robot to move all required axes to the destination position simultaneously. The motion of each axis starts and stops at the same time. • Is programmed at the destination position. • Speed is specified as a percentage of the total default speed, or in seconds. The actual speed of the move is dependant on the speed of the slowest axis. Refer to Section 7.2.9 . Figure 7–3 shows an example of joint motion. Figure 7–3. Joint Motion Type Linear Motion L P[2] 100mm/sec FINE Linear motion • Causes the robot to move the tool center point in a straight line from the start position to the destination position. 7–7 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Is programmed at the destination position. • Speed is specified in millimeters per second, centimeters per second, inches per minute, degrees per second, or seconds. Refer to Section 7.2.9 . During a linear move, the orientation of the tool changes gradually as the robot moves from the start position to the destination position, depending on how the destination position is programmed. Figure 7–4 shows an example of linear motion. Figure 7–4. Linear Motion Type Linear motion type can also be used to rotate about the tool center point while maintaining that position. The speed for this type of motion is in degrees per second. Figure 7–5 shows an example of linear motion used for rotation about the tool center point. 7–8 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–5. Linear Motion Type Used to Rotate About the Tool Center Point Circular Motion C P[2] P[3] 100mm/sec FINE Circular motion • Causes the robot to move the tool center point in an arc from the start position through an intermediate to the destination position. • Is programmed at the intermediate position. • Speed is specified in inches per minute, millimeters per second, and centimeters per minute. Refer to Section 7.2.9 . When you add a motion instruction that has circular motion type, the following appears on the screen: C P[2] P[3] 100 mm/sec FINE The first position, P[2] in the example, is the intermediate position. The intermediate position is automatically recorded as the current robot position when you add the motion instruction. The second position, P[3] in the example, is the destination position. You must record the destination position, after you add the circular motion instruction, using the TOUCHUP function key, F5. 7–9 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D If you change an existing point to "C", that position becomes the "via" or intermediate position. To program a complete circle, add two circular motion instructions, which will generate two intermediate positions and two destination positions. The circular motion instructions can be added by: • Inserting a line. • Returning to DEFAULT • Selecting [INST]. • Editing a default instruction to add the circular motion instruction. • Teaching a point with the current default and then modifying the line to become a circular motion statement. Circular Orientation Control at Intermediate (Via) Point Circular orientation control at the intermediate "via" point ensures that the robot will go through the "via" point at the taught orientation point. Orientation is smoothly changed between the start, via, and end points. Figure 7–6 shows an example of circular motion. Figure 7–6. Circular Motion Type 7–10 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Restart of Circular Motion In Figure 7–7 a single-step stop occurs at the destination position of a circular motion instruction. You can then jog the robot. Figure 7–7. Restart of Circular Motion Instruction In Figure 7–8 when program execution is restarted after a single-step stop and jogging, the robot moves, using linear motion to the end point of the previous circular motion. Figure 7–8. Restart of Circular Motion Instruction Refer to Section 7.2.3 for information on using the Circular Arc Type A Motion Instruction. 7.2.3 Circular Arc Type A Motion Instructions 7.2.3.1 Overview In a normal circular motion instruction, you must record two positions for one circular motion instruction. In the circular arc type A motion instruction, every instruction has one position, and the circular motion is performed by more than three type A motion instructions. Type A motion has the following features: 7–11 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • It is easy to add and delete a teaching point on circular arc. • Speed and termtype can be specified for every position. • Logical instructions can be written between every position. See Figure 7–9 . Figure 7–9. Extend Circular Arc You can easily extend the circular arc by adding a teaching point. P[2] P[2] P[3] P[1] P[2] P[3] P[3] P[1] P[1] P[4] P[5] P[4] Can add teaching points in series. You can also insert teaching .points between them. Circle of P[1], P[2] and P[5] Circle of P[1], P[2] and P[3] P[2] P[2] P[3] Circle of P[2], P[3] and P[4] 7–12 P[5] P[1] P[1] P[4] Circle of P[2], P[5] and P[3] P[4] P[3] Can insert teaching points. Circle CircleofofP[5], P[3],P[3] P[4]and andP[4] P[5] MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.2.3.2 Restrictions • Backward execution from interrupt program is not supported. • In case PAL_*[ ] is used as position of a type A motion instruction, an error is posted when it is executed. • In case the position register is used as the position type A motion instruction and its index is specified indirectly by register, error is posted when the motion is executed. • In case Offset or Tool_Offset is attached to a type A motion instruction and an index of PR is indirectly specified, an error is posted when the motion is executed. • Circular Arc (type A) motion instructions cannot be used with TAST (Through Arc Seam Tracking) or Multi-Pass/RPM. 7.2.3.3 Teaching Method The method used to teach a circular arc type A motion is the same as to teach a linear motion but you select A motion as the motion type. 7.2.3.4 Normal Motion 1: 2: 3: 4: 5: 6: J A A A A L P[1] P[2] P[3] P[4] P[5] P[6] 100% FINE 200mm/sec 200mm/sec 200mm/sec 200mm/sec 200mm/sec FINE CNT 100 CNT 100 FINE FINE 7–13 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–10. Normal Motion Circle of P[2], P[3] and P[4] P[3] Circle of P[2], P[3] and P[4] P[1] P[2] P[4] P[6] P[5] Circle of P[3], P[2], P[4] P[3] and P[5] P[4] Different from a normal circular motion instruction, the motion instruction to the start point of a circular arc must be a type A motion instruction. In the first type A motion instruction, the robot moves in a linear motion. Figure 7–11. First A Motion In the second and after the type A motion instruction, the robot moves on the circle that is calculated by three positions: the current position, the destination point of this type A motion instruction, and that of the next type A motion instruction. See Figure 7–12 . 7–14 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Halfway A Motion Figure 7–12. Circle Formed by Current Point When the next motion instruction is not a type A motion instruction, the last A motion instruction is regarded as the end position of the circle. In this case, the robot moves on the circle that is calculated by three positions: the destination position of the previous motion instruction, the current position, and the destination position of this motion instruction. See Figure 7–13 . 7–15 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–13. Last A Motion 7.2.3.5 Circular Motion Direction 1: 2: 3: 4: J A A A P[1] P[2] P[3] P[4] 100% FINE 200mm/sec FINE 200mm/sec CNT100 200mm/sec CNT100 When the third line of the above program is executed, the robot moves to P[3] on the circle that is calculated by P[2], P[3] and P[4]. The robot moves to P[3] on the direction in the order of P[2]->P[3]-> P[4]. See Figure 7–14 . 7–16 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–14. This Path Used 7.2.3.6 Cases when the Circular Path Cannot Be Planned Shortage of Type A Motion Instructions You must teach three or more successive type A motion instructions. If you do not, it is displayed as “INTP-609 ARC:A needs 3 points (%d)”. Ex.1) A motion instruction is isolated. It is displayed as “INTP-609 ARC:A needs 3 points (1).” 1: J P[1] 100% FINE 2: A P[2] 200mm/sec FINE 3: L P[3] 200mm/sec CNT100 Ex.2) There are only two successive A motion instructions. It is displayed as “INTP-609 ARC:A needs 3 points (2)” 1: 2: 3: 4: J A A L P[1] P[2] P[3] P[3] 100% FINE 200mm/sec FINE 200mm/sec CNT100 200mm/sec CNT100 Teaching of the Same Position When it is impossible to form a circular motion by three points, the robot moves in a linear motion. When the same point is written continuously, the robot moves in a linear motion. 7–17 7. PROGRAM INSTRUCTIONS 1: 2: 3: 4: 5: 6: J A A A A L P[1] P[2] P[2] P[3] P[3] P[4] 100% FINE 200mm/sec 200mm/sec 200mm/sec 200mm/sec 200mm/sec MAROUAR9102171E REV D FINE CNT100 CNT100 FINE FINE Figure 7–15. Robot Moves in a Linear Motion Motion of 3rd line: Current point and destination point are the same, so the robot does not move. Motion of 4th line: Destination point and next destination point are the same, so the robot moves in a linear motion. Motion of 5th line: Current point and destination point are the same, so the robot does not move. Motion of 6th line: Destination point and next destination point are the same, so the robot moves as linear motion. When Three Points are in a Line In this case, the robot does not move as a circular motion. 1: 2: 3: 4: 7–18 J A A A P[1] P[2] P[3] P[4] 100% FINE 200mm/sec FINE 200mm/sec CNT100 200mm/sec CNT100 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–16. Robot Moves Linear When the Circular Arc is Larger than 180 degrees In type A motion instructions, the robot can not move on a circular arc bigger than 180 degrees. 1: 2: 3: 4: J A A A P[1] P[2] P[3] P[4] 100% FINE 200mm/sec FINE 200mm/sec CNT100 200mm/sec CNT100 Figure 7–17. Robot Can't Move 7.2.3.7 Resume After Pause If robot motion is paused and resumed without change, the resumed path is the same as if no pause occurred. 7–19 7. PROGRAM INSTRUCTIONS 1: 2: 3: 4: 5: 6: J A A A A L P[1] P[2] P[3] P[4] P[5] P[6] 100% FINE 200mm/sec 200mm/sec 200mm/sec 200mm/sec 200mm/sec MAROUAR9102171E REV D FINE CNT100 CNT100 FINE FINE 7.2.3.8 Resume After Jog If a program is paused during type A motion, then the robot is jogged and the program is resumed. In this case, if the original path resume is enabled, the robot returns to the paused position and continues the motion. (If the original path resume is disabled, the robot moves from the current position to the destination position on a circular path. Then the robot moves along the programmed path.) For example, the program is paused during motion at 3th line. Then the robot is jogged and the program is resumed. At first, the robot moves to P[3] as a circular motion is made by the current position, P[3] and P[4]. Then it moves to P[4] on the circular arc formed by P[3], P[4] and P[5]. The path to P[3] and the path to P[4] are blended because motion instruction to P[3] uses CNT100. Figure 7–18. Resume After Jog 7–20 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.2.3.9 Resume After Pause and Modification of Programs Change of Destination Point In this case, the resumed motion is a circular motion and its path is calculated using changed destination point. For example, suppose the program is paused during the motion to P[3]. Then P[3] is modified by direct numerical input and the program is resumed. The robot moves in a circular motion that is calculated by the current position, destination position P[3] and next position P[4]. See Figure 7–19 . Figure 7–19. Resume After Jog Change of Next Destination Point If P[4] is changed in the example above, the changed P[4] is used to calculate the circular path. See Figure 7–20 . 7–21 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–20. Change of Destination Point Deletion of Next A Motion Instruction and Resume If the program is paused on type A motion and the next motion destination point is deleted, it means that the point used to calculate circular path is lost. Even after deletion, if the next destination point is a type A motion instruction, resumed motion is a circular arc. It is calculated by the current position, destination point, and the next destination point. Figure 7–21 is an example. The program is paused during motion from P[2] to P[3], and P[4] is deleted. See Figure 7–21 . 7–22 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–21. Change of Next Destination Point The robot moves to P[3] in a circular motion. The arc is formed by the current position, P[3] and P[5]. To P[5], the robot moves in a circular motion that is calculated by P[2], P[3] and P[5]. In this particular case, however, because P[3] to P[5] is more than 180 degrees, an error "MOTN-98" Circle angle too large will be posted. But when P[2] to P[5] is less than 180 degrees, as it should be, the motion will perform as described above. See Figure 7–22 . Figure 7–22. Deletion of Next A Motion If there are no more motion instructions or the next motion instruction is not type A, the paused motion instruction is the last A. In this case, circular motion is calculated by the current position and 7–23 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D destination position. If the program is paused during the motion from P[3] to P[4], then the motion instruction to P[5] is deleted. See Figure 7–23 . Figure 7–23. Deletion of Next A Motion Because P[5] is deleted, the motion to P[4] is the last type A motion. After the resume, the robot moves to P[4] as a type A motion that is calculated by P[3], current position and P[4]. After that, the robot moves to P[6] in a linear motion. See Figure 7–24 . Figure 7–24. Deletion of Next A Motion 7–24 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Current Instruction Becomes the First A Motion After Modification Suppose that the program is paused on the first A motion, and then modified. Even if the program is changed and the paused motion instruction is not the first one any more, the robot moves in a linear motion. On the other hand, even if the type A motion instruction is changed to the first one after the program modification, the motion is resumed as type A motion. The change is not reflected. 1: 2: 3: 4: 5: 6: 7: 8: 9: J A A A L A A A J P[1] P[2] P[3] P[4] P[5] P[6] P[7] P[8] P[9] 100% FINE 200mm/sec 200mm/sec 200mm/sec 200mm/sec 200mm/sec 200mm/sec 200mm/sec 200mm/sec FINE CNT100 FINE CNT100 FINE CNT100 FINE FINE Ex1) The program is paused during the motion to P[6] and change the previous instruction from the linear motion to the type A motion. See Figure 7–25 . Figure 7–25. Program is Paused Because the motion to P[6] was the first type A motion, it was linear motion. But after the modification, the programmed path is as shown in Figure 7–26 . 7–25 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–26. After Modificaton Programmed Path In this case, if motion to P[6] is resumed, the robot moves to P[6] in a linear motion. See Figure 7–27 . Figure 7–27. Motion is Resumed If the program is resumed by backward execution, the robot moves to P[5] as circular motion. The resumed path is calculated by P[7], current position and P[5]. Ex.2) Changes contrary to Ex.1. Program is paused during the motion to P[6]. Interpolation type of motion to P[5] is changed to linear. See Figure 7–28 . 7–26 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–28. Program is Paused Figure 7–29 is the programmed path of a modified program. The motion instruction to P[6] is the first instruction now. See Figure 7–29 . Figure 7–29. Programmed Motion But motion is resumed as a type A motion. The path is calculated by current position, P[6] and P[7]. See Figure 7–30 . Figure 7–30. Motion is Resumed If the program is resumed by backward execution, the robot moves to P[5] in a linear motion. 7–27 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.2.3.10 Pause and Resume from Another Type A Motion Instruction A motion is resumed the same as the other motion type. In the following example the program is paused during motion to P[2] and resumed from the motion instruction to P[3]. The robot moves in a circular motion in order to get to the current position, P[3] and P[4]. See Figure 7–31 . Figure 7–31. Pause and Resume for Another A Motion In following example, the program is paused during motion to P[2] and resumed from the motion instruction to P[4]. This path is shown as a dotted line in Figure 7–32 . However, this circular arc will be over 180 deg, so the error “MOTN-098 Circle angle too large” occurs and the program is not executed. 7–28 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–32. Program is Paused The next example is resumed from motion to P[2] after hold during motion to P[4]. Motion to P[2] is the 1st A motion. In this case, the robot moves in a linear motion. See Figure 7–33 . Figure 7–33. Single Step Execution 7–29 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.2.3.11 Start of Program from A Motion When the program is started (not resumed) from middle of a series of type A motion instructions, how the robot moves is the same as in Section 7.2.3.10 . 7.2.3.12 Single Step Execution If a type A motion instruction is executed by single step, the program is paused on every taught point like another motion instruction. See Figure 7–34 . Figure 7–34. Single Step Execution P[3] P[6] P[ 1] P[ 2] P[ 4] P[ 6] P[ 5] 7.2.3.13 Backward Execution If the type A motion instruction is executed by steppin backwards, the robot moves backward on the same path as in forward execution, and the program is paused on every taught point. See Figure 7–35 . 7–30 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–35. Backward Execution 7.2.3.14 Backward Execution After Abort In the case of the last type A instruction, the robot moves in linear motion. In the other cases, robot moves as circular motion. Positions used to calculate the circular motion are as follows: A type A instruction just before the last type A instruction: The current position, destination position and the position of the previous type A motion. Other case: Destination position of the next A motion, current position and destination point. Figure 7–36 shows an example. The program is aborted during motion to P[4]. The program is resumed by BWD, toward P[3]. 7–31 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–36. Arc of the Next Destination Point If the program is started by BWD from motion to P[4] from the same position, the line is the 2nd last A. See Figure 7–37 . Figure 7–37. Program Started by Backward From Motion 7.2.3.15 Backward Resume from Different Line Refer to Section 7.2.3.14 . 7–32 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.2.3.16 Logic Instructions Between A Motion Logic instructions can be taught between type A motion instructions. The type A motion type instruction uses positions of successive type A motion instructions to calculate the circular path. Logic instructions that change the order of execution such as JMP, and LBL cannot be executed between type A motions. Logic instructions that affect position data such as position register instruction cannot be used either. Refer to Table 7–1 through Table 7–3 for information on the logic instructions that can and cannot be used between Type A motion instructions. For example, execution of the following programs causes an error at line 4. P[5] is used to calculate type A motion to P[4], so an error occurs before execution of the 4th instruction to prevent unexpected motion. 1: 2: 3: 4: 5: 6: 7: J A A A P[1] P[2] P[3] P[4] JMP A P[5] L P[6] 100% FINE 200mm/sec 200mm/sec 200mm/sec LBL[1] 200mm/sec 200mm/sec CNT100 CNT100 CNT100 CNT100 CNT100 Table 7–1. Available Logic Instructions Between Type A Motion Instructions Instructions Examples Register Instruction R[1]=1 SDO, RDO, UO, SO, WO, GO, AO and F are available. I/O Instruction SDO[1]=ON SDO[1]=PULSE WAIT /TIMEOUT/ LBL causes error. Wait WAIT 2.0secWAIT SDI[1]=ON If called program has motion instruction or unavailable logic instruction between A motion instructions, error occurs. Call CALL (Prg) If macro program has motion instruction or unavailable logic instruction between A motion instructions, error occurs. Macro HAND1 OPEN IF / JMP / LBL causes error. If/Call IF SDI[1]=ON CALL (Prg) SELECT / JMP / LBL causes error. 7–33 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Table 7–1. Available Logic Instructions Between Type A Motion Instructions (Cont'd) Instructions Examples Select/Call SELECT R[1]=1 CALL (Prg1) =1 CALL (Prg2) OTHERS CALL(Prg3) RSR RSR[1] User Alarm UARM[1] Override OVERRIDE=50% Timer TIMER[1]=START Parameter $(Parameter)=100 Remark ! (Remark) Message Message[message statement] Positional Register Lock/Unlock LOCK PREG UNLOCK PREG Maximum Speed JOINT_MAX_SPEED[1] Pause PAUSE Program Execution Instruction RUN (program name) Torque Limit TORQ_LIMIT 50.0% Monitor Instruction MONITOR (Prg)MONITOR END (Prg) Contents of the program specified by monitor instruction are not checked. Condition CONDITION R[1]=1 Condition instruction isn’t checked because it is taught only in program specified by monitor instruction. InterBus-S IBS ATTACH 7–34 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Table 7–1. Available Logic Instructions Between Type A Motion Instructions (Cont'd) Instructions Examples InterBus PCI IB attach Path Switch PS-10mm, 1.0 sec DO[1]=ON Collision Detect COL DETECT ON Approach Instruction Approach_STOP[1] = TMP_DISABLE Arc Arc Start[1] Table 7–2. Instructions Unavailable Between A Type Motions but Available in Called Programs Instructions Examples End END Jump JMP LBL[1] Label LBL[1] Notes Table 7–3. Instructions Unavailable Between A Type Motion Instructions Instructions Examples Position Register PREG[1]=LPOS PREG[1,1]=100 Abort ABORT Offset OFFSET_CONDITION PR[1] Tool Offset TOOL_OFFSET_CONDITION PR[1] Notes 7–35 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Table 7–3. Instructions Unavailable Between A Type Motion Instructions (Cont'd) Instructions Examples User Frame User Frame Number Tool Frame Tool Frame Number UFRAME[1]=PR[1] UFRAME_NUM=1 UTOOL[1]=PR[1] UTOOL_NUM=1 SpotTool SPOT[1] Palletizing PALLETIZING-B_1 Notes 7.2.3.17 Available Motion Options Some motion options cannot be used with a type A motion instruction. Unavailable motion options are not displayed in the motion option sub-menu. See Table 7–4 . Table 7–4. Available Motion Options Instructions Example Wrist Joint WJNT Acceleration Override ACC 80 Path PTH Offset Offset PR[1] Tool Offset Tool_Offset PR[1] Remote TCP RTCP Time Before Time After Distance Before TB 2.00sec CALL PRG TA 0.30sec CALL PRG DB 100.0mm CALL PRG Arc Welding Arc Start[1] 7–36 Comment In case there is a forbidden logic instruction between the A Type motion instructions in a called program, an error is posted when executed. MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Table 7–4. Available Motion Options (Cont'd) Instructions Example Weave Weave Sine[1] Touch Sensing Search [X] Coordinated motion COORD Corner Region CR50 Comment Vision Offset VOFFSET Continuous Rotation CTV100 Motion Options not in Table 7–4 cannot be added to the type A motion instruction. Major unavailable Motion Options are shown in Table 7–5 . Table 7–5. Major Unavailable Motion Options Instructions Example Incremental INC Skip Skip LBL[1] High Speed Skip Skip PR[1] LBL[1] Spot Welding SPOT[1] Dispense start/end SS[1]/SE Comment SS[1] and SE cannot be added to A motion. However A motion is available between SS and SE. 7.2.3.18 Change of Position Data During Execution of a Type A Motion Instruction In a program with type A motion instructions, one position data is accessed by multiple motion instructions. If position data is changed while the data is being used to calculate a circular path it causes contradiction between calculated paths. The robot can move along an unexpected path. To 7–37 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D avoid this, a type A motion instruction can detect inconsistent position at execution. If detected, an alarm is posted. 1: 2: 3: 4: 5: 6: 7: J A A A A A L P[1] 100% FINE P[2] 200mm/sec CNT100 P[3] 200mm/sec CNT100 PR[1] 200mm/sec CNT100 P[5] 200mm/sec CNT100 P[6] 200mm/sec CNT100 P[7] 200mm/sec FINE Line 4 uses PR[1]. When line 3 is executed, circular path is calculated by 3 points; P[2], P[3], PR[1]. The position data of PR[1] is used. When line 6 of this program is executed, the circular route is computed by 3 points; PR[1], P[5], P[6]. The position data of PR[1] is used again. Therefore, if the position in PR[1] is changed during execution from line 3 to line 6, the robot can move along an unexpected path. To avoid this, substitution to position register is forbidden between type A motion instructions. However, you can change the value of the position register in the position register screen. A type A motion instruction can detect a position register change. At every execution of instructions, it checks if the value of position register is changed or not. For example, if the value of the PR[1] is changed in position register screen during execution of line 5, “INTP-627 (program name, line number) ARC: Inconsistent position” is posted when line 6 is executed. To avoid stopping production by changing the position register, you can use “LOCK PREG“/”UNLOCK PREG“ instructions. Teach “LOCK PREG“/”UNLOCK PREG“ before/after the type A motion instructions that access position registers. The following program is an example. This makes it is impossible to change the value of position register by position resister screen when instructions between “LOCK PREG“ and “UNLOCK PREG“ are executed. 1: 2: 3: 4: 5: 6: 7: 8: 9: J P[1] 100% FINE LOCK PREG A P[2] 200mm/sec CNT100 A P[3] 200mm/sec CNT100 A PR[1] 200mm/sec CNT100 A P[5] 200mm/sec CNT100 A P[6] 200mm/sec CNT100 UNLOCK PREG L P[7] 200mm/sec FINE A change of User frame or Tool frame also has effect on position data in type A motion instructions. Therefore instructions that change User frame or Tool frame cannot be executed between type A motion instructions. However, you can change User frame or Tool frame by using the “SETUP Frames” screen. A motion instruction can detect the change of User frame or Tool frame. At every execution of instruction, it checks whether the User or Tool frame is changed or not. 7–38 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.2.4 Guidelines for Teaching a Small Circular Arc Small circular arcs can lead to large changes in orientation motion. This might be unexpected to a less experienced operator, however, large changes in orientation during motion are a legitimate result of motion planning according to the taught positions and orientations. Because of the possibility of surprise with respect to large changes in orientation during motion when teaching a small circular arc, follow the instructions outlined in this section for both forward and backward motion. Since the relative location of each point with respect to the others defines the circle in space, having an accurate tooling representation ensures that what you see is what the controller and the motion planner use for calculations. Warning Whenever a circular point (start, via, or destination point) is touched up (recorded), reduce the speed override to 1% or lower, then use the single step function to step through the updated circular move. This provides a chance to observe the orientation changes during motion at a low speed and to confirm that this motion is acceptable for your application. If the orientation change during motion is not acceptable, stop the robot (using SHIFT release or another method) and reteach the circular points. If the orientation motion is acceptable, increase the speed override. It is important that verification of circles be done with the teach pendant enabled. Additional checks are performed when the teach pendant is enabled. Otherwise, you could injure personnel or damage equipment. Note If possible, do not teach small circles. You can always teach a very good approximation to a small circle using multiple linear segments. If you must teach small circles, be careful to follow all of the guidelines listed here. Use the following guidelines when you teach a small circular arc: • Use extreme caution and care when you teach circles that have radii in the same order of magnitude as the tool length. The longer the tool, the more sensitive the definition of the circular arc becomes. If the tool axis is at an angle with the last joint of the robot, the effect is even more pronounced, since the major axes of the robot become involved in achieving the desired orientation along the arc. • Never start a program from a circular instruction. Since the current position of the robot is used as the starting point of the circle, the resulting circular arc is more than likely not what you had 7–39 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D intended. The same applies to programs that are stopped on a circular instruction and restarted after you abort the program. • Ensure that tool frame ($UTOOL) settings, for both xyz and wpr, are as accurate as possible. This minimizes the discrepancy between what the operator sees and the numbers that the motion planner uses to plan the circular path. • When you recover from an EMERGENCY STOP or a similar condition that causes servo power to be turned OFF, reduce the speed override to 1% before you resume circular motion. • Do not teach points too close to each other. Try to space them out evenly around the circular arc. • Do not try to teach circular arcs that span angles larger than 180° with one circular instruction. Break the circular arc into two or more instructions. This ensures that a small change in one point will not result in a large change in the executed circle. • Keep the change in orientation to a minimum. It is difficult to visualize the change in orientation as the circle becomes smaller or the tool becomes longer. • Pay close attention to the case where the z-axis of the UTOOL frame looks perpendicular to the plane of the circle. In this case, the elevation angle is close to zero degrees and the azimuth angle is very sensitive to the direction of the z-axis of the UTOOL frame. (See Figure 7–40 for definitions of elevation and azimuth angles.) For example, if the z-axis of UTOOL is not perfectly perpendicular to the plane of the circle, then the azimuth angle could be very different, depending on the actual direction of the z-axis. As a result, the system might display the error message, "CRC large orient change." In this case, you might get better and more accurate circles if you do one or both of the following: — You do not set the z-axis of the UTOOL frame to be perpendicular to the plane of the circle. — You enter the orientation manually instead of teaching it with the robot. Circular Arc Examples See Figure 7–38 for an illustration of the effect of the via point location. 7–40 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–38. Effect of Via Point Location Depending on where the via point is with respect to the start and destination points, the circular arc can be short or long. With a large UTOOL offset and large orientation changes, the robot faceplate movement for a long arc is much greater than the faceplate movement for a short arc. Warning It is best to teach the via point half-way between the start and destination points. Otherwise, during touchup, the via point could end up on the other side of the arc, which could cause motion other than what you expect. If this happens, you could injure personnel or damage equipment. See Figure 7–39 for an illustration of the effect of UTOOL accuracy on a small circle. 7–41 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–39. Effect of UTOOL Accuracy on a Small Circle If the UTOOL is not accurate, especially in the case of a large tool offset with a small circular arc, the taught path might appear to have the via point between the start and destination points, even though the via point is outside these points. In Figure 7–39 , a long arc results instead of the expected short arc. Tool Orientation in Circular Motion Orientation of the tool during circular motion is expressed in terms of the following three angles: • Azimuth - This angle is defined as the angle between the projection of the tool and the radial direction. To find this angle, find the projection of the tool in the plane of the circle. Draw the radius of the circular arc at the point in question. The angle between these two lines defines the azimuth of the tool. See Figure 7–40 . • Elevation - This is the angle between the tool and the vector normal to the plane of the circular arc. To determine this angle at a given point along the circle, construct the projection of the tool in the plane of the circle and measure the angle between the tool and the projection. Subtract this angle from 90° . The result is the elevation . See Figure 7–40 . 7–42 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–40. Azimuth and Elevation Angles • Spin - Rotation of the tool about is own axis defines the spin angle. Each of these angles is calculated for start, via, and destination points and, during motion, the robot path passes through those orientations. Note that these angles depend on the circular plane defined by the locations of the three defining points (start, via, and destination). If any of the points are changed, the plane of the circle will change and the azimuth, elevation, and spin (AES) angles will change as a result. In circular arcs that have small radii or a small arc length, the circular plane is very sensitive to the positions that define this plane. As a result, tool orientation can potentially change dramatically if the points are touched up. If a long tool is used or the tool axis is at an angle with the axis of rotation of the last joint of the robot, this can in turn cause very different arm motions. In this case, the joints will speed up to achieve the programmed speed of the circular arc. Example 3: Effect of Orientation Change at One of the Points This example explains how a small change in the orientation of one point can lead to a different circular path. It is very similar to Example 1. The difference is that this example shows the effect of orientation. See Figure 7–41 . 7–43 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–41. Effect of Orientation Change on the Path The shortest angle is used for the spin angle between two circular points at all times. For instance, if the spin angle changes 182° from the start to the via point, the robot will spin the tool -178° in order to get to the via point from the start point. If the via point orientation is changed 3° such that the spin difference becomes 179°, then the robot faceplate will spin the opposite direction about the tool z axis. Because of this, teaching the spin angle becomes important when large spin changes are desired. It is best to divide the large change equally between the two segments of a circular arc, or use more than one circular instruction to define the circle. See Figure 7–41 . 7.2.5 Positional Information Positional information describes the location, orientation, and configuration of the tool center point when a motion instruction is added to a program. Positional information is recorded when the motion instruction is added to the program. Refer to Chapter 8 CREATING A PROGRAM for more information on adding motion instructions. 7–44 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS In the following program line, the positional information is represented by P[1]. Positional information is made up of seven components, as shown in Figure 7–42 . These components are represented by the position command, P[n]. Figure 7–42. Positional Information • Location components, (x,y,z), describe the three-dimensional location of the position. • Orientation components, (w,p,r), describe rotation about x, rotation about y, and rotation about z. • The configuration component describes the condition of the axes when the robot arrives at the destination position. Orientation of the wrist axes at the destination position remains the same, but the orientation of the other axes might change. In the motion instruction, positional information is represented as a position command, P[n], or position register, PR[x]. The n is the position number. The x is the position register number. A position command stores positional information with the motion instruction in the program. A position register stores positional information in a storage location separate from the motion instruction. Refer to Section 7.24 . The position number identifies the position. Position numbers are automatically assigned when a motion instruction is added to a program. The first number assigned is [1], the second [2], and so forth. If you add a position before an already existing position, the position number is incremented from the last numbered position regardless of its place in the program. You can request that positions be renumbered so that the position numbers are sequential in your program. When you delete positions, all other taught positions keep their current numbers unless you request that they be renumbered. Positions can also have comments of one to 16 characters. You specify these when you add or modify positional information. Refer to the “Planning and Creating a Program” chapter in the Setup and Operations Manual for more information on modifying the positions in your program. 7–45 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.2.6 Position Confirmation Position Confirmation provides a visual indicator (an @ symbol) on a motion line when the robot is near the position. To configure the Position Confirmation feature, set the system variable $MNDSP_POSCF using a setting in Table 7–6 . Table 7–6. $MNDSP_POSCF Configuration Settings $MNDSP_POSCF Description 0 (Disabled) The “@” symbol is not displayed in the editor. Example Program 1:J 2:J : 3:L : 4:J 1 (Multiple @) P[1] 100% FINE P[2] 40% FINE Arc Start E1[1] P[3] WELD_SPEED FINE Arc End E1[3] P[1] 100% FINE The "@" symbol is displayed next to all positions if the robot is currently near those positions. 1:J @P[1] 100% FINE 2:J P[2] 40% FINE : Arc Start E1[1] 3:L P[3] WELD_SPEED FINE : Arc End E1[3] :J @P[1] 100% FINE 2 (Single @) The "@" symbol is displayed next to the position of the current line if the robot is near that position. 1:J @P[1] 100% FINE 2:J P[2] 40% FINE Arc Start E1[1] 3: P[3] WELD_SPEED FINE : Arc End E1[3] 4:J P[1] 100% FINE 7–46 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.2.7 Motion Status Display The teach pendant editor can display motion status information on each motion line. The example program shown in Figure 7–43 displays the distances from all the positions in the program to the current tool center point (TCP) in millimeters. Figure 7–43. An Example Program in Display Mode 1 The distances are updated continuously as the robot moves. This feature can be helpful while teaching or testing programs. This is display mode number 1. In this mode, the distance from the position to the TCP is displayed on multiple lines. Other display modes are available. The other modes display data only on the current motion line. This feature is enabled and configured by setting the system variable $MNDSP_MST. After the feature is enabled and configured, it can easily be toggled ON or OFF by selecting the “Motion info” entry in the list of EDCMD commands. See Figure 7–44 . 7–47 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–44. Motion Info is Toggled ON and OFF with EDCMD TEST JOINT 1:J 2:J : 3:L : 4:J [End] 10 % 1/5 @P[1] 100% FINE__________________ P[2] 40% FINE | 1 Insert | Arc Start[1] | 2 Delete | P[3] WELD_SPEE| 3 Copy | Arc End[1] | 4 Find | @P[1] 100% FINE| 5 Replace | | 6 Renumber | | 7 Comment | | 8 Undo | | 9 Motion info | ----------+ +- Setup The behavior of the motion status display feature can be adjusted using the following fields in the system variable $MNDSP_MST. Refer to the System Reference Manual for more information about $MNDSP_MST. $disp_enable turns the motion status display ON or OFF in the Editor. It is toggled by the motion status element in the EDCMD menu. $disp_edcmd enables the display of the motion status menu choice in the EDCMD pullup menu. $disp_inauto enables the motion status display during AUTO mode. $disp_enable must also be TRUE. $disp_is_on indicates the motion status is displayed in the editor. $disp_rsmdis enables display of the resume distance in the editor. $mode_grp[1..7] is the display mode for each group. Valid modes are listed in Table 7–7 . See Table 7–8 for an example program display for each mode. Table 7–7. Display Modes Mode 7–48 Description Header 1 Distance on ONE line P[mm to TCP G1] 2 Distance on Multiple lines P[mm to TCP G1] 3 COMMAND PERCENT P[Cmnd % G1] 4 COMMAND TIME P[Cmnd Time G1] 5 COMMAND DISTANCE P[Cmnd Dist G1] MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Table 7–7. Display Modes (Cont'd) Mode Description Header 6 COMMAND DISTANCE UP P[Cmnd D UP G1] 7 COMMAND DISTANCE DOWN P[Cmnd D DN G1] 8 COMMAND PROGRESS P[Cmnd PBar G1] 9 COMMAND PERCENT AND DISTANCE UP P[Cmnd % UP G1] 10 COMMAND PERCENT AND DISTANCE DOWN P[Cmnd % DN G1] 11 COMMAND PERCENT AND TIME P[Cmnd % T G1] 19 Travel Angle in degrees P[Travel dg G1] 20 Work Angle in degrees P[WorkXZ dg G1] 21 Current X location in world frame P[X (1) mm G1] 22 Current Y location in world frame P[Y (2) mm G1] 23 Current Z location in world frame P[Z (3) mm G1] 24 Current W orientation in world frame P[W (4) deg G1] 25 Current P orientation in world frame P[P (5) deg G1] 26 Current R orientation in world frame P[R (6) deg G1] Comments Positions can have comments up to 16 characters in length. When the motion status is displayed, only the first 10 characters of the comments will be visible. Multiple Groups When a system has multiple groups, the motion status display can display information for any of the groups. The group number is displayed in the header with a short description of the display mode. To change the selected group number, use the FCTN menu entry CHANGE GROUP. If the selected group is not in the program group mask, the lowest group number in the mask is selected for display. Each group can display data in a different mode. You can set the mode for each group using the array $mndsp_mst.$mode_grp[1..6]. Resume Distance When a running program pauses the robot stops and the position of the robot is recorded. If the robot is moved from the recorded stop position it may return to this position when the program is resumed, depending on what options are installed. The distance the robot has moved from the stop position can be displayed in the upper left corner of the editor if the variable $mndsp_mst.$disp_rsmdis = TRUE. 7–49 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–45. Resume Distance Display Distance Modes Modes 1 and 2 display the distance between the program positions and the robot tool center point. The distance is along a straight line, not along the programmed path. The actual distance traveled by the robot could be greater if it involves Joint or Circular motion. Motion Command Modes The motion command modes 3 – 11 display the output from the motion system as it executes the current line. The timing of this data slightly precedes the actual robot position. The times and distances displayed reflect the motion command, not the real time feedback data from the motor 7–50 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS encoder. When a motion is paused the data will remain displayed. When a motion is resumed the data displayed will reflect the motion from the stop position to the destination position. Note Modes 3 - 11 only display distance information for L, C, and A motion types. In modes 3 - 11, Joint motions will display an increasing percentage and total time like Mode 11. Table 7–8. Display Mode Examples Mode Example Description 0 \\\1:J 2: : 3:L : 4:J P[Inv. Mode G1] @P[1: ] 100% FINE P[2: ] 40% FINE Arc Start[1] P[3: ] WELD_SPEED FINE Arc End[1] @P[1: ] 100% FINE 1 P[mm to TCP G1] \\\1:J @P[1: .000] 2:J P[2: ] : Arc Start[1] 3:L P[3: ] : Arc End[1] 4:J @P[1: ] 100% FINE 40% FINE WELD_SPEED FINE 100% FINE 2 \\\1:J 2:J : 3:L : 4:J P[mm to TCP G1] @P[1: .000] P[2: 26.795] Arc Start[1] P[3: 11.520] Arc End[1] @P[1: .000] 100% FINE 40% FINE No motion status displayed. This is an invalid mode for this group. In this example, group 1 is selected for display. The display mode for group 1 is specified in $MNDSP_MST.$MODE_GRP[1]. If the mode is 0, or some other mode not listed in this table, the header will indicate "Invalid Mode," and data will not be displayed in the motion lines. The distance of this position from the TCP is displayed, for this line only. In this example, $MNDSP_MST.$MODE_GRP[1] = 1. The cursor is on line 1 and the robot is at P[1]. The distance from P[1] to the robot Tool Center Point (TCP) in millimeters is displayed as 0.000. If you jog the robot away from P[1], the distance to the tool will be displayed dynamically. Distance on MULTIPLE lines. Mode 2 is similar to mode 1. In mode 2 a distance is displayed in all the motion lines, not just the cursor line. The distance is from the recorded position to the current tool center point. WELD_SPEED FINE 100% FINE 7–51 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Table 7–8. Display Mode Examples (Cont'd) Mode Example Description 3 G1] ] WELD_SPEED FINE COMMAND PERCENT Mode 3 displays the percentage of the motion completed while the move progresses. It is updated dynamically. If you pause execution before reaching the position and continue, the percentage will be reset to 0 and then increase to reflect the remaining motion. P[Cmnd Time G1] \\\3:L P[3: 2.9s] WELD_SPEED FINE : Arc End[1] COMMAND TIME Mode 4 displays the total time required for the motion to complete. If does not change dynamically, unless the speed override is changed. If the speed override is changed, the time is updated to reflect the total time for the entire motion at the new override, not the remaining time. P[Cmnd % \\\3:L P[3: 28% : Arc End[1] 4 5 P[Cmnd Dist G1] \\\3:L P[3: 24.19] WELD_SPEED FINE : Arc End[1] 6 P[Cmnd D UP G1] \\\3:L P[3: 6.758] WELD_SPEED FINE : Arc End[1] 7 P[Cmnd D DN G1] \\\3:L P[3: 17.43] WELD_SPEED FINE : Arc End[1] 7–52 COMMAND DISTANCE Mode 5 displays the total move distance. It does not change during the motion. If you pause execution and then resume the display will change to show the distance to P[3] from the pause position. COMMAND DISTANCE UP Mode 6 is similar to mode 3. It is dynamic. It shows the distance increasing (UP) while moving to P[3]. If you pause and resume, the distance is reset to zero. If single step is active, stepping through the entire motion on line 3 to P[3], without stopping, will result in the total move distance displayed when the robot reaches P[3]. COMMAND DISTANCE DOWN Mode 7 is just like mode 6 except the distance is shown decreasing (DN - down) to zero. MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Table 7–8. Display Mode Examples (Cont'd) Mode Example 8 P[Cmnd PBar G1] \\\3:L P[3:-] WELD_SPEED FINE : Arc End[1] 9 P[Cmnd % UP G1] \\\3:L P[3: 28% 6.758] WELD_SPEED FINE : Arc End[1] 10 P[Cmnd % DN G1] \\\3:L P[3: 28% 17.43] WELD_SPEED FINE : Arc End[1] 11 P[Cmnd % T G1] \\\3:L P[3: 28% 2.9s] WELD_SPEED FINE : Arc End[1] 19 P[Travel dg G1] \\\1:J @P[1: —10.277] 100% FINE Description COMMAND PROGRESS Mode 8 displays a progress bar. It behaves just like the percentage of Mode 3, only graphically. COMMAND PERCENT and DISTANCE UP Mode 9 displays both the increasing percentage of Mode 3 and the increasing distance of Mode 6. COMMAND PERCENT and DISTANCE DOWN Mode 10 displays both the increasing percentage of Mode 3 and the decreasing distance of Mode 7. COMMAND PERCENT and TIME Mode 11 displays both the increasing percentage of Mode 3 and the total time of Mode 4. Travel Angle in degrees A negative number indicates a push angle. A positive number indicates a drag angle. Refer to Section 7.3.21 . 7–53 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Table 7–8. Display Mode Examples (Cont'd) Mode Example 20 P[WorkXZ dg G1] \\\1:J @P[1: 36.832 R] 100% FINE 21 Description Work Angle in degrees The header WorkXZ indicates the work angle is relative to the XZ plane. WorkXY means relative to the XY plane. The letter L or R after the angle indicates the torch is to the left or right of vertical. Refer to Section 7.3.21 . Current X location in world frame P[X (1) mm G1] \\\1:J @P[1: 2070.261] 100% FINE 22 Current Y location in world frame P[Y (2) mm G1] \\\1:J @P[1: 25.242] 100% FINE 23 Current Z location in world frame P[Z (3) mm G1] \\\1:J @P[1: 1226.707] 100% FINE 24 Current W orientation in world frame P[W (4) deg G1] \\\1:J @P[1: -2.027] 100% FINE 7–54 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Table 7–8. Display Mode Examples (Cont'd) Mode Example Description 25 Current P orientation in world frame P[P (5) deg G1] \\\1:J @P[1: 19.972] 100% FINE 26 Current R orientation in world frame P[R (6) deg G1] \\\1:J @P[1: 2.375] 100% FINE Limitations • Joint motions do not display distances for the Command Distance modes. Percentage and time are displayed instead. • Command times and distances are approximate. • Incremental motions do not display distance properly for modes 1 and 2. • Not all motion options and formats are supported. • The units for distance are always mm and cannot be changed. • Extended axes are not supported. 7.2.8 Frame Number of Positional Data The User Frame (UF) and User Tool frame number (UT) are displayed at the top of the Position Detail screen. See the following screen for an example. P[1] UF:0 UT:1 CONF: N 00 X 100.000 mm W 12.555 Y 100.000 mm P 3.123 Z 100.000 mm R .014 deg deg deg These fields indicate the current frame number. UF: User Frame number 7–55 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • 0 = world coordinate • 1-10 = normal UFRAME number • F = current $MNUFRAMENUM UT: User Tool frame number • 0 = not valid • 1-10 = normal UTOOL number • F = current $MNUTOOLNUM Note These values cannot be modified directly from the teach pendant. Note The position register screen has UF and UT in the same area, and this value is always "F" for both. 7.2.9 Speed Speed defines how fast the robot moves to a position. The motion type used determines the units of speed. Depending on the motion type you want, you can specify speed in percent, millimeters per second, centimeters per minute, inches per minute, rotational degrees per second, or seconds. When a program is running, you can change the speed override using the +% and -% keys on the teach pendant. The value ranges from .01% (very fine) to 100 percent of the programmed speed. Programmed speed is the speed specified in the program. Note The programmed speed cannot exceed the capability of the robot. If programmed speed cannot be met, an error will occur. Joint motion uses • A percentage (%) of the total default speed. Joint motion speed can have a value of 1% to 100% of the maximum joint speed limit. J P[1] 50% FINE • Seconds (sec), the length of time the motion lasts. Seconds can have a value of .1 to 3200. This is used for motion that requires an exact time span. If a program is paused and then resumed during execution of motion that uses seconds, the controller will be held in a busy and running state until the portion of time that had been executed elapses again. Then, the robot will complete the motion using the remaining amount of time. See Figure 7–46 . J P[1] 2 sec FINE 7–56 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS L P[2] 2 sec FINE Figure 7–46. Example of the Sec Speed Feature Linear and circular motions use • Millimeters per second (mm/sec), with a range of values from 1 to 2000 millimeters per second. • Centimeters per minute (cm/min), with a range of values from 1 to 12000 centimeters per minute. • Inches per minute (inch/min), with a range of values from 0.1 to 4724.41 inches per minute. • Seconds (sec), the length of time the motion lasts. This is used for motion that requires an exact time span. If a program is paused and then resumed during execution of motion that uses seconds, the controller will be held in a busy and running state until the portion of time that had been executed elapses again. The robot will then complete the motion using the remaining amount of time. See Figure 7–46 . L P[1] 100mm/sec FINE or C P[1] 100mm/sec FINE Warning If you change the motion type of a positional instruction from linear to joint, the speed value can change from mm/sec to a default value as high as 100%. Be sure to check the speed value before you execute the instruction; otherwise, you could injure personnel or damage equipment. Note When the speed is specified in mm/sec, cm/min, or inch/min, then the value entered will represent the speed at the tool center point. 7–57 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Rotational control of axes around the tool centerpoint uses rotational degrees per second (deg/sec), with a default range of values from 1 to 500 degrees per second. L P[1] 90 deg/sec FINE Variable Motion Speed You can specify motion speed by using a register in a motion instruction. The value of the specified register defines motion speed. This is called variable motion speed. Warning Before you run a program, make sure you are aware of any register values used to set speed in a motion instruction. Otherwise, unexpected motion could occur that could injure personnel or damage equipment. Note A program will stop pre-execution of subsequent instructions when it reaches a motion instruction with the register speed type. This ensures the motion instruction uses the register speed type value. See Figure 7–47 . Figure 7–47. Variable Motion Speed Program Execution Example This feature is enabled when the system variable $RGSPD_PREXE = FALSE. You can disable this feature by setting $RGSPD_PREXE = TRUE. However, the robot will not be able to move at the speed specified by the register value. The following examples show various motion type instructions that take their speed value from a register (R[ ]). • Joint motion type J P[2] R[1]% CNT100 • Linear motion type L P[1] R[2]mm/sec FINE • Circular motion type 7–58 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS C P[2] P[3] R[3]cm/min FINE • Palletizing PALLETIZING-B_1 L PAL_1[A_1] R[4]mm/sec CNT100 L PAL_1[BTM] R[4]mm/sec FINE L PAL_1[R_1] R[4]mm/sec CNT100 The following features are changed to accommodate variable motion speed: • Default motion instructions include an instruction that uses variable motion speed. • The Motion Modify screen, displayed when you select REPLACE for a motion instruction on the [EDCMD] menu, includes items for specifying variable motion speed. • Specific motion speed values are valid for variable motion speed. Refer to Table 7–9 for valid variable motion speed values. If the specified register value is not a valid speed value (exceeds the speed limit or is out-of-range), an error will occur during the execution of the motion instruction. Table 7–9. Range of Register Values to Specify a Variable Motion Speed Unit Range of Register Values % 1 to 100 Integer type sec 0.1 to 3200.0 Float type (*1) mm/sec 1 to 2000 Integer type (*2) cm/min 1 to 12000 Integer type (*2) inch/min 0.1 to 4724.41 Float type (*3) deg/sec 1 to 500 Integer type (*4) *1 : Valid one decimal point. *2 : The speed limit is the value of $MRR_GRP.$SPEEDLIM. *3 : Valid one decimal point. The limit is the value of $MRR_GRP.$SPEEDLIM/25.4 * 60. *4 : The limit is the value of $MRR_GRP.$ROTSPEEDLIM * 180/3.141. See Figure 7–48 for the syntax for changing the motion speed from a specific motion speed value to a variable (register) speed value or for changing the motion speed from a variable (register) speed value to a specific motion speed value. 7–59 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–48. Syntax for Changing the Motion Speed Use Procedure 7-1 to replace speed values using the Motion Modify screen in [EDCMD] REPLACE. Procedure 7-1 Replacing Speed Values (using Motion Modify in [EDCMD] REPLACE) Conditions • You are currently editing a teach pendant program that contains motion instructions. Steps 1. Move the cursor to the line number of the instruction in which you want to replace speed values and press F5, [EDCMD]. 2. Select Replace. Select Replace menu 1 Register 5 Motion modify 2 Call 6 3 I/O 7 4 JMP/LBL 8 3. Select Motion modify. See the following screen for an example. Modify motion menu 1 Replace speed 2 Replace term 3 Insert option 4 Remove option 5 6 7 8 4. Select Replace speed. See the following screen for an example. 7–60 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Select interpolate 1 Unspecified type 5 2 J 6 3 L 7 4 C 8 RSR0001 1: L P[1] 20.0sec FINE 2: L P[2] 500mm sec FINE 3: L P[3] R[1]mm sec FINE Select source type 10% 5. Specify the interpolation type (motion type) of the motion instruction for which you want to search: • Unspecified type - searches for joint, linear, and circular motion instructions • Joint - searches for joint motion instructions only • Linear - searches for linear motion instructions only • Circular - searches for circular motion instructions only 6. Specify the speed type of the motion instruction you want to search for: • All type - searches for motion instructions that use a speed value, a variable (register) value, or an indirect variable (register) speed value. • Speed value - searches only for motion instructions that use a speed value. • R[ ] - searches only for motion instructions that use a variable (register) speed value. • R[R[ ]] - searches only for motion instructions that use an indirect variable (register) speed value. See the following screen for an example. Speed type menu 1 All type 2 Speed value 3 R[ ] 4 R[R[ ]] 5 6 7 8 7. Specify the units of the replacement motion instruction. See the following screen for an example. 7–61 7. PROGRAM INSTRUCTIONS Select motion item 1 % 2 mm/sec 3 cm/min 4 inch/min MAROUAR9102171E REV D 5 deg/sec 6 sec 7 8 8. Select the speed type of the replacement motion instruction: • Speed value - changes the speed of the found (searched) motion instruction to a speed value. • R[ ] - changes the speed of the found (searched) motion instruction to a variable (register) speed value. • R[R[ ]] - changes the speed of the found (searched) motion instruction to an indirect variable (register) speed value. See the following screen for an example. Select motion item 1 Speed value 2 R[ ] 3 R[R[ ]] 4 5 6 7 8 9. If you selected R[ ] or R[R[ ]], type a register number. 10. Select how you want the found motion instruction to be replaced: • F2, ALL - changes all found motion instructions below the current line to the specified speed type and value. • F3, YES - changes only the found motion instruction on the current line to the specified speed type and value. • F4, NEXT - skips the found motion instruction on the current line and searches the next motion instruction. • F5, EXIT - ends the motion modify operation. See the following screen for an example. RSR0001 Modify OK ? 11. Continue the search and replace operations as desired. 7–62 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 12. When you are finished with all search and replace operations, press F5, EXIT. LP[1] WELD_SPEED CNT100 Motion instructions used during welding use the WELD_SPEED parameter. WELD_SPEED is defined in the weld schedule specified by an ArcStart instruction. You can use WELD_SPEED only for linear or circular motion. If you change the motion type of an instruction that uses WELD_SPEED from circular or linear to joint, the speed will change to 100%. When a motion instruction that contains WELD_SPEED is executed, the speed used depends on certain conditions: • If the Arc START instruction is executed before executing the WELD_SPEED motion instruction, the weld speed defined in the corresponding weld schedule is used. • If the Arc Start instruction is not executed before executing the WELD_SPEED motion instruction, the default weld speed is used as the value of WELD_SPEED. The default weld speed is defined on the SETUP Weld System screen. • If the program is resumed from a WELD_SPEED motion instruction, the WELD_SPEED in effect when the program was paused is used. • If the following sequence is executed while the program is paused and then the program is restarted, the default weld speed is used: 1. You step the program backward through some instructions. 2. You move the cursor to another line in the program. 3. You abort the program. 7.2.10 Termination Type Termination type defines how the robot ends the move in the motion instruction. The following termination types are available: • Fine • Continuous • Corner Region — available only if you have the constant path motion option and corner region option • Corner Distance — available only if you have the constant path motion option and corner distance control option The fine and continuous termination types are described in this section. Refer to Section 7.3.7 for information on the corner distance termination type. 7–63 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Refer to Section 7.3.2 for information on the corner region termination type. Fine Termination Type J P[1] 50% FINE Fine termination type causes the robot to stop at the destination position before moving to the next position. Figure 7–49 shows how the robot will move when you specify the fine termination type. Figure 7–49. Robot Motion with Fine Termination Type Continuous Termination Type J P[1] 50% 7–64 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS CNT50 Continuous termination type allows the robot to decelerate as it approaches the destination position but does not stop at it before it accelerates toward the next position. A value from 0 to 100 defines how close the robot comes to the destination position. At CNT0 the robot is closest, with maximum deceleration. At CNT100 the robot is farthest, with minimum deceleration. Note Programming certain instructions, such as WAIT, causes the robot to stop at the destination position and execute the instruction before it executes the next instruction. Figure 7–50 shows how the robot will move with different continuous termination type values. Figure 7–50. Robot Motion with Continuous Termination Type 7–65 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.3 MOTION OPTIONS INSTRUCTION Motion options can be used to provide additional information to perform specific tasks during robot motion. Motion options include • Acceleration override Refer to Section 7.3.1 • Advanced Constant Path Refer to Section 7.3.2 — Linear Distance — Corner Region — Process Speed — Max Speed • Arc Welding Refer to Section 7.3.3 • Break Refer to Section 7.3.4 • Constant Path Refer to Section 7.3.5 • Coordinated motion Refer to Section 7.3.6 • Corner Distance Control Refer to Section 7.3.7 • EV (extended velocity) Refer to Section 7.3.8 — Simultaneous EV — Independent EV • Incremental motion Refer to Section 7.3.10 • Offset 7–66 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Refer to Section 7.3.11 • Offset position register Refer to Section 7.3.12 • PTH Refer to Section 7.3.13 • Remote TCP Refer to Section 7.3.14 • Search [ ] Refer to Section 7.3.15 • Skip label Refer to Section 7.3.17 • Time before/Time after Refer to Section 7.3.18 • Tool offset Refer to Section 7.3.19 • Tool offset position register Refer to Section 7.3.20 • Torch Angle Refer to Section 7.3.21 • Wrist joint Refer to Section 7.3.22 7.3.1 Acceleration Override J P[1] 50% FINE ACC50 The acceleration override motion option specifies the acceleration/deceleration override value for each axis during motion. Acceleration override shortens or lengthens the acceleration time when the 7–67 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D robot moves from a starting position to the destination position. Acceleration override is programmed at the destination position. The acceleration override value ranges from 20 to 100%. This value is a percentage of the acceleration. For example, an acceleration override of 50 means the robot will take twice as long to accelerate or decelerate. Figure 7–51 shows how the acceleration override is used. The acceleration override was created to allow the user to make specific moves slower or more conservative for cases when extra care is needed. The usage of acceleration override over 100% could allow more aggressive motion, but may also cause jerky motion and, if the Collision Guard option is loaded, false collision alarms could occur. Caution Over 100% acceleration might cause awkward motion or vibration. Since large current instantaneously flows to the primary power source, the input voltage might drop depending on equipment power capacity, and this might cause a servo alarm such as power alarm, position error excess, or servo amplifier low voltage. If such an alarm occurs, either reduce the acceleration/deceleration override value, or delete the accelerate/deceleration override instruction. Over 100% acceleration increases the load to the robot arm. It might cause the robot mechanical parts to fail, premature reducer breakdown or shorten reducer life. In general, the usage of acceleration override over 100% should be limited. This setting may reduce the life of the mechanical unit because the default tuned accelerations are being overridden by more aggressive values. 7–68 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–51. Acceleration Override 7.3.2 Advanced Constant Path In addition to the Constant Path feature the Advanced Constant Path package consists of the following functions for easy teaching and cycle time reduction. • Linear Distance • either Corner Region (refer to Corner Region Termination Type) or Corner Distance (refer to Corner Distance Control) • Process Speed • Max Speed It requires that the Constant Path option be loaded and enabled. Linear Distance Overview Linear Distance is a robot motion feature that is useful for pick and place material handling applications such as palletizing. Figure 7–52 shows a typical pick and place application. If all termination types are FINE or CNT0, then the pick and place path would be as shown. 7–69 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–52. PICK and PLACE Application The robot starts at P1 and goes through P2 and picks up a part at P3. It then goes through P2 to P4 and then to P5 where it places the part. Typically, however, FINE and CNT0 is used only to reach P3 for PICK and to PLACE at P5. For all other motions, high CNT values are used. For instance, the actual path might look like Figure 7–53 . Figure 7–53. PICK and PLACE Application with CNT100 Robot is at J P[2] 100% L P[3] 2000 L [P2] 2000 J [P4] 2000 L [P5] 2000 P1 CNT100 mm/s FINE mm/s CNT100 mm/s CNT100 mm/s FINE This kind of a path will give you better cycle time. However, you do not know how much linearity you will get going from P2 to P3 (for pick) or from P4 to P5 (for place). In order to get the desired linearity, you would adjust either the positions P2 or P4, or you would experiment with different CNT values. For example, you might shift P2 or P4 higher or lower, or you might use CNT50 at P2 or P4. 7–70 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS With Linear Distance, you do not have to guess and experiment. If you want the last 100mm before pick and the last 150mm above place to always be straight above P3 and P5 respectively, you can use Linear Distance for specifying these amounts. Refer to Figure 7–54 . Figure 7–54. Adjusting P3 and P5 with Linear Distance The program would be (from P1): J L L J L P[2] P[3] P[2] P[4] P[5] 100% 2000 2000 2000 2000 CNT100 mm/s FINE AP_LD100 mm/s CNT100 RT_LD100 mm/s CNT100 mm/s FINE AP_LD150 This is a convenient way to design motions for pick and place. By only adjusting the linear distance, you can determine the appropriate tradeoff between cycle time and approach/retract linearity. Note Linear Distance is implemented on the controller to control the linearity immediately after a pickup at the infeed and just before placement on the pallet. Linear Distance guarantees the distances you specify. Due to ITP resolution, Linear Distance cannot match your value exactly. However, the linear distance that you specify will be the minimum value that system will try to achieve. For example, if you specify 100 mm linear distance, the system might provide 103 mm linear distance, but it will never provide linear distance less than what you specified. How it Works Linear Distance uses two motion option elements: • AP_LD: Approach Linear Distance AP_LD is used for a place motion. 7–71 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D L P[2] 2000mm/s CNT0 AP_LD100 L P[2] 2000mm/s CNT0 AP_LDR[1] In the second example, the distance is specified indirectly via register #1. • RT_LD: Retract Linear Distance RT_LD is used for a pick-up motion. L P[3] 2000mm/s CNT100 RT_LD100 L P[3] 2000mm/s CNT100 RT_LDR[1] In the second example, the distance is specified indirectly via register #1. 7–72 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–55. RT_LD: Effect of CNT Value The RT_LD value affects the corner of P3-P2-P1 in Figure 7–55 . The higher the value of RT_LD, the smaller the corner will be. When the RT_LD value is greater than or equal to the distance between P3 to P2, the corner will become 0. The motion will automatically become FINE regardless of the CNT value you specify. 7–73 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–56. Place Motion: Two Possible Traces The AP_LD value affects the corner of P1-P4-P5 Figure 7–56 . The higher the value of AP_LD, the smaller the corner will be. When the AP_LD value is greater than or equal to the distance between P4 to P5, the corner will become 0. The preceding motion (motion from P1 to P4) will become FINE regardless of the CNT value for that move. Limitations • The linear distance function only supports the linear motion type. • The linear distance function only supports position (x, y, and z) and not orientation (w, p, and r). 7–74 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • The linear distance function only supports articulated robots and does not support Independent Axes or Positioners. • The local condition trigger time might be different than without Linear Distance. However the timing is repeatable. • When multiple group motion is used, the motion will be synchronized. However, if more than one group has linear distance enabled, all the groups will have linear distance satisfied. • When using max_speed (refer to max speed section below), the specified Linear Distance may not be guaranteed. • Linear Distance function does NOT support Coordinated Motion (Linear Distance function will be automatically disabled for motions with COORD option). • Linear Distance function does NOT support Continuous Motion Types such as Weave, Continuous Turn, and Robot Link. (The Linear Distance function will be automatically disabled with the continuous motion type.) • Linear Distance function might not work with TCP speed prediction function (TCPP). With Linear Distance specified, TCPP results might not be correct. How to Use Linear Distance Note Due to ITP resolution, Linear Distance cannot match your value exactly. However, the linear distance that you specify will be the minimum value that system will try to achieve. For example, if you specify 100 mm linear distance, the system might provide 103 mm linear distance, but it will never provide linear distance less than what you specified. Procedure 7-2 Using Linear Distance Conditions • You have created a teach pendant program. • Your teach pendant program contains at least one linear motion instruction. Steps 1. Press SELECT. 2. Move the cursor to the name of the program you want to modify and press ENTER. 3. Continuously press the DEADMAN switch and turn the teach pendant ON/OFF switch to ON. 4. To touch up and modify motion instructions, move the cursor to the line number of the motion instruction you want to modify. Note To use Linear Distance, you must modify a linear motion instruction. 7–75 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 5. Move the cursor to the empty space at the end of the linear motion instruction that you want to modify and press F4, [CHOICE]. You will see a screen similar to the following. Motion Modify 1 Retract_LD 2 Approach_LD 3 Tool_Offset 4 Tool_Offset,PR[ LD 5 6 7 8 JOINT 10 % TIME BEFORE TIME AFTER DISTANCE BEFORE ---next page--5/8 4:J P[2] 100% CNT100 5:L P[2] 2000mm/sec CNT10 : Offset,PR[1] AP_LDR[1] 6:L P[2] 2000mm/sec CNT100 : RT_LDR[1] 7:J P[1] 100% CNT100 Select item 6. If you want to use Linear Distance on an approach point, select Approach_LD. If you want to use Linear Distance on a retract point, select Retract_LD. 7. Type the number of millimeters that you want the tool center point (TCP) to approach or retract using Linear Distance. Note The default value is “direct” which means that the value is a specific number in millimeters. To use a value stored in a register, press F3, INDIRECT, and type the register number. Corner Region Termination Type (CRy) L P[2] 100 mm/sec CRy CRy is an optional termination type that can be used to adjust the corner rounding for Cartesian motions. When you use the CR termination type, you must specify the corner region value, y, (in millimeters). 7–76 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Caution The Corner Distance and Corner Region options are mutually exclusive meaning that if one option is selected, the other one is not available. Consider this choice carefully before teaching the robot path. To use CRy (where y is in mm) termination type, one has to set $czcdcfg.$cd_enable = FALSE and cycle power. Corner Region value is the distance from the starting of a corner path to the taught position, as shown in the following figure. When CRy is specified, TCP path will maintain the corner path within the specified region, meaning that the actual distance from the starting/ending of a corner path to the taught position is less than or equal to the specified corner region value (y). Figure 7–57. Corner Path When you set corner region, use the following guidelines: • Specify the corner region in millimeters • Corner region value can range in value from 0 mm to 1000 mm • The smaller the corner region value, the closer the robot will get to the taught position, and the less the corner rounding • With a larger corner region value specified, the robot will not get as close to the position and the more corner rounding 7–77 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D CRy versus segment distance If the specified corner region value, y, is greater than half the segment distance, then the actual value used is limited to half segment distance as shown below Figure 7–58. Half Segment Length Teaching Techniques You must be careful about the half distance rule stated above. Keep in mind that because of the half distance rule, with large specified corner region value, corner path may still be close to the taught position when the segment distance is short. Use the following guidelines when you teach a path: • Minimize the number of taught positions • Reteach positions using the CR termination type to fit the path instead of adding positions 7–78 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Constant Path with respect to Program Speed Changes Program section with consecutive CRy – path could be maintained much better compared to other termination types even when program speed changes, as shown in the following figure. Figure 7–59. Program Speed Changes Compatibilities and Limitations • Motion Type — CRy supports Cartesian motion types such as LINEAR and CIRCULAR — J motion type is not supported • Multi Group Motion For multi group motions, motion will be synchronized. The corner path is generated as a result of the synchronization of applicable CRy for all involved groups; • CRy termination type only supports articulated robots and does not support INDEPENDENT AXES or POSITIONERs • Motion Options CRy supports the following motion options: — Group motions — RTCP — Line Tracking 7–79 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D CRy has no obvious geometric meaning (corner path would be naturally generated by motion blending) during the following transitions — between COORD and non-COORD (if supported) — between RTCP and non-RTCP — between Tracking and non-tracking . If you specify both Linear Distance and CRy termination type, then Linear Distance has preference over CRy in determining a corner path, as shown in the following figures. Figure 7–60. Corner Path determined by CRy if Linear Dist is satisfied 7–80 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–61. Corner path is determined by Linear Distance Process Speed PSPD xxx Process speed is a motion option control feature that allows you to adjust robot speed to be faster or slower along a given path (if applicable, the path would be maintained the same regardless of xxx), where xxx is an integer you specify. The larger the value of xxx is, the faster the robot will move along the given path. Process speed is useful for applications with continuous path motion that don’t normally use maximum program speed; for example, sealing and waterjet cutting. Typically, the process controls the program speed: how fast the sealing gun can dispense, and how fast the waterjet can cut. For these applications, teach the desired path using normal methods, tweaking taught position, speed, termtype and ACC. 7–81 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D After the path is taught, if you want to adjust its process speed from the nominal taught value, but do not want to change the path, you can use the Process Speed feature. Add this motion option to the range of motion lines where adjustment is required. • PSPD 100 is equivalent to the default cases without PSPD option. • PSPD greater than 100 means faster process speed, while maintaining the same path. • PSPD less than 100 means slower process speed, while maintaining the same path. • You can still change other fields in the motion for further tweaking, but the same original rules apply; that is, the path will change. This allows you to adjust the path easily, even though PSPD is used. • For PSPD greater than 100, the system internally limits the achievable (but higher) process speed, based on the jerk/acceleration margin available from the default case. Be careful to use the PSPD option to reduce cycle time while maintaining the same path since the jerk/acceleration value will be higher. An example is palletizing, where additional factors such as vibration, duty cycle, reducer life, and so forth, affect cycle time. 7–82 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Caution Process Speed can cause jerky motion if applied too aggressively. To avoid jerky motion, use a reduced speed. PSPDxxx can be added to any selective motion line in a TP program, and is applicable to all motion types. For examples, see the following: • Case 1: if xxx = 100, motion behavior is exactly the same as 100% speed override in the default case, as though there were no PSPD100 • Case 2: if xxx > 100, the speed will be faster than 100% speed override in the default case • Case 3: if xxx < 100, the speed will be slower than 100% speed override in the default case • Default case: 1 2 3 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 L P[3] 500 mm/sec CNT0 • Faster motion case (path is the same, cycle time is shorter): 1 2 3 J P[1] 50% FINE PSPD110 L P[2] 500 mm/sec CNT100 PSPD110 L P[3] 500 mm/sec CNT0 PSPD110 7–83 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Slower motion case (path is the same, cycle time is longer): 1 2 3 J P[1] 50% FINE PSPD50 L P[2] 500 mm/sec CNT100 PSPD50 L P[3] 500 mm/sec CNT0 PSPD50 Note The system will internally limit the speed override such that the resulting motion performance is within mechanical capabilities. As a result, a large value of xxx may not take effect in some cases and the actual speed override may be smaller than the specified value. Limitations • Under T1 mode, PSPDxxx (with xxx>100) will not take effect • PSPDxxx (with xxx>100) might not take effect for the motion line that has max_speed as programmed speed in a TP program • The PSPD option does NOT support TCP speed prediction function (TCPP) in the first release. That is, for the motions with PSPD option, TCPP might not result in correct results; • The PSPD option does not support — Continuous Turn — Coordinated motions 7–84 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS — Robot Link • With large PSPD value or very short segments, the actual corner path might deviate from the one without PSPD option. Max Speed L P[1] max_speed CNT100 In some applications, the desired speed is the maximum speed that the robot can deliver. For joint motion moves, the system delivers the maximum capability of the robot; that is, one of the axes reaches its maximum speed. For linear moves, the system delivers the speed that is specified in the teach pendant instruction. However, the maximum linear speed of 2000mm/sec imposes a limit on the capability of the motor to reach higher speeds. The robot can move faster than the speed specified in the motion instruction. The max speed option allows you to specify a linear motion that will use the maximum speed capability of the robot. It improves cycle times in Load/Unload applications by speeding up long linear motions. When this option is loaded, the choice of max_speed will be displayed in the speed field of the teach pendant motion instruction for a linear motion. The max_speed option affects only the motions for which the speed is specified as max_speed. Note When you load this option, the itp_time will be set to at least 12ms. • If you change the motion type from Linear to Joint, the speed field will change to 100%. • When the speed field changes from max_speed to another choice, the speed value will return to the original speed value.. Warning When you specify max_speed, the robot will run at high speed. Be sure any loose parts are firmly attached and that the workpiece is secured. Otherwise, you could injure personnel or damage equipment. Limitations • If unsupported options are used, max_speed will be disabled automatically. No warning or error message will be displayed. This option does not support the following: 7–85 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D — Any tracking option, such as line tracking, TAST, Mig-Eye, Coordinated motion, and so forth. When these options are used, the max speed option will default to 2000 mm/sec. — Multiple group motion — RTCP function • If you run a program with an override speed different than 100%, the system will drive the robot such that one of its axes will reach the override value of its maximum joint speed. • The local condition trigger time might have some variation. • If the path becomes too aggressive, you might need to use ACC to smooth it. • If you are using Dry Run, max speed will be disabled and the speed specified in dry run will be used. • If you are using Org path resume, max speed will be disabled for the motion line that is resumed. • If T1 is selected, the T1 speed will be used. • In single step mode (FWD/BWD) max speed will be disabled and the maximum speed value will be used. • Max speed will be disabled automatically for a circular motion. • The max speed option will still apply when the Miscellaneous teach pendant instruction LINEAR_MAX_SPEED is used. The robot will try to attain the maximum speed capability of at least one of its axes. It determines the maximum speed for the current move by comparing the teach pendant instruction LINEAR_MAX_SPEED with the maximum linear speed of 2000 mm/sec. The ratio of these two speeds is the percentage of the maximum axis speed that the axis will reach. For example: the maximum linear speed is 2000 mm/sec. 1. LINEAR_MAX_SPEED = 1200 2. L P[1] max_speed CNT1000 The ratio of 1200 to 2000 is 60%. The system will drive the robot such that one of its axes will reach 60% of its maximum joint speed for line 2 of the program above. • Max speed does not work with TCP speed prediction function (TCPP). That is, with Max speed, TCPP results may not be accurate. • Max speed does not support the following functions (the system will automatically disable the Max speed feature): — Line Tracking — RTCP function — Multi-group motion 7–86 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.3.3 Arc Welding Arc welding motion options are arc welding instructions added to the motion instruction. J J J J J J P[1] P[1] P[1] P[1] P[1] P[1] 50% 50% 50% 50% 50% 50% FINE FINE FINE FINE FINE FINE Arc Arc Arc Arc Arc Arc Start[i] Start[R[i]] Start[v,wfs] End[i] End[R[i]] End[v,wfs,s] 7.3.4 Break BREAK is a motion option that does not start the next motion segment until the cursor moves to the motion line in the TP program. With BREAK option in a motion statement, the constant path feature may not be maintained. BREAK can be used with the WAIT statement for applications that need to change the corner path depending on WAIT time, as shown in the following example. 7.3.5 Constant Path Constant Path is a motion control option that provides enhanced motion performance for all motion types in the following areas: • Constant path With Constant Path, the robot maintains the same path regardless of static or dynamic speed override changes. A path that has been taught and tested at a low speed override will be maintained when the program is executed at 100% override. 7–87 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Constant Path with respect to T1/T2/Auto Mode With Constant Path, the robot maintains the same path in different modes. For example, a path that has been taught and tested in T1 mode will be maintained when the program is executed in Auto mode. For exceptions, refer to the Limitations section. • Enhanced path accuracy The path will be executed as taught, using a straight line or circular motion. • Constant Path Regardless of WAIT Statements — Maintains same path regardless of duration of Wait I/O instruction — Maintains same path regardless of duration of Wait xx sec instruction. The robot will decelerate along the path until the WAIT instruction expires. If the WAIT duration is long enough, the robot will decelerate to a stop. After the WAIT instruction expires, the robot will accelerate and resume the original path. 7–88 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–62. Constant Path Regardless of Wait R-J3iB Post R-J3iB To get R-J3iB behavior, use the BREAK motion option: 1: L P[1] 2000 mm/s CNT100 BREAK 2: WAIT DIN/xxSec 3: L P[2] 2000mm/s CNT100 In this example, Line 3 will not affect motion until the WAIT expires. The path will shift toward P[1], depending on WAIT duration. Semi-Hot Start Limitation Constant path cannot be maintained through a Semi-Hot Start cycle. When the program is resumed, the robot will move toward the taught position of the paused line without blending of previous lines. If original path resume is enabled, the robot will move to the stop position before moving toward the taught position. Teach Pendant Instruction Limitations with respect to Hold, Stop, Resume, and Override Along the Path Warning Some instructions cannot assure Constant Path motion because they dynamically change program execution. These instructions do not necessarily result in path variation (with respect to modes, WAITs, and overrides), but path variation is possible. The instructions in this category are as follows: 7–89 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Frame instructions: UFRAME_NUM, UFRAME, UTOOL_NUM, UTOOL • Branching instructions: IF, SELECT, CALL • Miscellaneous instruction: $PARAMETER = ... • Program control instructions: PAUSE, ABORT • Macro program instruction • SKIP instruction • TRACK instruction • Variable motion speed instructions • Sensor instructions: RCV, SENSOR_ON, SENSOR_OFF • Palletizing instruction: PALLETIZING-B, PL[ ] • BREAK motion option The following instructions are constant path when the position registers are locked. When position registers are unlocked, the path may vary. • Position register instructions: PR[ ], PR[ ] INC • Offset instructions: OFFSET, TOOL_OFFSET Constant Path Look Ahead Limitation Caution The amount of segment look ahead available for determining the path is limited. If there are not enough segments available to identify the path, the path could deviate toward the taught point of the last available segment. Limiting the number of segments that blend together at the same time helps to avoid this problem. Programming Guideline To allow the best constant path functionality, avoid teaching a path with several of these characteristics: • ACC< 100 • High CNT values • High processor loading • High speed • Many segments in a short distance • Short segment lengths 7–90 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Constant path behavior for motions with WAIT statement 1. Normal execution With the R-30iB Plus motion system loaded and enabled, while executing a WAIT statement, when possible the robot will decelerate along the path of the motion lines that follow the WAIT statement. If the WAIT duration is long, the robot will decelerate to a stop on the path. Some teach pendant instructions do not support constant path during WAIT: refer to Section 7.32 for teach pendant instruction limitations. After the WAIT statement completes, the robot will accelerate to normal speed and continue the rest of the path. The path will remain the same regardless of WAIT time. For example, 1 2 3 4 5 J P[1] 50% L P[2] 500 R[1] = 1 Wait DI[1] L P[3] 500 FINE mm/sec CNT100 = on mm/sec CNT0 2. Hold/resume The R-30iB Plus motion system will maintain the same path regardless of WAIT time when possible, even when Hold/resume interrupts the teach pendant motions near a WAIT statement. a. case 1: Hold/E-stop at the motion line prior to WAIT statement 1 cursor –> 2 3 4 5 J P[1] 50% L P[2] 500 R[1] = 1 Wait DI[1] L P[3] 500 FINE mm/sec CNT100 = on mm/sec CNT0 7–91 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D b. case 2: Hold/E-stop at WAIT statement (cursor at non-motion line) 1 2 3 cursor –> 4 5 J P[1] 50% L P[2] 500 R[1] = 1 Wait DI[1] L P[3] 500 FINE mm/sec CNT100 = on mm/sec CNT0 c. case 3: Hold/E-stop at motion line after WAIT statement 1 2 3 4 cursor –> 5 7–92 J P[1] 50% L P[2] 500 R[1] = 1 Wait DI[1] L P[3] 500 FINE mm/sec CNT100 = on mm/sec CNT0 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 3. Single step execution after Hold/E-stop a. Single step Forward execution after Hold/E-stop Assume that Hold/E-stop occurs when single step execution is not enabled. If single step forward execution is enabled after Hold/E-stop occurs, then users will observe (1) the first single step forward: robot moves to stopped pose (may be zero distance move if not jogging away) and then posts “CPMO-069 can’t resume with STEP (G:1)” is posted (2) single step forward again: robot moves to the destination position of the motion line at cursor Caution Single step execution (FWD and BWD) is relative to the TP cursor line, not current robot position. After Hold or E-stop the current robot position may be far from the taught point indicated by the TP cursor (especially in T1 mode or low override). Single step execution after Hold/E-stop will move to the taught point indicated by the TP cursor, not on the original program path. A collision could occur if the single step execution path is obstructed. i. case 1: Hold/E-stop at the motion line prior to WAIT statement Single step forward execution will move robot to the destination of the cursor motion line. After HOLD/E-STOP cursor -> 1 2 3 4 5 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 7–93 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D After 1st SSTEP FWD cursor -> 1 2 3 4 5 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 After 2nd SSTEP FWD cursor -> 1 2 3 4 5 J P[1] 50% FINE L @P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 ii. case 2: Hold/E-stop at WAIT statement (cursor at non-motion line) Single step forward execution will move the robot to the destination of the motion line prior to the WAIT statement. After HOLD/E-STOP -> 1 2 3 4 5 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 After 1st SSTEP FWD 7–94 MAROUAR9102171E REV D -> 1 2 3 4 5 7. PROGRAM INSTRUCTIONS J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 After 2nd SSTEP FWD -> 1 2 3 4 5 J P[1] 50% FINE L @P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 Note As shown in this example, the robot position is more likely to be close to P[2] than P[3] because the previous motion line defines the corner location. iii. case 3: Hold/E-stop at the motion line after WAIT statement. Single step forward execution will move robot to the destination of the cursor motion line. After HOLD/E-STOP -> 1 2 3 4 5 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 After 1st SSTEP FWD 7–95 7. PROGRAM INSTRUCTIONS -> 1 2 3 4 5 MAROUAR9102171E REV D J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 After 2nd SSTEP FWD -> 1 2 3 4 5 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 b. Single step Backward execution after Hold/E-stop Assume that single step execution is not enabled at the time of the Hold. Single step backward execution after Hold/E-stop will cause the robot to move back to the destination position of the previous motion line. i. case 1: Hold/E-stop at the motion line prior to WAIT statement. Single step backward goes to destination of previous motion line. After HOLD/E-STOP -> 1 2 3 4 5 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 After BWD 7–96 MAROUAR9102171E REV D -> 1 2 3 4 5 7. PROGRAM INSTRUCTIONS J @P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 ii. case 2: Hold/E-stop at WAIT statement (i.e. cursor at non-motion line) Caution Single step backward goes to destination of second previous motion line. (Single step forward goes to destination of previous motion line.) After HOLD/E-STOP -> 1 2 3 4 5 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 After BWD -> 1 2 3 4 5 J @P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 7–97 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D iii. case 3: Hold/E-stop at the motion line after WAIT statement. Single step backward moves to destination of previous motion line. After HOLD/E-STOP -> 1 2 3 4 5 J P[1] 50% FINE L P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 After BWD -> 1 2 3 4 5 J P[1] 50% FINE L @P[2] 500 mm/sec CNT100 R[1] = 1 Wait DI[1] = on L P[3] 500 mm/sec CNT0 7.3.6 Coordinated Motion J P[1] 50% FINE 7–98 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS COORD The coordinated motion option describes motion for multiple motion groups. When this option is used, multiple motion groups move together to maintain the same position relative to each other. Motion speed which is specified in the line is relative speed for coordinated motion. This option is effective on linear and circular motion. 7.3.7 Corner Distance Control Option The Corner Distance Control Function Option provides users with a termination type called CDy and a program header for CNT termination type in order to enhance the motion performance of Cartesian motions (e.g. linear and circular motion but not joint motion) in the following areas: • Enhanced path accuracy The path will be executed as taught, using a straight line or circular motion. • Direct corner adjustment This allows direct corner rounding distance adjustment for each motion instruction, if you are not satisfied with the corner generated by the motion with other termination types. This is provided in the corner distance termination type, CDy (where y is in mm). • Speed accuracy The robot will try to maintain the programmed speed around a corner as long as the motion is within the mechanical capability of the robot. If constant speed is not feasible, the function will lower the corner speed from the programmed speed automatically. Caution The Corner Distance function uses the actual payload information when calculating the corner speed. Therefore, you must set the payload correctly during installation. Otherwise, the corner speed will not operate correctly. For CNT termination type, the function provides two different choices for users to choose by setting the TPE program header (“Corner/Speed Control” program header): • If the program header is set TRUE, then the function is enabled for the Cartesian motions with CNT termination type: the function will control corner path and corner speed. 7–99 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • If the program header is set FALSE, then the function is disabled for the Cartesian motions with CNT termination type. That is, the motion performance for those motions is similar to the system with the function disabled. Enabling/Disabling the Function This function requires Constant Path option enabled. To enable/disable the function after loading the option, set $czcdcfg.$cd_enable = TRUE or FALSE, respectively. In order for the change of the system variable to take effect, one has to turn off and then turn on the power. By default, $czcdcfg.$cd_enable = TRUE. Caution The Corner Distance and Corner Region options are mutually exclusive meaning that if one option is selected, the other one is not available. Consider this choice carefully before teaching the robot path. To use CRy (where y is in mm) termination type, one has to set $czcdcfg.$cd_enable = FALSE and cycle power. When $czcdcfg.$no_header = FALSE, on Teach Pendant one can access to the program header. By setting $czcdcfg.$no_header = TRUE, the program header will not be displayed. To access to the program header, press Select button on Teach Pendant, cursor to the TP program name and then press Detail button. Use PREV (F2) or NEXT (F3) to see the program header. This is shown in Figure 7–63 . Figure 7–63. Corner Distance Screen 7–100 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Caution The motion performance, in terms of path and speed, could be very different for motions with CNT termination type with and without the program header set to TRUE. Note The path and speed behavior of a system using the Corner Distance option are different from those systems that do not use Corner Distance function even if the motions use the CNT termination type. Motions with Fine termination type or CNT0 behave the same with or without Corner Distance Control function. Be careful when you change the program header setup and always verify the motions at safety speed right after you change it. Corner Distance Termination Type L P[1] 100mm/sec CDy If you want to adjust the corner rounding distance for a motion instruction, you can use the corner distance termination type, CDy. When you use the CD termination type, you must specify the corner distance (in mm). Corner distance is the distance from the corner path to the actual taught position. See Figure 7–64 . 7–101 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–64. The Effect of Corner Distance on Corner Rounding Half Distance Rule With Corner Distance function enabled, the beginning and end of the corner path for Cartesian motions should be shorter than half the distance of the shorter of the two consecutive line segments. This is called the half distance rule. The segment distance refers to the distance between the taught points and the half distance is half of the segment distance. The deviation distance refers to the distance from the taught corner point P[2] to where the corner path deviates from the taught path. The corner distance is the distance from the taught corner point P[2] to the corner path. This is shown in Figure 7–65 . 7–102 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–65. Half Distance Rule With the Corner Distance function enabled, the deviation distance CANNOT exceed the half distance for Cartesian motions. When the segment distance between taught points is short, the half distance rule is applied, in which the deviation distance is set equal to half the segment distance. This is shown in Figure 7–65 . As a result, the corner path is much closer to the taught point P[2], compared to the case in which the taught points are far apart. When you set corner distance, use the following guidelines: • Specify the corner distance in millimeters. • Corner distance can range in value from 0 mm to 1000 mm. • The smaller the corner distance, the closer the robot will get to the position, and the less the corner rounding. • With a larger corner distance, the robot will not get as close to the position, and the more the corner rounding. 7–103 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Caution Some motion instructions that use the CDy option might cause jerky motions especially for short distances. Occasionally, you can improve the motion by ] adjusting the CDy parameter, or by moving the taught positions farther apart. See Figure 7–64 for an example of the effect of corner distance adjustments on corner rounding. When you use the corner distance termination type, the function will maintain constant speed if possible; otherwise, the system will slow down the robot at the corner. Teach Pendant Instruction Limitations Certain teach pendant instructions cause the robot to decelerate toward the destination position before the next motion instruction is executed, regardless of the termination type specified. These teach pendant instructions will override the corner distance and corner speed settings. In this case, the actual corner distance and achieved location speed may be less than the specified values. The instructions are divided into two categories: Category 1: Instructions in this category cause the robot to decelerate, by default. However, if you override the default behavior using the LOCK PREG and UNLOCK PREG instructions, the corner path and corner speed specified will be used. The instructions in this category are as follows: • Position register instructions: PR[ ], PR[ ] INC • Offset instructions: OFFSET, TOOL_OFFSET Category 2: Instructions in this category cause the robot to decelerate at all times, regardless of the termination type specified. You cannot change these default values. The instructions in this category are as follows: • Frame instructions: UFRAME_NUM, UFRAME, UTOOL_NUM, UTOOL • Branching instructions: IF, SELECT, CALL • Wait instruction: WAIT + TIMEOUT • Miscellaneous instruction: $PARAMETER • Program control instructions: PAUSE, ABORT • Macro program instruction • SKIP instruction • TRACK instruction • Variable motion speed instructions • Sensor instructions: RCV, SENSOR_ON, SENSOR_OFF • Palletizing instruction: PALLETIZING-B, PL[ ] 7–104 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Corner Path With Corner Distance Function enabled, a corner path is generated as follows: • The corner path between two line segments is within the three taught positions that define the adjacent line segments. • For long segments, the system computes the corner path, and tries to maintain constant programmed speed around the corner path if it is within the mechanical capability of the robot (done during factory robot tuning). • For short segments, corner path will start and end at half the distance of the shorter of the two line segments. As corner rounding reduces, constant speed around corner cannot be maintained and speed slowdown occurs. For short segments with Corner Distance function disabled, as speed is increased, corner rounding is increased. Therefore, as speed is increased, the path is changed. In Figure 7–66 , for example, as the speed is increased for a series of short segments, the resultant path is rounded more until, at sufficiently high speed, the path becomes a straight line in the middle segments. Figure 7–66. Short Segment Path With Corner Distance Function Disabled With Corner Distance function enabled, for short segments, the half distance rule is applied where the corner starts and ends at a distance that is the shorter of the half segment distances that form the corner. Figure 7–67 shows the resultant path using Corner Distance function. 7–105 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–67. Short Segment Path with Corner Distance Function Enabled Path Orientation Guidelines • Given two taught positions, the segment time is computed as the larger of location time and orientation time. Location time is the time to move from the start location to the destination location based on program speed. Orientation time is the time to move from start orientation to the destination orientation based on the maximum Cartesian rotation speed $PARAM_GROUP[].$rotspeedlim. • If orientation time is greater than location time, the effective location speed will be slower than the program speed. This is true with or without Corner Distance function enabled. • In order to achieve constant program speed around a corner with Corner Distance function enabled, the orientation time must be less than the location time. • For multi group motions, if other group dominates the motion (i.e. the group takes longer time), then the effective location speed may be slower than the program speed. As a result, constant program speed around a corner may not be achieved even with Corner Distance function enabled. See Figure 7–68 . 7–106 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–68. Path Orientation Compatibilities and Limitations Corner Distance function requires Constant Path function. To make Corner Distance function take effect, Constant Path function must be enabled. • Motion Type — CDy termination type supports Cartesian motions such as LINEAR and CIRCULAR. — CDy termination type supports CIRCULAR ARC motion type (motion type A). However, the system may not be able to control the corner speed (to maintain constant speed). — Corner Distance function does not take effect for JOINT motions. — CDy termination type only supports articulated robots and does not support INDEPENDENT AXES or POSITIONERs. • Motion Termination Type — With Corner Distance function enabled, CRy termination type is NOT supported. The system will post error message for motions with CRy. 7–107 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D — With Corner Distance function loaded, only if the function is disabled, then CRy termination type can be supported. — With Corner Distance function enabled, for motions with CNT termination type, depending upon the TP program header, “Corner/Speed Control Program Header” , the system yields the following performance: – If “Corner/Speed Control” program header is set TRUE, then the function will take effect: control the corner path and corner speed; – If “Corner/Speed Control” program header is set FALSE, then the function is disabled for the motions with CNT termination type. • Multi Group Motion Corner Distance function supports multi group motions, though motion will be synchronized. • Motion Options — Auto Singularity Avoidance function If program header “Enable Singularity Avoidance” is enabled, then the motion performance for the programmed motions with CDy termination type is similar to that of the motions with CNT termination type. That is, actual corner distance may be less than the specified one and corner speed may not be constant. If program header “Enable Singularity Avoidance” is disabled, then this function will control the corner path and corner speed for the motions with CDy termination type. — RTCP Corner Distance function supports the motions with RTCP option; Corner Distance does not make sense for the transition between RTCP and non-RTCP motions. In that case, the system will generate a nature corner path regardless of the specified corner distance. — COORD Corner Distance function does not support motions with COORD. However, the system will try to maintain the taught corner path as much as possible without controlling corner speed. — LINE TRACKING Corner Distance function supports Line Tracking. However, the system may not be able to control the corner speed. — TCPP Corner Distance function supports TCP speed prediction function. — LINEAR DISTANCE Corner Distance function supports LINEAR DISTANCE option, though LINEAR DISTANCE has preference. 7–108 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS — PROCESS SPEED Corner Distance function supports PROCESS SPEED option. — MAX SPEED Corner Distance function does not support MAX SPEED; With Corner Distance function enabled, for motions with MAX SPEED specified, the function will disable MAX SPEED dynamically. — CORNER REGION Corner Distance function does not support corner region function. With Corner Distance function enabled, the system will post error message for motions with CR termination type. Note In ArcTool, Corner Distance function is enabled for linear and circular motion types, but is dynamically disabled (turned off) for motion types that include weaving or coordinated motion. In that case, effective corner distance and actual location speed may be less than the specified values. Teaching Techniques You must be careful about the half distance rule. Keep in mind that because of the half distance rule, the specified corner distance cannot be satisfied when the distance is short. Use the following guidelines when you teach a path: • Minimize the number of taught positions. • Reteach positions using the CD termtype to fit the path instead of adding positions. Without Corner Distance function or Corner Region function enabled, you have to teach additional positions to get a small corner with high speed. Also, you have to touch up each point individually to correct any problems. With Corner Distance function enabled, you do not need to do this. See Figure 7–69 . 7–109 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–69. Teaching a Small Corner Teaching a Flexible Path When you use Corner Distance function, you can teach a small corner with relatively few positions. See Figure 7–70 . 7–110 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–70. Teaching a Flexible Path Procedure 7-3 Teaching a Flexible Path 1. Determine the straight line that fits the tangent of the direction change point of the path. 2. Teach positions where the tangents meet. 3. Minimize the number of taught positions because of the half distance rule. Maximize the distance between path nodes. 4. Avoid sharp angles between taught line segments. The amount of corner speed slow-down is proportional to the angle between line segments and the length of line segments. 5. Use the CD termtype to specify the corner distance, where appropriate. 7.3.8 Extended Velocity EV Motion Option In addition to the programmed robot speed, the extended velocity (EV) motion option allows the specification of the programmed extended axis speed. The EV motion option has the following two options: • Simultaneous EV • Independent EV 7–111 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Simultaneous EV J P[1] 100% FINE EV50% The programmed simultaneous EV is defined as a percentage of the maximum extended axis speed (1% - 100%). If the EV motion option is not specified, then the extended axis motion is planned based on the maximum extended axis speed. This means that the default motion without the EV option is equivalent to simultaneous motion with EV100%. In simultaneous EV, the extended axis moves simultaneously with the robot axes. This means that they both start and end at the same time for each motion segment. In order to achieve simultaneous motion, the robot motion time is compared with the extended axis segment time during planning. The longer time will be used for both the robot and the extended axis so that they both reach the destination at the same time. In cases where the robot motion time is longer than the extended axis motion time, the actual extended axis speed will be lower than its programmed extended axis speed so that robot motion speed is maintained. When the extended axis motion time is longer than the robot motion time, the actual robot speed will be slower than its programmed speed in order to maintain simultaneous motion. When there is extended axis motion but no robot motion, the programmed extended axis speed will be used as specified, even if it could be the default maximum speed. Independent EV J P[1] 100% FINE Ind.EV50% Like simultaneous EV, the programmed independent Extended Velocity is also defined as a percentage of the maximum extended axis speed (1% - 100%). In independent EV, the extended axis moves independently of the robot axes. Both the extended axis and the robot axes start each motion segment at the same time, however, because of their independent 7–112 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS speed rates, they might not reach the destination at the same time. The next planned motion cannot execute until both the extended axis and the robot axes have reached the destination. 7.3.9 FacePlate Linear This function will allow robot to move with faceplate linearly according to user’s taught point with its designed TCP. When this option is added, the faceplate will move linearly. The TCP will no longer be linear. TCP will move as kind of arc when there is orientation move. See Figure 7–71 for an example. Figure 7–71. Faceplate Linear With and Without Option This function is suitable for Positional application (material handling), not path application (sealing, painting). Most of the robot wrist can move faster than the major axis. When this option is applied for a large orientation move, the move time might be reduced. 7–113 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D There are limitations for this options • TCPP is not supported. TCPP will report faceplate speed • Constant Path is required • Utool have to parallel to faceplate • Can not loaded with Coordinated motion, Remote TCP • Only Picktool, Handlingtool and Pallettool is supported. All the other application will not be supported. The FPLIN motion modifier will only be presented when the motion line is Linear. Add the FPLIN option by select the FPLIN as following figures ( one for iPendant and the other for legacy pendant) Figure 7–72. FPLIN Option 7–114 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–73. FPLIN none-ip Option 7.3.10 Incremental Motion J P[1] 50% FINE INC The incremental motion option specifies that the destination position is an incremental motion amount from the previous position. To use the incremental motion option, do the following: Caution If you use the incremental motion option in a motion instruction, the position or position register in that instruction will be uninitialized. Also, all instances of that same position or position register in your program will be uninitialized. If you do not want this to happen, use a new position or position register in the motion instruction that will include the incremental motion option. If you want to use the same incremental motion elsewhere in your program, copy the entire motion instruction and paste it where you want to use it. 1. Add a motion instruction. Do not include the incremental motion option. 2. Add another motion instruction. Be sure to include the incremental motion option. 7–115 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 3. Move the cursor to the right of the motion instruction you just added. 4. Press F4, [CHOICE]. 5. Select Incremental. You will see the message, "Position(P[n]) has been uninitialized." 6. Move the cursor to the position component of the instruction and press F5, POSITION. Each position component will be set to uninitialized and the position representation screen will be displayed. See Figure 7–74 . Figure 7–74. Position Representation Screen Position Detail P[2] UF:0 UT:1 X ******.*** mm Y ******.*** mm Z ******.*** mm conf: N 0 W ******.*** deg P ******.*** deg R ******.*** deg 0 Note If your program is set up with multiple groups or extended axes, you must enter appropriate values in the extended axes and group position components in order for the motion instruction to be executed. 7. Move the cursor to each position component you want to change, type the increment you want the robot to move, and press ENTER. If you do not want to change a component, set it to zero. 7.3.11 Offset OFFSET CONDITION PR[x] J P[1] 50% FINE Offset The offset motion option is used with the OFFSET CONDITION instruction to alter positional information programmed at the destination position by the offset amount specified in a position register. The OFFSET CONDITION instruction defines the position register that contains the offset information. The OFFSET CONDITION instruction must be added to the program before the offset motion instruction. The OFFSET CONDITION instruction shown uses the offset in position register 1, PR[x]. The offset motion instruction sets the positional information to position (P[1] + PR[x]) with the orientation of P[1]. When the offset condition is set, any time the offset motion option is used, that offset will be used. Refer to Section 7.20 for more information on offset instructions. 7–116 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.3.12 Offset Position Register J P[1] 50% FINE Offset, PR[x] The Offset, PR[x] motion option alters positional information by the offset amount specified in the position register PR[x]. This offset affects only the motion instruction where it appears. It does not apply to any other motion instructions. The offset user frame number is the currently selected user frame number. If $OFFSET_CART is TRUE, offsets for Cartesian positions are treated as frames and used to pre-multiply positions. If this is FALSE, offsets for XYZQPR positions are added field by field (for example, target.w=pos.w+offset.w). The OFFSET calculation depends on the position register representation specified in the OFFSET motion option: • If PR[x] is Cartesian representation, the system adds each element of the position register to each element of the position to yield the position that is offset. If the position does not have Cartesian representation, the system internally converts the representation of the position to Cartesian before the offset is calculated. • If PR[x] is JOINT representation, the system adds each element of the position register to each element of the position to yield the position that is offset. If the position does not have JOINT representation, the system internally converts the representation of the position to JOINT before the offset is calculated. If PR[x] is JOINT representation, an offset user frame is not used. J P[1] 50% FINE Offset, PR[x] Inc J P[1] 50% FINE Offset Inc • If the incremental motion option is specified with the OFFSET motion option, the position and position register MUST have the same representation, either Cartesian or JOINT. Before you define an offset in a motion instruction that also includes the INC motion option, make sure that the representations of the position register and position are the same. For example, if the position register is JOINT representation, the position must also be JOINT representation. 7.3.13 PTH Motion Option J P[1] 50% CNT100 PTH 7–117 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D The PTH motion option allows you to increase the robot acceleration between positions in a series of positions, or path. You can use the PTH motion option only in motion instructions that use continuous termination type. If you have a short series of continuous positions that are relatively close together, use the PTH motion option with each motion instruction to increase the acceleration between each position. This will reduce the amount of time the robot takes to execute that portion of the program. Caution If motion instructions that contain the PTH motion option produce jerky motion or vibration in the robot, remove the PTH motion option from the motion instruction. 7.3.14 Remote TCP Motion Option (optional) L P[1] 100mm/sec CNT100 RTCP The optional remote TCP motion option (RTCP) allows you to control the orientation of the robot in applications where the tool is fixed in the workcell and the robot manipulates the workpiece around the tool. The frame used for jogging and programming is a user frame you set up and select. See Figure 7–75 for an illustration of the robot using remote TCP. The tool is fixed and the robot is holding the workpiece. Note If the Coordinated Motion option is loaded on the controller, the RTCP motion option will not be available. If an existing program that already contains an RTCP instruction is executed, the following error will be posted at the RTCP instruction: RTCP-014 “RTCP not supported with COORD”. Loading the Coordinated Motion option on the controller completely disables Remote TCP. Note Remote TCP jogging is not available with the following options: • Automatic Voltage Control (AVC) • Coordinated Motion • Multi-Arm • Scratch Start • TAST 7–118 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • RPM/Multi-Pass • Touch Sensing • Weaving Figure 7–75. Remote TCP Motion Option When you use remote TCP, you must first set up the user frame you will use as the remote TCP frame. When you include the remote TCP (RTCP) motion option in a motion instruction, use the UFRAME_NUM= instruction to specify the user frame you want to use; otherwise the current user frame will be used by default. Refer to Section 7.20 for more information on the UFRAME_NUM= instruction. Note In a motion instruction that includes RTCP, the speed specified is the relative speed between the workpiece and the tool. Figure 7–76 contains an example of how to use the RTCP motion option. 7–119 7. PROGRAM INSTRUCTIONS Figure 7–76. Remote TCP (RTCP) Motion Option Example Limitations when used with ArcTool RTCP does not support the following ArcTool features: • Weave • Touch sensing • TAST • AVC 7–120 MAROUAR9102171E REV D MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • MigEye • RPM • MultiPASS • Multiple group program If you attempt to program RTCP when any of these features are loaded, the following error message will be displayed: RTCP+Option not supported See the following examples: Example 1 1. 2. 3 4. Weave Sine[1] L P[] 8 mm/sec CNT100 L P[] 8 mm/sec CNT100 Weave End RTCP The error will be posted on Line 3. Example 2 1. 2. 3 4. 5 4. Search L P[] L P[] L P[] L P[] Search Start[1] 8 mm/sec 8 mm/sec 8 mm/sec 8 mm/sec End PR[2] CNT100 CNT100 CNT100 CNT100 RTCP Search[X] RTCP Search[Y] The error will be posted on Lines 3 and 5. The following examples are for a multiple group program. Example 3 1. L P[] 8 mm/sec CNT100 7–121 7. PROGRAM INSTRUCTIONS 2. L P[] 3 L P[] 8 mm/sec CNT100 8 mm/sec CNT100 MAROUAR9102171E REV D RTCP The error will be posted on Line 3. Example 4 1. Track AVC[1] 2. L P[] 8 mm/sec CNT100 3 L P[] 8 mm/sec CNT100 4. Track End RTCP The error will be posted on Line 3. 7.3.15 Search [ ] Motion Option J P[1] 50% FINE Search[ ] The Search [ ] motion option directs the motion of the robot (in a positive or negative x, y or z direction) to search for an object. The x, y and z vectors are defined by the touch frame assigned in the touch schedule. When contact is made with the object, the robot's current TCP position is stored. The search motion option must be used between a search start and search end statement. Note Touch Sense is an option and might not be installed on your system. If Touch Sense is not installed, Search will not appear as a menu item. Caution Motion speed and direction are controlled by values set in the touch schedule assigned by the Search Start instruction. The motion and speed might be different than what is displayed on the line. 7–122 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.3.16 Skip Jump The SkipJump motion option is available to all tools. Its functionality is similar to the function of Skip Label, except that the action is the reverse of that of Skip Label motion option. SKIP CONDITION [I/O] = [value] J P[1] 50% FINE SkipJump, LBL[3] The SkipJump, LBL[x] motion option redirects program execution based on whether a predefined SKIP CONDITION is true. A SKIP CONDITION instruction defines an I/O condition. The execution of the motion instruction that contains the SkipJump, LBL[x] motion option is affected depending on status of the SKIP CONDITION, as follows: • If the SKIP CONDITION is satisfied, the motion defined in the motion instruction that contains the SkipJump, LBL[x] motion option terminates and the program branches to the label, LBL[x]. • If the SKIP CONDITION is not satisfied, the motion defined in the motion instruction that contains the Skip, LBL[x] motion option is executed. After the robot reaches the destination position and the condition is still not satisfied, the next program instruction is executed. Refer to Section 7.10 for more information on branching. Refer to Section 7.29 for more information on the SKIP CONDITION instruction. Refer to Figure 7–77 for an example of the SkipJump, LBL[x] motion option. Figure 7–77. SKIP JUMP Motion Option Example 7–123 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.3.17 Skip Label SKIP CONDITION [I/O] = [value] J P[1] 50% FINE Skip, LBL[3] The Skip, LBL[x] motion option redirects program execution based on whether a predefinedSKIP CONDITION is true. A SKIP CONDITION instruction defines an I/O condition. The execution of the motion instruction that contains the Skip, LBL[x] motion option is affected depending on status of the SKIP CONDITION, as follows: • If the SKIP CONDITION is satisfied, the motion defined in the motion instruction that contains the Skip, LBL[x] motion option terminates and the next program instruction is executed. • If the SKIP CONDITION is not satisfied, the motion defined in the motion instruction that contains the Skip, LBL[x] motion option is executed. After the robot reaches the destination position and the condition is still not satisfied, the program branches to the label, LBL[x]. Refer to Section 7.10 for more information on branching. Refer to Section 7.29 for more information on the SKIP CONDITION instruction. Refer to Figure 7–78 for an example of the Skip, LBL[x] motion option. Figure 7–78. SKIP LBL[x] Motion Option Example 7–124 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.3.18 Time Before / Time After TIME BEFORE Motion Option J P[1] 50% FINE TIME BEFORE 2.0 sec, CALL prog TIME AFTER Motion Option J P[1] 50% FINE TIME AFTER 2.0 sec, CALL prog Normally, when a teach pendant program is executed, the instruction that follows a motion instruction is not executed until the motion has been completed. The TIME BEFORE/AFTER motion option instruction allows you to specify a teach pendant program that is to be called at a specified time before or after the completion of a motion instruction. See Figure 7–79 . Figure 7–79. TIME BEFORE / TIME AFTER Motion Option Instructions Refer to the “Advanced Functions” chapter in the Setup and Operations Manual for more information on the TIME BEFORE and TIME AFTER motion options. 7.3.19 Tool_offset TOOL_OFFSET_CONDITION PR[x] (UTOOL[1]) J P[1] 50% FINE Tool_offset 7–125 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D The Tool_offset motion option is used with the TOOL_OFFSET_CONDITION instruction to alter positional information programmed at the destination position by the tool offset amount specified in a position register. The TOOL_OFFSET_CONDITION instruction defines the position register that contains the offset information and the tool frame that will be used during the tool offset. The TOOL_OFFSET_CONDITION instruction must be added to the program before the tool offset motion instruction. A tool offset condition instruction specifies the offset condition used in a tool offset instruction. Execute a tool offset condition instruction before executing the corresponding tool offset instruction. After you specify the tool offset condition, it remains effective until the program terminates or the next tool offset condition instruction is executed. When you specify tool offset conditions, be aware of the following: • The position register specifies the direction in which the target position shifts, as well as the amount of shift. • The tool coordinate system is used to specify offset conditions. • When the number of a tool coordinate system is omitted, the currently selected tool coordinate system is used. • When a motion statement which includes a tool offset instruction is taught or a certain position is modified, the position from which the offset is subtracted can be taught. • When a motion statement which includes a tool offset instruction is taught or a certain position is modified, you will be asked to answer the following questions: — Subtract tool offset data? Press YES to subtract the tool offset data from the position data and accept the new position. Press NO to store the current position as the position data. — Enter PR index of tool offset data? Enter the position-register number specified by the tool offset condition instruction. — Enter tool no. of tool offset data? Enter the number of the tool coordinate system in which the offset is to be specified. • If you manually modify the position data using the numeric keys, the position is taught without subtracting the offset. • If you teach the position from which the offset is subtracted, the current position is stored in the following cases. — The specified position register has not yet been initialized — The tool offset instruction ignore function is enabled (see other setting.) • If you enable the ignore function for the tool offset instruction, the current position is taught as position data and you will not receive any error messages. The robot moves to the taught position, even if a tool offset instruction is executed. • If you pause the robot during the execution of a tool offset instruction and modify the shift amount, the modified amount will be used in the resumed movement. 7–126 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS If you modify a position register number specified by a tool offset condition instruction, the modified number will not be used. • In backward execution, the robot is moved to the position to which the offset has been applied. This also applies to the direct tool offset instruction, described next. 7.3.20 Tool offset position register J P[1] 50% FINE Tool_Offset, PR[2] A direct tool offset instruction specifies the position register number. The robot moves according to the offset stored in the specified position register, ignoring the tool offset conditions specified by the tool offset condition instruction. The currently selected tool coordinate system is used. When you specify tool offset position registers, be aware of the following: • If you teach a motion statement which includes a direct tool offset instruction or you modify a certain position, you can teach the position from which the offset is subtracted. You will be asked to answer the following question. — Subtract tool offset data? Press YES to subtract the tool offset from the position data and accept the new position. Press NO to store the current position as position data. • If you manually modify the position data using the numeric keys, the position is taught without subtracting the offset. • If you teach the position from which the offset is subtracted, the current position is stored in the following cases. — The specified position register has not yet been initialized — The direct tool offset instruction has not specified the number of a position register — The tool offset instruction ignore function is enabled. • If you enable the tool offset instruction ignore function, the current position is taught as position data (no prompt messages are output). The robot moves to the taught position even if a tool offset instruction is executed. See Figure 7–80 for an example. 7–127 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–80. Tool Offset Instruction 7.3.21 Torch Angle Overview The Torch Angle option provides users with multiple methods to display the welding torch Work and Travel Angles. This eliminates the need for manual Torch Angle measurement, assists in the audit of weld torch angles, and helps optimize welding quality. There are two primary methods of obtaining the torch angles: • As a TP program executes, the angles are continuously calculated based on the executing motions and frame definitions. The resultant data is available in system variables and can be displayed in the editor or in a graphical status screen • A report can be generated for any of the TP programs from the robot’s web page without running the TP program. Torch Angle system can be used by several applications including: • Gas Metal Arc Welding and Gas Tungsten Arc Welding 7–128 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • Plasma Cutting • HandlingTool Laser Cut • DispenseTool Dispense Gun Torch Angle supports multiple arm group motion and is compatible with many robot options including: • Touch Sensing • Thru Arc Seam Tracking • RPM and Multi-Pass • Coordinated motion • Constant Path motion The following sections will address these topics: • Torch Angle Definitions • Teaching a Reference Position • Torch Angle Graphical Status Display • Limit Checking • Target Angles in Weld Procedures • Torch Angle Web Page Display • Motion Status Display in the TP Editor • Torch Angle System Variables Torch Angle Definitions The Torch Angle is specified by the Work Angle and the Travel Angle. Travel Angle Travel Angle Definition: The angle less than 90 degrees between the torch axis and a line perpendicular to the weld direction, in the plane determined by the torch axis and the weld direction In the two examples shown below the welding torch is approaching the Arc Start position of a weld in a T-joint. In both examples the Travel Angle is 15 degrees. In the left figure, the torch is pointing in the direction of the weld, so this is considered a push angle. In the right figure, the torch is pointing in the direction opposite to the weld progression, so this is a drag angle. 7–129 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–81. Travel Angle Definitions (Push and Drag) For curved surfaces or pipe welds, the weld direction will be the tangent line to the weld path at the weld point. Work Angle There are two common ways to measure the work angle. One references the vertical XZ plane and the other references the horizontal XY plane. The X axis is defined as the vector along the weld axis. The Z direction is defined by a taught TA_REF reference position or by the Z axis of uframe. The Y axis is perpendicular to the X and Z axes. Work Angle (XZ) Definition: The angle less than 90 degrees between the torch axis and a plane determined by the weld direction and a surface normal vector perpendicular to the workpiece. The surface normal at a point on a non-flat surface will be a vector perpendicular to the tangent plane to that surface at that point. Work Angle (XY) Definition: 90 degrees minus the Work Angle (XZ). This figure depicts the welding torch approaching the Arc Start position of a weld in a T-joint. The travel angle is 15 degrees push. The Work Angle (XZ) is 30 degrees. The Work Angle (XY) is 60 degrees (90-30). 7–130 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–82. Work Angle Definitions (XZ and XY) A reference position is not needed in this example. It is sufficient to use uframe. The user can choose between the XZ and the XY definitions in the Torch Angle Status Display using the “Work Ref” function key. This display is described in a later section. Teaching a Reference Position When the workpiece is not suitably aligned with uframe it is useful to teach a reference position and specify it in a TP program. This allows the work angle to be calculated relative to the workpiece The reference position can be recorded in a TP program with the TA_REF motion modifier or it can be recorded in a position register and referenced in the TP program with the TA_REF PR[] motion modifier. The figure below depicts a vertical-down weld in an outside corner joint. The work angle is approximately 45 degrees and the travel angle is approximately 15 degrees push. To assure the 7–131 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D work angle is calculated relative to the workpiece, a reference position is recorded normal to the workpiece as shown. • The reference position is used to calculate the Work Angle; it is not used to calculate the Travel Angle. • TA_REF or TA_REF PR[] can be attached to each weld point to support various weld joints. • The tool frame must be taught such that the tool frame Z+ corresponds to the torch direction. Figure 7–83. Teaching a Reference Position • If you have the Torch Angle Software Option (R734), the Haptic iPendant allows you to feel and see that Torch Angle is inside or outside its limit • You teach the weld path which establishes the desired torch angles (work / travel angles) Procedure 7-4 Recording the reference position with TA_REF 1. Move the cursor to the end of the motion line. 2. Press F4 [CHOICE] and select the motion modifier TA_REF. The prompt “Align torch with ref axis & record.” will be displayed as in Figure 7–84 7–132 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 3. Move the robot to an area with enough space to permit adjusting the torch orientation. 4. Align the torch such that it is perpendicular to the workpiece or so it is aligned with the reference axis, i.e. the torch is at zero degree work angle. 5. Press Shift-F3 [RECORD] to record Torch Angle Reference position. Figure 7–84. Torch Angle TA_REF Instruction P[Travel dg G1] 1:J @P[1: ] 100% FINE : TA_REF [End] 1/2 Align torch with ref axis & record. MOVE_TO RECORD [CHOICE] Programming Considerations and Limitations When using the Torch Angle option please consider the following items: • The tool frame must be taught such that tool frame Z+ corresponds to the torch direction. • The “TA_REF” motion modifier can be used in a TP program to record the reference positions of up to two robot arms. “TA_REF PR[]” is required if there are more than two robot arms in the program. • When coordinated motion is specified, “TA_REF PR[]” is required to record the reference positions of both the leader and the follower. • A position register does not include uframe data. “TA_REF PR[]” uses the currently active uframe to calculate the reference position during program execution. • The Torch Angle reference position is set to uframe when a program is aborted. • A run-time motion alarm “Uninitialized TA_REF ref frm” will be posted for TP motion instructions with TA_REF or TA_REF PR[] if the reference position is not recorded. • If there isn’t a torch angle motion modifier (TA_REF or TA_REF PR[]) on the current welding motion, the previous reference position defined by TA_REF or TA_REF PR[] in the TP program will be used. If neither TA_REF or TA_REF PR[] have been executed in the program, the User frame approach vector will be used to define the reference position. • A sub-program inherits the reference position from the main program. 7–133 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • A reference position set inside a sub-program remains valid when execution returns to the main program. Procedure 7-5 Recording the reference position with TA_REF PR[ ] 1. Move the cursor to the end of the motion line. 2. Press F4 [CHOICE] and select the motion modifier TA_REF PR[]. The prompt “Enter PR number.” will be displayed as shown in Figure 7–85 3. Enter the position register number. 4. Move the robot to an area that has enough space to permit adjusting the torch orientation. 5. Align the torch such that it is perpendicular to the workpiece or so it is aligned with the reference axis, i.e. the torch is at zero degree work angle. 6. Go to DATA Position Reg screen, and move the cursor to specified PR number. 7. Press Shift-F3 [RECORD] to record Torch Angle Reference position. After the reference position has been recorded, Shift-F2 [MOVE_TO] can be used to verify the recorded position. Figure 7–85. Torch Angle TA_REF PR[ ] Instruction P[Travel dg G1] 1:J @P[1: ] 100% FINE : TA_REF PR[...] [End] 1/2 Enter PR number. DIRECT INDIRECT[CHOICE] For pipe weld, the weld direction will be the tangent line to the weld path at the weld point. Torch Angle Graphical Status Display The Torch Angle Status menu displays the current torch angles for the selected jog group if that group is a robot. The menu contains a graphical and a numeric indication of the work and travel angles. It indicates if the Work Angle is to the Left or Right of vertical axis and if the Travel Angle is Push or Drag. When the program is aborted the torch angles are not available for display. This is indicated by the torch being aligned with the Z axis and “(inactive)” displayed below the two angles. To display the Torch Angle Status menu: 7–134 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 1. Press MENU. 2. Select STATUS. 3. Press F1, [TYPE]. 4. Select Torch Angle. For Torch Angle graphical display, select “Torch Angle” from STATUS item on main Menu. Figure 7–86. Torch Angle Graphical Display Use the F3 function key “Work Ref” to change between the XZ and XY reference planes. 7–135 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Limit Checking Figure 7–87. Torch Angle (R734) Limit – Work Angle Figure 7–88. Torch Angle (R734) Limit - Travel Angle • After the path is taught, when you stop the robot (which pauses the program) to touch up a position, the torch angle when the robot stopped will become the reference for torch angle limit check. 7–136 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • If the torch angle is jogged beyond a tolerance, the Teach Pendant vibrates. • If the torch angle is jogged back inside tolerance, the Teach Pendant vibrates with a different pattern. • In the Torch Angle status screen, the torch angle (and its tolerance) is graphically displayed with color. The torch is GREEN if it is within tolerance, otherwise, it’s RED. • Torch angle limit tolerance is default to 5 degrees ($TOR_ANG_CFG.$TRAV_TOL, $TOR_ANG_CFG.$WORK_TOL). Target Angles in Weld Procedures Beginning with software version V9.10P06, ArcTool Weld Procedures support setting a “target” work and travel angle in each weld procedure and in each weld schedule. This allows you to more fully define the critical weld parameters. During execution, the target angles and actual angles are compared and can be observed in the Torch Angle display. Out of tolerance conditions are highlighted in red. A MOVE_TO function key can be used to reorient the torch to the target angles, permitting easy touchup of positions. This yields accurate weld paths more quickly than manual jogging. Figure 7–89. Weld Procedure Screens The target Work and Travel angles are set in the top weld procedure tree detail as shown in Figure 7–89 . These angles are only used during execution when a Weld Start or Weld End instruction is of the VALUE format; which do not include a weld schedule number. The (right>0) means Work angles 7–137 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D greater than 0 degrees are to the right of the normal reference when viewed from behind the torch, in the direction of the weld. The (push<0) means Push angles are negative and Drag angles are positive. To the right of the Work and Travel angles, in parentheses, are the minus and plus tolerances ( - , + ) used during torch angle limit checking. The default values are 5 degrees. The limit check compares the difference between the current torch angle and the target torch angle to these tolerances. These tolerances are used for all welds performed with this weld procedure. Programs that use Weld Start and Weld End instructions of the SCHEDULE format will reference the Work and Travel angles specified in the Weld Schedule. The Work and Travel angles can be examined and modified in the Weld Schedule DETAIL screen. The Torch Angle screen has been modified to display the Weld Procedure angles and tolerances. When using the TP editor you can press and hold the I key and then press the FCTN key to select the torch angle screen as a related view. Figure 7–90. Torch Angle Screen 7–138 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS The target Work and Travel angle values are shown in degrees on the left side of the screen. They are labeled Right or Left and Push or Drag. When an angle is close to zero, the label is omitted. The current Work and Travel angles of the Torch are displayed in the center of the screen, below the horizontal lines. The Work angle is displayed on top to be consistent with the Weld Procedure Data screen and Weld Schedule detail screen. The upper left corner displays the weld equipment number (E1), the weld procedure number (WP1), and the weld schedule number (S1) currently in use. The indicated weld schedule is the source of the target angles. The torch outline is drawn on the screen to illustrate the current torch angle. The target torch angles are shown as lines marked with small circular targets. The lines emerging to the left and right of the target center represent the minus and plus tolerances. If the current angle is within these tolerances the torch and the target will be green. If the current angle is outside of the tolerance the torch and the target will be red. The colors will change as you jog in and out of tolerance. When jogging out of tolerance an alarm will be posted (TANG-014 Travel angle limit or TANG-015 Work angle limit), stopping the jog motion. The alarm and a haptic pendant vibration alert you to the angle moving out of tolerance. You can resume jogging past the limit, if desired. The target torch angles and tolerances in the weld procedure and weld schedule are copied to Torch Angle system variables as each Weld Start and Weld End is executed. They appear in the display and are used for limit checking. The target torch angles do not automatically modify the program weld positions. This could cause the positions to become unreachable or it could cause collisions. The MOVE_TO function key, F2, in the Torch Angle screen moves the torch to the target torch angles without moving the XYZ location of the torch. This simple utility eases weld programming. When initially teaching weld positions, the exact torch orientation can be neglected and recorded roughly. Later, when single-stepping through the program, the MOVE_TO function key can be used to accurately orient the torch at the taught points to the target angles. The Touchup function key in the editor can be used to record the weld positions. Note that when the MOVE_TO motion fully completes, the teach pendant editor pane will be automatically selected for quick access to the TOUCHUP function key. If you prefer the current actual torch angles over the current target angles specified by the current weld schedule, the Update function key, F4, can be used to copy the current torch angles to the current weld schedule and update the target angles. The F3 Work Ref key is not available when using target torch angles in the weld procedure because the angles in the procedure must reference a defined frame. The choice for the work angle reference frame can be made at controlled start by setting the system variable $TOR_ANG_CFG.$WORK_ANG_DEF. Set this variable to 0 for measurement from the XZ plane (vertical axis) or to 1 for measurement from the XY plane (horizontal axis). If you prefer the torch angle display to not include the target angles from the weld schedule, set $TOR_ANG_CFG.$COMP_SWITCH = 2. This setting will also restore the F3 Work Ref key. Torch Angle Web Page Display A new link “TP Torch Angle files available on MD:” is available on the controller’s main web page when Torch Angle option is loaded. 7–139 7. PROGRAM INSTRUCTIONS Figure 7–91. Web Page Main Display 7–140 MAROUAR9102171E REV D MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–92. Web Page Torch Angle Files 7–141 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D A Torch Angle ASCII report can be generated for each Teach Pendant program on the controller. A report will be displayed on the web page if user clicks on one of the file names listed in the second column of the table. • The ASCII file is tab delimited, and can be saved and exported to Excel. • Torch angle report file consists of the following information: — Line Num — Position Id — Work Angle — Travel Angle — Group Num — Position Comment The right-most column contains the Position Comment. This column can be viewed by scrolling the display to the right. 7–142 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–93. Web Page Torch Angle Report File The Torch Angle Web Page displays static work angles and travel angles of taught positions. The values can be different than the run time display due to motion blending The robot web pages can be accessed from a remote computer using a standard browser if the Web Server is installed on the robot. The Web Server is part of the Internet Connectivity/Customization Option, R558. When viewing a torch angle report remotely you can use the browser to “select all ” and “copy” the report contents. The data can then be saved from your clip board into a file. The file can be imported into a spreadsheet application as shown in Figure 7–94 7–143 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–94. Torch Angle Report in a Spreadsheet Application Motion Status Display in the TP Editor The Motion Status display feature dynamically displays the current value of a variety of motion related items directly within the motion line. Refer to Section for more information on this feature. The Motion Status display supports display mode 19 for the travel angle and mode 20 for the work angle. These two modes only display data on the currently active motion line. • Set $mndsp_mst.$disp_enable = TRUE to enable the motion status display. • Set $mndsp_mst.$mode_grp[1] = 19 to display group 1 Travel Angle. • Set $mndsp_mst.$mode_grp[1] = 20 to display group 1 Work Angle. 7–144 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–95. Travel Angle Progress Display The header above the program is “P[Travel dg G1]”. This indicates the motion status display is set to mode 19 for the Travel Angle, the angle is in degrees, and the angle is for group 1. Group 1 is the selected jog group. The Travel Angle of 12.952 is shown on line 12 of the program. The negative sign indicates this is a push angle. 7–145 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–96. Work Angle Progress Display The header above the program is “P[WorkXZ dg G1]”. This indicates the motion status display is set to mode 20 for the Work Angle. The “XZ” indicates the selected reference plane is the XZ plane. The “dg” indicates the angle is in degrees. The program is paused on line 12. The work angle at this position is 30.868 degrees. The letter R appended after the angle indicates the torch is to the “Right” of vertical (when viewed from behind the torch in the direction of the weld.) A letter L would be appended after the angle if the torch were to the “Left” of vertical. Torch Angle System Variables When the Torch Angle option is loaded and enabled and a Teach Pendant program is executing the Torch Angles are calculated and stored in system variables ($tor_ang_sys[].$travel_ang and $tor_ang_sys[].$work_ang). These variables are used as inputs to update a graphical display on the Torch Angle Status screen. Note the value of $work_ang can vary from -180 to +180 degrees. The value of $cmn_workang will only vary from 0 to 90 degrees when the WorkXY reference plane is selected. 7–146 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–97. Torch Angle System Variables 7.3.22 Wrist Joint L P[1] 50% FINE Wjnt The wrist joint option is used during linear or circular moves. It causes the wrist orientation to change during moves, permitting the tool center point to move along the programmed path without flipping the wrist axes due to axis singularity positions. For the WRISTJOINT method of orientation interpolation, the three wrist joints are joint interpolated. The remaining joints are interpolated so that the TCP moves in a straight line. Note that the starting and ending orientation will be used as taught, but because of the joint interpolation, the orientation during the move is not predictable, although it is repeatable. Caution When the WJNT modifier is added to a linear motion, then the moves made by the major axes of the robot (especially Joints 2 and 3) can be drastically different than those without the WJNT modifier. 7.4 ARC WELDING INSTRUCTIONS 7.4.1 Overview Arc weld instructions tell the robot how, where and when to execute arc welding. There are two welding instructions: 7–147 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Weld Start • Weld End The welding instructions are displayed with red text when color is enabled in the editor. The red text helps highlight the welds in the program. The welding instructions can be returned to black text by selecting [Color] from the commands listed by the [EDCMD] function key. 7.4.2 Weld Start and Weld End Programming Weld procedures use welding instructions in the editor: Weld Start and Weld End. These are used in place of Arc Start and Arc End. This is required because the instruction must include a weld procedure number and a weld schedule number, not just a schedule number. The new instructions are helpful in determining at a glance if a robot or a program uses weld procedures or not. TEST 1/4 1:J P[1] 100% FINE 2:J P[2] 40% FINE : Weld Start E1[1,1] 3:L @P[3] WELD_SPEED FINE : Weld End E1[1,1] [End] POINT WELD_ST WELD_PT WELDEND TOUCHUP> Notice that the function keys also reflect that arc weld procedures are in use. Pressing F2, WELD_ST, illustrates that the default program lines contain the new instructions. Changes made to these lines are saved in a file specifically for use with weld procedures and are not saved to the file associated with Arc Start programming. 7–148 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Weld Start def men JOINT 10 % 1 J P[] 40% FINE Weld Start E1[1,1] 2 J P[] 100% FINE Weld Start E1[1,1] 3 L P[] 250cm/min FINE Weld Start E1[1, 4 L P[] 100.0inch/min FINE Weld Start E TEST 1/4 1:J P[1] 100% FINE 2:J P[2] 40% FINE : Weld Start E1[1,1] 3:L @P[3] WELD_SPEED FINE : Weld End E1[1,1] [End] POINT ED_DEF WELD_PT WELDEND TOUCHUP> Teach Pendant programs containing either instruction set can be loaded on a controller at the same time. Programs containing Arc Start and Arc End can execute welding only when the weld procedures are disabled. Programs containing Weld Start and Weld End can execute welding only when weld procedures are enabled. 7.4.2.1 Schedule Format The first parameter in the Weld Start and the Weld End instruction is the Weld Procedure number. This number is checked when it is entered to verify that procedure is present on the controller. The editor will not allow entering an invalid number. 1:J @P[1] 40% FINE : Weld Start[1,1] [End] Enter procedure number. REGISTER VALUE [CHOICE] The second parameter in the Weld instructions is the weld schedule number in the weld procedure. The weld schedule number is checked to verify that the schedule exists within the specified weld procedure. Note weld procedures can have a different number of weld schedules. 7–149 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 1:J @P[1] 40% FINE : Weld Start[1,1] [End] Enter schedule number. REGISTER VALUE [CHOICE] 7.4.2.2 Register Format Either, or both, of the two paramaters can be changed to the Register format. 1:J @P[1] 40% FINE : Weld Start[R[…],1] [End] Enter register number. REGISTER VALUE [CHOICE] 7.4.2.3 Value Format Weld instructions can also be specified in the Value format. Note that the value format does not support the ramping and HeatWave capabilities described in the next sections. 1:J @P[1] 40% FINE : Weld Start[0,0.0IPM,0.000, : 0.00,0.0s] [End] Enter procedure number. REGISTER VALUE [CHOICE] 7.4.2.4 Changing Weld Schedules The Weld Start instruction can be used to change weld schedules in the middle of a weld. This is shown on line 3 below. Also note the Weld End instruction on line 4 uses another weld schedule to complete the craterfill sequence. 7–150 MAROUAR9102171E REV D 1:J 2:J : 3:L : 4:L : 7. PROGRAM INSTRUCTIONS P[1] 100% FINE P[2] 40% FINE Weld Start[1,1] P[3] WELD_SPEED CNT100 Weld Start[1,2] @P[4] WELD_SPEED FINE Weld End[1,3] 7.4.2.5 Changing Weld Procedures and Process Switching The Weld Start instruction supports changing weld procedures in the middle of a weld. The two weld procedures involved at the change can both have the same weld process definition or they may have different weld process definitions. 1:J 2:J : 3:L : 4:L : P[1] 100% FINE P[2] 40% FINE Weld Start[1,1] P[3] WELD_SPEED CNT100 Weld Start[2,1] @P[4] WELD_SPEED FINE Weld End[2,1] 7.4.2.6 Multiple Weld Equipment If the multi-equipment option is present the weld equipment number is included in each Weld instruction. 1:J P[1] 100% FINE 2:J P[2] 40% FINE : Weld Start E1[1,1] 3:L @P[3] WELD_SPEED FINE : Weld End E1[1,1] 7.4.2.7 Synchronized Weld Starts The weld starts of multiple equipment can be synchronized by correctly setting the equipment synchronization field at the end of each instruction. 7–151 7. PROGRAM INSTRUCTIONS 1:J 2:J : 3: 4:L : 5: MAROUAR9102171E REV D P[1] 100% FINE P[2] 40% FINE Weld Start E1[1,1,E2] Weld Start E2[1,1,E1] @P[3] WELD_SPEED FINE Weld End E1[1,1] Weld End E2[1,1] 7.5 ARC WELDING INSTRUCTIONS without Weld Procedures 7.5.1 Overview Arc welding instructions tell the robot when and how to weld. There are two arc welding instructions: • Arc Start • Arc End Note Refer to Section 7.2.9 for more information on the use of WELD_SPEED in motion instructions executed during welding. 7.5.2 Arc Start Instructions Arc Start instructions tell the robot to begin welding. They can also be used to change the welding parameters while welding is in progress. There are three basic formats of Arc Start instructions: • Arc Start [i] • Arc Start [R[i]] • Arc Start [..., ...] The default format when inserting an instruction is Arc Start[i]. The format can be changed in the teach pendant editor by cursoring to the instruction and selecting one of the other two formats listed on the function keys. The function keys shown depends on the existing instruction format. 7–152 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS TEST LINE 0 T2 ABORTED TEST E1 JOINT 10 % 1/2 1: Arc Start[1] [End] Enter schedule number. REGISTER VALUE [CHOICE] Arc Start [i] The Arc Start [i] instruction initiates arc welding using the specified weld schedule. Arc Start [R[i]] The Arc Start [R[i]] instruction initiates arc welding using the weld schedule number in the specified register. Arc Start [...,...] The Arc Start [..., ...] instruction initiates arc welding using the welding parameters values specified in the instruction. The number of parameters and the names and units depends on the weld process and the weld equipment setup. The standard MIG and TIG welding processes have volts, amps, and wire feed speed as welding parameters. For these configurations the Arc Start[...,...] instruction can have the formats shown in Table 7–10 . Table 7–10. Arc Start [..., ...] Instructions Arc Start [..., ...] [v, wfs] v: voltage, in Volts wfs: wire feed speed, in mm/sec, cm/min, or IPM (inches per minute) MIG with wire feed speed control [v, a] v: voltage, in Volts a: amperage, in Amps MIG with "Weld Power Control" = CURRENT on the SETUP Weld Equip screen [a, wfs] a: amperage, in Amps wfs: wire feed speed, in mm/sec, cm/min, or IPM (inches per minute) TIG with the wire feed speed control option [a] a: amperage, in Amps TIG with "TIG wire feed control " = NONE on the SETUP Weld Equip screen 7–153 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Other weld processes often have other weld parameters than those listed in Table 8.4. Weld Process Number An additional parameter called the Weld Process Number (WPn), appears in the Arc Start[...,...] and Arc End[...,...] instructions if either of these two arc welding features are used: • Weld Process/Weld Program Select (refer to the Weld Process Data section in the Setting Up ArcTool chapter of the ArcTool Setup and Operations Manual .) • Multi-Process (refer to the Lincoln Electric Powerwave x55 section in the Setting Up ArcTool chapter of the ArcTool Setup and Operations Manual ) For example: 1: Arc Start[WP1,25.0Volts,250.0IPM] This number has the same meaning as the weld process number specified in a weld schedule within the DETAIL level of the weld schedule DATA screen. Arc Welding Parameter Ramping Option If you have the arc welding parameter ramping option, a time value,t, is added to the Arc Start instruction, as follows: • Arc Start [v, wfs,t ] • Arc Start [v, a,t ] • Arc Start [a, wfs,t ] • Arc Start [a,t ] The ramping value is in seconds. Refer to the Welding Parameter Ramping (Option) section in the Setting Up ArcTool chapter of the ArcTool Setup and Operations Manual for more information on the arc welding parameter ramping option. If ramping is enabled at power up, the system variable $awspcr_p.$as_tim_enab will be set to TRUE. This will enable the display of the time value. If ramping is disabled, the time value is still displayed. To turn off the time value display, set $awspcr_p.$as_tim_enab = FALSE. EDCMD Comment The edit command function key [EDCMD] in the teach pendant editor has a Comment entry. It toggles the display of comments in registers and I/O. (See the Setting Up Input/Output Setup section 7–154 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS in the I/O Chapter of the ArcTool Setup and Operations Manual ). It also toggles the display of the units in the Arc Start [...,...] and Arc End[...,...] instructions. For example: 1: Arc Start[25.0Volts,250IPM] displayed without units: 1: Arc Start[25.0,250.0] 7.5.3 Arc End Instructions Arc End instructions tell the robot to end the weld. There are three basic formats of Arc End instructions: • Arc End [i] • Arc End [R[i]] • Arc End [..., ...] These formats are nearly identical to those described for the Arc Start instruction. The only difference is the meaning of the time value in the Arc End[...,...] instruction. The time value in an Arc End instruction always refers to the craterfill time. This is the amount of time the weld parameters specified in the Arc End are held before beginning burnback and extinguishing the arc. For more information on Arc End timing, refer to the FAStart section in the Setting Up ArcTool chapter of the ArcTool Setup and Operations Manual. Arc Welding Parameter Ramping Option Beginning in the V6.31 release of ArcTool, the weld parameter ramping option can be used during the craterfill time. To use this new feature set the system variable $aweramp[1].$ramp_crater = TRUE. Arc End [i] The Arc End [i] instruction stops arc welding using the specified weld schedule. Arc End [R[i]] The Arc End [R[i]] instruction ends arc welding using the weld schedule number in the specified register. 7–155 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Arc End [...,...] The Arc End [..., ...] instruction stops arc welding. The format of the instruction depends on the kind of welding (MIG or TIG) and the weld equipment setup. Refer to Table 7–11 for a description of each kind of Arc End [..., ...] instruction. Table 7–11. Arc End [..., ...] Instructions Arc End [..., ...] [v , wfs, t] v: voltage, in Volts wfs: wire feed speed, in mm/sec, cm/min, or IPM (inches per minute) t: delay time, in seconds MIG with wire feed speed control [v, a, t] v: voltage, in Volts a: amperage, in Amps t: delay time, in seconds MIG with "Weld power control" = CURRENT on the SETUP Weld Equip screen [a, t] a: amperage, in Amps t: delay time, in seconds TIG with "TIG wire feed control" = NONE on the SETUP Weld Equip screen [a, wfs, t] a: amperage, in Amps wfs: wire feed speed, in mm/sec, cm/min, or IPM (inches per minute) t: delay time, in seconds TIG with the wire feed speed control option 7.5.4 Multi-Equipment Arc Instructions Beginning in the V6.40 release of ArcTool, the Arc Start and Arc End instructions are displayed differently when the multi-equipment option is installed. The three basic formats described in the previous sections still exist, but instead of having only one Arc Start and one Arc End instruction, there is an Arc Start and Arc End instruction for each weld equipment defined in the program equipment mask. For example: • Arc Start E1[i] • Arc Start E2[i] • Arc End E1[i] • Arc End E2[i] Prior to V6.40, an arc welding program equipment mask could only specify one equipment so the Arc Start and Arc End instructions in the program would only control that specific weld equipment. 7–156 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Now it is possible to select more than one equipment in the equipment mask. That is, one program can control multiple arc welding equipment. This makes it important to explicitly state which weld equipment is starting or ending as part of each arc instruction. Synchronizing Arc Starts If the multi-equipment option is installed and if the number of weld equipment defined is more than one, then the Arc Start En[...,...] instructions have another parameter. It is the last parameter in the list and it specifies an equipment number for synchronizing Arc Starts. The following program example illustrates synchronizing the Arc Starts of two equipment in one teach pendant program: 1:J P[1] 40% FINE : Arc Start E1[25.0,200.0,E2] 2: Arc Start E2[25.0,200.0,E1] 3:L P[2] 20.0inch/min FINE : Arc End E1[1] 4: Arc End E2[1] In this example, the Arc Start E1 specifies synchronize with E2. Likewise, the Arc Start E2 specifies synchronize with E1. This will result in the two arcs striking at the same time. The motion on line 3 will begin when both arcs have started. Refer to the Arc Start Synchronization section in theMulti-Equipment Chapter of the ArcTool Setup and Operations Manual for more information on Arc Start synchronization. 7.6 WEAVING INSTRUCTIONS 7.6.1 Weave Instructions Weave instructions tell the robot to use a weave pattern to arc weld. Weaving is an oscillation of the welding torch in a particular pattern. Weaving is used with circular and linear robot motion only. This permits weaving to stop automatically when the robot makes a joint motion between welds and then restart weaving at the next linear move. You must teach a start position and end position for each weave. When weaving begins, the system assumes the robot is at the start position. There are ten weave pattern instructions: • Weave Sine[i] • Weave Sine[Hz,A,s,s] 7–157 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Weave Figure 8[i] • Weave Figure 8[Hz,A,s,s] • Weave Circle[i] • Weave Circle[Hz,A,s,s] • Weave Sine 2[i] • Weave Sine 2[Hz,A,s,s] • Weave L[i] • Weave L[Hz,A,s,s] Weave Sine The weave sine pattern creates a sinusoidal weave pattern. The pattern plane is determined by the weave frame and the azimuth (elevation). See Figure 7–98 . Weave sine is the standard weaving pattern for arc welding because of its flexibility. Weave sine is also used for: • Cover passes • Root passes for Thru-Arc Seam Tracking (TAST) Figure 7–98. Weave Sine Pattern Weave Sine 2 The weave sine 2 pattern is similar to weave sine, but the weaving is generated in two phases rather than four. Weave sine 2 results in higher frequency weaving, although it cannot be used for any welding using Through Arc Seam Tracking (TAST). Weave Figure 8 The weave figure 8 pattern creates a looped pattern. The pattern plane is determined by the weave frame and the elevation. See Figure 7–99 . Weave figure 8 pattern is used for: • Heavy welding applications • Out of position welding 7–158 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • Hard facing and cladding • Poor part tolerances • Large gap conditions • Cover passes Figure 7–99. Weave Figure 8 Pattern Weave Circle The weave circle pattern creates a rounded and uniform pattern. The weave plane is determined by the weave frame and the elevation. See Figure 7–100 . Weave circle is used for: • Thin gauge material such as sheet metal • Large gap conditions • Lap joints • Cosmetic welds Figure 7–100. Weave Circle Pattern Weave L The weave L pattern generates a torch motion in a right angle shape. This pattern can be useful for fillet and v-groove weld joints. If the weave azimuth or weave plane are adjusted to match the weld joint orientation. See Figure 7–101 . 7–159 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–101. Weave L Pattern Weave {Pattern} [i] The Weave {pattern} [i] instruction initiates weaving using the specified pattern and weave schedule. See Figure 7–102 . Figure 7–102. Weave Instructions[i] Weave {pattern}[Hz,mm,s,s] The weave {pattern}[Hz,mm,s,s] instruction initiates weaving using the frequency, amplitude, left dwell time, and right dwell time. Refer to Table 7–12 . Note The format of this instruction varies with weaving settings. Table 7–12. Weave {Pattern}[Hz,mm,s,s] Weave {Pattern}[Hz,mm,s,s] Hz Frequency (Hertz) mm Amplitude (millimeters) s Left dwell time (seconds) s Right dwell time (seconds) 7–160 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.6.2 Weave End Instructions Weave end instructions tell the robot to end the weave pattern arc weld. There are two weave end instructions: Weave End The Weave End instruction stops all the weave schedules within the program. Weave End[i] The Weave End[i] instruction stops only the specified weave schedule. 7.7 TRACK/OFFSET INSTRUCTIONS (OPTION) 7.7.1 Overview TRACK/OFFSET instructions locate the center of the weld seam and store the position offset data. The offset position data is then used for subsequent welding passes. TRACK/OFFSET instructions include the following: • TRACK {sensor} • TRACK END • MP OFFSET • MP OFFSET END • TRACK {sensor} RPM Note You can not use the Find command to locate track/offset instructions. 7.7.2 TRACK {Sensor} Instruction A TRACK {sensor} instruction uses sensors to monitor part location relative to recorded robot positions. The TRACK {sensor} instruction can be used with different types of sensors including: • Thru-Arc Seam Tracking (TAST) • Automatic Voltage Control (AVC) 7–161 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Note TAST and AVC are options. If you do not have these options, they will not appear in these instructions. TRACK {SENSOR} [i] See Figure 7–103 . Figure 7–103. TRACK {SENSOR} [i] 7.7.3 TRACK END Instruction A TRACK END instruction stops the tracking of the seam.There is one track end instruction which is: • Track End 7.7.4 MP OFFSET Instruction A Multi-pass (MP) OFFSET instruction extracts the positional offset information stored in an RPM buffer by the TRACK {sensor} Root Pass Memorization (RPM) instruction. The position register contains the offset to be applied to the weld path. Note Multi-pass is an option included with the TAST and AVC options. If you do not have one of these options, multi-pass will not appear in these instructions. MP OFFSET PR[i] RPM[j] See Figure 7–104 . 7–162 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–104. MP OFFSET PR[i] RPM [j] 7.7.5 MP OFFSET END Instruction A MP END OFFSET instruction stops the use of the MP OFFSET instruction. There is one MP END OFFSET instruction which is: Note Multi-pass is an option included with the TAST and AVC options. If you do not have one of these options, multi-pass will not appear in these instructions. • MP OFFSET END 7.7.6 TRACK {sensor} RPM Instruction A TRACK {sensor} RPM instruction stores the found position offset information in a RPM buffer. This information can be extracted by the MP OFFSET instruction for multi-pass welding. The TRACK{sensor} RPM instruction can be used with different types of sensors including: • Thru-Arc Seam Tracking (TAST) • Automatic Voltage Control (AVC) TRACK{SENSOR[i] RPM[j] See Figure 7–105 . 7–163 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–105. TRACK{SENSOR}[i] RPM[j] 7.8 TOUCH SENSE INSTRUCTIONS 7.8.1 Overview Touch sensing is an option and might not be installed on your controller. Touch sensing instructions are used to implement the touch sensing programming. There are four touch sensing instructions provided: • Search Start • Search End • Touch Offset • Touch Offset End Note You can not use the Find command to locate touch sense instructions when you edit a program. Caution You can not use the Replace command to replace a motion instruction with a touch sense instruction. Doing so will cause a memory write failure error. If you want to replace the motion instruction, first delete the motion instruction, and then insert the touch sense instruction. 7.8.2 Search Start Instruction Search Start indicates where the search motion begins. The Search Start instruction assigns the touch schedule to be used during the search and the position register where the positional information is to be stored. Each Search Start must have a Search End. A new Search Start can not be executed until a Search End has been executed. See Figure 7–106 . 7–164 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Schedule and position register range checking is done when you run the program. If the program causes a nested search start error, move the cursor to the beginning of the program and run the program again. The error should clear automatically. You cannot move the cursor to a search motion statement and execute it unless you also execute the preceding search start statement. Note Backward execution of Search Start [ ] P[ ] will disable Search Start. Figure 7–106. SEARCH START [i] PR[x] 7.8.3 Search End Instruction Search End stops the search. It is important to end a Search Start properly by using Search End in your program. Otherwise, if incremental is set to ON, all the motion afterward will be affected by the incremental search. See Figure 7–107 . Figure 7–107. SEARCH END 7.8.4 Touch Offset Instruction Touch Offset indicates where the position shift begins in the program. The shift amount is determined by the information in the specified position register relative to world frame. The shift amount is generated by the search routine. Position register range checking is done when you run the program. See Figure 7–108 . Note When using a simple search pattern, Touch Offset and Touch Offset End are not used. A simple search stores the actual position of the point being searched into the Position Register. 7–165 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–108. TOUCH OFFSET PR[x] Touch Offset and Touch Offset End allow backward execution of the program with the following conditions: Note Backward execution of Touch Offset PR [ ] will disable Touch Offset. • Backward execution of a Touch Offset instructionwill not terminate the offset. When backward execution is done, any added or "touched up" positions will be the recorded position plus the position register offset. For example, in line 1 of the following program, the robot position is equal to P[1] + PR[1] when backward execution begins at line 2. • Touch Offset terminates at only two conditions: — The Touch Offset End is executed. — The program aborts. • The Touch Offset End instructionwill terminate the offset . However, if backward execution begins prior to executing the Touch Offset End instruction all positions will be offset. For example, both P[2] and P[3] in the example shown in Figure 7–109 will be offset by PR[1] when backward execution begins at line 4. Also, if you scroll to P[4] and execute that instruction, the position will be offset by the PR[1] amount. Figure 7–109. Backward Execution Example 7–166 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.8.5 Touch Offset End Instruction Touch Offset End indicates where the position shift ends. It is important to properly end a Touch Offset by using Touch Offset End in your program. Otherwise, all the motion afterward will be affected by the touch offset position register. See Figure 7–110 . Figure 7–110. TOUCH OFFSET END Note When using a simple search pattern, Touch Offset and Touch Offset End are not used. A simple search stores the actual position of the point being searched into the Position Register. 7.9 BASIC PROCESS AXES INSTRUCTIONS (OPTION) 7.9.1 Overview The Basic Process Axes software option (R689) provides two TP instructions that can be used to set the speed for some or all properly set up process axes: • SET ISDT SPEED • STOP ALL ISDT 7.9.2 SET ISDT SPEED Instruction The SET ISDT SPEED instruction, when executed, sends the specified speed values as commands directly to the specified process axes motors. The units of the speed value are user units. The relationship between the “user units” used in the SET ISDT SPEED instruction and the RPM at the motor shaft is defined by the following two quantities: • The gear ratio specified in the Process Axes Setup routine at CONTROLLED start • The scale factor specified in the Process Axes Setup menu. This relationship is defined in the following equation: 7–167 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Note Please see the Software Installation Manual for more information on setting the gear ratio for Process Axes, specifically the section entitled “Displaying, Modifying and Installing Process Axes.” Note Please see the “Basic Process Axes” section in the “Advanced Functions” chapter of this manual for more details on how to set the scale factor in the Process Axes Setup menu. Any properly setup process axes that are not specified in the SET ISDT SPEED instruction will not be affected by the instruction; they will continue operating at their current speed. The syntax of the instruction is shown in figure Figure 7–111 . Figure 7–111. SET ISDT SPEED A...=... By default, when the SET ISDT SPEED instruction is first inserted, by default it has two fields, one for the axis number and one for the speed as shown in figure Figure 7–111 . Additional fields may be added by pressing F1 ADD AX. This creates an additional set of axis and speed fields as shown: 1: SET ISDT SPEED A...=...,A...=... The cursor can then be moved to any of the fields and integer data can be entered. Additional fields can be added in this way, up to a total of eight sets of axis and speed data in a single instruction. Note If an axis number is specified that does not correspond to a valid, properly setup process axes, then an ISDT-012 alarm will be posted at run time. 7–168 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Note If the same axis number is specified in multiple fields on the same instruction line, then an ISDT-013 alarm will be posted at run time. Note The speed value cannot be a negative number. If negative speed is desired, either indirect (i.e. numeric register) must be used for the speed value, or a negative scale factor should be set up. 7.9.3 STOP ALL ISDT Instruction The STOP ALL ISDT instruction, when executed, will send a zero speed value to all process axes that are properly setup in the controller. This instruction does not have any arguments. 7.10 BRANCHING INSTRUCTIONS 7.10.1 Overview Branching instructions cause the program to branch, or jump, from one place in a program to another. There are three kinds of branching instructions: • Label definition instruction • Unconditional branching instructions • Conditional branching instructions 7.10.2 Label Definition Instruction LBL[x] A label marks the location in a program that is the destination of a program branch. A label is defined using a label definition instruction. A comment can be added to describe the label. After a label has been defined, it can be used with conditional and unconditional branching instructions. See Figure 7–112 . Figure 7–112. LBL[x] 7–169 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.10.3 Unconditional Branching Instructions Unconditional branching instructions branch from one place in a program to another any time they are executed. There are two kinds of unconditional branching instructions: • Jump instructions - Cause the program to branch to a named label. • Sub program call instructions - Cause the program to branch to another program. JMP LBL[x] The JMP LBL[x] instruction causes the program to branch to the specified label. See Figure 7–113 . Figure 7–113. JMP LBL[x] CALL program The CALL program instruction causes the program to branch to another program and execute it. When the called program finishes executing, it returns to the main program at the first instruction after the call program instruction. See Figure 7–114 . Refer to Section 7.21 for information on program call parameters. Figure 7–114. CALL program Note When you enable an application process for a program, you are setting the application mask. The following rules dictate the kinds of programs you can CALL when application masks are used: • A program with an application mask set to NONE can CALL a program (using the program CALL instruction) that has an application mask set to a specific application (SpotTool+, HandlingTool, or DispenseTool). • A program with an application mask set to a specific application can CALL a program that has an application mask set to NONE or to the same application. • A program with an application mask set to a specific application cannot CALL a program that has a different application mask. 7–170 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Note If you have the Parameters for CALL Program option, you can include parameters in the CALL program instruction. Refer to Section 7.21 for more information. END The program end instruction signals the end of a program. See Figure 7–115 . Figure 7–115. Program End Instruction 7.10.4 Conditional Branching Instructions Conditional branching instructions branch from one place to another in a program, depending on whether certain conditions are true. There are two kinds of conditional branching instructions: • IF instructions - Branch to a specified label or program if certain conditions are true. There are register IF instructions and input/output IF instructions. • SELECT instructions - Branch to one of several jump or call instructions, depending on the value of a register. IF R[x] [operator] [value] [action] Register IF instructions compare the value contained in a register with another value and take an action if the comparison is true. See Figure 7–116 . Figure 7–116. Register IF Instruction 7–171 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D IF [I/O] [operator] [value] [action] Input/output IF instructions compare an input or output value with another value and take an action if the comparison is true. See Figure 7–117 to Figure 7–119 . Figure 7–117. I/O IF Instruction for DI/DO, RI/RO, SI/SO and UI/UO Figure 7–118. I/O IF Instruction for PL 7–172 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–119. I/O IF Instruction for R, AI/AO, GI/GO and System Variable For an IF instruction, conditions can be connected using AND or OR, as follows: • AND operator IF [cond1] AND [cond2] AND ..., [action] For example,1: IF R[1]=1 AND R[2]=2 AND DI[2]=ON,JMP LBL[2] • OR instruction IF[cond1] OR [cond2] OR ..., [action] For example,1: IF DI[10]=ON OR R[7]=R[8], JMPLBL[2] Note You cannot mix the AND and OR operators in the same operation. When you replace the operator between AND and OR, any operators taught in the same line are also replaced automatically and the following message is displayed. TPIF-062 AND operator was replaced to OR 7–173 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D TPIF-063 OR operator was replaced to AND The maximum number of logical conditions that can be taught in the same operation is 5. IF [cond1] OR [cond2] OR [cond 3] OR [cond4]OR [cond5], [action] (Maximum of five logical conditions) Mixed Logic IF Statement The following is an example of a mixed logic IF statement: IF (R[1] = (GI[1] + R[1]) * AI[1]), JMP LBL[1] IF (DI[1] AND (!DI[2] OR DI[3])), JMP LBL[1] • You can specify mixed logic expressions in the condition part of an IF statement. • The result of the IF statement must be boolean. • When the result of the expression is on, the action part of the statement, for example, JMP LBL, is executed. • The following statements can be used in the action part of an IF statement when mixed logic is used in the condition part: JMP LBL[ ] CALL Mixed Logic assignment statement Pulse statement • Mixed Logic assignment statements and Pulse statements can be specified in the action part of the IF statement only when the condition part is a Mixed Logic expression. See the following example: IF (DI[1]), DO[1]=(On) IF (DI[2]), DO[1]=Pulse • The maximum number of items (data or operators) in an IF statement is approximately 20. The exact maximum number of items varies according to data type. Refer to Section 7.18 for more information on mixed logic instructions. SELECT R[x] = [value1] [action]= [value2] [action]= [valueN] [action] ELSE [action] A select instruction compares the value of a register with one of several values and takes an action if the comparison is true: 7–174 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • If the value of the register equals one of the values, the jump or call instruction associated with that value is executed. • If the value of the register does not equal one of the values, the jump or call instruction associated with the word ELSE is executed. See Figure 7–120 . Figure 7–120. Select Instruction 7.10.5 Wizard to Input Arguments 7.10.5.1 Overview Wizard to input arguments allows you to use a wizard to teach call instruction arguments in any sequence. For example, there is a program called, "TRACKING". 1: CALL TRACKING(’CStn_Out_R1’,2,(-1),1,1,1) This program needs to be called with six arguments of a specific type and in the correct order. Using Wizard to input arguments, allows you to teach the arguments in any sequence. The argument description is also displayed. 1: CALL TRACKING(Area Name='CStn_Out_R1',VR num=2, : Timeout Time=(-1),Reg num timeout=1,NOT-CONSECUTIVE, : Model ID=1) 7–175 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.10.5.2 Preparation To use this function, you must prepare and load a text file (DT file) that includes information for the wizard. File Format The following is an example text (.DT) file. Figure 7–121. Example Text (.DT) File How to Write the Text File The text file details are described below. 1. [PROGRAM] Section • NAME is for the program name to call with arguments. (Max length is 36 characters) • ARGUMENT is the number of the argument. (Max. is 30.) 2. [ARGUMENT] Section • Basic writing style is | N(type of argument) 02(what number for argument) =(equal mark) "VR num"(displayed meaning of argument) • The number of (type of argument) is 4 types (N: Constant number, V: Macro definition, S: String, W: List of string) • (What number for argument) is from 01 to 30 • (Equal mark) is must • Max length for (displayed meaning of argument) is 15 characters, enclosed it double quotes. - In the case of V: Macro definition 7–176 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • Writing style is | V05 = "NOT-CONSECUTIVE"(macro definition name) :(colon) '1'(value) | • Max length for (macro definition name) is 15 characters. • Describe macro definitions as long as necessary after | =(equal mark) with each macro definition separated by a | ,(comma) |. • The number of definable macros for an argument is up to 35. • The details are explained later in the section called "Macro definition". - In the case of W: List of string • Writing style is | W04 = "NO_WELD"(string) | - Max length is 34 characters for (string). • Describe strings as long as necessary after | =(equal mark) with each string separated by a | ,(comma) |. • The number of string for an argument is up to 35. • Define the meaning of the string itself. 3. [ENDPROGRAM] • - End. • Write procedures from 1 to 3 additionally if it is needed. Up to 1000 different programs can be included in the .dt file. 4. Write procedures from 1 to 3 additionally if it is needed. • The number of describable program is up to 1000. 5. Place a comment within braces if necessary { } . Quote marks are used as follows. The following codes are prohibited to use for String enclosed in quotes " ": • comma (,) • semicolon (;) • colon (:) • single quotes (') • double quotes (") • Line feed code • Tab code Macro Definition Macros are used to define certain strings as a specific value. For example, it is described in the text file as follows. V03 = "MAX_SPD":'100', "NORMAL_SPD":'50', "SLOW_SPD":'10' 7–177 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D In this instance, '100' is passed as an argument if “MAX_SPD” is displayed in the field of the third argument on the EDIT programlisting. For example, ----------------------------------------------------------------------[PROGRAM] NAME = "HANDLING" ARGUMENT : '4' [ARGUMENT] N01 = "LINE" V02 = "SLOW":'1', "FAST":'2' V03 = "SMALL":'1', "NORMAL":'2', "BIG":'3' V04 = "MAX_LOAD":'10000', "NO_LOAD":'0' [ENDPROGRAM] ----------------------------------------------------------------------- If this text file is used, the following will be displayed on the Edit programlisting. ----------------------------------------------------------------------(Example) [ Display ] CALL HANDLING(LINE=3,SLOW,BIG,NO_LOAD) [ Process ] CALL HANDLING(3,1,3,0) ----------------------------------------------------------------------- The following integer is used for the macro: -16777216 ~ 16777216 ( -2^24 ~ 2^24 ) A decimal number is unusable for the macro definition. The same name or value cannot be used for an argument. The number of definable macros for an argument is up to 35. Change of Default Value The default value for N(Constant number) is 0, for S(String) is '…'(null string). You can change this default value for each argument. In the case of N(Constant number), :(colon) where: ----------------------------------------------------------------------[PROGRAM] {OFFSSET} NAME = "POS_OFFSET" ARGUMENT = '3' [ARGUMENT] N01 = "X-OFFSET":'10' N02 = "Y-OFFSET":'20' N03 = "Z-OFFSET":'30' [ENDPROGRAM] ----------------------------------------------------------------------- The specified default value is used when arguments are taught automatically, if you teach the call instruction while loading this text file. 7–178 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 1:CALL POS_OFFSET(X-OFFSET=10,Y-OFFSET=20,Z-OFFSET=30) By default, integer numbers within the following range can be used: -16777216 ~ 16777216 ( -2^24 ~ 2^24 ) Six significant figures are used in a decimal number. For example, 123.456 If the default value is described over six significant figures, it is truncated. Additionally, you can use the register or argument register as a default too. In that case, you describe :(colon) and (R) or (AR) as follows: N01 = "X-OFFSET":'10' N02 = "Y-OFFSET":(R) N03 = "Z-OFFSET":(AR) If you teach a call instruction in this state, a register or argument register is used as default: 1: CALL POS_OFFSET(X-OFFSET=10,Y-OFFSET=R[...], : Z-OFFSET=AR[...]) In the case of S(String), you describe :(colon) as follows: S01 = "Area Name":"Booth1" If you teach the call instruction as well as the case of S(String), the specified string is used as the default when arguments are taught automatically. Additionally, you can also use the string register or argument register as the default. In that case, :(colon) and (SR) or (AR) are described as follows: S01 = "Area Name":(SR) or S01 = "Area Name":(AR) File Name File name is fixed as ARGDISPEG01.DT. Where the configuration is "ARGDISP(fixed) + EG(language) + 01(serial number) + .DT(extension)" ARGDISP(fixed) : Common part EG(language) : language-specific where: - EG : English - KN : Japanese [Kanji] - GR : German - FR : French - SP : Spanish - CH : Chinese - TW : Taiwanese - CS : Czech - OT : Other 7–179 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 01(serial number) : Usable from 01 to 99 It is possible to load different serial number files all together. .DT(fixed extension) : Common part Note Japanese is not JP but KN. This is because there are two display styles for Japanese. JP is used for old software versions that use katakana. KN is used for current software versions where Kanji (2 byte character) is used. How to Load a Text File Use the following procedure to load the text file. 1. Create the text file on the MC: (Memory Card). 2. Move the cursor to the file in the File programlisting, and select F3, [LOAD]. 3. Cycle power. Save and Load a Text File as a Backup The text file is backed up and restored as follows: (Backup) - At the File programlisting, select F4, [BACKUP] and “All of above” or “Application” in Cold start. (Restore) - At the File programlisting, select F4, [RESTORE] and “All of above” or “Application” in Controlled start. Alarm for Failure to Read Text File If content of the loaded text file is not formatted correctly, it will not be read. An alarm such as “FILE-095 (ARGDISPEG01.DT) is not loaded.” is posted and recorded in the alarm history. View the cause of the failure in related alarm messages displayed on the alarm history programlisting. The following alarm messages can be displayed: FILE-095 (ARGDISPKN01.DT) is not loaded : File name to fail to read FILE-096 on line n, xxx : The line (n) and characters or value (xxx) to fail to read FILE-097 Out of memory : Out of Temporary memory to be required FILE-098 Over 1000 programs : Over the maximum programs FILE-099 Wrong end of file : End of file not after [ENDPROGRAM] FILE-100 Wrong tag/item/character code : Miss of tag, item or character code FILE-101 Over 35 definitions : Over the maximum definitions of macro or list of string FILE-102 Over limit value : Over the maximum value for macro definition or default value for Constant number 7–180 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.10.5.3 Editing Use the following procedure to teach the call instruction arguments. Procedure 7-6 Teaching of Arguments 1. . Input a CALL statement and select the program that is described in the text file. 1: CALL ... [END] 2. Next, the arguments are taught automatically. (The default value is 0 or '…' (null string). For a macro definition or list of strings, the first item is set.) The argument descriptions are displayed in each field as follows. 1: CALL TRACKING(Area Name='...',VR num=0, : Timeout Time=0,Reg num timeout=0,NOT-CONSECUTIVE, : Model ID=0) [END] 3. Change of value The appearance is changed, but the input operation is not changed 1: CALL TRACKING(Area Name='CStn_Out_R1',VR num=0, : Timeout Time=0,Reg num timeout=0,NOT-CONSECUTIVE, : Model ID=0) [END] | | | v Input Value 1: CALL TRACKING(Area Name='CStn_Out_R1',2 , : Timeout Time=0,Reg num timeout=0,NOT-CONSECUTIVE, : Model ID=0) [END] | | | v Push “Enter” 1: CALL TRACKING(Area Name='CStn_Out_R1',VR num=2, : Timeout Time=0,Reg num timeout=0,NOT-CONSECUTIVE, : Model ID=0) [END] 7–181 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Submenu For Editing The sub menu is displayed when F4, [CHOICE] is pressed while the cursor is on an argument. The sub menu items displayed next are different. 1. Argument is N (Constant number) Constant, Register and Argument register are displayed as items on the submenu. 2. Argument is V (Macro definition) Strings that are defined as macros are displayed as items on the submenu. 3. Argument is S (String) String, String register and Argument registers are displayed as items on the submenu. 7–182 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 4. Argument is W (list of String) The list of strings is displayed as items on the submenu. Note Up to 15 characters can be displayed as items on the submenu. And over 15 characters can be used for the list of string. If over 15 characters are used, the first 13 characters and '..' (two colons) are displayed as items on the submenu. For example) ”PAINT_APPLICATION” -> “PAINT_APPLICA..” Teaching Arguments Automatically When you teach the CALL instruction and select the program that is written in the Text file, arguments are automatically set with the default value (See "Teaching of Arguments"). If you change the program name of the CALL instruction, arguments are taught. The default value is set for each argument also as follows. 1: CALL TRACKING(Area Name='CStn_Out_R1',VR num=2, : Timeout Time=(-1),Reg num timeout=1,NOT-CONSECUTIVE, : Model ID=1) | | | v Change the program name from TRACKING to POS_OFFSET 1: CALL POS_OFFSET(X-OFFSET=10,Y-OFFSET=20,Z-OFFSET=30) 7–183 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D If the called program name is changed to the another program name that is not described in text file, Wizard to input arguments is disabled and the previous argument value(s) will be restored. 7.10.5.4 Handling of Multiple Languages The text file (DT file) is needed to be prepared for each language. The text file is read by the current language setting on start-up. If the current language is switched and the text files of multiple languages is loaded, controller power must be cycled for the new language file to be read. The Text file for the current language must exist for Wizard to input arguments to operate properly. 7.10.5.5 Save and Upload of ASCII Files If you save a TP program as an ASCII file (LS file) when Wizard to input arguments is enabled, the meaning of argument is enclosed by " "(double quotes). [For example : VR num=2 > "VR num"=2]. And in case of macro definition, not only macro definition name is enclosed by " ", but also the defined value is described as | =(value) |. [For example : NOT-CONSECUTIVE > "NOT-CONSECUTIVE"=1] 1: CALL TRACKING(Area Name='CStn_Out_R1',VR num=2, : Timeout Time=(-1),Reg num timeout=1,NOT-CONSECUTIVE, : Model ID=1) | | | v Save as ASCII file 1: CALL TRACKING("Area Name"='CStn_Out_R1',"VR num"=2, : "Timeout Time"=(-1),"Reg num timeout"=1, : "NOT-CONSECUTIVE"=1,"Model ID"=1) You can upload this ASCII file if the ASCII upload option is loaded. The argument description enclosed in quotes ( " ") is ignored when the ASCII file is uploaded. Therefore, you can upload the ASCII file without considering whether the language is set correctly or the text file is loaded in advance. Note Wizard to input arguments and the process to ignore the argument description enclosed by quotes (" ") is supported only in 7DC3(V8.30) and later. An ASCII file that includes an argument description enclosed in quotes ( “ “) will cause the process to fail in versions released before 7DC3(V8.30). 7–184 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.10.5.6 Mode Selection You can change the mode of Wizard to input arguments using the system variable $ARGDISPMODE, as follows: 0 : Wizard to input arguments is disabled. 1 : Wizard to input arguments is enabled. (Default) 2 : Wizard to input arguments is enabled and the value of macro definition is displayed. ----------------------------------------------------------------------------(Example) [ $ARGDISPMODE=0 ] CALL HANDLING(3,1,3,0) [ $ARGDISPMODE=1 ] CALL HANDLING(LINE=3,SLOW,BIG,NO_LOAD) [ $ARGDISPMODE=2 ] CALL HANDLING(LINE=3,SLOW=1,BIG=3,NO_LOAD=0) ----------------------------------------------------------------------------- The change of the mode is reflected after power is cycled. 7.11 COLLISION GUARD INSTRUCTIONS (OPTION) You can use the Collision Guard instructions to control Collision Guard during programmed motion. COL DETECT ON COL DETECT OFF By default, Collision Guard is enabled. • Todisable Collision Guard, include the COL DETECT OFF instruction in a teach pendant program. • Toenable Collision Guard that has been disabled previously, include the COL DETECT ON instruction in a teach pendant program. Since Collision Guard is always enabled by default, you need to use the COL DETECT ON instruction only if you have previously used the COL DETECT OFF instruction. 7–185 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D See Example of Collision Guard Instructions for an example of how to use these instructions in a teach pendant program. Example of Collision Guard Instructions 10: 11: 12: 13: 14: 15: 16: J P[1] 100% FINE COL DETECT OFF L P[2] 2000mm/sec CNT100 L P[3] 2000mm/sec CNT100 L P[4] 2000mm/sec CNT100 COL DETECT ON J P[5] 50% FINE 7.12 CONDITION MONITOR INSTRUCTIONS The condition monitor function monitors the condition of an I/O signal, register value, or alarm status, during teach pendant program execution. As soon as the condition is triggered, the specified teach pendant program is executed and interrupts the current program. Condition monitor instructions are used to control the monitoring of conditions when a program is running. There are three condition monitor instructions used for program monitoring: • MONITOR <program> • MONITOR END <program> • WHEN <condition> CALL <program> MONITOR This instruction starts monitoring the conditions taught in the specified condition program (ch sub type). See Figure 7–122 Figure 7–122. MONITOR Instruction 7–186 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS MONITOR END This instruction stops monitoring the conditions taught in the specified condition program (ch sub type). See Figure 7–123 . Figure 7–123. MONITOR END Instruction WHEN <condition> CALL <program> This instruction defines the conditions for which to monitor. You include WHEN instructions within your condition (ch sub-type) programs. WHEN instructions are the only instructions available when you create condition programs. See Figure 7–124 through Figure 7–127 . In a condition handler program, you can teach multiple WHEN instructions as follows. Multiple WHEN Instructions in a Condition Handler Program 1: WHEN 2: WHEN 3: WHEN <cond1> <cond2> <cond3> CALL CALL CALL <program1> <program2> <program3> You can connect the multiple conditions using AND/OR as follows. Connecting Multiple Conditions using AND/OR 1: WHEN 2: WHEN <cond1> <cond1> AND <cond2> CALL <program1> OR <cond2> OR <cond3> CALL <program2> Note You cannot use both AND and OR in the same WHEN instruction. Figure 7–124. Condition for Register, System Variable, and I/O Parameters 7–187 7. PROGRAM INSTRUCTIONS Figure 7–125. Condition2 for I/O 7–188 MAROUAR9102171E REV D MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–126. Condition2 for I/O Figure 7–127. Condition for Error Status ERROR NUMBER ERR_NUM = aaabbb aaa : Error facility code (decimal); Refer to the “Error Codes and Recovery” appendix in the Setup and Operations Manual. .bbb : Error number (decimal) Example: WHEN ERR_NUM=11006, CALL PROG_A This means "SRVO-006 Hand broken" error because the SRVO facility code is 11. If 0 is specified as error number "aaabbb," whenever any error occurs, the condition is satisfied. 7–189 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.13 FOR/ENDFOR INSTRUCTIONS The FOR/ENDFOR instruction is a function that repeats a loop within FOR and ENDFOR instructions a specified number of times. 7.13.1 Overview FOR/ENDFOR instructions have two INSTRUCTIONs: FOR instruction and ENDFOR instruction. • FOR instruction - start of FOR/ENDFOR loop • ENDFOR instruction - end of FOR/ENDFOR loop INSTRUCTIONs within FOR and ENDFOR instructions are repeated. The number of times to repeat is determined by the specified values in the FOR instruction. 7.13.2 FOR/ENDFOR Instruction Specification 7.13.2.1 Form of FOR Instruction The form of FOR instruction is as follows. Register is used for the Loop counter. Constant, Register, and Argument Register is used for the Initial value. For Constant, an integer whose range is –32767 to 32767 can be specified. Constant, Register, and Argument Register is used for the Target value. For Constant, the integer whose range is –32767 to 32767 can be specified. 7–190 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.13.2.2 FOR Instruction Execution When the FOR instruction is executed, the Initial value is substituted into the Loop counter. The following condition should be satisfied to execute the FOR/ENDFOR loop. • When TO is specified, Initial value is equal to or smaller than Target value. • When DOWNTO is specified, Initial value is equal to or larger than Target value. When this condition is not satisfied, the cursor moves to the next line of the combined ENDFOR instruction and the FOR/ENDFOR loop is not executed. The FOR instruction is executed only once in the FOR/ENDFOR loop. 7.13.2.3 Form of ENDFOR Instruction The form of ENDFOR instruction is as follows. 7.13.2.4 ENDFOR Instruction Execution The FOR/ENDFOR loop is repeated as long as the following condition is satisfied. • When TO is specified, the value of Loop counter is smaller than Target value. • When DOWNTO is specified, the value of Loop counter is larger than Target value. When this condition is satisfied and TO is specified, the value of Loop counter is incremented. When this condition is satisfied and DOWNTO is specified, the value of the Loop counter is decremented. And after that, the cursor moves to the next line of the combined FOR instruction. When this condition is not satisfied, the cursor moves to next line and the FOR/ENDFOR loop is not repeated. Note An internal delay is used when the FOR/ENDFOR loop is executed repeatedly. Therefore, a WAIT instruction is not necessary in the FOR/ENDFOR loop to repeat the loop. 7.13.3 Teach FOR/ENDFOR Instruction 7.13.3.1 How to teach the FOR/ENDFOR Instruction How to teach FOR/ENDFOR instruction is as follows. 7–191 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Procedure 7-7 Teach FOR/ENDFOR Instruction 1. In this example, insert blank lines in line 1 and 5. 2. Move the cursor to line 1 and press F1, [INST]. 3. Select FOR/ENDFOR. 4. Select FOR. The FOR instruction is taught. 5. The cursor automatically moves to the index of the register. Input the value of the index. In this example, input 1. 7–192 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 6. The cursor automatically moves to Initial value part. In this example, Constant is selected and the value is 1. To choose register or argument register, press F4, [CHOICE] and select one of them. 7. The cursor automatically moves to TO/DOWNTO part. In this example, press ENTER. To choose DOWNTO, press F4, [CHOICE] and select DOWNTO. 7–193 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 8. The cursor automatically moves to Target value part. In this example, select R[]. Input 2 for the index of the register. 9. Move the cursor to line 5 and press F1, [INST]. 10. Select FOR/ENDFOR. 11. Select ENDFOR. ENDFOR instruction is taught. 7–194 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.13.3.2 FOR/ENDFOR instruction Combination FOR and ENDFOR instructions are automatically combined after teaching. The closest FOR instruction and ENDFOR instruction are combined. By teaching FOR/ENDFOR instructions additionally in FOR/ENDFOR loop, nested loops can be formed. Up to 10 nested loops can be formed. However, teaching more than 10 nested loops causes an alarm in execution. The number of FOR instruction and ENDFOR instruction in a program should be the same. When the number is not the same, an alarm occurs in execution. Alarms related to FOR/ENDFOR function are described in Section 7.13.5 . How to combine FOR and ENDFOR instructions is described in the following example. Teach FOR instruction in line 1. In this case, the number of FOR instruction and ENDFOR instruction is not the same. Therefore, if this program is executed, the alarm “INTP-670 Need ENDFOR for FOR in line 1” occurs. Teach ENDFOR instruction in line 6. FOR/ENDFOR loop is formed by FOR instruction in line 1 and ENDFOR instruction in line 6. 7–195 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Teach FOR instruction in line 3. In this case, the number of FOR instruction and ENDFOR instruction is not the same. Therefore, if this program is executed, the alarm “INTP-670 Need ENDFOR for FOR in line 1” occurs. Teach ENDFOR instruction in line 8. The closest FOR instruction and ENDFOR instructions are combined. Therefore, the first FOR/ENDFOR loop is formed by FOR instruction in line 3 and ENDFOR instruction in line 6, and the second FOR/ENDFOR loop is formed by FOR instruction in line 1 and ENDFOR instruction in line 8. In this example, 2 nested loops are formed. Note Please be careful not to use the same register number as Loop counters in the same nested loop. It might cause abnormal behavior. 7–196 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.13.4 Execution examples 7.13.4.1 Backward execution Backward execution is prohibited on FOR/ENDFOR instructions. However, backward execution on instructions within FOR/ENDFOR loop is allowed. In the following example, when backward execution is started from line 1 or 5, the alarm “INTP-238 BWD execution completed” occurs. On the other hand, backward execution can be done when started from line 2, 3, 4 or 6. 7.13.4.2 Examples The examples of FOR/ENDFOR instruction are described with the following program. Case 1: R[2]=3 TO is specified and Initial value is smaller than Target value. Therefore, the condition of FOR instruction is satisfied. As the value of Loop counter changes from 1 to 3, the condition of ENDFOR instruction is satisfied and FOR/ENDFOR loop is repeated three times. 7–197 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Case 2: R[2]=1 TO is specified and Initial value is equal to Target value. Therefore, the condition of FOR instruction is satisfied. However, as the value of Loop counter is equal to Target value, the condition of ENDFOR instruction is not satisfied. Therefore, FOR/ENDFOR loop is executed only once. Case 3: R[2]=0 TO is specified and Initial value is larger than Target value. Therefore, the condition of FOR instruction is not satisfied. The cursor moves to the next line of combined ENDFOR instruction, that is, line 6 and FOR/ENDFOR loop is not executed. Other examples Start within FOR/ENDFOR loop: R[1]=0 When the following program is executed from line 3 and R[1]=0, the condition of ENDFOR instruction is satisfied. Therefore, FOR/ENDFOR loop is repeated 4 times (0 to 3). 7–198 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Start within FOR /ENDFOR loop: R[1]=5 When the following program is executed from line 3 and R[1]=5, the condition of ENDFOR instruction is not satisfied. Therefore, FOR/ENDFOR loop is not repeated. JMP/LBL instructions exist within FOR/ENDFOR loop: In the following program, JMP/LBL instructions exist within the FOR/ENDFOR loop. The cursor moves from line 3 to line 7 by JMP instruction. FOR/ENDFOR loop between line 1 and 4 is not executed. As line 7 is also within the FOR/ENDFOR loop and the condition of ENDFOR instruction in line 8 is satisfied, FOR/ENDFOR loop between lines 5 and 8 is repeated. Finally, the value of R[1] is equal to 1 and R[2] is equal to 2. Note Please be careful when you use JMP/LBL within FOR/ENDFOR loop. Before you use them, please consider how the loop works. Otherwise, it might cause fatal errors. 7–199 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D The Loop counter value is modified within FOR/ENDFOR loop: Loop counter can be modified within the FOR/ENDFOR loops. In the following example, when DI[1] = ON, R[1] is changed to 11. As this value is larger than Target value, this FOR/ENDFOR loop is finished. Note Please be careful when you modify Loop counter value within FOR/ENDFOR loop. Changing Loop counter value within FOR/ENDFOR loop may cause an abnormal behavior or infinite loops. Please be careful when you modify Target value within FOR/ENDFOR loop when register or argument register is specified for them. Changing the value within FOR/ENDFOR loop might cause an abnormal behavior. The Loop counter value is calculated within FOR/ENDFOR loop: In the following example, FOR/ENDFOR loop counter is calculated. After execution, Loop counter value will be 11. Loop counter value is different from Target value. However, this result is correct. This is explained as follows. Line 1, R[1] is 6 (Initial value). Line 5, R[1] is 7. Line 6, R[1] is 7 and this satisfies the ENDFOR condition. R[1] is incremented to be 8. Line 5, R[1] is 9. Line 6, R[1] is 9 and this satisfies the ENDFOR condition. R[1] is incremented to be 10. Line 5, R[1] is 11. Line 6, R[1] is 11 and this does not satisfy the ENDFOR condition. The cursor goes to next line. This means the user can calculate Loop counter, but need to be careful that the Loop counter value is 7–200 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS different from Target value. Note In some cases, calculating Loop counter causes an alarm. This problem can be avoided by using DIV just before FOR/ENDFOR instruction or input the same value in DATA screen. Especially when you calculate with real value use division, please make sure to use DIV. R[1]=R[1] DIV 1 7.13.5 Alarms Alarms occur in the following conditions with FOR/ENDFOR function. • Execute when the number of FOR instruction is smaller than ENDFOR instruction • Execute when the number of ENDFOR instruction is smaller than FOR instruction • Execute when there is over 10 nested loops • Other than integer is used for Initial value or Target value in FOR instruction • Other than integer is used for the value of Loop counter or Target value in ENDFOR instruction • Execute when the number of FOR instruction is smaller than ENDFOR instruction Execute the following program. As FOR instruction for ENDFOR instruction in line 5 does not exist, the alarm “INTP-669 Need FOR for ENDFOR in line 5” occurs in execution. • Execute when the number of ENDFOR instruction is smaller than FOR instruction Execute the following program. As ENDFOR instruction for FOR instruction in line 1 does not exist, the alarm “INTP-670 Need ENDFOR for FOR in line 1” occurs in execution. 7–201 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Execute when there are over 10 nested loops The alarm “INTP-671 Too many FOR” occurs in execution. • Other than integer is used for Initial value or Target value in FOR/ENDFOR instruction • Other than integer is used for the value of Loop counter or Target value in ENDFOR instruction Execute the following program. As the value of the register for Target value in FOR instruction in line 2 is not integer, the alarm “INTP-672 (program, 2) Value type is not integer” occurs when line 2 is executed. In other cases, calculating the Loop counter, Initial value or Target value may cause the same alarm. Note In some cases calculating a register used for Loop counter or Target value causes the alarm above even though the result and the value displayed in DATA screen is integer. This problem can be avoided by using DIV as follows just before FOR/ENDFOR instruction or input the same value in DATA screen. Especially when you calculate with real value using division, please make sure to use DIV. R[1]=R[1] DIV 1 7–202 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.14 INPUT/OUTPUT INSTRUCTIONS 7.14.1 Overview Input/output, or I/O, instructions allow the program to turn on and off output signals and receive input signals. There are several kinds of I/O instructions: • Digital input and output instructions • Robot digital input and output instructions • Analog input and output instructions • Group input and output instructions • Welding Input and output instructions Note I/O instructions are initiated immediately after completion of the previous instruction. The format of the I/O instructions in the TP editor is controlled by three items in the [EDCMD] pull-up menu. • Comment • IO Status • Color 7.14.2 Digital Input and Output Instructions Digital input (DI) and digital output (DO) signals are user-controlled input and output signals. Use digital input and output instructions to control digital input and output signals in a program. Refer to the “Input/Output (I/O) Setup” chapter in the Setup and Operations Manual. R[x] = DI[x] The R[x] = DI[x] instruction stores the condition of a digital input signal line (ON=1, OFF=0) in a register. See Figure 7–128 . Figure 7–128. R[x] = DI[x] 7–203 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D DO[x] = ON/OFF The DO[x] = ON/OFF instruction turns on or off the specified digital output signal. See Figure 7–129 . Figure 7–129. DO[x] = ON/OFF DO[x] = PULSE [,width] The DO[x]=PULSE [,width] instruction turns on the digital output signal for the time specified. See Figure 7–130 . Figure 7–130. DO[x] = PULSE [,width] DO[x] = R[x] The DO[x] = R[x] instruction turns on or off the specified digital output signal based on the value of the register. A value of 0 turns the specified digital output OFF. All values except zero turn the specified digital output ON. See Figure 7–131 . 7–204 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–131. DO[x] = R[x] 7.14.3 Robot Digital Input and Output Instructions Robot digital input (RI) and robot digital output (RO) signals are used to communicate between the controller and the robot. Refer to the “Input/Output (I/O) Setup” chapter in the Setup and Operations Manual. R[x] = RI[x] The R[x] = RI[x] instruction stores the condition of specified robot digital input signal (ON=1, OFF=0) in a register. See Figure 7–132 . Figure 7–132. R[x] = RI[x] RO[x] = ON/OFF The RO[x] = ON/OFF instruction turns on or off the specified robot digital output signal. See Figure 7–133 . Figure 7–133. RO[x] = ON/OFF 7–205 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D RO[x] = PULSE [,width] The RO[x]=PULSE [,width] instruction turns on the specified robot digital output signal for the time specified. See Figure 7–134 . Figure 7–134. RO[x] = PULSE [,width] RO[x] = R[x] The RO[x] = R[x] instruction turns on or off the specified robot digital output signal based on the value of the register (1=ON, 0=OFF). See Figure 7–135 . Figure 7–135. RO[x] = R[x] 7.14.4 Analog Input and Output Instructions Analog input (AI) and analog output (AO) signals are continuous input and output signals whose magnitudes indicate data values, such as temperatures and voltages. Refer to the “Input/Output (I/O) Setup” chapter in the Setup and Operations Manual. 7–206 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS R[x] = AI[x] The R[x] = AI[x] instruction stores the value on an analog input channel in a register. See Figure 7–136 . Figure 7–136. R[x] = AI[x] AO[x] = value The AO[x]=value instruction sends a value on an analog output channel. See Figure 7–137 . Figure 7–137. AO[x] = value 7.14.5 Group Input and Output Instructions Group input (GI) and group output (GO) signals are several digital input and output signals that have been assigned to a group, can be read as a binary number, and can be controlled by one instruction. Refer to the “Input/Output (I/O) Setup” chapter in the Setup and Operations Manual. R[x] = GI[x] The R[x] = GI[x] instruction places the decimal value of the binary number on the specified group input into the specified register. See Figure 7–138 . 7–207 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–138. R[x] = GI[x] GO[x] = value The GO[x]=value instruction sends the binary equivalent of a value on the specified group output lines. See Figure 7–139 . Figure 7–139. GO[x] = value 7.14.6 Welding Input and Output Instructions Welding input (WI) and welding output (WO) signals are user-controlled input and output signals. Use welding input and output instructions to control welding input and output signals in a program. R[x] = WI[x] The R[x] = WI[x] instruction stores the condition of a welding input signal line (ON=1, OFF=0) in a register. See Figure 7–140 . 7–208 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–140. R[x] = WI[x] WO[x] = ON/OFF The WO[x] = ON/OFF instruction turns on or off the specified welding output signal. See Figure 7–141 . Warning WO[1] controls the contactor closure on the power supply. Make sure you use this instruction carefully; otherwise, the hot weld wire can injure personnel and damage equipment. Figure 7–141. WO[x] = ON/OFF WO[x] = PULSE [,width] The WO[x]=PULSE [,width] instruction turns on the welding output signal for the time specified. See Figure 7–142 . Figure 7–142. WO[x] = PULSE [,width] 7–209 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D WO[x] = R[x] The WO[x] = R[x] instruction turns on or off the specified welding output signal based on the value of the register. A value of 0 turns the specified welding output OFF. All values except zero turn the specified welding output ON. See Figure 7–143 . Figure 7–143. WO[x] = R[x] 7.14.7 Input and Output Instruction Format All of the I/O instructions discussed in the previous sections can either be displayed in a concise format or, if you prefer, you can enhance the format with: • Comment • IO Status • Color These three display options can be selected in the [EDCMD] pull-up menu using the F5 function key. Selecting an item in the menu will toggle the feature ON and OFF. These three display options can be used together or independently. Comments A comment string can be added to an I/O signal in the I/O screen. You can display comments in the editor by selecting the Comment item in the [EDCMD] menu. Figure 7–144 shows the same program with Comments OFF and ON. 7–210 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Figure 7–144. Comment OFF and ON Note The Register instruction on Line 6 also has a comment. Comments can be added to Registers in the Data Registers screen. IO Status A Digital I/O signal has a state of ON or OFF. This can be observed in the Digital I/O screens. An Analog or Group I/O signal also has a value, and it can be viewed in the corresponding I/O screens. The status or value of these signals can also be displayed in the I/O instructions in the TP editor. You can enable or disable this feature by selecting the IO Status item in the [EDCMD] menu. Figure 7–145 shows the same program with IO Status OFF and ON. Figure 7–145. I/O Status OFF and ON Figure 7–146 adds comments to the examples above. 7–211 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Figure 7–146. Comments and Status ON Color Color can be used by some TP instructions. The ON and OFF states of Digital I/O can be displayed with Green and Red background colors, respectively. The I/O value of Analog and Group I/O signals can be highlighted with a yellow background. This is shown below in Figure 7–147 . Figure 7–147. Color ON 7.15 MACRO COMMAND INSTRUCTION The macro command instruction specifies the macro command to be executed when the program is run. A macro command is a separate program that contains a series of instructions to perform a task. 7–212 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS You can define as many as 20 to 99 macro commands, depending on how your system was set up. See Figure 7–148 . Figure 7–148. Macro Command Instruction Refer to the “General Setup” chapter of this manual for information on how to set up and execute macro commands. Refer to Section 7.21 for information on macro instruction parameters. Note When using Parameters for Macros, you can include parameters in the macro command instruction. Refer to Section 7.21 for more information. 7.16 MATH FUNCTION INSTRUCTIONS • The Math function option (J593) allows you to calculate math functions (ex: SIN COS and so on) in the TP program. • The Math function instruction can be used in an assignment statement, conditional statement and wait command. 7.16.1 Type of Math Functions Usable instructions of math functions are as follows. Table 7–13. Usable instruction of math function Function Explanation Restriction of Argument SQRT[x] Square root 0 <= x SIN[x] None COS[x] None TAN[x] Except 90,270±360n ASIN[x] -1 <= x <= 1 Trigonometric Function Units are Degrees ACOS[x] -1 <= x <= 1 ATAN[x] None ATAN2[x,y] Except x=0,y=0 7–213 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Table 7–13. Usable instruction of math function (Cont'd) Function Explanation Restriction of Argument LN[x] Natural Logarithm 0<x EXP[x] Exponent None ABS[x] Absolute None TRUNC[x] Truncate -2.1*10^9 <= x <=2.1*10^9 ROUND[x] Round off -2.1*10^9 <= x <=2.1*10^9 • Units of aforementioned functions are degrees. • Conversion functions are not supported because the user can achieve them by multiplying a constant value(57.29579 or 0.017453 based on requirement). 7.16.2 Instruction Format of Math Function Instruction type of math functions is explained in the following example. 7.16.2.1 Instruction Format of Assignment Statements • The function which only has one argumentExcept of ATAN2[ ] • The function which has two argumentsATAN2[ ] 7–214 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • The argument of math functions is “Register “ and “Argument Register.” • Constant is not used directly. 7.16.2.2 Instruction Format of Relational Statements • A mixed logic instruction expression can be used in the conditional statement of a conditional branch command. • If the result of a conditional statement is ON, the executable statement of the conditional branch command is executed. • The argument of math functions is “Register “ and “Argument Register.” • A Constant is not used directly. 7.16.2.3 Instruction Format of Wait Command Statements • A mixed logic expression can be specified in the conditional statement of a wait command. 7–215 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • Wait until the specified condition is satisfied. • The argument of math functions is “Register “ and “Argument Register.” • A Constant is not used directly. 7.16.3 Function Specification of Math Functions 7.16.3.1 Square Root (SQRT) Function name: SQRT[X] Argument: A positive integer or a positive real value to calculate square root. This function calculates the positive square root of the argument. Example: Execute this TP program then, If the argument is minus value, then the following error occurs. 7.16.3.2 Trigonometric Function (SIN) Function name: SIN[X] Argument: An angle to calculate SIN (in degree). An integer or a real value. This function calculates sine of the argument. Example: Execute this TP program then, 7–216 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.16.3.3 Trigonometric Function (COS) Function name: COS[X] Argument: An angle to calculate COS (in degree). An integer or a real value. This function calculates cosine of the argument. Example: Execute this TP program then, 7.16.3.4 Trigonometric Function (TAN) Function name: TAN[X] Argument: An angle to calculate TAN (in degree). An integer or a real value. This function calculates tangent of the arguments. Example: Execute this TP program then, If the argument equals to 180*n+90 and execute, then the following Error will be posted. 7–217 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.16.3.5 Inverse Trigonometric Function (ASIN) Function name: ASIN[x] Argument: An integer or a real value to calculate ASIN. (Return value is degree.) This function calculates arc sine of the argument. Example: Execute this TP program then, If the argument ranges are x>1 or x<-1 and execute program, then the following Error will be posted. 7.16.3.6 Inverse Trigonometric Function (ACOS) Function name: ACOS[x] Argument: An integer or a real value to calculate ACOS. (Return value is degree.) This function calculates arc cosine of the argument. Example: Execute this TP program then, If the argument ranges are x>1 or x<-1 and execute program, then the following Error will be posted. 7–218 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.16.3.7 Inverse Trigonometric Function (ATAN2) Function name: ATAN2[x,y] 1st argument: x coordinates of the point to calculate ATAN2. An integer or a real value. 2nd argument: y coordinates of the point to calculate ATAN2. An integer or a real value. This function calculates arc tangent of the 1st and 2nd arguments. (Return value is degree.) Example: Execute this TP program then, 7.16.3.8 Inverse Trigonometric Function (ATAN) Function name: ATAN [x] Argument: An integer or a real value to calculate ATAN. Example: Execute this TP program then, 7.16.3.9 Exponent Function name: EXP[x] Argument: An integer or a real value to calculate EXP. This function calculates a value equal to e (approximately 2.71828) raised to the power specified by the argument. Example: 7–219 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Execute this TP program then, 7.16.3.10 Natural Logarithm Function name: LN[x] Argument: An integer or a real value to calculate LN. This function calculates the natural logarithm of the argument. Example: Execute this TP program then, If the argument is x <= 0 and the program execute, then the following Error will be posted. 7.16.3.11 Absolute (ABS) Function name: ABS[x] Argument: An integer or a real value to calculate ABS. This function calculates the absolute value of the argument. Example: 7–220 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS Execute this TP program then, 7.16.3.12 Truncate (TRUNC) Function name: TRUNC[x] Argument: A real value to calculate TRUNC. This function converts the real argument to an integer by removing fractional part of the real value. Example: Execute this TP program then, 7.16.3.13 Round Off (ROUND) 7–221 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.16.4 Background Operation of Math Function Math function instructions are part of the mixed logic instruction. Then Math function instruction can be used in background operation. Table 7–14. Background operation of math function Mode Maximum Allowable Number of Items Scanning Time Available Data Available Operators Standard mode No restriction (Number of items in standard mode / 300-Number of items in high-level mode)*ITP The number of items as used here refers to the total number of items in each mode background operation programs. One ITP is usually eight milliseconds. SIN, COS, TAN, ASIN, ACOS, ATAN, ATAN2, SQRT, LN, EXP, ABS, TRUNC, ROUND (,), =, <>, <, <=, >, >=, +, -, *, /, DIV, MOD High-level mode 270 Eight milliseconds. • The scanning time of Math function is 2 or 3 times of normal items, because Math function instruction needs more time to calculate. • The scanning time of ATAN2 instruction is 3 times of normal items. • The other math function instructions of scanning time are 2 times of normal items. 7.16.5 Teach Math Function Instruction Math function can be used in mixed logic instruction. As an example, the teaching process of following statement is as follows. Procedure 7-8 Examples of Teaching Math Function 1. Press F1 key(INST). 2. Select Register. 7–222 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 3. Select mixed logic instructions “…=(…)”. 4. Select register “R[ ]”. Then the cursor moves in the square bracket. 5. Input index 1. 6. Then the cursor moves to the right side of equal sign. 7. Select “SIN[ ]”. 7–223 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 8. Then the cursor moves in the square bracket. And the default value R[…] is selected. Arguments are “Register “ and “Argument Register”. (Not Constant) The “Register” is default value of argument. So to use “Argument Register”, press F3(CHOICE) then select “Argument Register”. 9. For example Register[2] is used here. Input value 2 then the cursor moves to the right parentheses. 10. Move cursor to finish teaching. 11. Teaching of SIN[R[2]] function completed. 7.16.6 Restriction of Teaching Math Function • The argument of math functions is “Register “ and “Argument Register”. • Constant is not used directly. • If the user wants to use constant, input constant to a register, and use the register. • You can put multiple math functions in a single line. • You cannot put math functions in a math function. The following statements are supported. 7–224 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS The following statements are not supported. • Math function might have a negligible calculation error of 10-7 due to internal calculation error because math function follows the same specification of KAREL Built-Ins. • For example the result of COS[R[1]] (when R[1]=90), may be 10-8 that is not exactly zero. This behavior can be avoided by rounding off the result using ROUND function. 7.16.7 Exceptions and Restriction Math function instruction posts the alarm in the following conditions. • When the argument exceeds the domain of function definition. Example :LN[R[1]] (R[1] = -1) :ASIN[R[2]] (R[2] = 10) :SQRT[R[3]] (R[3] = -4) :TAN[R[4]] (R[4] = 90) • The value overflows when executed. Example :EXP[R[1]] (R[1] = 100) • If the variables are divided by zero then, the following error will be occurred. Example :R[1] / SIN[R[2]] (R[2] = 0) :10/COS[R[3]] (R[3] = 90) 7–225 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.17 MISCELLANEOUS INSTRUCTIONS 7.17.1 Overview There are miscellaneous instructions for production control, user alarms, timer setting, speed override, program remarks, message handling, and parameter setting. 7.17.2 RSR Enable/Disable Instruction RSR[x] = [action] The RSR enable/disable instruction enables and disables the queueing process of the specified RSR. When an RSR signal is set to disable, the RSR signal will be ignored. See Figure 7–149 . Figure 7–149. RSR Enable/Disable 7.17.3 User Alarm Instruction The user alarm instruction puts the program in an alarm condition, pauses the program, and causes a message to be displayed on the error message line as follows: UALM[x] INTP 213 UALM[x] Message (prog_name, line_num) For example: INTP 213 UALM[1] Check feeder (RSR001, 47) 7–226 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS If the program is resumed, program execution will continue from the next program line. The user alarm instruction specifies the alarm message to be displayed. Refer to the “General Setup” chapter of the Setup and Operations Manual for information on how to define the contents of a user alarm. See Figure 7–150 . Figure 7–150. User Alarm 7.17.4 Timer Instruction Timer instructions allow you to start, stop, and reset up to 20 different timers in a program. Timers allow you to determine how long a routine takes to execute, or how long your entire production program takes to execute. Timers can be started in one program and then stopped in another. The status of each timer is displayed in the $TIMER[n] system variable, where n is the number of the timer. See Figure 7–151 . TIMER[x] = [action] You can display the status of program timers on the STATUS Prg Timer screen. Figure 7–151. Timer 7.17.5 OVERRIDE Instruction The OVERRIDE instruction sets the speed override to a percentage value of the programmed speed. See Figure 7–152 . 7–227 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D OVERRIDE = x % Figure 7–152. OVERRIDE 7.17.6 Remark Instruction The remark instruction allows you to annotate the program. Remark information does not affect the execution of the program. When you add a remark instruction, you enter the message to display within the program. The remark instruction can be from 1 to 32 alphabetic, numeric, punctuation, and blank space characters. The first character of a remark instruction is an exclamation point (!). The remark instructions can be displayed with a yellow background color to help clarify the program content. The use of color text in the editor can be turned On or Off using the Color command available under the EDCMD function key. 7.17.7 Multi-lng Remark Instruction The multi-lng remark instruction allows you to annotate the program. There are 2 reasons you may wish to use this instead of the original remark instruction: • You support multiple languages and you wish the remarks to be localized for each language. • Or you wish to add remarks that are longer than 32 characters. The multi-lng remark information does not affect the execution of the program. When you add a multi-lng remark instruction, you enter the message to display within the program. The multi-lng remark instruction can be alphabetic, numeric, punctuation, and blank space characters. The first two characters are two hyphens (––). The multi-lng remark has the following characteristics: • Each remark can be 242 characters although the total for all languages cannot exceed the maximum line length which is also 242 characters. • The remark will automatically be split among multiple lines in the editor based on the window width. It uses space to split the line so if the remark has no spaces the display will be truncated instead. • When a new remark is entered it is based on the current language. To enter or display a remark for a different language, you must change the language in the General Setup menu. 7–228 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • When the language is changed, the remark will only display the two hyphens until you enter a new remark for that language. • When a program is loaded, it may contain a remark in a language that does not exist on the controller. The language is not created. The remarks will be created but hidden from the editor. • The .LS file will display all remarks for all languages, even if the language does not exist on the controller. In the editor, the remark will look as follows: 1: : --This program opens the raw part gripper In the .LS file, the remark will look as follows: 1: : : : : : : : : --eg:This program opens the raw part gripper --kn:This is KANJI version of remark --sp:This is Spanish version of remark --jp:Japanese --fr:French --gr:German --ch:Chinese --tw:Taiwanese --ot:Other ; • It is useful to add remarks for multiple languages in the .LS file and use "Ascii Upload" option to create the program. The suffix must be in lower case. The last suffix must contain the ; to end the remark. • The remark can be displayed with a yellow background color to help clarify the program content. The use of color text in the editor can be turned On or Off using the Color command available under the EDCMD function key. 7.17.8 Line Remark (Comment out) Instruction The Line Remark instruction allows you to disable the execution and editing of an line (comment out). Any instruction can be remarked. The Line Remark has the following characteristics: • The Line Remark instruction will prefix the line with // and then display the line as normal. 7–229 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D • When the language is changed, the Line Remark instruction is localized. • You cannot create a line with //. A line is created in the normal way. You press [EDCMD] Remark to convert a line to a Line Remark. • [EDCMD] Remark will allow multiple lines to be selected and F4 REMARK or F5 UNREMARK will remark or unremark all the selected lines. • You cannot use // to comment out just a portion of a line. • You cannot edit a line with //. Right arrow in the TP Editor will not move the cursor off the line number. TOUCHUP on a motion line is ignored. • You can only remove the // using [EDCMD] Remark and selecting unremark. • The line is still valid even though it is commented out. In other words, a position still exists for the motion lines and a label still exists for the label lines. In the case of a label, the label will be commented out so it is no longer valid to jump to. When a label is unremarked, then the label will be uncommented out unless another label has been added with the same number. • You can perform other modifications on the line such as delete, copy and paste, find and replace, and renumber. • Line Remark instructions must be valid instructions in order to successfully load a TP program or to perform Ascii Upload. You can use the Multi-lng Remark Instruction if you need to comment out an invalid instruction for Ascii Upload. • The toolbars in the icon editor have a Line Remark Toggle button. When pressed, the current line is toggled as a remark/unremark. 7.17.9 Message Instruction The MESSAGE instruction displays the specified message on the USER screen. The message can be from 1 to 23 alphabetic, numeric, punctuation, and blank space characters. If you want a blank line between messages, leave the message content empty. See Figure 7–153 . When the MESSAGE [message content] instruction is executed, the user screen is displayed automatically. MESSAGE [message content] Figure 7–153. Message Instruction 7–230 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.17.10 Parameter Name Instruction You can display and change the value of a system variable through the parameter name instruction, by using teach pendant read and write operations. Refer to the “Status Displays and Indicators” chapter in the Setup and Operations Manual for more information on system variables. Note Some system variables only allow you to display their value. Therefore, you might not be able to change the value of some system variables using the parameter name instruction. There are two kinds of data types for a system variable: • Numeric data type, which can be stored in a register. • Position data type, which can be stored in a position register. The following data types are possible: — Cartesian (xyzwpr) — Joint (axes J1 through J6) When a position data type system variable is stored in a position register, the position register takes on the data type of the system variable. Note If the system variable you are setting requires a BOOLEAN value (true or false), use 1 for TRUE and 0 for FALSE. Caution Do not try to store a numeric system variable in a position register or a position system variable in a numeric register; otherwise, you will cause an error message to be displayed. Warning System variables control how the robot and controller operate. Do not set system variables unless you are certain of their effect; otherwise, you could injure personnel, damage equipment, or disrupt the normal operation of the robot and controller. $[parameter name] = [value] The $[parameter name]=[value] instruction allows you to change (write) the value of a system variable. See Figure 7–154 . Figure 7–154. Parameter Name Write Instruction 7–231 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D R[ ] / PR[ ] = $[parameter name] The [value] = $[parameter name] instruction allows you to display (read) the value of a system variable. See Figure 7–155 . Figure 7–155. Parameter Name Read Instruction 7.17.11 Maximum Speed Instruction The maximum speed instructions set the maximum speed of joint motion and linear or circular motion in the program. If the motion speed exceeds the value designated by this instruction, the motion speed is limited by the designated value. If you use a maximum speed instruction and • If a macro program is called, the maximum speed value is set back to the default value. • If a called macro program sets the maximum speed, the maximum speed value is set back to the default value when returning to the calling program. Figure 7–156 and Figure 7–157 show the maximum speed instructions used in a multiple motion group system. 7–232 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS JOINT_MAX_SPEED[...] = ... Figure 7–156. JOINT_MAX_SPEED Instruction - Multiple Motion Group Syntax LINEAR_MAX_SPEED[...] = ... Figure 7–157. LINEAR_MAX_SPEED Instruction - Multiple Motion Group Syntax The maximum speed instructions have been shown as they would be used in a multiple motion group system. The syntax for the commands is shown in Figure 7–158 and Figure 7–159 when they are used in a single motion group system. Figure 7–158. JOINT_MAX_SPEED Instruction - Single Motion Group Syntax Figure 7–159. LINEAR_MAX_SPEED Instruction - Single Motion Group Syntax 7–233 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D 7.18 MIXED LOGIC INSTRUCTIONS 7.18.1 Overview The Mixed Logic Instructions option provides any combination of operators and data in TP program assignment statements, IF statements and WAIT statements. Mixed Logic also supports the NOT operator (!) and parenthesis ( “(“ and “)” ). You can specify Mixed Logic instructions through the Register menu, the I/O menu, the IF/SELECT menu, and the WAIT menu. Mixed Logic instructions must be specified in parentheses, as follows: • DO[1]=(DI[1] AND !DI[2]) • IF (DI[1]) JMP,LBL[1] • WAIT (DI[1]) When the statement does not have parentheses, the statement is executed the same as any other Logic Instruction. Mixed logic also provides the additional boolean data types Flag and Marker and the additional statementTC_Online. Mixed logic also provides Background Logic, which allows simultaneous, continuous, repeated execution of as many as eight TP programs containing only assignment statements. 7.18.2 Data Types The following data types are available for mixed logic instructions: Table 7–15. Data Types Type Value Data Numerical The data can have numerical value. Both integer and real values are available. Register, Constant, GI/O, AI/O, Element of position register , Argument, System variable Boolean The data can be On or Off . DI/O, RI/O, UI/O, SI/O, WI/O, On, Off, Flag, Marker Note Position type data and Palletizing type data cannot be specified in mixed logic instructions. 7–234 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS 7.18.3 Operators The following operators are available for mixed logic instructions. Table 7–16. Arithmetical Operators Operator Operation + Addition of left side and right side. - Subtraction of right side from left side * Multiplication of left side and right side. / Division of left side and right side. MOD Remainder of the division of left side and right side. DIV Round off the decimal part of the division of left side and right side. • Arithmetical operators are used for numerical data only. If numerical operators are used for boolean data, the INTP-205 Variable Type Mismatch error occurs. • The output data type of arithmetical operators is always numerical. Table 7–17. Logical Operators Operator Operation AND Logical AND of left side and right side. OR Logical OR of left side and right side. ! Logical NOT of left side and right side. • Logical operators are used for boolean data only. If logical operators are used for numerical data, the INTP-205 Variable Type Mismatch error occurs. • The output data type of logical operators is always boolean. Table 7–18. Comparison Operators Operator Operation = When the left side and right side are equal, returns ON; when unequal, returns OFF. <> When the left side and right side are not equal, returns ON; when equal, returns OFF. < When the left side is less than the right side, returns ON; when greater, returns OFF. > When the left side is greater than the right side, returns ON; when less, returns OFF. 7–235 7. PROGRAM INSTRUCTIONS MAROUAR9102171E REV D Table 7–18. Comparison Operators (Cont'd) Operator Operation <= When the left side is less than the right side, or they are equal, returns ON; when greater, returns OFF. >= When the left side is greater than the right side, or they are equal, returns ON; when less, returns OFF. • ”=” and “<>” can be used for both numerical data and boolean data. • “<”,“>”,“<=”, and “ >=” are used for numerical data only. If they are used for boolean data, the INTP-205 Variable Type Mismatch error occurs. The priority of the operators is indicated in the following table. Table 7–19. Priority of Operators Priority Operator HIGHEST ! *, /, DIV , MOD +, — MEDIUM <, >, <=, >= =, <> AND LOWEST OR 7.18.4 Expressions Mixed logic instructions can be specified in assignment statements, IF statements, and WAIT statements. Assignment Statements The following is an example of a mixed logic assignment statement: R[1] = ((GI[1] + R[1]) * AI[1]) DO[1] = (DI[1] AND (GI[1] — GI[2])) • The first = from the left indicates an assignment statement. The other =s indicate comparison. The result of the right side expression is assigned to the left side data. 7–236 MAROUAR9102171E REV D 7. PROGRAM INSTRUCTIONS • When the left side data type is boolean and the result of the right side expression is numerical, left side data becomes OFF when the right side value is less than 1 and greater than —1; the left side data becomes ON when the right side value is greater than 1 or less than —1. This behavior is the same as a normal assignment statement. • When the left side data type is numerical and the result of the right side expression is boolean, the left side data becomes 0 when the right side value is OFF, and the left side data becomes 1 when the right side value is ON. This behavior is the same as a normal assignment statement. • If a real value is assigned to GO, AO, or an integer type system variable, the decimal part i