Professional Documents
Culture Documents
Robcad Basics PDF
Robcad Basics PDF
Robcad Basics
Version: 7.5.1
Course Code: WKP100U
Updated: July 2006
Publication Number: MTXW100U-SG-0751
Table of Contents
i
Robcad Basics
Training Guide
July 2006
WKP100U – Version 7.5.1
Publication Number
MTXW100U-SG-0751
Robcad Basics Training Guide
ii
Manual History
Manual Product Publication
Revision Version Date
A V 3.3 July 1996
B V 3.4.1 April 1997
C V 3.5.1 December 1997
D V 3.7.1 December 1998
E V 3.8.1 December 1999
© UGS Corp.
All rights reserved.
Printed in the United States of America.
Table of Contents
iii
Table of Contents
Chapter 1: Introduction to Robcad ...............................................1-1
Lesson 1: Training Introduction.................................................................................1-3
Lesson 2: Basic Skills .................................................................................................1-7
Lesson 3: Basic Robcad operations ............................................................................1-1
Lesson 4: View Control in Robcad.......................................................................... 1-22
Lesson 5: Customizing user configuration .............................................................. 1-26
Lesson 6: Entity selection........................................................................................ 1-29
Lesson 7: Using Robcad Layers............................................................................... 1-34
Lesson 8:Additional commands .............................................................................. 1-40
Lesson 9: Robcad Help ........................................................................................... 1-44
Chapter 1
Introduction to
Robcad
Lesson 1: Training
Introduction
Introduction to the Training
Manual Structure
The training manual is designed for a classroom containing
between three to seven students. Each student should sit at their
own workstation using their own copy of the data.
See Appendix A for a detailed description of the classroom setup.
¾ Bullet Conventions:
¾ On a PC:
1 Logging into the system:
Y Type the training password supplied by your instructor and
press [Enter] on the keyboard.
2 Logging out of the system (PC):
Y Select Start -> Shutdown.
NOTES:
A window similar to this one will appear.
PRINCIPLE:
You must have your mouse pointer inside the window to type text in the window. If
you move your mouse out of the window your text will be thrown away.
¾ On PC:
1 Log into the computer system.
2 To start Robcad:
Y Method 1: Double-click the Robcad (PC) icon on the
desktop.
Y Method 2: Select Start -> Programs -> Tecnomatix ->
Robcad (Robcad) -> Robcad.
3 Exit Robcad:
Y Using the left mouse button, click on the Robcadbutton in
the Top Menu window.
Y A pull down menu will appear.
Y Move the mouse cursor to the Exit button and click the left
mouse button.
NOTE
It is important to exit Robcad before logging out of the system, in order to ensure
changes are saved.
¾ On UNIX
Log into the computer system
1 To start Robcad:
Y Place the mouse cursor inside of shell window and type:
Y em_workplace
2 Exit Robcad:
Y Using the left mouse button, click on the Robcadbutton in
the Top Menu window.
Y A pull down menu will appear.
Y Move the mouse cursor to the Exit button and click the left
mouse button.
NOTE
It is important to exit Robcad before logging out of the system, in order to ensure
changes are saved.
The window across the top is the Top Menu window. It is made up
of a row of buttons for the current menu. The menu’s name is
shown in the title bar of this window.
It displays the version of Robcad, the current menu name, the name
of the cell, the folder path containing the cell, pick intent, and pick
level.
PRINCIPLE
Each button in the Top Menu window (except the Robcadpull down menu) causes
its own Commands Window to be displayed at the right side of the screen.
¾ Graphics Window:
¾ Commands Window:
¾ Messages Window:
Undo, View Center, Reset, Limits Check and Collisions are always
present.
This menu can be used to start all sorts of the menus quickly and
easily.
Load Cell
Load cell is used to open cells (.CE) in Robcad.
The thumbnail and one-cell previews can save users valuable time
otherwise lost opening an incorrect cell from the list. The preview
functionality provides users with a quick graphic display of the
cells contained in a directory, allowing them to select exactly the
cell they need.
NOTES:
A different drive can be accessed by typing /* in the Filter field and pressing [Enter].
You can then double-click the desired drive.
Y Click [OK].
Y The workcell contents are displayed in the Graphics
Window.
¾ Method 2:
1 Put mouse cursor in Graphics Window and press the [F5] key.
2 Click on Full view.
Loading a Configuration
1 From the Top Menu window, click the Setup button.
2 On the Setup window, click the Configuration button.
3 Load the default configuration.
Y Click on the Configuration Load button.
Y Click on Default.
4 Load a configuration by name.
Y Click on the Configuration Load button.
NOTE
The previous list of selected entities appears in the entity list window. Selected
entities are also highlighted in the Graphics Window
8 To remove an entity from the list, Click on the entity in the list,
then press the [Backspace] key on the keyboard.
Advanced Tab
¾ Rename Layer
1 Highlight the layer name by picking on it
3 Select the Reset all layers icon to reset colors of all layers
Query Layers
1 Highlight the layer name by picking on it
Setup Tab
¾ Get component Behavior
) If this box is checked, then when you get a component and the
prototype contains layers, the layers will be added to the list of
layers in the cell.
) If this box is not checked, then when you get a component and
the prototype layers will not be added to the list of layers in the
cell.
) + Layer is displayed
) +/- Some elements of layer displayed
) - No elements displayed
Lesson 8: Additional
Commands
Viewing Panel
A panel allows the user to interactively modify elements. It will
redefine the mouse button functions, so View must always be
selected to regain view control of the mouse.
Data Structure
Definitions
) Project - Contains cells and prototypes. Projects can also
contain other projects. To use a prototype from another
project, you must copy the prototype to the current project.
) Library - A collection of prototypes. Prototypes in libraries can
be used by all cells in the System.
) Prototype - Components that reside in either the current project
or a library. When modeling a component, you are modeling a
prototype.
) Instance - Pointers to the prototype. Components in a cell are
instances of a prototype.
Characteristics of Instances
Name in cell
Colors in cell
Place in cell
For instances of mechanisms: Poses
For instances of robots: TCPF
For instances of robots: External Axis
Characteristics of Prototypes
Initial colors
Geometry
Internal Connections (Assemblies, Groups, Links)
Kinematics
TOOLFRAME, BASEFRAME
Display Precision
For mechanisms: Poses
Lesson 9: Help
Introduction
For PCs - Context sensitive online help is only partially enabled in
this release.
4 Click Yes.
5 Browse through all the online help.
3 In the help window that opens, select the hyperlink next to load
cell and look at the tabs
3 Click on Confirm.
Keyboard Summary
[F1] - Help
MB 1 - Picking
MB 2 - Zoom In/Out (move mouse left and right)
MB 3 - Pan (move in any direction)
MB 2 + MB 3 - Dynamic Rotation
Chapter Summary
In this chapter the following was learned:
) How to start Robcad and how to navigate through windows in
Robcad.
) How to customize, save, and load configurations.
) How to set, create, and add/ remove components to active
layers as well as blanking/displaying and filtering components
in layers
) How to retrieve online command help and documentation
Chapter 2
Workcell Layout
¾ Saving a Cell
Y In the Top Menu window, select the Layout button.
Lesson 3: Placement
Commands
Introduction
Now we will cover in detail various tools required to position
instances within a cell. The following is a list of placement
commands you will learn in this section:
Place Editor
1 Xyz Shift
2 Shift
3 Rotate
4 Transfer panel
5 Place
6 Put
Placement Methodology
1 Load a cell
2 Get a component instance
3 Use the Placement commands to move it into position
4 Store the cell
¾ Method 2:
1 Open the Placement Editor.
working frame
.
1 Select an object to manipulate
2 Choose an axis to move along (with left mouse button)
3 Move the mouse pointer into the graphics window
4 Hold down the middle mouse button
5 Moving the mouse left and right in the graphics window will
cause the object to mouse either positive, or negative, along the
selected axis. If you want to undo the placement of the object
select the Reset button
NOTE
You must select view on the panel to retrieve original mouse controls.
NOTE
The step size is in the current units. The current units can be verified or changed
using the Setup -> Units menu option.
Y Select Accept
NOTE
The working frame is superimposed on the selected frame.
¾ Place definition:
The way that Robcad figures out how far to move your component
is by figuring the distance in X,Y,Z between the From and To
points.
) In the example above the object is being moved using the
place command from the From point to the To point.
) If you select All axes, it will move to the To point (as above).
For example if you choose to move from point (1, 1) to point
(10, 5), then the object will be moved 9 in the X and 4 in the Y
direction.
) If you select X-axis only, it will move only the distance
specified in X (as below). For example if you choose to move
from point (1, 1) to point (10, 5), then the object will be moved
9 in the X and 0 in the Y direction.
Y For Point from, select the tip of the green cone (zoom in on
it first).
Y For Point to, select the fr1 frame.
Y Click the Accept button.
11 Use the existing components and repeat steps 4 –11 using fr2
in place of fr1.
¾ Put definition:
Move A Move B
To open the tree window select the Tree icon from the
Toolbox Manager window. A window is opened displaying the
component-level hierarchy of the currently loaded assembly. To
close the tree window, pick its icon from the toolbox panel.
Example
1 Delete several components in the cell by right clicking them
and selecting Delete.
2 The nodes representing the components in the tree do not
disappear. (If Auto Update is turned off).
3 In the Tree window, select Tree -> Update. The tree is updated
to the current cell.
4 In the Tree window, set Tree -> Auto update to on
5 Delete several components in the cell by right clicking them
and selecting Delete.
6 The node in the tree does disappear.
Example
1 Select a node in the tree. Then select Edit -> Blank. Notice that
the node will disappear when the entity is blanked on the
screen and Auto update is on
Hiding Sub-trees
To close the sub-tree under any node, pick the minus sign at the
left of a node.
To restore the display of the sub-tree, again pick the plus sign now
displayed.
In the Tree window, use View -> Expand all to open all the sub-
trees.
Selecting Nodes
Any node can be selected by picking on the tree; previously
selected nodes are then deselected. To pick multiple nodes
simultaneously, press [Ctrl] and pick the additional nodes. Nodes
can also be selected from the Graphics window. For this, enable
the Auto-Update option from the Tree menu by selecting Tree ->
Auto update and make sure pick level is set to Component using
the [F12] key. If an entity is picked in the Graphics window and its
node is located in a closed sub-tree, the tree display will not
change.
Example
1 Confirm Auto Update Option is selected
Y In the Tree window, click Tree -> Auto Update.
2 Select nodes in the tree window and see the corresponding
parts in the Graphics window become highlighted.
3 Select parts in the Graphics window and see the corresponding
nodes become selected in the tree window
Example
Set Collisions in the Icon Toolbox window to ANear
Querying
In the Tree window, select Tree -> Node information.
Fast Operations
To open a window that displays various tree node operations,
place the mouse pointer on the text of a node and hold down the
right mouse button. This will bring up the window and make this
the acted upon node. This menu contains nine commands that
duplicate commands that are located in various submenus of the
tree window.
) Node information: displays text window containing
information
) Delete: deletes the node
) Blank: blanks the node
) Display: displays the node
) Attach: allows you to attach this node to another
) Detach: allows you to detach this node
) Ungroup: extracts all group members and deletes the group
) Add to group: allows the node to be added to a group
) Extract from group: extracts the node from its current group
To open a window of global tree commands, place the mouse
pointer close to the right-hand border of the tree window and hold
down the right mouse button. This menu contains 4 commands:
) Undo: undoes the last command executed
) Update: forces a redraw of the updated tree window
) View all: makes all nodes visible
) Expand all: expands all of the compressed nodes
Edit
) In the Tree window, select Edit -> Select CAD
This function selects all of the nodes in the tree that cad linked
parts from the specified cad system. The other Edit commands will
operate on the entities that this command selects.
) In the Tree window, select Edit - > Select all
This function selects all of the nodes throughout the tree. This
command facilitates blanking most of the nodes of a large tree, in
order to conveniently perwindow operations on a few of the nodes.
View
) In the Tree window, select View - > Show CAD
This function adds a column into the tree containing the name of
the originating CAD system. This is for CAD-linked parts only.
) In the Tree window, select View -> Show prototype
This function adds a column into the tree containing the name of
the prototype for each part. The @ symbol represents the library
root.
Icon.
Y Make the robot the active mechanism.
Y In the Motion window, click the Settings tab.
Y Click the Mount button.
Y Click on the gun.
Y Click Accept.
NOTE
If the active mechanism is not currently set, Robcad will prompt you for it in the
message window (simply click anywhere on the robot you want as the active one).
11 Gun may need to be rotated so that tips are facing up.
12 Get the overhead and place its bottom surface level with the
top surface of the cell_base
13 Rotate it 90 degrees about Z.
14 Make the cell look cleaner by blanking all the frames.
Y Select the Display button from the Top Menu window.
Y In the Display window, click Blank / By Type -> Frames
15 Store the cell.
Y Select the Layout button from the Top Menu window.
Y In the Layout window, click Store (Confirm).
Chapter Summary
In this chapter the following was learned:
) How to construct and load cells from projects.
) How to get components and place them using the Placement
Editor Toolbox.
) How to mount and attach components
) How to look up nodes in trees, sub trees, and display/blank
entities and components.
) How to use Collision command to show colliding nodes and
editing and grouping of nodes.
Chapter 3
Modeling and
Kinematics
Modeling Methodology
1 Open a component prototype in cell or independently
2 Design prototype geometry
3 Edit geometry
4 Define kinematics
5 Store prototype
6 Close the component prototype
Let's return to our city of Robcad, Michigan to explain our
modeling methodology:
Modeling Definitions
) Primitives - Robcad works with 8 basic solid primitives: Cube,
Box, Cylinder, Sphere, Wedge, Torus, Ring and Cone. Out of
these primitives, a designer can create many required shapes.
) Solid creation - Robcad supports several operations to convert
surface data into solids: Sweep, Sweep Curve, Thickness
(extrude), and Revolution.
) Boolean Operations - These are key operations for the solid
modeler. Robcad supports the following operations:
Y Intersect - Creates a solid out of the common volume of
two solids.
Y Subtract - Creates a solid by using the volume of one solid
to remove volume from another solid.
2 Click Accept.
PRINCIPLE:
You always model a prototype. A component in a cell is a copy of a prototype with a
pointer to the prototype.
¾ End Modeling
1 On the Top Menu window, click the Files button. On the Files
window, click Close.
NOTE:
When you are done modeling a prototype, you must Close (end modeling). Failure
to do so will result in entities being added to the prototype instead of the cell.
NOTE:
Above your top menu bar, should be the words MODELING PROTTYPE: mytable.
If not, ask your instructor for assistance.
3 Create a cube
Y From the Toolbox Manager window, click the 3D Sketcher
button.
7 Create a cylinder.
(Top View)
8 Scale the cylinder in all directions using the scale panel in the
General Tools toolbox such that only the corners of the table
are visible.
Y From the Toolbox Manager window, click on General Tools
button.
Y From the General Tools window, click Edit / Scale Panel
Y Select Objects.
Y Pick the cylinder and click the Accept button.
Y Select ALL.
Y With the cursor on graphics screen, press the middle mouse
button. Moving the mouse pointer LEFT and RIGHT will
scale the object interactively.
9 Intersect the table and the cylinder. It doesn't matter the order
that you pick them for this command.
Y From the 3D Sketcher window, select the Intersect
button.
NOTE:
A table with rounded (filleted) corners is modeled.
Lesson 2: Introduction to
Entity Precision &
Representation
Solid Entity Representation in
Robcad
There are two types of solids that can be created within Robcad:
polyhedral solids and exact solids.
¾ Polyhedral solids
) Can have up to 40 facets
) The math model is the same as the display model.
) The display accuracy is determined when they're created
) Default number of facets is 12
¾ Exact solids
) Do not have facets
) The display model can be either the same as the math model,
or a simplified version to speed up simulation
) The display accuracy can be changed at any time.
) Default display precision is a 3 on a scale from 0 to 9
) The display model can be either the same as the math model,
or a simplified version to speed up simulation
) The display accuracy can be changed at any time.
) Default display precision is a 3 on a scale from 0 to 9
button
Y From the 3D Sketcher window, click the Curve by Points
button.
Y Pick several points on the floor defining a curve.
Y Click the Accept button to create the curve.
Improving Visualization
Performance
These abilities can be accessed by pressing the [F6] while the
mouse pointer is in the Graphics Window.
) Level of details - Is an LOD tool to lower the highest level of
detail slightly to improve the speed of simulations. It is turned
off by default. To turn it on, press the [F6] key and select Level
of Details.
->
) The Frame/Working Frame option is used to place the working
frame where ever you want it
) The World option will place the working frame back on the
world origin (the default location for the working frame)
button.
¾ Method 2:
¾ Method 3:
Lesson 4: Fundamentals of
Kinematics
Definitions
) Kinematic chain - collection of links and joints
) Link - minimum non moving segment of a kinematic chain
) Joint - minimum moving part of chain. A joint consists of 2
links and an axis. There are 2 types of joints.
Y Revolute joint - rotates around axis
Y Prismatic joint - linear movement along axis
Methodology to Define a
Kinematic Device
1 Envision the kinematic chain
Child link
Parent link
NOTES:
The links and axis have already been created for you. All you have to do is define
the joints and the mechanism.
8 Save mechanism
Y On the Top Menu window, select Files
Y On the Files window, select Save
9 Test the joint in mechanism
.
Y For Active mechanism pick CURRENT_MECHANISM
Y For Joint select J1
Y Move the mouse into the Graphics Window; hold down the
middle mouse button; move the mouse left and right to see
the selected joint move.
Y For Joint select J2
Y Move the mouse into the Graphics Window; hold down the
middle mouse button; move the mouse left and right to see
the selected joint move.
IMPORTANT:
Select Reset Mechanism on panel before saving the component or defining it again.
.
Y On the Device Jog window, click Move.
Y Select OPEN.
Y Select CLOSE.
7 Reset the mechanism
Y On the Device Jog window, click Reset mechanism
8 Save and close
Y On the Top menu window, click Files
Y On the Files window, click Save
Y On the Files window, click Close
6 Define the next 5 links the same way, for a total of 7 links.
7 Create the axis for the first joint:
Y On the Kinematics window, click Joint/Axis
Y Click on the first point arrow of the axis form
NOTE
This will enter 0 as the X, Y, and Z values for the first point of the axis.
Y For Axis, select the first axis we created. You will have to
go to wire frame mode [F10] to pick it because it is inside
the other solids.
Y Click the Revolute button.
Y Click the Accept button.
Parent Link
Child Link
NOTE
You must define the mechanism every time you modify the kinematics.
NOTE
Current joint values are saved as home position when define is selected.
NOTE
Kinematics -> Query/Mechanism displays kinematic details of the mechanism in the
Status Window.
14 Save mechanism
Y On the Top Menu window, click Files.
Y On the Files window, click Save.
15 Test the 6 joints in mechanism.
Y From the Toolbox Manager window, click Device Jog
.
Y Click on Active Mechanism on the device jog panel.
Y Click on robot to make it the active mechanism.
Y Select a joint (J1, J2, etc.)
Y Select the Jog button and test the joint utilizing the
middle mouse button in the Graphics Window.
Y Determine and record the desired range of each joint from
the Status Window.
Y Click on Move -> Home pose before leaving this window.
NOTE
The current value of the joint being jogged is displayed in the Status Window.
Values are relative to home pose.
NOTE
The range is specified based upon all joint values being 0 at the home pose. Home
pose is defined by the position of the links when you click Robots/Define from the
Kinematics window
IMPORTANT
Select Reset Mechanism on panel before leaving panel.
5 Save mechanism
Y On the Top Menu window, click Files.
Y On the Files window, click Save.
NOTE
Reference joint range values for the purposes of this exercise only:
J1 -180 180
J2 -70 70
J3 -25 25
J4 -190 90
J5 -110 110
J6 -340 240
Chapter Summary
In this chapter the following was learned:
) Described how to do some basic modeling in Robcad
) Described how to change the entity representation precision
) Described how to model a gun shank
) Described how to add kinematics to a component and move it
around
Chapter 4
Processing
In this chapter, we will use the knowledge gained in the first three
chapters to setup our own paths and work with the Robcad library
structure. It contains the following lessons:
) Lesson 1: Inverse kinematics: Core technology of Robcad, page
4-2, describes how to use inverse kinematics to make the robot
in Robcad move.
) Lesson 2: Working with Paths, page 4-12, describes how to
work with robotic paths in Robcad and rename instances..
) Lesson 3: Populating Libraries, page 4-22, describes how to use
the library utilities.
) Lesson 4: From Least Constraints to Most Constraints, page 4-
29, describes how to follow a simple process from beginning to
end in Robcad.
Definitions
) Mechanism/Device - A component with kinematics
) Robcad Robot - Creating a TOOLFRAME at the end of a
kinematic chain and compiling (defining) mechanism will
transform a simple kinematic device into a Robcad robot (or
CMM).
Putting an object from the source frame to the target frame will:
) Move the object from the source frame to the target frame
) Orientation of the object is not affected (orientation of the
source frame is maintained)
Putting an object from the source frame to the target frame will:
) Move the object from the source frame to the target frame.
) Orientation of the object is changed to the target frame
Direct Kinematics
) Easy for Robcad to do because Robcad already knows the joint
values
) Direct kinematics can be used for any kinematic device such as
guns, clamps, robots, etc . . .
J1=0 J1=10
J2=10 J2=120
J4=15 J4=45
J5=40 J5=32
J6=20 J6=46
Inverse Kinematics
) Takes more effort from Robcad, because the destination pose
must be calculated on the fly. However, this gives more
flexibility to the user.
) Only available for robots (and CMM's).
Y When you get into the right source project, pick the robot
myrobot once.
Y Pick the robots library once
Y Pick the move button to move myrobot to the robots
library.
Status button.
Y Click [OK].
3 Follow the same process to open a mechanism status window
for one of the clamps.
Motion Window
These tools can be accessed in several places in Robcad including
) Move commands
Y Target – Used to select the locations for the active
mechanism (i.e. robot) to move to.
Y Play - A full Inverse command, it moves the robot’s TCPF to
a location’s position and orientation.
Y Move XYZ – A partial Inverse command, it moves the
robot’s TCPF to a location’s position, but not orientation of
X, Y, and Z.
Y Move Align Z – A partial Inverse command, it moves the
robot’s TCPF to a location’s position, and aligns the Z axis
of the TCPF with the Z axis of the location (but ignores the
location’s orientation of the X and Y axes).
13 Now if you pick the Target button; select location, and click
the Accept button, you would notice that the joint does not
move. In order to make it move to the location desired with
Automatic Mode set to Off you need to press the Play button.
(This will try to move the location using a full inverse).
Y Path Editor
) Robcad OLP tools (covered in WKP211U):
Y Location Attributes
Y Program Editor
Y Various teach pendants
) Robcad Spot (WKP202U), Robcad Paint (WKP203U), Robcad
Arc (WKP204U):
Y Other application specific tools are available in these
applications for editing paths
button.
Y Click [OK].
Y Click [OK].
6 Make a copy of the first robot’s path for the second robot.
Y Select the robot1_path1 path.
Y Click [OK].
Y Click [OK].
Y Click [OK].
8 Extract a location from the path.
Y Select a location from the first path (robot1_path1).
Y Click [OK].
10 Rename the second robot to robot2.co
Y From the Layout window, pick the Rename button.
Y In the Rename window, click the Add button.
Y In the Object drop down, select gmfs420_1
Y For the New name type robot2.
Y Click Add and Close.
Y Click [OK].
Y Click Confirm.
Y Click Yes.
Lesson 3: Populating
Libraries
Process To Manipulate Libraries
) From the Toolbox Manager window, click Data
) From the Data window, click Library Utilities
) From the Library Utilities window, click Library
Process To Manipulate
Components in Libraries
) From the Toolbox Manager window, click Data
Y Type in parts
Setting Up Projects
¾ Create, Rename, Remove, Copy and Move Projects
) From the Toolbox Manager window, click Data.
) From the Data window, click Project Utilities.
) From the Project utilities window, click Project.
.
Y From the Placement Editor window, click Objects.
Y Select all four fences, the controller, cabe_hook, and the
man.
Y Press Accept
Y Select the X button on the transfer panel of the Placement
Editor.
Y Hold down the middle mouse button in the Graphics
window and move the mouse left and right to move the
selected objects back past the envelope.
7 Store the cell.
Y From the Top Menu window, click Layout.
Y From the Layout window, click Store
Y Click Confirm.
2 From the Path Editor window, click the Load path icon.
3 Load the robot path just copied.
Y In the Load Path window, select pa1.no_robot from the list
of paths.
NOTES:
The name of your robot may be different than the one in the training manual.
4 The robot path should now be shown in the cell in front of the
robot, and in the Path Editor window.
5 Move the robot along the path.
Y Right click the robot and select active mechanism.
Y In the Motion window, set the Automatic mode to Move
Y Move along the path (double-click the path)
6 Store the workcell
Y From the Top Menu window, click Layout.
Y From the Layout window, click Store
Y Click the Confirm button.
Collision Detection
¾ Define a collision list:
.
) From the Collision Setup window, click Define pair.
.
3 Define a new collision list
Y From the Collision Setup window, click Define pair.
The collision lists are only processed at the graphics update time
interval. This means that a collision will only be detected if it
occurs at a time interval boundary. It is possible that the interval is
such that a collision occurs between updates and will not be
detected. The smaller the interval, the less likely this will occur.
The speed and acceleration of the object can affect the detection of
collisions. If they are very high, it may be advisable to reduce the
update time interval.
From the Motion window, click Settings and then click Time
interval to set the interval. The default value is 0.2 seconds. It is
suggested to use lower values only after all collisions have been
removed at the default value. It is not suggested to stay at the
lower value because of the decrease in performance.
Robcad can not only detect collisions (i.e. when the robot hits an
object they are highlighted red), it can also detect when it gets
within a specified distance to the object (objects are highlighted in
yellow). This is called a near miss. A near miss value can be
entered for each specific collision list or a global value can be
entered for all collision lists.
View Manager
In general the View Manager is used to create custom view points.
When a custom view is applied to the Graphics Window, the
stored object display (Object vis), pose/states (kin poses), etc… can
also be applied.
10 To resize a window:
Y Move the move pointer over the grey border of the graphics
window to be resized. (The mouse pointer will change from
pointing down to pointing up).
Y Pressing the right mouse button will now display a menu.
Y Select Size from the menu. (The border of the window will
become highlighted with red lines and the mouse pointer
will be jumped to the middle of the graphics window).
Y Now move the mouse point past one of the window borders
and you will see the window stretching or shrinking in that
direction.
11 To close a Graphics window (if you have more than one):
Y Move the mouse into the window to be closed
Y Press the [F5] key and select Close window.
Note Editor
This toolbox enables adding notes to entities in the workcell.
To select a note, pick its name in the note-editor list.
.
2 Create some notes by pick.
Y In the Note Editor window, select CreateByPick.
Y Select Apply.
4 Repeat step 3 for note2.
5 Toggle between see text on the note flags or just a flag
Y Press the [F6] key and select Text notes.
Y The notes are turned into flags in the Graphics Window.
Y Press the [F6] key and select Text notes.
Y The notes are turned back into text in the Graphics
Window.
NOTE
Chapter Summary
In this chapter the following was learned:
) Described how to use inverse kinematics to make the robot in
Robcad move
) Described how to work with robotic paths in Robcad
) Described how to use the library utilities
) Described how to follow a simple process from beginning to
end in Robcad
Chapter 5
Basic Simulation
Techniques
Lesson 1: Introduction to
Sequence of Operations
Introduction
¾ To access the SOP menu:
) From the Top Menu window, click Robcad-> Workcell.
) From the Top Menu window, click Sop.
¾ Demo
1 Load the first_cell.ce cell from the projects/intro project.
2 Open the SOP for the station.
Y From the Top Menu window, click Robcad-> Workcell.
Y From the Top Menu window, click Sop.
Y From the Sequence of Operations window, click Sequence.
SOP Organization
Sequences are made up of operations; and operations are made up
of procedures:
) Sequence - Operations performed in a certain order make up a
sequence. A sequence is associated with a workcell and is
saved as a file under the workcell directory. The sequence is
stored separately from the cell.
) Operation - One or more procedures of the same type and
starting time. It is included in a sequence, starting at a specific
time after the start of the sequence, and is stored as part of the
sequence file.
) Procedure - Basically, a procedure associates a part with a
path, and assigns the amount of time it takes to complete the
procedure.
Overview of an Operation
Lesson 2: Creating a
Sequence
Introduction
Operations performed in a certain order make up a sequence.
There are several types of operations that were briefly discussed in
the previous lesson. Within each operation, multiple events can be
performed.
¾ Open a Sequence
1 Open a sequence
Y From the Top Menu window, click Sop.
Y From the Sequence of Operations window, click Sequence.
¾ Define an Operation
3 Determine the type of operation this will be. This step must be
done before anything else.
Y Select Operation -> Type.
Y Enter 0.1 and press [Enter]. (This will allow the joint speed
and acceleration determine the time for the operation).
4 Create a new operation by pressing the operation button on the
operation menu
Y From the Sequence of Operations window, click Operation
Y (May have to click Operation on the Operation window)
.
10 The SOP file must be stored to save changes. The Cell is not
stored with this button, however.
Y From the Sequence of Operations window, click Store.
NOTE
Robcad will figure out the duration for you later when the simulation runs
button.
button.
13 The SOP file must be stored to save changes. The Cell is not
stored with this button, however.
Y From the Sequence of Operations window, click Store.
button.
button.
5 Edit the new scenario.
Y From the Sequence of Operations window, click Edit
scenarios.
Y Move all the active operations to the inactive list using the
>> button.
6 Create three more operations in our sequence as described
here.
7 To prepare for the next exercise select the all active scenario
Y From the Sequence of Operations window, click Scenario -
> All Active.
Y If the events show in black (not with the colors from the
legend): In the Gantt chart window, click Events & signals -
> Colored.
6 Initialize the start position for the wireframe part.
Y From the Sequence of Operations window, click
Simulation.
Y Add a detach event for the wireframe part at the end of the
Load_part operation.
Sub-Sequences
Sub-sequence enables putting an existing sequence into the current
sequence. The Gantt chart displays the subsequence as a white bar
showing the duration of the subsequence. Subsequences must be
for the same workcell as the current sequence.
Copying Operations
Operation/operation COPY option enables copying the current
operation.
1 You must have the operation you want to copy in the operation
window .
2 Then the operation button COPY will be available.
The bars are displayed as hollow and are colored according to the
type of the motion. Such a device operation may contain several
procedures, i.e., several motions for the same device.
One example is a spot-welding gun that is operated at each
welding location. All of the procedures of the same device are
included in the same operation. Every such driven operation lasts
from the time it is created until the end of the simulation. When the
simulation is run, the bars are shortened to correspond to the actual
time that the device moved.
Manipulating Viewfinders
Any graphics window either can be activated as the viewfinder of a
selected camera, or it can be used for the usual Robcad display:
Y Name it for_printing.
NOTE
An Output operations window appears with option to output the text to a printer or to
a file.
Y Select for_printing.
Y Click Select.
2 You should already have created at least one view in the
previous exercises. We will now send one them to a picture
file.
Y Click Accept.
Y From the Report Creator window, click Prepare Images.
Y Click Accept.
Y From the Report Creator window, click Generate.
Y (If you are on a PC or the browser does not open
automatically, See the next steps for information).
Y Select Browse.
Y Browse to your project directory (projects/myproject)
Y Browse into your WEB_REPORT directory
(projects/myproject/myproject_WEB_REPORT).
Chapter Summary
In this chapter the following was learned:
) The basics of SOP in Robcad.
) How to create a sequence.
) How to create a scenario.
) How to edit operations.
) How to add events to an SOP.
) How to use sub-sequences, copying sequences, and driven
operations.
) How to create and use camera views.
) How to output pictures and static VRML files.
) How to output simulations to various formats.
) How to create web reports of the workcell.
Chapter 6
Other Selected
Topics
¾ Instructor Demo
Instructor: run the path once with joint motion type, then run it
again (with a different track color) with linear motion type. Use a
similar process to explain
External Axis
th
7 Axis - Topic not covered in class.
Lesson 2: Cables
Introduction
The eM-Cables product provides a convenient means of simulating
the use of the various cables used with robotic applications. These
include electrical power and control cables, liquid-conducting
coolant and materials cables, and air-pressure control and cleaning
cables. Although many designs enable ignoring these cables,
critical component placement for optimizing space requirements
can require taking cable runs into account.
Overview
The eM-Cables product enables generating cables in the workcell,
routed where and as desired. In the Robcad system, a cable is a
special component that obeys the natural rules of physical motion.
It looks like a long, narrow pipe attached at both ends to other
objects in the workcell. When these objects move, the cable
remains attached and changes its shape accordingly. Other forces,
such as gravity and contact with objects in the environment, also
affect the shape of the cable.
User-determined properties of cables that affect their behavior are
length, radius, and stiffness. The length and radius determine the
size of the cable; the stiffness affects the gravity and internal forces
that act on the cable to determine its final shape. In addition, as
many hooks as desired can be placed along the length of the
cables, attached where desired either with fixed force or with
linearly variable spring-like force, or attached directly to the
hooked point either at a fixed point or with the ability to slide
through the attachment.
Both the cables can be modified, deleted, colored and queried like
any other component; when the workcell is copied or deleted, the
cables accompany it. But they cannot be actively placed, shifted or
rotated. If cables touch other items in the workcell, a contact
feature can be actuated to cause the system automatically to route
the cables over and around obstacles; highlighting can also be
enabled to show in a distinctive color both the cables and the
contacted obstacles.
Usage
To use the eM-Cables product, load the desired workcell, and
proceed as shown below.
1 Create start and end point frames.
NOTES:
The system assumes a cable shape in accordance with the user’s intention.
Nevertheless, users can influence the creation, modification and regeneration of the
cable by letting the cable shape pass through a selected frame.
Y Click [OK].
2 Load the eM-Cables window.
Y From the Top Menu, select Robcad -> Applications.
Y Click Accept.
NOTE
A pass through location (frame) may have to be added to reduce the sag of the
cable.
Y Click Accept.
6 Modify the cable as needed.
Y From the eM-Cables window, click the Create cable button.
Y In the Create cable window, pick your newly created cable
for the Cable name.
Y For Stiffness, enter 4.
Y Click Accept.
7 Simulate the r120_1 robot along the pa1 path (yellow path),
with the newly added cable. Notice how the cable flexes.
Concurrent Access
Y Type: cmd
2 Change into the folder with the data.
Y Type: cd C:\Robcad\data\projects\robdata\ug_parts
NOTE
ProE parts are also available in the training data.
¾ On UNIX:
CAD_WORK_DIR /usr/local/robcad/usr
¾ On a PC:
CAD_WORK_DIR C=\Robcad\usr
¾ On UNIX:
#
# For SGI and SUN
#
source /usr/local/robcad/sys/r.cshrc
setenv LD_LIBRARYN32_PATH ${LD_LIBRARY_PATH}
¾ On a PC:
CATIA v4 * Yes
CATIA v5 * Yes
SET Yes
STEP Yes
NX * Yes Yes
VDFS Yes
PRINCIPLE
Robcad does the import as a two step process. First, it creates a ROBFACE file
from the input file. Then it converts the ROBFACE file to a component file.
2 In the Source file area of the Cad Import window, verify that
you're in the projects/robdata project
Y The source project name is shown in the lower left hand
corner
NOTE
There are 2 IGES files in this project.
PRINCIPLE
Robcad does the export as a two step process. First, it creates a ROBFACE file
from the component file. Then it converts the ROBFACE file to a specified file
format.
Chapter Summary
In this chapter the following was learned:
) More on robot motion.
) How to use and create cables.
) How to create and use CAD-linked components.
) How to import and export data via some UNIX tools.
) How to import and export components from other file formats.
) How to use some of the other Robcad data commands.
Appendix A
WKP100U
Classroom Setup
Lesson 1: Software
Requirements
Software Requirements
This class requires the following list of software and applications be
installed on every client:
) Robcad.
Y Type: cmd
Y Change directories to the C:\Robcad\data folder.
Y Type: attrib –h /s
Y Type: attrib –r /s
6 Close the command window.
Y Click [OK].
3 Save settings for the library root.
Y In the Setup window, click the Configuration button.
NOTES:
In this class it is not necessary, however if you want to change drive letters (for
example to the I: drive), it can be accessed by typing /* in the Filter field and
pressing [Enter]. You can then double-click the desired drive.
Y Click [OK].
Y The workcell contents are displayed in the Graphics
Window.
3 Rotate, Pan, and Zoom the workcell.
4 Open the Station11 SOP.
Y In the Top Menu window select the SOP button. The
Sequence of Operations window appears on the right side
of the Graphics Window.
button.
6 Exit from Robcad
Y In the Top Menu window select the Robcad button.
Y On the dropdown menu, select Exit.
Appendix B
Customizing Your
.robcad File
¾ On UNIX:
¾ On PC:
ANGLE_GOURAUD 166
FLIP_DISPLAY_MODE wire gouraud
Keyword Descriptions
NOTE
Not all parameters are active on a PC.