fanuc and tpp basics sebastian van delden usc upstate [email protected]

44
Fanuc and TPP Basics Sebastian van Delden USC Upstate [email protected]

Upload: asher-patrick

Post on 28-Dec-2015

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Fanuc and TPP Basics

Sebastian van Delden

USC Upstate

[email protected]

Page 2: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Typical Setup

Page 3: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

The Robot and its Axes

Page 4: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

The Controller

Page 5: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

The Operator Panel

When in “AUTO” mode

Page 6: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

The Operator Panel (cont) The Two/Three Mode Switch

Teach Modes (T1, etc) Must be in this mode to develop a program using the teach

pendent. Top robot movement speed is limited

AUTO After a program is developed, turn off the teach pendent and

flip to AUTO. The ‘current’ program that was being edited by the teach

pendent can now be run by pressed the Cycle Start button Note that program execution can start at any line in

the program.

Page 7: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

The Teach Pendent

NOTE: Squeeze Deadman switch only half way – full compression generate an E-Stop… (electricuted people usually squeeze their hands very hard….)

Page 8: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

The Teach Pendent (cont)

Page 9: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

The Teach Pendent (cont)

Page 10: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

DISP and DIAG Keys (not on previous diagram)

Page 11: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu
Page 12: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu
Page 13: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu
Page 14: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Programming

Teach Pendent Programming (TPP)

Page 15: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Example Display and TPP Program

Page 16: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Types of Instructions

Motion instruction: Moves the tool to the target position within the operating range.

Additional motion instruction: Performs an additional (special) operation during a motion.

Register instruction: Places (loads) numerical data into a register.

Position register instruction: Places (loads) position data into a register.

Input/output instruction: Sends or receives a signal to or from a peripheral unit.

Branch instruction: Changes the flow of a program.

Page 17: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Types of Instructions (cont)

Wait instruction: Holds execution of the program until the specified conditions are satisfied.

Routine call instruction: Calls and executes a subprogram. Macro instruction:

Calls a specified program and executes it.

Palletizing instruction: Palletizes workpieces. Program end instruction: Terminates execution of a program. Comment instruction: Adds a comment to a program. Other instructions

Page 18: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Programming Program Detail Screen

Setup/edit program header information

Page 19: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Program Sub types Job (JB)

This represents a main program that can be started using a device such as a teach pendant. Process programs are called in a main program for execution.

Process (PR) This represents a subprogram that is called by a job program for

execution of a particular job.

Macro (MR) This represents a program for executing a macro instruction. The

subtype of a program registered on the macro instruction setting screen is automatically set to MR.

State: Specify this when creating a conditional program with the state

monitoring function.

Page 20: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Group Masks

The Robot control unit can divide up to 40 axes (when a multifunction board is inserted) into up to five operation groups and control those groups simultaneously. A single group can control up to nine axes (multimotion function). If the system has only one operation group, the default motion group is group 1 (1, *, *, *, *).

Page 21: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Editing a program Each line is numbered Each line is created using the built-in menus [End] symbolizes the end of the program

Page 22: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Executing a program In Teach Mode:

Deadman switch must be pushed in. Clear any faults.

Push the “RESET” button when all faults are cleared. Push SHIFT + FWD

NOTE: Will execute program from the current line in the program.

Push SHIFT + BWD to execute the program instructions in reverse order

In Auto Mode: Push in the Cycle Start button Teach pendent must be turned off

Page 23: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Motion Commands

Page 24: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Motion Commands (cont)

Page 25: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Types of Motion

Joint (J) When Joint is selected, the tool is moved

arbitrarily between two specified points. Linear (L)

When Linear is selected, the tool is moved along a straight line between the two specified points.

Circular (C) When Circular is selected, the tool is moved along

an arc connecting three specified points.

Page 26: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Circular Motion

Page 27: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Fine versus Continuous “Attitudes”

Page 28: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Changing Robot Job speed (feedrate)

Page 29: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Calculating final speed of robot during a motion

Page 30: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Teaching Points

When a motion instruction is taught, position data is written to the program at the same time.

Two types of positions possible Joint – joint angles Cartesian – X, Y, Z, Yaw, Pitch, Roll

Page 31: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Cartesian (point) Locations Information Stored:

Configuration:

Page 32: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Viewing the detailed point information

Page 33: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Joint Locations

Page 34: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Location Variable Types

Two types of location variables Location Variables

A position number is automatically assigned each time a motion instruction is taught and it is reflected in the program: P[1], P[2], etc…

Deleted a location, does not change numbering Location Registers

Same idea, but like global variables. 100 provided.

Add descriptive comments to each location Just press ENTER when cursor is at that point

Page 35: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Other Variables (“Registers”)

“Registers” are used to store data – integers, etc So, not “typical” variables…

Two hundred are provided. R[1], R[2], … , R[200]

Page 36: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Variables

Page 37: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Branch Instructions

The label instruction (LBL[i]) is used to specify a program execution branch destination.

The JMP LBL[i] instruction transfers program control to a specified label.

Page 38: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

If Statement (Conditional Branch)

Page 39: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Step by Step Example of Creating and Running a new program When looking at the list of programs, click the

F2 key which corresponds to the “CREATE” button.

Page 40: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Step by Step Example Type in the program name.

Use Arrow Keys to choose type of characters

Use F Keys to type characters

Page 41: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Step by Step Example

Press F1 Key to insert a new motion command

The robot is currently “at” this location

Press F5 Key to modify a taught location

Press NEXT to go to next screen of commands

Page 42: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Step by Step Example

Press F1 Key to insert a new instruction. We’ll choose the JMP/LBL in order to create a loop in this example.

Page 43: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Step by Step Example Program is ready to

execute. Use arrows to move the

cursor the first line that you would like to execute.

Hold-in deadman switch (1/2 way) 1. Press the RESET key to

clear faults.

2. Hold-in SHIFT and press FWD

1

2

Page 44: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu

Step by Step Example

When the program is completely developed and tested, the program can be run in operation mode: Switch the teach pendant “ off ” Switch the Mode button on the Operator Panel

(on the controller) to AUTO Press the CYCLE START button on the operator

panel