Fanuc and TPP Basics Sebastian van Delden USC Upstate [email protected].
-
Upload
asher-patrick -
Category
Documents
-
view
215 -
download
2
Transcript of 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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/2.jpg)
Typical Setup
![Page 3: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/3.jpg)
The Robot and its Axes
![Page 4: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/4.jpg)
The Controller
![Page 5: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/5.jpg)
The Operator Panel
When in “AUTO” mode
![Page 6: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/6.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/7.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/8.jpg)
The Teach Pendent (cont)
![Page 9: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/9.jpg)
The Teach Pendent (cont)
![Page 10: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/10.jpg)
DISP and DIAG Keys (not on previous diagram)
![Page 11: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/11.jpg)
![Page 12: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/12.jpg)
![Page 13: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/13.jpg)
![Page 14: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/14.jpg)
Programming
Teach Pendent Programming (TPP)
![Page 15: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/15.jpg)
Example Display and TPP Program
![Page 16: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/16.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/17.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/18.jpg)
Programming Program Detail Screen
Setup/edit program header information
![Page 19: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/19.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/20.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/21.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/22.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/23.jpg)
Motion Commands
![Page 24: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/24.jpg)
Motion Commands (cont)
![Page 25: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/25.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/26.jpg)
Circular Motion
![Page 27: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/27.jpg)
Fine versus Continuous “Attitudes”
![Page 28: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/28.jpg)
Changing Robot Job speed (feedrate)
![Page 29: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/29.jpg)
Calculating final speed of robot during a motion
![Page 30: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/30.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/31.jpg)
Cartesian (point) Locations Information Stored:
Configuration:
![Page 32: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/32.jpg)
Viewing the detailed point information
![Page 33: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/33.jpg)
Joint Locations
![Page 34: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/34.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/35.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/36.jpg)
Variables
![Page 37: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/37.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/38.jpg)
If Statement (Conditional Branch)
![Page 39: Fanuc and TPP Basics Sebastian van Delden USC Upstate svandelden@uscupstate.edu.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/39.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/40.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/41.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/42.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/43.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062717/56649e5e5503460f94b57530/html5/thumbnails/44.jpg)
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