infoPLC - Net - 03a Fanuc Robotic Arm Creating A Program
infoPLC - Net - 03a Fanuc Robotic Arm Creating A Program
1. Turn On and Connect on the Robotic Arm to RoboGuide > Open BHS Fanuc Robotic Arm Workcell
2. Select File > Save “BHS Fanuc Robotic Arm Workcell” AS
3. Add your Last Name to the End of Enter New Cell Name
4. Select the Folder for Enter New Cell Path > Select Windows (C:) > Select My Work Cells Folder > Select Ok > Select Ok
1. Select Ok
4. Select Ok
NOTE: Moving forward this will be the workcell you will select when working in RoboGuide
5. Open and Run Program Zero_90 if the robot is not set in this position: This should be your starting position for the robot
to avoid a singularity. Singularity is when Joints J3, J4 and J5 are in direct alignment. The Robot has an infinite possibility
of movement in this setup and does not know how to move. A Fault will be appear when in Singularity.
Rectangle to Trace
Operator may need to rotate the workcell into a saved view (View > Standard Views > Front, Top, etc.) rotation
Operator may also measure distances utilizing the measurement tool
a. Dimension Tool: Allows the operator to measure between different points and provide a distance measure
a. Select the Dimension Tool
b. Menu
Distance Data
1. Select From
2. Select Vertex
e. Select “TO” > Select Entity Selection: Face > Select the Workcell Table
1. Select To
2. Select Face
f. Distance is shown > Operator can select Create Dimension to place the dimension on the work cell to keep the
dimension on the screen
6. Creating a New Program:
a. Press the Select Key on the Teach Pendent
b. Select Softkey Create: Press F2 (NOTE: Virtual Teach Pendent below does not have F1-F5 Hardkeys shown, but
the keys ) or use the Touch Screen press Create
c. Select Options/Key Board on the touch screen > Select Softkey Keyboard or Hardkey F5
Select Options/Keybd
Select Softkey Keyboard or Hardkey F5
d. A Keyboard will appear > Type in the Program Name: Rectangle_”Student Last Name” > Press Exit to Set the
Name of the File
Notes about the Keyboard
i. Use the Touch Screen set cursor in the typing space
ii. Shift Key = Caps Lock
iii. Max 36 Characters
iv. No
1. Spaces are allowed in File Names
2. Mathematical Symbols (*, +,/,-)
3. File Name CANNOT begin with a Number
v. ABC and 123 Buttons Toggle Screens for various characters
Group Mask: Controls motion groups up to 8, defining axes groups. Fanuc robots can control up to 72 axis’s. Value of 1 allows
for 8 axis of movement and value of 0 is no motion. Asterisk (*) the motion group is not used.
Write Protected: Allows the programmer to lock the program and not be modified
Ignore Pause: Allows the programmer to make the program run even if there is an error or fault with the robot
Stack Size: allocates memory space for each program minimum is 500 (2000 bytes) up to 4000 (20000 bytes)
f. Program Rectangle_”Student Last Name” > Detail Menu > Arrow down to Comment > Press Enter > Select KeyBd
> Tutorial 1 > Select Exit on the Keyboard > Select Softkey Key END or Hardy Key F1
3. Select Detail
g. Press Select Hardkey > Arrow to Program Rectangle_”Student Last Name” > Press Hardkey Enter or Select
Softkey Edit or Hardkey F3 to enter coding workscreen or if in the Detail Menu > End > Select Menu > Select
Program > Press Enter to Load Program
World Frame
- Tool Frame: Center point of the End Effector. Default is the center of the tool plate (TCP) without an end
effector.
a. Checking Active Tool and User Frame: Press Hardkey Shift + COORD > Select Hardkey Prev to close window
c. Setting UserFrame: Select UFRAME_NUM = … > Select CONSTANT > Type 0 > Select Hardkey ENTER
d. Setting Tool Frame: Repeat Steps b. from above: Select New Instruction > Select Right Side Arrow to move to
next screen > Select Offset Frames > Select UTOOL [] = …. > Select CONSTANT > Select 1 > Select Hardkey ENTER
1. Select UTOOL_NUM = …
8. EDIT COMMAND:
a. Inserting Blank Lines: It is recommended to add blanks lines between groups of instructions/motions to make
the program easier to read
i. Arrow Over the Cursor in desired location to Insert Lines: For this program place the cursor on the END
Command on the coding screen. NOTE: New Lines will be inserted below the highlight line of code; with
the excepton of the end command
ii. Select EDIT COMMAND > Select INSERT > Type in the number of lines to insert: Enter 3 > Select Hardkey
ENTER
b. Deleting Lines:
i. Arrow to the desired line to delete: Place Cursor on Line 4
ii. Select EDIT COMMAND > Select DELETE > Select Soft
Position Types
Positional: P[_] Points the operator records that are specific to a program; called Local Points
Positional Register: PR[_] are points that Global to the Machine and that any program can use. Good options is Positional
Register Points: Home, Repair, Safe, Other (i.e. part removal, part entry, etc.). BHS Robots have PR[1] set has the Home Position
which is the same as Program: ZERO_90.
To see the Positional Register list Select Data > Softkey Type or Hardkey F1 > Select
i. 2 Types of Movements
1. Linear Movement (Labeled as L): Straight Line
2. Joint Movement (Labeled as J): Creates more arced path
c. Selecting Motion Type: Motion type will be defined in how the operator want the robot to move between points
and how it will be tranistion/breaking when it reaches that point.
i. For the First Point we want to the robot to placed in this position as fast and quick as possible while
avoiding and obstructions.
ii. Select J P[ ] 100% FINE > Notice on the robot a line of code is placed on Line 4 with a position number of
1. The robot will record each point as the next available digit. Operator is able to reuse Position
number 1 at any point in the program and the robot will move to those coordinates.
NOTE: Operator is able to adjust values by using the arrow keys to position on the desire item to change
(i.e. Position Number, Speed % and mm/sec or Breaking FINE v. CNT)
SAVE: Workcell: BHS Fanuc Robotic Arm Workcell “Student Last Name”
Rectangle Points
PT1 PT4
PT2 PT3
d. Point 1:
i. Jog the Robot to PT1 > Keeping the Claw perpendicular to the table and the height between 25 to 100 mm
NOTE: two types of jogging:
World: Moves all 6 joints to maintain end of tooling orientation. Remember the Right Hand Rule for
direction and polarity RIGHT HAND RULE for World Frame (Origin)
Program Updated
2. Select Add Move Point
or Point
3. Select L[_] 100mm/sec FINE
iii. Change Speed: Arrow over to 100 mm/sec > Change value to 1000mm/sec
e. Jog to Point 2: Try and maintain a similar height to Point 1 (25mm -100mm) use dimension tool or POSN Key:
World to see values > Record position as L [_] 100 mm/sec FINE > Change speed to 1000
f. Jog to Point 3 Try and maintain a similar height to Point 1 (25mm -100mm) use dimension tool or POSN Key:
World to see values > Record position as L [_] 100 mm/sec FINE > Change speed to 1000
g. Jog to Point 4 Try and maintain a similar height to Point 1 (25mm -100mm) use dimension tool or POSN Key:
World to see values > Record position as L [_] 100 mm/sec FINE > Change speed to 1000
h. Add a New Point: the Software will make this P[5] > Arrow over to the 5 > Select Keyboard > Change Position
Value to 1
i. Run the Program in STEP Mode > Rotate to a Top View >Check the shape: If the shape is off then Run the
Program in STEP > Stop at the Point that needs to be adjusted: Be SURE the cursor is on the line number to be
adjusted/updated > HOLD SHIFT + Select Softkey TOUCHUP or Hardkey F5 > Select Softkey YES or Hardkey F4 to
Update (NO is F5)
4. Select Softkey YES or Hardkey F4 to update the point > Program will tell operator if point has
been updated
SAVE: Workcell: BHS Fanuc Robotic Arm Workcell “Student Last Name”
10. Wait Command: Pauses the robot a the last location for a defined amount of time. Various applications for this but it is
desired to use sensors (optical, pressure, etc.) as a means of waiting then time.
a. Place the Cursor at the [END] command > Select Touch Screen New Instruction > Select WAIT >
3. Select New
Instruction 1. Select Wait 2. Select Wait …. (sec) > Set Value to 2
11. Return Home: Set a New Move Point > Change Move Point to PR[1] (Position Register [1]) > Place a Wait Command of 2
Seconds
SAVE: Workcell: BHS Fanuc Robotic Arm Workcell “Student Last Name”
14. Tracing the Square in Joint Motion
a. Place Cursor on the [END] line of the program
b. Without Moving the robot add 5 J [_] 100% CNT100 lines
c. Place cursor on each Joint (J) Motion Position Number (P[#]) change to the following
SAVE: Workcell: BHS Fanuc Robotic Arm Workcell “Student Last Name”
Assignment: Triangle
Complete the following
PT2
PT1 PT4
PT3
Program