MT45215 S 121 PDF
MT45215 S 121 PDF
MT45215 S 121 PDF
Publication Number
MT45215-S-121
Tecnomatix copyright, proprietary, and
restricted rights notice
Trademarks
Siemens and the Siemens logo are registered trademarks of Siemens
AG. Tecnomatix is a trademark or registered trademark of Siemens
Product Lifecycle Management Software Inc. or its subsidiaries in the
United States and in other countries. All other trademarks, registered
trademarks, or service marks belong to their respective holders.
Adobe Reader is a trademark or registered trademark of Adobe Systems
Incorporated.
Apache is a registered mark or trademark of The Apache Software
Foundation or its subsidiaries in the US and other countries.
AutoCAD is a registered mark or trademark of Autodesk, Inc. or its
subsidiaries in the US and other countries.
Firefox is a trademark or registered trademark of Mozilla Foundation.
Intel is a registered trademark of Intel Corporation.
Java is a registered trademark of Oracle and/or its affiliates.
Microstation is a registered mark or trademark of Bentley Systems,
Incorporated or its subsidiaries in the US and other countries.
Oracle is a registered mark or trademark of Oracle Corporation or its
subsidiaries in the US and other countries.
Siemens is a registered mark or trademark of Siemens Corp. or its
subsidiaries in the US and other countries.
TiCon is a registered mark or trademark of MTM or its subsidiaries in
Germany and other countries.
TR45215 prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
TR45215 audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Learning tracks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-30
Creating various Excel reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31
Basic Excel reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31
Basic Excel report usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-31
Cycle time reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-32
Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-34
Quick tips for robot signals and macros . . . . . . . . . . . . . . . . . . . . . . . . . 7-35
Quick tips . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-35
Viewing object attributes in the Object Tree . . . . . . . . . . . . . . . . . . 7-35
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-37
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1
Course description
In the Process Simulate Intermediate Robotics (CEE) course, basic features of
robotic event-based simulation are explored using the Cyclic Event Evaluator
(CEE). The CEE, which functions like a PLC, is used to control how a typical
robotics simulation progresses using logic.
Course objectives
Learn about:
• Project preparation
• Sensors
• And More
TR45215 prerequisites
In this course, you expand what was learned in the TR45115 course (5 days
of training). (This Student guide assumes that you have already taken this
prerequisite course).
• TR45115 Process Simulate Standalone Basic Robotic Simulation
TR45215 audience
Individuals who would like to become knowledgeable in creating event-based
simulations using the Cyclic Event Evaluator (CEE). This course is also a
prerequisite to the TR42315 Process Simulate Standalone Advanced Robotics
course.
Learning tracks
Learning tracks for the Tecnomatix application are
found on the Siemens PLM Software training website:
training.industrysoftware.automation.siemens.com/index.cfm
Related Courses
• TR45101 – Process Simulate Standalone Part Flow Simulation
1 Introduction to event-based
simulation
Purpose
To introduce event-based simulation (using the Process Simulate Cyclic
Event Evaluator).
Objectives
After you complete this chapter, you should be familiar with:
• The typographical conventions used in this student guide.
Training introduction
Purpose
In this topic, you learn about the basic training manual structure.
Objectives
Do I do this?
1-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
The course starts out using simple, basic data. Later, there are three
data that can be used: Automotive, Airplane, or Structural. In cases
where there is a data choice, the activity includes the name of the choice:
Activity Name Prefix Description
Refers to an automotive assembly
Automotive
process
Refers to an airplane maintenance
Airplane
process
Refers to a large structure
Structure (skyscraper or ship) general
assembly process
Objectives
After you complete this topic, you should be able to:
• Find and identify robot signals.
1-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
or the entry into restricted zones). Robot may also be waiting for signals sent
by devices, which are not controlled directly by the robot. (The robot normally
directly controls guns; clamps are more likely to be controlled by the PLC).
Process Simulate offers this functionality, which is available by selecting the
robot (in the Graphic Viewer or in the Resources folder of the Object Tree)
and then choosing Robotics→Robot Signals .
The following diagram illustrates the basic relationship between robot (OLP)
signals and PLC signals:
Selecting the Robot Signals command opens the Robot Signals dialog box
for the selected robot. This dialog box maps the signal on the robot with the
signal on the PLC. The I/O shown here from the perspective of the PLC. For
example: robots receive (wait for) PLC output signals and send PLC input
signals.
• New Input Signal - creates a new PLC input signal (and robot output
signal)
• New Output Signal - creates a new PLC output signal (and robot
input signal).
• To move the selected commands up/down in the list: Press the [up] or
[down] arrow keys or click Move Selected commands Up or Move
Selected commands Down .
1-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
• File submenu:
o # OpenFile — Opens a file for editing. The Mode setting enables you
to Append or Overwrite file content. Also, set a Handle to be used
in the next WriteLine and CloseFile commands and a Name for the
path to the file to be opened.
o # CloseFile — Closes an open file. Set the Handle of the file that was
opened with the OpenFile command.
• Graphics submenu:
• Paint submenu:
• ToolHanding submenu:
o # Connect — (add an external axis to the robot during simulation)
connect the specified joint from the specified device as an external axis
of the robot. For example, when simulating a grinding robot with a
tool changer with several sized grinding tools.
1-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
o # WaitDevice — The robot waits until the selected device reaches the
selected target pose. (Review from the TR42115 course). (Review from
the TR45115 course).
Simulation Panel
Purpose
In this topic, you learn how to use the Simulation Panel.
Objectives
After you complete this topic, you should be able to:
• Get an overview of how an event-based simulation operates.
• Transitions
• Sensors
• Robotics
• Logic blocks
• Modules
You learn how to setup and use each technique throughout this course.
1-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
• Settings - Opens the Settings dialog box, enabling you to define the
location in which to save .SPSS files.
• Force Signals
• Unforce Signals
• Inputs - For input signals this column displays the signal value. The
value is updated during simulation.
• Outputs - For output signals this column displays the signal value. The
value is updated during simulation.
• LB — Displays the value of Logic Block Parameters, Entries and Exits for
debugging purposes.
• Forced Value - The value sent by the signal if the check box in the Forced
column is selected. For binary values, a green square indicates a signal
that is always on (TRUE), while a red square indicates a signal that is
always off (FALSE). If a signal can carry a numeric value, double-click the
box in this column to set the forced value for the signal.
2. Enter a name for the SPSS (Simulation Panel Signals Settings) file and
click OK.
1-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
.SPSS files also save the forced value and status of the signal. It is
very useful to store forced values in order to initiate simulations
with predefined scenarios (Amount of cycles etc.) It is possible to
specify the default folder where .SPSS files are stored and loaded
from.
2. Choose a SPSS (Simulation Panel Signals Settings) file and click OK.
Activities
Introduction to signals
Purpose
In this topic, you learn the basics of signals.
Objectives
After you complete this topic, you should be able to:
• Create, view, and name signals.
Signal basics
Signals are used to define the logic of a simulation.
There are several types of signals that can be created.
• Key Signal – Used for user input (for example a Palm Button).
Naming rules
These naming rules follow the IEC 61131-3 international standard for
variable (also known as the identifier) naming.
1-14 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
• Upper and lower case, numbers embedded underlines. All the above plus:
o LIN_SW_5 LimSw5 abcd ab_Cd
• Upper and lower case, numbers leading or embedded underlines. All the
above plus:
o _MAIN _12V7
Signal Viewer
Purpose
In this topic, you learn how to use the Signal Viewer.
Objectives
After you complete this topic, you should be able to:
• Use the Signal Viewer.
• Signal Viewer Filter - allow users to filter the rows by values in the
various columns seen in the table. For example: filter by signal name, by
address, as well as by the signal's connection to operations or resources.
• Reset Signal Viewer Filter - clears the filter so that all signals is shown.
1-16 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
To create a signal:
2. Choose the desired type, enter the name, and click OK.
Activities
Purpose
In this topic, you learn about logical transitions between operations.
Objectives
After you complete this topic, you should be able to:
• View transitions for operations.
Overview of transitions
In a standard time-based simulation, the sequence of operations (SOP)
determines the order the operations is executed. In an event driven
simulation, logic determines the order the operations is executed.
The sequence between the operations is only one element of the complete
logic definition. For example, operation Op1 should start before operation
Op2. This is the sequence.
However, operation Op2 can have more conditions to define the criteria to
start.
The method used to control the start of an operation is the evaluation of its
transition condition (the end criteria for the previous operation).
1-18 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
Transition basics
By default all compound operations do not have transitions and all operations
do. The default condition contains a special signal named according to the
operation with _end appended to the end of the name. This signal “flickers”
to TRUE when the operation is finished executing.
For compound operations the internal operations are also important.
The resulting conditions are the common conditions for the compound
and the last internal operations conditions.
The entrance control for the successor operation is entered in the lower
section of the Transition Editor dialog box. Typically you leave this blank,
unless there are multiple successor operations.
Transitions usage
To create a transition:
3. Edit the common condition and enter the desired logical conditions.
You can include a maximum of 20 signals and operators, combined,
in each expression.
Later in class you discuss several ways too handle branching logic
(or alternatives).
To remove a transition:
• On the Sequence Editor, Unlink two or more operations as discussed
in the TR45115 Process Simulate Standalone Basic Robotic Simulation
course.
Activities
In the CEE operational transitions section, do the following activities:
• Look at some existing transitions
1-20 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
Purpose
Objectives
Sensor basics
Sensors enable you to detect 3D-visualized parts and resources which come
near or enter the sensors detection range (for example collision detection or
near miss detection). They are used for:
• Part detection (is the part at the right place?),
• Interlock detection (stop robot if it moves too near the security area of
another robot or a security fence)
• Etc.
There are several types of sensors that created and used in Process Simulate:
Activities
Purpose
In this topic, you learn how to view the contents of logic blocks and smart
components.
Objectives
A logic block contains a defined logic behavior derived from one or more
entries, exits, and internal equations.
For example, a logical resource can be used to describe the operation of an
air conditioning system, which activates to change the temperature to a
predefined level according to inputs it receives, such as current readings
from a thermostat. The logic resource contains the logic used to determine
when to activate the air conditioner.
Logic resources can contain entry and exit values, as well as any number of
parameters, and constants. These must all have unique names. You can
create expressions that determine which exit value is triggered and under
which conditions.
The Edit Logic Resource command enables you to change the names of
entries and exits, but not parameters, constants, or actions.
Activities
In the Viewing logic blocks and smart components section, do the following
activities:
• Look at the content of a logic block
1-22 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Introduction to event-based simulation
Objectives
After you complete this topic, you should be able to:
• Look at the content of a module
Module basics
In this topic you create and use modules to clean up how you are setting up
our logic. Modules are created in the Modules Viewer.
The Modules Viewer enables you to create and view the hierarchy of modules
in the study . It contains:
• The Modules Viewer toolbar enables you to manage the contents of the
Modules Viewer.
• The Modules Viewer Inventory area displays all the modules that are
stored in the study . From this area, modules can be dragged and
dropped into the Modules Viewer Hierarchy area, as required.
The Modules Viewer enables you to edit and evaluate signal expressions.
It can be considered to act as an “internal PLC”. In Modules Viewer, you
can define a signal as a result of a logical expression comprising a number
of other signals and operators. The expressions are evaluated each time a
scan is performed. You can edit the signals assigned to a selected module by
defining new expressions for signals, or by modifying the expressions defined
for a selected signal.
To open it:
By default it is collapsed against the right side of the Graphic Viewer. If
it is not:
• Choose View→Viewers→Modules Viewer.
Activities
In the Modules Viewer (optional) section, do the following activities:
• Look at the content of a module
Summary
Subjects learned in this topic:
• The typographical conventions used in this student guide.
1-24 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Lesson
Purpose
To learn about device operations and transitions.
Objectives
After you complete this chapter, you should be familiar with:
• Cover the prerequisites of working in an event-based study.
• How to set up a signal to control whether the clamps are open or closed.
Objectives
After you complete this topic, you should be able to:
• Know some the prerequisites to loading an event-based study.
Event-based basics
• Study Mode
Activities
In the Working in event-based studies section, do the following activities:
• Starting out
2-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
Device operations
Purpose
In this topic, you learn how to create device operations.
Objectives
After you complete this topic, you should be able to:
• Create device operations.
3. In the Name box, enter a name for the operation. By default all new
device operations are named Op#.
4. From the From pose list of values list, choose the start pose for the device.
All devices have a HOME pose. This is the default start pose for a
device operation. As a best practice, it suggested to set the From
pose to (current pose).
5. From the To pose list of values list, choose the final pose for the device.
6. To specify further details for the device operation, click Expand . The
New Device Operation dialog box is expanded, as shown below:
2-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
8. In the Duration box, modify the duration time for the operation by using
the up and down arrows or by typing in the required time.
If the time specified is less than the minimum time required for
the movement (specified when defining kinematics), the time is
adjusted automatically to the minimum time required when the
operation is run. By default, the duration time is five seconds. If
required, you can change the unit of measurement in the Units tab
in the Options dialog box.
To edit an operation:
1. Choose an existing device operation from the Operation Tree.
2-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
Ungroup does not change the order or hierarchy of the group’s descendant
nodes.
• Settings - Opens the Settings dialog box, enabling you to define the
location in which to save .SPSS files.
• Unforce Signals
• Inputs — For input signals this column displays the signal value. The
value is updated during simulation.
• Outputs — For output signals this column displays the signal value. The
value is updated during simulation.
• LB — Displays the value of Logic Block Parameters, Entries and Exits for
debugging purposes.
• Forced Value — The value sent by the signal if the check box in the
Forced column is checked. For binary values, a green square indicates
a signal that is always on (TRUE), while a red square indicates a
signal that is always off (FALSE). If a signal can carry a numeric value,
double-click the box in this column to set the forced value for the signal.
Activities
In the Device operations section, do the following activities:
2-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
Purpose
Objectives
The Create Joint Value Sensor command can be found in several locations.
• A single joint's position value. When the position of the joint reaches a set
value within the sensor's detection range, the sensor's signal is activated.
• A specific pose. When all joints reach pose values within the sensor's
detection range, the sensor's signal is activated.
1. In the Object Tree, right-click the device for which you wish to define
the sensor.
4. (This step is required for robots and optional for devices.) Choose a pose
from the list of device-specific poses displayed in the Pose list of values.
The range of motion of the selected pose serves as a base value when
defining the sensor's active range.
5. (For devices only.) Choose a joint from the list of device-specific joints
displayed in the Joint list of values. The system checks the value of the
selected joint against the sensor's active range.
6. (For devices other than robots.) Define the sensor's active range by
Selecting the appropriate Type option.
If the device is a robot, the Type options are disabled.
• Pulse - The sensor emits a signal when the joint value is identical to
the sensor value. The bit is set high the instant the conditions are true
(for example on the rising edge) and then reset afterward. However, if
the target device is not listening for the signal at that instant, it may be
missing. Therefore, it is the least common type.
2-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
• Range (like having a tolerance) - The sensor emits a signal if the joint
value is between the From and To values configured for the sensor. The
bit is set high for a longer time period (and then reset), so that it won’t get
missed. This is the most common type.
• Step From (rising edge) - The sensor emits a signal if the joint value
is the same as or higher than the From value configured for the sensor.
The bit is set high the instant the conditions are true and not reset (for
example catch the rising edge and not turn off)
• Step To (trailing edge) - The sensor emits a signal if the joint value is
the same as or lower than the To value configured for the sensor. The bit
is set high after the conditions are true (for example catch the trailing
edge)
1. In the From and To list of values lists, enter the required values for the
sensor's active range, as appropriate.
2. Click OK. The Create Joint Value Sensor dialog box closes and the sensor
appears in the Object Tree.
Activities
In the Joint value sensor section, do the following activities:
• Creating joint value sensors
Objectives
After you complete this topic, you should be able to:
• Create signals, sensors, and devices operations simultaneously.
It is enabled when you choose at least one non-robot kinematic device, but it is
disabled if a robot is selected. The command performs the following functions:
• Creates MoveToPose signals. MoveToPose signals appear in the Signal
Viewer using the following naming convention:
• DeviceName_to_NameOfPose
• Creates pose sensors for selected poses. The pose sensors appear in the
Object Tree as a child of the device, using the following naming convention:
• DeviceName_to_NameOfPose
• DeviceName_at_NameOfPose
2-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
• Creates device operations for moving the device between pairs of poses.
o For each pair of selected poses (PoseA and PoseB), the Create Device
Operations/Signals command creates two operations. One operation
moves the device from PoseA to PoseB and the other moves the
device from PoseB to PoseA. The device operations appear in the
Operation Tree viewer in the Operations/LineOperation path, in the
GeneratedOps compound operation, using the following naming
convention:
o DeviceName_from_NameOfPoseA DeviceName_to_NameOfPoseB
If the GeneratedOps compound operation does not exist,
running the Create Device Operations/Signals command
creates it.
Creating the device operations automatically creates an End signal for each
device operation. The End signal appears in the Signal Viewer, using the
following naming convention:
• DeviceName_from_NameOfPoseA DeviceName_to_NameOfPoseB
o Using the options in the Create for marked poses section, you can
configure the Create Device Operations/Signals command to do
one of the following:
• Multi-selection mode: When you choose more than one device, the Create
Device Operations/Signals command operates in multi-selection
mode.
• The multi-selection mode operates only on devices that fulfill one of the
following criteria:
o The device has two poses and neither pose is HOME.
o For devices that have two defined poses, the Create Device
Operations/Signals command creates two operations. One
operation moves the device from Pose A to Pose B and the other moves
the device from Pose B to Pose A.
2-14 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
o For devices that have three defined poses, one of which is Home, the
command does not create operations for the Home pose, but it does
create two device operations for the other two poses. One operation
moves the device from Pose A to Pose B and the other moves the
device from Pose B to Pose A.
You can move the device to a specific pose by Selecting the pose and
clicking Jump to selected Pose. Double-clicking a pose performs
the same action.
4. In the Create for marked poses section, choose one of the following:
• Signals and Operations: Creates MoveToPose signals, pose sensors,
and device operations for each of the poses configured in the Device
Poses section.
• Only Signals: Creates MoveToPose signals and pose sensors for each
of the poses configured in the Device Poses section.
5. Click OK.
• Process Simulate creates the following:
• Pose sensors. The pose sensors appear in the Object Tree as a child
of the device. Creating the pose sensors automatically creates an AT
To create device operations and signals for more than one device:
1. Select the desired devices in any viewer.
• Pose sensors. The pose sensors appear in the Object Tree as a child of
the device.
Activities
2-16 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
Objectives
After you complete this topic, you should be able to:
• Control which device moves using signals.
Change the Branch Type in the list of values to Alternative. The link type
changes accordingly:
When the Common Conditions for a selected operation have been met,
Process Simulate advances to the operations that have been defined to follow
the selected operation. For each of the operations defined to follow the
selected operation, Differential Conditions can be defined. In order for each
operation to continue, its Differential Conditions must be met, in addition to
the Common Conditions defined for its predecessor.
To define or edit differential conditions:
1. In the Transition Editor dialog box, choose the operation to which the
program continues as shown with the arrow:
Notes:
• Normally there is no need to define a “decision operation” which evaluates
the “IF” condition.
• If the “IF” is the first step to be evaluated in the sequence (or inside a
compound operation) then a dummy “Non-Simulation operation must be
inserted to allow the definition of the differential conditions.
o In the Sequence Editor, select the parent compound operation.
o In the New Non-Sim Operation dialog box, enter Switch for the Name.
2-18 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
o Click OK.
Activities
Objectives
After you complete this topic, you should be able to:
• Have a few things to try in order to trouble shoot problems encountered.
Quick tips
Sequence Editor techniques:
• Verify LineOperation is the current operation: It should show in bold in
the Operation Tree and should be the top operation in the Sequence Editor.
o Method 2: Start the simulation and quickly stop it. Choose the desired
operation and click Operation Start Condition .
2-20 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Device operations and transitions
o Select in the selection box below the check box, select the desired
resources from the Object Tree or Graphic Viewer.
o Click Apply .
• Cross Reference Query tells where the selected signal is used (for
example is safe to delete or not) If you delete a signal that is used, it
shows deleted signal or deleted parameter on the place where it is used
(for example on the transition condition or elsewhere)
• In the Object Tree, click Customize Columns to add the Input Signals
and Output Signals columns.
Summary
Subjects learned in this topic:
• Covered the prerequisites of working in an event-based study.
• How to set up a signal to control whether the clamps are open or closed.
2-22 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Lesson
Purpose
To provide information on material flow and part appearances.
Objectives
After you complete this chapter, you should be familiar with:
• How to create studies other related topics and an overview of the topics
in this topic.
• How to use what you have learned together with some new material flow
concepts.
Objectives
After you complete this topic, you should be able to:
• Learn a little bit about event-based studies
• Part assigning
• Part relocation
• Synchronize operations
3-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Part appearances and material flow
Objectives
After you complete this topic, you should be able to:
• Work with part appearances
Appearances
Viewing product in a line simulation mode:
• When a study is first opened in Line Simulation Mode , the product
associated to the operation tree is not shown.
What is an appearance?
Appearance display:
• When generated automatically or manually, appearances are shown in
the Graphic Viewer and in the Appearances folder of the Object Tree.
• The appearance stays “alive” through the defined material flow sequence
defined in the Material Flow Viewer.
4. Click OK.
3-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Part appearances and material flow
Objectives
After you complete this topic, you should be able to:
• Setup the initial object flow operation.
• Links between operations are used for holding the transition condition
(which becomes the start condition of the successor operation).
• Can only contain material flow links and operations (no compound
operations)
• A material flow link determines the order in which parts are moved
between operations
Compound parts:
• If, in a material flow, the first operation is a flow operation for partA,
then there’s a flow operation for partB, and then a flow operation for a
compound part containing partA and partB then:
3-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Part appearances and material flow
• Add Operation
• Link Mode
• Add Link
• Unlink
• Delete
• Choose
• Move
• Zoom In
• Zoom Out
• Zoom to Fit
• Zoom to Selection
• Show / Hide
• Display Parts
• Layout Display
• Toggle Grid
In this topic, you use signal events and key signals in the Simulation Panel
to set and reset signal values. Later, you replace most of signal events with
other event-based tools such as sensors, modules, and smart components.
During event-based (CEE) simulation, event execution operates as follows:
• For events that are not related to objects (for example, pause and signal
events), the execution time is calculated from the start time of the first
operation in the compound in each cycle.
• Process Simulate executes all events of leaf operations (for example, flow,
weld, and non-sim operations) as usual.
A Signal Event sets the value of a signal. Signal values are either
True or False . Signal events are only relevant when working in
a study in Line Simulation Mode .
Activities
In the Part appearance and material flow basics section, do the following
activities:
• Setting up the initial object flow operation
3-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Part appearances and material flow
Purpose
In this topic, you learn quick tips to part appearance and material flow
problems.
Objectives
After you complete this topic, you should be able to:
• Have a few things to try in order to trouble shoot problems encountered.
Quick tips
Part Associations:
• Parts must be associated the operation structure to be able to generate
them in Line Simulation Mode .
• Operations could also have been added to the Material Flow Viewer from
the Not in Viewer tab of the Material Flow Validity Report .
Summary
Subjects learned in this topic:
• How to create studies other related topics and an overview of the topics
in this topic.
• How to use what you have learned together with some new material flow
concepts.
3-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Lesson
Purpose
This chapter provides information on how to setup and use sensors and
conveyors. It contains the following lessons:
Objectives
After you complete this chapter, you should be familiar with:
• The types of sensors in Process Simulate.
Sensor introduction
Purpose
In this topic, you learn how the basic types of sensors available in Process
Simulate.
Objectives
Sensor basics
• Interlock detection (stop robot if it moves too near the security area of
another robot or a security fence)
• Etc.
Sensor types
• Proximity Sensor
A proximity sensor requires the selection of geometry to represent it.
It is a 3D sensor that checks for collisions/near misses with existing
components. The sensor is activated when one or more predefined
elements enter its predefined detection range (near-miss) of the geometry
of the sensor. To create this type of sensor:
4-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
• Property Projector
Technically, this is not a sensor. However, it is used to add properties,
defined in the Edit Part Simulation Property List, to objects (like putting a
bar code on an object) that a property sensor can detect. To create this
type of object:
• Property Sensor
A property sensor is used to detect objects bearing certain properties,
added by a property projector, during a simulation. To create this type of
sensor:
Objectives
After you complete this topic, you should be able to:
• Create and use light sensors.
4-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
2. Set the Lens Parameters for the photoelectric sensor by choosing values
in the Diameter and Width (thickness) boxes. The lens has no affect on the
simulation. It just provides selectable geometry in the Graphic Viewer.
3. Set the beam parameters for the photoelectric sensor by choosing values in
the Length box. The Length is the maximum length of the beam emitted
by the photoelectric sensor. This is a critical attribute of the sensor.
5. Clicking OK, the sensor resource and an input signal with the same name
as the sensor’s name is created.
By default light sensors are not active. You can activate them, but
they still may be ignored. They need to be used to be truly active.
Activities
In the Photoelectric sensors (light sensors) section, do the following activities:
4-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Proximity sensors
Purpose
In this topic, you learn how to create and use proximity sensors.
Objectives
After you complete this topic, you should be able to:
• Create and use proximity sensors.
4. In the Check Interference With section, enter the names of the objects
in the Graphic Viewer that activates the sensor when they enter its
detection range.
5. From the Detection Range dropdown list, specify the sensor’s detection
range, meaning the maximum distance that an object can be positioned
from the base object and still activate the sensor. If the distance between
any of the objects specified in the Check Collision With section and the
base object is equal to or lower than this range, the sensor is activated.
4-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
7. Click OK.
2. In the Edit Proximity Sensor dialog box, modify the sensor settings as
required.
Activities
4-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Objectives
After you complete this topic, you should be able to:
• Use and edit a conceptual conveyor.
• Belt conveyor – Part sits directly on the conveyor. The whole conveyor
has to stop in order to stop the part (synchronous stop).
4-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Linear conveyors
Curve conveyors
Conveyor basics
This information is true for all conveyors.
• Conveying Tolerance - define how close a part has to be to the conveyor
in order for the part to be conveyed. Any object within the conveying
tolerance moves as if it is placed upon the conveyor.
• You cannot configure the collision tolerance to be less than the conveying
tolerance. This combination is blocked because the application checks for
collision between objects on the conveyor.
7. Choose the desired location under the system root and name for the COJT.
4-14 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
7. Choose the desired location under the system root and name for the COJT.
• Change Speed – Add logic that enables the use of controllable speeds
4-16 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
The formula calculating the speed is just a default behavior and like
the other three actions can easily be edited with the Logic Block Editor.
• The surface entities to which the parts being transported are attached.
7. Choose the desired location under the system root and name for the COJT.
4-18 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Activities
• Creating a skid
Objectives
After you complete this topic, you should be able to:
• Define a conveyable part.
3. In the Conveying Frame box, enter the X-, Y- and Z-coordinates of the
frame for conveying the part. By default, the frame is set as the center
of the bottom of the part.
4-20 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Activities
In the Working with a conveyor and conveyable parts section, do the following
activities:
• Open the Ex5 study
Property projectors
Purpose
In this topic, you learn how to create and use property projectors.
Objectives
After you complete this topic, you should be able to:
• Create and use a property list.
• Between this lesson and the next one, you discuss how to add properties to
parts using Property Projectors and read part properties using Property
Sensors.
• Etc.
• Property Sensors
o Read part properties.
4-22 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Property list
• The Edit Part Simulation Property List enables you to define the part
properties that can be assigned by a Property Projector.
2. Click Add.
In the Properties section of the Create Property Projector dialog box, the
Available Properties list displays the properties available for allocation to
objects (those properties that you defined in the Deactivate Sensor) and
the Used Properties box displays the properties selected for allocation by
the property projector.
Property projector
The Edit Property Projector command enables you edit existing property
projectors to configure its detection range, the properties that should be
projected, and the parts to be detected.
To create a property projector:
3. The property projector is shown together with a ray that represents its
range. The property projector allocates properties to objects that cross
its ray.
Activities
4-24 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Property sensors
Purpose
In this topic, you learn how to read part properties using Property Sensors.
Objectives
After you complete this topic, you should be able to:
• Create and edit property sensors.
The Edit Sensor command enables you to configure the sensor’s name, the
signal name and type to be created for the sensor, its detection volume and
range, and the property and parts to be detected.
To create a property sensor:
4. The property sensor is shown together with several 3D rays that represent
its detection zone. The property sensor detects properties on objects that
enter the zone.
Activities
In the Property sensors section, do the following activities:
• Using property sensors
4-26 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Objectives
After you complete this topic, you should be able to:
• Have a few things to try in order to trouble shoot problems encountered.
Quick tips
General:
Sensors:
• If the sensor is not working: verify it is active, and that it is “used”. For
example, they must be included in a Transition .
Skids:
• If you configure the Object Tree to show the Attachments column, you is
able to see on which conveyor the skid is traveling.
Conveyors:
• When defining a conveyor, the Collision Tolerance should be entered
before the Conveying Tolerance; otherwise you get an error.
• When defining a conveyor, look at the yellow arrow down the center of the
movingSurface. This is the default forward direction of the conveyor.
You want the skids to move around the track clockwise. If yours is going
counter clockwise, click Change Direction to switch the default forward
direction.
• If the conveyor is not working verify that the sensors are active, that the
part was defined as conveyable, and that the conveyor was not defined as
a skid conveyor (if trying to move parts).
4-28 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Sensors and conveyors
Summary
Subjects learned in this topic:
• The types of sensors in Process Simulate.
Purpose
To provide information on the creation and usage of logic blocks and smart
components.
Objectives
After you complete this chapter, you should be familiar with:
• How to create logic blocks
5-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
Objectives
After you complete this topic, you should be able to:
• Compare modules and logic blocks.
o Can export and import between studies (becomes a new object) Used
for logic that is specific to a study, but is called over and over within
the study
equation. For example, a logic block can be used to describe the operation of
an air conditioning system, which activates to change the temperature to a
predefined level according to inputs it receives, such as current readings from
a thermostat. The logic block contains a formula, used to determine when to
activate the air conditioner.
Logic resources (logic blocks) contain at least one entry value and/or exit
value, as well as any number of parameters and constants. Expressions can
be created that determine which exit value is triggered and under which
conditions.
This diagram shows the relationship between the PLC and a logic block.
• Each PLC output signal is an entry into a device or logic block and each
feedback (in other words an exit) from any device is an input signal into
the PLC.
5-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
• Exits — Typically, entries are connected to PLC input signals whose value
is set by an expression within the logic block.
The following types are possible for entries, exits, constants, and parameters:
• BOOL Boolean (1 bit) — values can be either 0 (false) or 1 (true).
• INT Integer (16 bit) — a whole 5 digit number from −32,768 to 32,767.
After defining the number and types of entry/exit signals it is also possible to
give them meaningful names.
The Abort delay and reset exit condition allows an early reset of a
signal connected to an exit (for example for an emergency stop).
When typing in the Value Expression box, you are prompted with
various options on how to finish typing. Choices are either logic
operators, functions, entries, exits, parameters, actions, or constants
of the logic block. You slowly learn about how to use all of these in the
coming lessons. However, here are some of the standard operators:
• AND — Evaluates to true if both are true.
• XOR — Evaluates to true only if one is true and the other is false.
5-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
Purpose
In this topic, you learn how to make a basic logic block.
Objectives
After you complete this topic, you should be able to:
• Define a safety mat logic block.
Entries
• DETECT – should be connected to a sensor placed on the mat that detects
the presence of an operator.
Internal Logic
• If an operator is detected on the safety mat, then a mat fault is set
Exits
• Mat FAULT – should be connected to a signal that can be used to trigger
devices in the study to stop
Activities
5-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
Objectives
After you complete this topic, you should be able to:
• Use algebraic modeling.
Logic basics
Not all the relevant behavior can be simulated with a simple time delay. The
need for more complex modeling can be given with a simple counting behavior,
for example upon some start signal and until some target value is reached a
motor should be operated and then stopped, the parts moved away and start
again. It is very likely that such a target value may by itself be a variable.
Therefore the Logic Resource Editor has a different user interface and
options, allowing much more complex modeling.
This activity does not reintroduce the basic workflow of logic blocks. Please
refer to the relevant part from the last activity.
Algebraic modeling
In order to deal with mathematics calculations, a different user interface is
needed. This is automatically invoked with a defining a parameter or an exit
signal of a type different then BOOL (for example INT, DINT, REAL).
The expression box is different and no time delay or reset option is available,
which by the way, wouldn’t make much sense.
Signal monitoring
The Signal Monitoring dialog box aids users in debugging logic expressions.
Users can view signals and their status or value in the context of their logic
expressions. This makes it easier to understand how a signal’s value or status
impacts an entire expression, logic block or module behavior and now users
can debug modules, logic blocks, their logic expressions, or any user-defined
expressions. Process Simulate automatically breaks any expression in
the "watch dialog box" to its sub components, providing users with better
visibility and understanding of debugged expressions.
It is used in these scenarios, to evaluate logical expressions during simulation:
• All the logical expressions of one or many modules.
1. Select the desired modules in the Modules viewer.
5-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
2. Type in one or many free hand expressions in the top pane of the
Signal Monitoring dialog box.
After the Signal Monitoring dialog box is opened, you can click Apply
styles to color the signals green or red, according to their value. During
simulation, click Connect To Simulation to update the values shown.
Activities
Objectives
After you complete this topic, you should be able to:
• Using falling edge in a logic block.
Now let’s enhance the simulation and keeping track what was the total
amount of the parts produced after you have several times stopped set and
reset the GO key during the simulation:
Here’s one possible solution:
5-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
You shall therefore identify each time, when the B12_z1_GO key changes
from TRUE to FALSE . This is achieved with the falling edge (FE)
function, available for parameters and exits.
Only entries or parameters can be input to the Boolean functions.
The FE (falling edge) function of (B12_z1_GO) supplies a pulse each time the
status changes from TRUE to FALSE . In order to make the logic blocks
more easily reusable, it is not recommended to use a specific entry name (like
B12_z1_GO) but a more generic one (for example New).
You need a Boolean entry (where the GO signal is connected) and an
INTEGER for the amount in the actual production batch and for exit you need
an integer indicating the total summation.
The main equation is then given by:
Batch_sum = Batch_sum + (Produced * FE (New)) where FE means use
falling edge (FE) detection from the functions list.
Activities
In the Rising edge and falling edge functions section, do the following
activities:
• Using falling edge in a logic block
Purpose
In this topic, you learn how to use other signal functions.
Objectives
After you complete this topic, you should be able to:
• Learn more about using functions in logic blocks.
• RS ( set reset ) - The reset set function behaves like the SR function,
except that it is FALSE when both set and reset are TRUE .
• RANDOM (min max) — The random number function requires two integer
input signal, min and max, and returns a random number between Min
5-14 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
and Max. RANDOM triggers a response at the instant when one of the
input signal changes from FALSE to TRUE.
• ABS (num) — The absolute value function requires one input parameter,
num, which must be a number. ABS triggers a response at the instant
when the input signal changes from FALSE to TRUE and returns the
absolute value of num.
Best practices
Transition Conditions versus Modules versus Logic Blocks:
In the previous few lessons you introduced three important tools in Process
Simulate: Transition Conditions, Modules, and Logic Blocks. Let’s compare
and contrast them:
• Transition conditions
• Modules
o Exists only in a study (but can be copied from one study to another)
o Used for logic that is specific to a study, but is called over and over
within the study
o Used for logic that is used over and over again in several studies (for
example a robot controller, gate, safety mat, etc.
Activities
In the More logic block functions (press example) section, do the following
activities:
• Test the functions
5-16 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
Objectives
After you complete this topic, you should be able to:
• Create logic blocks with mixed boolean and algebraic expressions.
An example:
1. A_int = 10; B_int = 3; const_17 = 17
Temp = (A_int > B_int) * const_17
Temp = 17
Temp = 0
Activities
In the CNC controller logic block example section, do the following activities:
• Using time delays in logic blocks
Smart components
Purpose
In this topic, you learn how to create and use smart components.
Objectives
After you complete this topic, you should be able to:
• Smart Components Overview
5-18 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
5. Edit the logic block and add the desired logic and actions.
Modeling must be enabled for the resource before performing this command.
After creating the logic block and attaching it to the resource, the command
opens the Resource Logic Behavior Editor and enables you to edit the new
logic and kinematics behavior.
The Create LB Pose Action and Sensors (also known as Automatic Pose
Action/Sensor Creation) command enables you to choose device poses for
which the system then creates pose actions and sensors, together with all the
required entries and exits. You can choose poses of more than one device if
those devices share the same poses. This command works only on kinematic
objects that possess joints and poses.
One can save the time for doing the many steps regarding the creation of a
Resource logic block with Pose Actions, Joint Value Sensors, Entries, Exits
and connected signals by using Create LB Pose Actions and Sensors .
It automatically creates a logic block for a device with actions and sensors for
every selected pose. Also, the Entries and Exits can be created and connected
to new signals (if the Create and connect signals option is selected). The
resulting logic block has everything inside automatically.
The Copy LB Logic command enables you to import logic from a resource
with logic to a resource without logic. You can use the command to quickly
model resources with similar kinematics by copying logic from a resource
and editing the target.
5-20 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
Purpose
In this topic, you learn how to create a light stack smart component from
scratch. This lesson puts together several concepts from previous lessons
into one object.
Light stacks are common in the manufacturing area. Once defined, it
could be copied and reused as necessary.
Objectives
After you complete this topic, you should be able to:
• Create geometry for a reusable light stack.
Activities
Objectives
After you complete this topic, you should be able to:
• Define a “default” conveyor.
Conveyor basics
Our conveyor concept is built on reusable elements, which like LEGO, can be
combined to form any kind of logistics (for example simple part conveyors,
skid conveyors, OHR etc.)
Here are some of the connections you setup for the conveyor:
Entries
• part_present – should be connected to the part sensor at the beginning
of the conveyor
Internal Logic
• If a part is present, and not part at the end of the conveyor, and the robot
is clear, then the conveyor is ready
• If the conveyor is ready, then start moving until the conveyor is told to
stop.
• Stop the conveyor as soon as a part is detected at the part at index location
• Reset the robot clear robot signal as soon as the part is at the middle
of the conveyor
5-22 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
Exits
• Unload – Used to advance to the next stop in the part flow, which either
could be a robot unloading the part from the conveyor, or the part being
destroyed at the end of its simulation life.
Actions
• Conveyor start action
Activities
Purpose
In this topic, you learn how to shows you some use of more advanced use of
the checking for skids and preventing of bumping.
Objectives
After you complete this topic, you should be able to:
• Look at an advanced skid conveyor example.
Activities
5-24 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
Objectives
After you complete this topic, you should be able to:
• Have a few things to try in order to trouble shoot problems encountered.
Quick tips
Object Tree techniques:
Simulation Panel:
• Add signals from within a logic block to the Simulation Panel.
• If standards at your company exist for logic block entries and exits match
what’s on the real PLC it is easy to connect to it later.
• Simulation time interval relates, but does not determine how often a
logic block is run:
o A logic block is run every 0.1 seconds.
• Modules
o Exists only in a study
o Used for logic that is specific to a study, but is called over and over
within the study
o Used for logic that is used over and over again in several studies (for
example a robot controller, gate, safety mat, etc.
5-26 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Logic blocks and smart components
Summary
Subjects learned in this chapter:
• How to create logic blocks
Purpose
To provide a putting it all together for the topics covered in the first part of
the course, as well as adding a activities for few other features.
Objectives
After you complete this chapter, you should be familiar with:
• Beginning of the putting it all together
Purpose
In this topic, you learn how to put it all together (P.I.A.T.).
Objectives
After you complete this topic, you should be able to:
• Get some background information on what you are about to do.
Background information
6-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Putting it all together
Purpose
In this topic, you learn how to create line simulation studies to be used
to simulate and verify event driven manufacturing processes in Process
Simulate.
Objectives
After you complete this topic, you should be able to:
• Set your working folder.
Activities
Purpose
In this topic, you learn how to automatically create smart components.
Objectives
After you complete this topic, you should be able to:
• Setup the clamps and pins smart components.
Activities
6-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Putting it all together
Purpose
In this topic, you learn how to take some of what you did as a transition
condition and convert it to a module. You also make your logic more
sophisticated.
Objectives
Module basics
In this topic you create and use modules to clean up how you are setting up
our logic. Modules are created in the Modules Viewer.
The Modules Viewer enables you to create and view the hierarchy of modules
in the study . It contains:
• The Modules Viewer toolbar enables you to manage the contents of the
Modules Viewer.
• The Modules Viewer Inventory area displays all the modules that are
stored in the study . From this area, modules can be dragged and
dropped into the Modules Viewer Hierarchy area, as required.
The Modules Viewer enables you to edit and evaluate signal expressions.
It can be considered to act as an “internal PLC”. In Modules Viewer, you
can define a signal as a result of a logical expression comprising a number
of other signals and operators. The expressions are evaluated each time a
scan is performed. You can edit the signals assigned to a selected module by
defining new expressions for signals, or by modifying the expressions defined
for a selected signal.
To open it:
By default it is collapsed against the right side of the Graphic Viewer. If
it is not:
• Choose View→Viewers→Modules Viewer.
6-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Putting it all together
3. Enter the Expression by typing and Selecting from the hints that appear
to auto fill the box.
The Result Signal box do not auto fill like the Expression box. Also,
the Result Signal box is case sensitive.
5. Click OK.
7. Click OK.
3. Choose the IF in the Modules Hierarchy and click Edit "IF" Statement
Best practices:
• Do not add any logic directly under Main. Instead create a module and
nest everything else under it. That way you is able to merge this study
with others later without problems.
• If you intend on merging several stations together later, prefix the name
of the module with the station name.
6-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Putting it all together
Modules can be exported from one study and imported into another. In
addition to the exported modules, the file also contains the resulting signals
and their substituted expressions and all signals used in the module with
their types and hardware type definitions.
• From the Modules Viewer, select the desired modules and click Export
Modules . Export an XML file of the modules.
• With the desired study loaded, click Import Modules in the Modules
Viewer. Choose an XML file of modules to import.
Signals imported from a file which already exist in the target study are
automatically connected, otherwise they are created automatically. Therefore
it is recommended to ensure that the target study contains all the relevant
resources and signals in use, before importing the file. This saves the need to
connect or map the signals manually. The import is not executed for signals
contained in the file that exist in the target study if the signal types do not
match. The current implementation of this functionality does not export
module hierarchy.
Activities
Purpose
In this topic, you learn how to create proximity sensors on the clamps and
conveyor.
Objectives
After you complete this topic, you should be able to:
• Create part proximity sensors on the fixture and conveyor.
Activities
6-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Putting it all together
Purpose
Objectives
Unlike loading studies in Standard Mode , when they are loaded in Line
Simulation Mode : no part data is loaded with it. There are two ways to
see the parts related to operations:
There are some rules concerning which instances generates appearances, how
many and where. A part instance that is related to the operation by at least
one of the following relations cause an appearance to be generated:
• Part is assigned to the operation.
Activities
6-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Putting it all together
Purpose
In this topic, you learn how to create non-sim operations for logic.
Objectives
After you complete this topic, you should be able to:
• Create the initial operation.
Activities
In the New non-sim operations for logic section, do the following activities:
• Creating the initial operation
Summary
Subjects learned in this topic:
• Beginning of the putting it all together
6-14 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Lesson
Purpose
To provide a description of basic robotics tasks.
Objectives
After you complete this chapter, you should be familiar with:
• An introduction to event-based robotic simulation.
Objectives
After you complete this topic, you should be able to:
• Find and identify robot signals.
7-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
or the entry into restricted zones). Robot may also be waiting for signals sent
by devices, which are not controlled directly by the robot. (The robot normally
directly controls guns; clamps are more likely to be controlled by the PLC).
Process Simulate offers this functionality, which is available by selecting the
robot (in the Graphic Viewer or in the Resources folder of the Object Tree)
and then choosing Robotics→Robot Signals .
The following diagram illustrates the basic relationship between robot (OLP)
signals and PLC signals:
Selecting the Robot Signals command opens the Robot Signals dialog box
for the selected robot. This dialog box maps the signal on the robot with the
signal on the PLC. The I/O shown here from the perspective of the PLC. For
example: robots receive (wait for) PLC output signals and send PLC input
signals.
• New Input Signal - creates a new PLC input signal (and robot output
signal)
• New Output Signal - creates a new PLC output signal (and robot
input signal).
• To move the selected commands up/down in the list: Press the [up] or
[down] arrow keys or click Move Selected commands Up or Move
Selected commands Down .
7-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
• File submenu:
o # OpenFile — Opens a file for editing. The Mode setting enables you
to Append or Overwrite file content. Also, set a Handle to be used
in the next WriteLine and CloseFile commands and a Name for the
path to the file to be opened.
o # CloseFile — Closes an open file. Set the Handle of the file that was
opened with the OpenFile command.
• Graphics submenu:
• Paint submenu:
• ToolHanding submenu:
o # Connect — (add an external axis to the robot during simulation)
connect the specified joint from the specified device as an external axis
of the robot. For example, when simulating a grinding robot with a
tool changer with several sized grinding tools.
7-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
o # WaitDevice — The robot waits until the selected device reaches the
selected target pose. (Review from the TR42115 course). (Review from
the TR45115 course).
Objectives
After you complete this lesson, you should be able to:
• Setup a robotic interference zone using robotic signals and a logic block.
• exitZone1.
On the location where the robot is about to enter a zone, put the following:
• The robot waits until checkZone1 is false.
On the location where the robot has left a zone, put the following:
• enterZone1 is set to a value of false.
7-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
Entries
• RBT1_ENT_ZONE – should be connected to a robot signal describing
whether the first robot is entering the first interference zone
Internal Logic
• A robot is currently in the first interference zone, if robot 1 has entered
the zone, but has not left it yet.
Recall the SR function has two parameters: When the first one
becomes true, it makes the function result true. When the second
becomes true, it makes the SR function result false.
Exits
• RBT_CHK_ZONE – should be connected to a robot signal representing a
check whether a robot is currently in the first interference zone
• # WaitSignal — In line simulation mode, the robot waits for a robot signal
from the PLC (PLC output).
Activities
7-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
Purpose
In this lesson, you learn how to set the macro folder, and create and use robot
macros.
Objectives
After you complete this lesson, you should be able to:
• Set the macro folder and reload the files without restarting the system.
In Robot Macro files folder, you place your robotic macros file. One .macros
file can exist per robot controller (for example Abb-Rapid, Default,
Fanuc-Rj, Kawasaki-As, Kuka-Krc, Yaskawa-Inform, etc.).
• OLP_Command
• OLP_Command
• OLP_Command
• …
• MACRO macro_name
• OLP_Command
• OLP_Command
• OLP_Command
• …
Where macro_name is the name of a specific macro (in the specific controller
syntax), and each OLP_Command should be an OLP_Command in the syntax
of the specific controller.
For example, a macro file for the Default controller may look like this:
• Macro ENTER_ZONE_1
• # WaitSignal checkZone1 0
• # Send enterZone1 1
7-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
• # Send exitZone1 0
• Macro ENTER_ZONE_2
• # WaitSignal checkZone2 0
• # Send enterZone2 1
• # Send exitZone2 0
• Macro EXIT_ZONE_1
• # Send enterZone1 0
• # Send exitZone1 1
• Macro EXIT_ZONE_2
• # Send enterZone2 0
• # Send exitZone2 1
Activities
7-14 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
Purpose
In this topic, you learn how to create and use default robot signals and robot
programs.
Objectives
After you complete this topic, you should be able to:
• Create and use robot status signals.
Robot programs
A Process Simulate program is used when switching, during simulation,
between several robotic operations using logic, or when downloading.
The Siemens PLM Software default behavior doesn’t simulate all of the
signals used by a real robot. Those significant signals for the correct process
behavior are included in the default behavior. Specific behavior may be
implemented in the relevant ESRC controller, which has to be purchased
separately and has its own documentation.
7-16 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
signals, paths can be simulated like robot programs using path numbers
inside the program.
Default (PLC) output signals:
• startProgram (signal function = Starting Program)
There are two ways to stop the robot anytime during simulation:
• The emergencyStop robot signal is checked all the time and not only
when a robot reaches a specific location. In other words: on each update
of a simulation cycle it is checked. If it is set to TRUE , the robot stops
immediately.
Just define a robot pose and the system turns it into a simulation relevant
signal.
7-18 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
A robot executes its paths in the context of a program. In order to prevent the
robot from unauthorized starting its motion, several mechanisms are applied.
Some of these mechanisms are simulated:
• Robot Ready
Almost all robots allow mirroring the number that has been received by the
robot. As long as this number corresponds to a number existing inside of
the robot program everything is OK.
A different behavior is used in case the number doesn’t exist. Some robot
vendors return a zero in the mirroring and others mirror the number but set
an additional status signal such as errorProgramNumber to TRUE .
In the default controller the second behavior has been modeled.
StartProgram and ProgramEnded Status Signals:
• For paths inside a program:
o When all pre-requirements are fulfilled, then the robot is ready to start
its action, which is triggered by the rising edge of the startProgram
robot signal.
o At the end of the path the robot sets the ProgramEnded signal.
Tracking objects on conveyors: you can define a robot line tracking mechanism
to enable simulated robots to track objects moving on a conveyor. This can be
used, for example, when simulating the painting of parts.
Robot-conveyor tracking is only supported by RRS-enabled controllers,
for example ABB-Rapid.
7-20 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
• ConveyorTrigger_1
• ConveyorPosition_2
• ConveyorTrigger_2
• ConveyorPosition_3
• ConveyorTrigger_3
• ConveyorPosition_4
• ConveyorTrigger_4
Activities
In the Default signals and robot programs section, do the following activities:
• Testing out the simulation
Purpose
In this lesson, you learn how to setup a main program that calls the paths
instead of calling the paths by path number.
Objectives
• Setup a main program that calls the paths instead of calling the paths
by path number.
• # Grip — moves the gripper to the specified pose and attaches the part to
it. This OLP command is automatically added to grip locations in Pick
and Place Operations and is preferable to the Attach command for part
handling.
• # Release — moves the gripper to the specified pose and detaches the part
from it. This OLP command is automatically added to release locations
in Pick and Place Operations and is preferable to the Detach command
for part handling.
7-22 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
Activities
In the Calling Paths from Main Programs section, do the following activities:
• Using CallPath and Main Programs
Objectives
After you complete this lesson, you should be able to:
• Enter free text OLP commands.
Basic syntax
The following basic syntax is supported in the condition commands:
• Logic operators: AND, OR, NOT (case sensitive)
• Parentheses
• False
• Arithmetic operators: +, - , *, /
7-24 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
• # Else
• # Endif
• For example:
o # If (a + b) > c Then
o # callPath pa1
o # Elsif a OR b Then
o # callPath pa2
o # Else
o # callPath pa3
o # Endif
Switch syntax
The Switch command enables you to make easier and clearer choices when
presented with several possibilities. This way you do not have to use lengthy
if-then-elseif chains.
This is similar to the case statement in the C programming language.
• # Switch <expression>
• # Default
• # Endswitch
• For example:
o # Switch (a+b)
o # Case 1
o # callPath pa1
o # Case 2, 3
o # callPath pa2
o # Default
o # callPath pa3
o # Endswitch
• # Endfor
• For example:
o # For j From 1 To 10 Step 2 Do
o # callPath pa1
o # callPath pa2
o # Endfor
• # While <expression> Do
• # Endwhile
• For example:
o # While a < 100 Do
7-26 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
o # callPath pa1
o # Endwhile
When selected, the system skips logic OLP commands (IF, ELSIF, ELSE,
ENDIF, SWITCH, CASE, DEFAULT, ENDSWITCH, WHILE, ENDWHILE,
FOR, ENDFOR, GOTO, JUMP, CALL, Variable assignments). However the
system runs other commands, such as those nested under a loop, for example.
1. Choose Tools→Options.
4. Click OK.
Activities
In the Using robot program conditions section, do the following activities:
• Entering basic OLP commands as free text
7-28 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
Objectives
After you complete this topic, you should be able to:
• Use the Robot Viewer in event-based studies
Robot Viewer
• Joint Status — It shows the current value for each joint of the selected
robot (including external joints). Alternatively, you can display the current
joint value as a percentage of the joint range. See TR45315 Process
Simulate Standalone Basic Robotic Simulation for more information
• TCPF Speed Monitor — Displays a graph of the speed of the robot TCPF.
In the Legend section, you can set the color of the trace. The Statistics
section displays the minimum and maximum speeds of the robot TCPF.
See TR45315 Process Simulate Standalone Advanced Robotics for more
information.
Basic Usage:
• In the Robot Viewer, choose the down arrow to the right of the Panels
button and deselect everything except for the desired panel.
Activities
In the Signal graphs in the Robot Viewer section, do the following activities:
• Using the Robot Viewer in event-based studies
7-30 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
Objectives
After you complete this topic, you should be able to:
• Create several different Microsoft Excel reports.
• The Export to Excel command (on the Signal Viewer) enables you
to export the contents of the Signals Viewer to an Microsoft Excel
spreadsheet.
1. In the Object Tree, choose the resource whose logic behavior you wish to
export.
7-32 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
1. Setup the robot cycle time OLP commands on the robotic operations using
the Teach Pendant Add→Standard Commands→RobotCycleTime menu.
3. Play the simulation for the desired amount of time and then stop the
simulation.
The cycle time report is displayed in Microsoft Excel.
• TimerOn — Define when a user defined timer should start track time
associated to a certain part of the simulation. Each timer includes a
user-defined name.
Internal (built-in) timers include motion to location time, wait
device time, weld time, weld count, wait time, and wait signal time.
• The last tab is called Report settings and displays the report settings.
• Each row in the report represents a significant event during the operation.
• Analyzing the report enables you to identify periods of time when the
robot is inactive, to discover the duration of the idle state, and understand
the cause of inactivity.
• The Totals section of the report provides totals for robot active time (for
example, MotionToLocation) and inactive time (for example, WaitDevice)
providing a useful overview of robot activity during the operation. It also
contains the weld count, indicating how many weld locations were visited.
• You can make changes to the operation for example by: Changing the
order of locations, repeat the simulation, and compare the new report
with the original one.
Activities
7-34 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
Objectives
After you complete this topic, you should be able to:
• Have a few things to try to trouble shoot problems encountered.
Quick tips
Robot signals
• In order to easily and properly use default robot signals, it is suggested to
create a “robot controller” logic block.
3. Click OK.
7-36 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Robotic event-based simulation
Summary
Subjects learned in this topic:
• An introduction to event-based robotic simulation.
Purpose
In this lesson, you learn how to add a dual robot simulation to our “putting it
all together example”.
Objectives
After you complete this lesson, you should be able to:
• Apply what you learned in the previous section on robotic event-based
simulation to our “putting it all together example”.
Objectives
After you complete this lesson, you should be able to:
• Apply what you learned in the previous sections on robotic event-based
simulation and fixtures to our “putting it all together example”.
3. When the operator is clear of the fixture, he presses the palm button.
The clamps close.
5. If zone 1 is empty, robot 1 enters the zone and moves to the pounce
location.
8-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Putting it all together continued
After completing these steps in this lesson, you continue the “Putting It
All Together” in the next lesson.
Activities
In the Fixture and robot 1 putting it all together section, do the following
activities:
• Simulating the fixture and first robot
Objectives
After you complete this lesson, you should be able to:
• Apply what you learned in the previous sections on robotic event-based
simulation and conveyors to our “putting it all together example”.
3. When the operator is clear of the fixture, he presses the palm button.
The clamps close.
8-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Putting it all together continued
5. If zone 1 is empty, robot 1 enters the zone and moves to the pounce
location.
2. If zone 1 is empty, robot 2 enters the zone and moves to the pounce
location.
At this point if you had a sensor on the gripper you could verify
that the part was actually picked up. If not, you could try to get
the part again.
9. The conveyor is stopped when the part is detected at the second sensor.
10. The part is destroyed when it reached the third sensor at the far end
of the conveyor.
If there were another station at this end of the conveyor, the part
would continue into that station. At this point this is the end of
our line.
Activities
In the Robot 2 and conveyor putting it all together section, do the following
activities:
• Adding the second robot and conveyor
8-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Appendix
Purpose
To provide additional information on smart component and conveyor abilities
in Process Simulate.
Objectives
After you complete this chapter, you should be familiar with:
• How to create and use smart components.
A-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Objectives
After you complete this topic, you should be able to:
• Create a gate control.
Internal Logic
• Move to the run pose, if the simulation is running and no faults are
detected
• Move to the ready pose, if the simulation is not running and no faults
are detected
Exits
• (None)
Activities
In the Operator gate control example (optional) section, do the following
activities:
• Defining an operator gate control (optional)
Objectives
After you complete this topic, you should be able to:
• Create a robot controller smart component.
A-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
• Then the robot sends a signal that it received the request to move to the
pounce location
• The PLC sends a signal requesting the robot to perform a certain path
• The robot informs the PLC when it is done performing the requested path
Internal logic
• Program check = (program input 1 * ONE) + (program input 2 * TWO) +
etc.
• If program check is greater than zero, assign its value to program select
• As soon as the PLC says to requests the robot to move to the pounce
location, then the robot should reply that it can move to the pounce
location.
• As soon as the robot finishes the cycle, it should tell the PLC.
• Move to the run pose, if the program has not ended and the robot is ready
and the robot has not encountered an error
• Move to ready if the program has ended and the robot has not encountered
an error.
Exits
• PROGRAM START – should be connected to a robot signal representing
whether the robot has started moving along a path
Activities
A-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Purpose
In this topic, you learn how to create a smart tip dresser.
Objectives
After you complete this topic, you should be able to:
• Create a tip dresser smart component.
Here are some of the connections you setup for the tip dresser:
Entries
• start_motor – should be connected to a signal representing whether the
tip dress motor should start
Internal Logic
• When the tip dresser is started, move to the grid pose, wait 5 seconds,
then stop the motor
• The tip dresser is complete, when the motor has stopped and the tip
dresser has returned to the ready position.
Exits
• complete – should be connected to a signal representing when the tip
dress is complete
Activities
In the Tip dresser example (optional) section, do the following activities:
• Defining a tip dresser (optional)
Objectives
After you complete this topic, you should be able to:
• Use the Automatic Connect Signals to LB command
This command can be added to the menu using Tools→Customize.
A-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Objectives
After you complete this topic, you should be able to:
• Create a part scheduler smart component.
A-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Internal logic
• Keep making style 1 parts as long as the active counter value is less than
the batch size and has not been reset.
• Keep making style 2 parts as long as the active counter value is less than
the batch size and has not been reset.
• re_set-style1 = RE ( "_select_Style1" )
• re_set-style2 = RE ( "_select_Style2" )
Parameters
• actval_b1 – should be connected to a signal that represents the style1
active counter value.
Exits
• OK_Style1 – should be connected to a signal that represents whether a
style 1 part should be produced from the source.
Activities
A-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Objectives
After you complete this lesson, you should be able to:
• Create an operation run bar smart logic block.
Help topics
Additional information for this lesson can be found in:
• xxx
• xxx
Internal logic
• reset = RE ( "Reset_Start" )
• set = RE ( "ready" )
• RUN = "at_s2"
Actions
• mv_to_s1 = Move to MANUAL pose.
Parameters
• reset – should be connected to a signal that represents the rising edge of
reset start.
Exits
• START – should be connected to a signal that represents
Activities
A-14 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Objectives
After you complete this lesson, you should be able to:
• Create dump unit smart logic block.
Help topics
Additional information for this lesson can be found in:
• xxx
• xxx
Internal Logic
• weld = "at_WELD_sensor" AND "PartPresent"
• re_weld = RE ( "weld" )
• fe_PartPresent = FE ( "PartPresent" )
Parameters
• dump_at_in – is a joint value sensor that detects that the dump is in the
IN pose (0 degrees).
• gun_at_open – is a joint value sensor that detects that the dump is in the
OPEN pose (–70 degrees).
Exits
• at_IN – should be connected to a signal that represents when the dump is
at the IN pose.
Activities
A-16 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Purpose
In this lesson, you learn how to make a robot interference zone smart
component.
Objectives
Entries
• RBT1_ENT_ZONE – should be connected to a robot signal describing
whether the first robot is entering the first interference zone
Internal Logic
• A robot is currently in the first interference zone, if robot 1 has entered
the zone, but has not left it yet.
Exits
• RBT_CHK_ZONE – should be connected to a robot signal representing a
check whether a robot is currently in the first interference zone
Activities
Objectives
After you complete this topic, you should be able to:
• Create and edit logic blocks.
A-18 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Purpose
In this topic, you learn how to setup a frequency converter.
Objectives
After you complete this topic, you should be able to:
• Create a smart component target speed device (frequency converters).
A-20 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
The common behavior: First the device accelerates until it goes up to a given
target speed. An ongoing online feedback informs the device continuously
about its actual position. At a predefined delta distance, before reaching
the target, the speed goes either directly down (simple target) or in order
to achieve higher accuracy, slows down to a much lower speed and when
reaching some delta, the final target decelerates to speed = 0.
Device speed and acceleration control actions can be added while editing
kinematic smart components:
• Joint Velocity Control – Move a joint at a specified speed.
the selected joint to the defined velocity. This velocity is maintained for the
duration of the action and as long as the target velocity has not changed.
• Value Expression - A Boolean expression. When the expression evaluates
to true , the action is initiated. When it evaluates to false , the action is
not initiated or terminates if it is already initiated.
A-22 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Activities
In the Other selected smart component topics section, do the following
activities:
• Target speed devices (optional)
Objectives
After you complete this topic, you should be able to:
• Create a weld controller smart component.
Internal logic
• The weld counter value of gun1 equals one more than the current value
of the weld counter, if the max is not exceeded
• The weld counter value of gun2 equals one more than the current value
of the weld counter, if the max is not exceeded
• If the weld gun1 was cycled and the max number of welds was not
reached, then the gun1 weld counter is set the weld counter value.
A-24 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
• If the weld gun2 was cycled and the max number of welds was not
reached, then the gun2 weld counter is set the weld counter value.
• If the max number of welds for gun1 was reached, reset its value
• If the max number of welds for gun2 was reached, reset its value
• If the weld counter for gun1 is greater than one less than the total cycle
count for this robot, then total cycle for gun1 has been reached
• If the weld counter for gun2 is greater than one less than the total cycle
count for this robot, then total cycle for gun1 has been reached
Parameters
• WLD_CNTR_VAL_GUN1 – is a signal which represents
Exits
• WLD_CYC_GUN1 – (same as the entry)
Activities
In the Weld controller example (optional) section, do the following activities:
• Defining a weld controller (optional)
Purpose
In this topic, you learn how to create an example PLC.
This smart component may not be needed, since the contents are
basically a combination of other smart components you created earlier
in this course.
Objectives
After you complete this topic, you should be able to:
• Create a basic PLC smart component.
PLC basics
In this topic, you used what you have already learned to connect signals to a
smart component named PLC CABINET. It contains all the needed logic for
gathering several types of common statistics in a study. Here are some of
the statistics you setup in this topic:
Entries
• CYC_CMP_S1 – should be connected to a robot signal telling whether the
last robot’s cycle of style 1 is complete.
A-26 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Internal logic
• The current value of elapsed time equals the previous value of elapsed
time plus the time interval.
• The total number of jobs equals one more than the job counter total.
• If the first, second, or third robot’s cycle is complete, then the average
cycle equals the elapsed time divided by the total number of jobs.
• If the last robot’s cycle of style 1 is complete, then current style 1 job
counter equals one more than its previous value.
• If the last robot’s cycle of style 2 is complete, then current style 2 job
counter equals one more than its previous value.
• If the last robot’s cycle of style 3 is complete, then current style 3 job
counter equals one more than its previous value.
• TOTAL_JOBS = "JOB_CNTR_TOTAL" + 1
• RE_START_CYC = RE ( "START_CYCLE" )
• RE_NEXT_CYC = RE ( "NEXT_CYCLE" )
• JOB_CNTR_TOTAL = "TOTAL_JOBS"
• JOB_CNTR_S1 = "JOB_CNTR_S1" + 1
• JOB_CNTR_S2 = "JOB_CNTR_S2" + 1
• JOB_CNTR_S3 = "JOB_CNTR_S3" + 1
• SET_START_TIME = "ELSPD_TIME"
• SET_RUN_TIME = "START_TIME"
Parameters
Exits
Activities
A-28 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Additional lessons on smart components, conveyors, and more (optional)
Summary
Subjects learned in this topic:
• How to create and use smart components.
Purpose
In this lesson, you learn more about event-based simulations using other
examples that are similar to those used earlier in this course.
Objectives
After you complete this lesson, you should be able to:
• Setup and use a robot zone using a different signal methodology.
• Setup and use robot pick and place using a different signal methodology.
In the Robot Signals dialog box, clicking New Input Signal opens the
Input Signal dialog box, allowing inserting the PLC signal name as well
as the relevant robot signal name:
B-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
More event-based examples (optional)
The names used for the Robot Signal Name are what is used as part
of the OLP strings on locations.
Actually the robot OLP signals are not just strings like in ROBCAD (or
a when loading a study in Standard Mode in Process Simulate). They
are real objects, changing their names in this signal list automatically
changes the names in the OLP commands.
Users may also change the PLC signal name in the Signal Viewer as
well.
Activities
Purpose
In this topic, you learn how to do robot signal connection and synchronization.
Objectives
After you complete this topic, you should be able to:
• Setup a robotic interference zone using robotic signals.
In this topic you setup a zone between two robots using Send Signal / Wait
Signal OLP commands and a module.
B-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
More event-based examples (optional)
Activities
Objectives
After you complete this topic, you should be able to:
• Be aware of several ways to setup a robot to grip and release parts.
B-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
More event-based examples (optional)
The entire information exchange is done by signals. These signals are for
the robot controller the same as those going or coming from the PLC. It is
therefore a natural enhancement that this can also be simulated in or system.
Earlier in this course you created smart component clamps. Now, you
apply the same principle to robotics. The device controller is a Logic
Block used for each robot. They are named GripperControllerRed and
GripperControllerBlue. The controlling algorithm is quite simple, but is
enough to illustrate the use of a Logic Block as a device controller:
• When the grip_required is true , then trigger the grip operation
Upon exporting the Logic Block to excel you should see the implementation of
this.
In the scope of this activity the needed signals as shown in the connections
should be sent from the robots. In a second step this is done in a more
efficient and re-usable way.
o # Drive CLOSE
o # Desitination gripper
o # WaitDevice CLOSE
o #Grip gripper_frame
• Use a combination of the Send Signal, Wait Time, and Wait for Signal
OLP commands (and a logic block), which inserts:
o # Send grip_req 1
o #WaitSignal Done_req 1
o #Send grip_req 0
o # Desitination gripper
o # Drive OPEN
o # Desitination gripper
o # WaitDevice OPEN
• Use a combination of the Send Signal, Wait Time, and Wait for Signal
OLP commands (and a logic block) which inserts:
o # Send rel_req 1
o #WaitSignal Done_req 1
o #Send rel_req 0
Activities
In the Pick and place operations and macros section, do the following
activities:
• (No activities)
B-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
More event-based examples (optional)
Objectives
After you complete this topic, you should be able to:
• Create and use robot macros.
• # Send grip_req 1
• # WaitTime 1
• # WaitSignal Done_req 1
• # Send grip_req 0
• Macro RELEASE
• # Send rel_req 1
• # WaitTime 1
• # WaitSignal Done_req 1
• # Send rel_req 0
• Macro WELD_GUN1
• # Weld
• # WaitSignal checkWeldFault1 0
• # Send cycleWeldgun1 1
• # GunToState
• Macro WELD_GUN2
• # Weld
• # WaitSignal checkWeldFault2 0
• # Send cycleWeldgun2 1
• # GunToState
• Macro TIPDRESS_GUN1
• # Send startTipdressMotor 1
• # WaitSignal TipdressComplete 1
• # Send startTipdressMotor 0
• # Send TipdressCycleComp1 1
• Macro TIPDRESS_GUN2
• # Send startTipdressMotor 1
• # WaitSignal TipdressComplete 1
• # Send startTipdressMotor 0
• # Send TipdressCycleComp2 1
Activities
In the Grip and release robot macros section, do the following activities:
• Using grip and release robot macros
B-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
More event-based examples (optional)
Objectives
After you complete this topic, you should be able to:
• Use the Merge Studies command to merge two station level studies
into a new line level study.
• Update the logic that passes the parts from one station to the next.
Run Simulation
• Play the simulation.
The Merge Studies command enables you to merge the engineering data
from a number of different studies into a single, new study.
1. Select a studyfolder containing the desired studies.
4. Select the desired studies from the Available Studies list and click >>.
B-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Appendix
C Virtual commissioning /
connecting to a PLC (optional)
Purpose
To learn a little bit about virtual commissioning with Process Simulate.
Objectives
After you complete this chapter, you should be familiar with:
• How to simulate in OPC mode.
• How to setup non-sim operations and modules for the OPC simulation.
Purpose
In this lesson, you get background information about PLCs and virtual
commissioning, and learn about OPC setup.
Objectives
After you complete this lesson, you should be able to:
• Understand the basics of PLCs and virtual commissioning
Introduction
Important terms
Here are some terms that you should be familiar with when doing virtual
commissioning:
• Programmable logic controller (PLC) — a computer used for the
control, sequencing, and safety interlock of factory assembly lines. It
detects the state of all connected input devices, executes a user created
program, and energizes or de-energies all connected output devices.
C-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
• Optimized performance
• Robot clearances
After the electrical engineer has created a PLC program, Process Simulate
can help with commissioning (testing) it. a combination of objects in the
real world and virtual world of Process Simulate can be connected to the
PLC to perform:
• Test interlocks
• Test HMI
Process Simulate does not create PLC code. Instead, it connects to a PLC
(through OPC) running a PLC program. It doesn’t matter how the PLC
program is written, however unless you are running a Siemens PLC, the
signal names must match in Process Simulate and on the PLC.
Here are some example PLC programming languages:
• Ladder logic — (or ladder diagram) a programming language used to
program PLCs that uses a graphical diagram representation. The name
is based on the observation that programs in this language resemble
ladders, with two vertical rails and a series of horizontal rungs between
them (each representing a relay). Ladder Logic programming has been
expanded to include such functions as counters, timers, shift registers,
and math operations.
C-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
simulation, the OPC server provided by the vendor must be correctly installed
on the PC.
Most automation vendors support the OPC interface for data transfer
between host system computers and Microsoft Windows applications, both
for general purposes and for operation and monitoring functions. For more
information, see the OPC Foundation website (opcfoundation.org).
OPC architecture
The OPC classic standard consists of servers that transfer data between
control host systems and general purpose interfaces for accessing these
servers. For example:
• Data Access (DA) server - Reads (collects) and writes (sets) the current
values of process data, using item IDs (variable names) as data identifiers.
• Alarms and Events (AE) server - Reports alarms and events from process
fields. The alarms and events occur asynchronously.
For OPC simulation, Process Simulate only communicates with
the DA server. The vendor provided OPC server must be correctly
installed on the PC. Normally a test client is provided to test the
correct working of the server. After installing an OPC server, the
PC must be rebooted to make it work.
To use OPC simulation with Process Simulate, you must have a running
(virtual PLC or) OPC server connected to a PLC software. This OPC server
establishes a connection between the PLC software and Process Simulate
using the COM interface. Process Simulate translates the signal names to
C-6 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
IDs, runs the simulation in its Graphic Viewer, and exchanges data with
the OPC server.
2. In the PLC software, open the file containing the logic that you want to
use to control the Process Simulate simulation.
This is a PLC file, not a Process Simulate file.
Objectives
After you complete this lesson, you should be able to:
• Learn about the stages of cell design.
Using the event-based simulation module in Process Simulate, you carry out
the two stages of design on a single platform, reducing the time of on-site
integration and the cost of changes.
C-8 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
4. Click Connection Settings and enter the required settings such as Name,
OPC server, and Item header.
Activities
In the Simulating in Process Simulate using OPC mode section, do the
following activities:
• Beginning to set the OPC settings
Objectives
After you complete this lesson, you should be able to:
• Learn more about connecting to a PLC using OPC.
In this example, three signals in Process Simulate called Key Signal, Key
Signal1, and Key Signal2 have been created and run with a program on a
OPC server where they do not exist.
Activities
In the More on Process Simulate PLC simulation section, do the following
activities:
• Setting up the process for OPC mode
C-10 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
• Trouble-shooting
Objectives
After you complete this lesson, you should be able to:
• Know your options for mapping signals.
Tools available to map the signals to Process Simulate for an OPC client
Several different tools are at your disposal:
1. Ideally, the PLC and Process Simulate operators follow a standard for
naming signals so that no renaming or mapping of signals is required.
(recommended)
C-12 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
• PinName — The name of the entry or exit of the logic block to connect
the signal to.
• Address — The address of the signal. This optional column is only needed
if you are using a Siemens OPC connection and selected to map using
the address instead of the name.
You use the Import Signals command in the Robot Signals dialog box
to import the root signals and their connected signals (what is shown in the
Signal Viewer).
• PREFIX — A prefix for the signals.
• I_Q — Specify input or output signal from the perspective of the PLC.
Either I - input ; Q - output.
• Address — The address of the signal. This optional column is only needed
if you are using a Siemens OPC connection and selected to map using
the address instead of the name.
• If the signal does not exist, the command creates the signal.
C-14 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
You use the Signal Mapping command (on the Signals Viewer) to import
an Excel spreadsheet to map signals between the Process Simulate and OPC
(PLC) environments. (Microsoft Excel must be installed in order to run this
feature)
For example, you can use Signal Mapping to transfer signals named in
mechanical engineering terminology to corresponding names in electrical
engineering terminology. The replacement of one set of signal names and
parameters with another is referred to as mapping.
Signal Mapping reads an Excel spreadsheet file containing the new signal
names and other parameters.
An icon on the Signal Viewer launches the Signal Mapping Tool , which
processes the spreadsheet file, making all legal mappings. If the input
spreadsheet file contains more than one worksheet, all of the worksheets
are processed.
The Signal Mapping Tool creates a log file during the mapping process,
indicating any errors encountered in processing the spreadsheet file. The log
file is created in the directory of the input spreadsheet file.
File format
The signal mapping tool ignores the first row of the Excel spreadsheet file so
you can place a title in the first row. The remaining lines contain the signal
names and other information for the signal mapping.
Each line contains the information for one signal. The expression EOF in the
first cell of a line indicates the end of the signal mapping data. When Signal
Mapping processes the file, it stops when it reaches EOF. You may insert
blank lines in the spreadsheet for organizational purposes.
The first five columns of the spreadsheet, contain the fields described in the
following table.
Required/Optional
Description
Required Mechanical Name — the name of the signal in the
current program. The Signal Mapping Tool replaces this
name during mapping.
Required Electrical Name — The Signal Mapping Tool replaces
a signal's Mechanical Name with this name during
mapping.
Optional Type — the signal type. The legal values are BOOL,
BYTE, WORD, DWORD, INT, DINT, and REAL. The
field is not case-sensitive. The value in the input file
replaces any previous Type value for the signal.
Optional Address — only needed if you are using a Siemens
OPC connection and selected to map using the address
instead of the name.
Optional Comment — a description of the signal. If a comment
already exists for the signal in the simulation program,
the Signal Mapping Tool combines the old comment with
the new one from the input file. The resulting comment
is comprised of:
• The previous name of the signal.
C-16 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
• Prefix: I, M, Q, or none.
• Bit: an integer, 0 - 7
Format of the Address field for signals other than type BOOL:
<Prefix><Byte>
Examples of Address field for signals other than type BOOL:
• IB40, MW9, QD100, IR23
The example illustrates that Row 1 is used for column titles. Signal mapping
ignores the first row.
In the example, Row 7 is blank. The blank row does not interrupt the signal
mapping process. In the example, several Type, Address, and Comment fields
are undefined, illustrating that they are optional fields. The Signal Name and
Electrical Name fields are required and they are all defined in the example.
these steps help you create the import file, by first exporting a list of your
signals in Process Simulate.
2. In Excel, sort based on the PLC Connection column and delete all FALSE
rows.
7. Look in the OPC (PLC). Insert the signal name as shown on the OPC
(PLC) into the Electrical Name column for the desired rows.
3. Click Open.
4. The mapping process begins. During the mapping, the cursor changes
to an hourglass to indicate that the mapping is in progress. When the
mapping finishes successfully, the following dialog box appears.
C-18 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
5. Click Yes to view the log file (or No to close the dialog box).
Run-time
Before mapping the signals contained in the spreadsheet file, it checks the
currently loaded program for duplicate signal names. If the signal mapping
finds duplicate names, it displays the following dialog box. The dialog box
indicates that signal mapping maps a new signal name from the input file to
only one of the signals in the currently-loaded program, even if other signals
share the same name.
You use this dialog box to cancel the process before mapping any signals. If
the signal mapping tool is unable to read the input file or unable to create a
log file then a dialog box appears indicating the error.
Log file
If the signal mapping tool encounters a problem mapping a signal in the
input file, it reports the details of the problem in the log file. Each entry
in the log file identifies the problematic signal by indicating the sheet and
line number of the signal in the input file. Signal Mapping Tool reports
two types of problems:
• Warning – The signal was mapped, but the signal mapping tool is
reporting an unusual situation.
• Error – The signal was not mapped or was only partially mapped. Partial
mapping indicates that the signal was mapped, but that one or more
optional attributes were not included in the mapping.
To prepare the simulation to run with a real PLC (OPC) you need to change
the names of the signals, because many PLCs don’t accept signal names
that start with a number or have spaces in them. With OPC, you need to
have the same signal name on the OPC server and in the Process Simulate
study. One way to rename the signals, is to rename the resource that it is
related to it. You can use the Rename by Resource command to rename the
signals, for example from a device operation, for a resource). In the context
of commissioning, you should only use this command if it makes the signals
the same between the OPC and Process Simulate.
When using Simatic Step 7, there is an additional option for mapping signals:
The Step 7 .sdf file format. It is supported directly. You use the External
Mapping Tool command (on the Signals Viewer) to map existing signals
in an Step 7 (Simatic) project to the signals used in a Process Simulate
simulation.
C-20 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
File format
The .sdf file format is as follows:
Symbol Name (24 char.) | Address (12 char.) | Data Type (10 char.) |
Comment (80 char.)
For example:
3. Click Open
3. Click Map
The relevant Signal Name, Address, and Comment fields in the Process
Simulate window are updated to match those in the Simatic window.
The name of the signal has changed, the physical address has been
carried over from the SDF file and in the comments field a remark
with the former name has been added.
C-22 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
1. In the External Mapping dialog box, select a signal from the imported
S7 Symbol List.
2. Click Add.
The new signal appears in the Process Simulate Signal List.
Activities
Purpose
In this lesson, you learn about non-sim and flow operations with OPC. You
also learn about the what to do with modules in OPC mode.
Objectives
• Additional conditions
The Problem
In the Sequence Editor when running in CEE mode, the flow operations and
non-sim operations are executed according to their order and transitions in
the Sequence Editor (and Material Flow Viewer).
In OPC mode, all the actions such as robotic operations and clamp smart
components, are started using PLC signals via OPC. But non-Sim and flow
operations normally are not started using a PLC signal (although the system
can create such signals).
When running Process Simulate in OPC mode, modules and logic on
operational transitions are ignored. However, logic blocks and the Simulation
Panel are not. This is an important note when setting up your simulations.
In order to get the correct material flow, all non-sim or flow operations in
between “real” operations must be executed. For example, parts for a weld
operation are not put in the fixture if the non-sim or flow operations are not
executed in the correct order.
C-24 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
Solution
You have to:
• Create start signals for all non-sim and flow operations.
• Either convert all modules to logic blocks or replace its logic with logic
in the PLC (OPC) program.
• Create All Flow Start Signals — create start (for example _start)
signals for all flow operations in the study.
C-26 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
• Parameter
o start_RE (Boolean) = RE ( start_req )
• Exit
o start_op (Boolean) = SR ( start_RE op_end ) — specify the
generated _start signal.
• Parameter
o combinedStart (Boolean) = start_req AND Addt_cond
• Exit
o start_op (Boolean) = SR ( start_RE op_end ) — specify the
generated _start signal.
4. Depending on whether there are one of two signals in the start condition:
Insert either the Op_TRIGGER1 or Op_TRIGGER2 logic block.
Activities
In the Non-sim and flow operations with OPC section, do the following
activities:
• Preparing non-sim and flow operations for OPC
C-28 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
Purpose
Objectives
Introduction
CEE
1. When trying to execute a specific operation op1, its start condition is first
evaluated. This condition is composed of the transition conditions of the
operation's preceding operations (using AND / OR for multiple preceding
operations).
• In case the preceding operations' output queues are not empty – op1
will get the parts nodes from the queue and try to look among them
for the parts it consumes.
• In case they are found among the already accumulated part – it uses
them. Otherwise - it produces them.
o If the queues are not empty, the operation tries to look for the parts
it consumes among the accumulated nodes of them. If the parts
consumed by the operation are found – they are assigned to the
operation and are used.
C-30 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
o There are parts that can never be received from the preceding
operations (for example their first use is by this operation op1). These
parts are sourced by the operation itself.
o In case the parts' first use is not by this operation (for example the
parts were supposed to be produced by a previous operation) but they
weren't produced, because the previous operations weren't executed
yet – the operation will run without the parts.
• According to this mechanism, the only condition for running the operation
is :
o The start signal value of the operation becomes true .
2. Rob2Op moves through some via locations that don't require the
part and then stop and wait for the arrival of the part (using its own
synchronization tools, such as "wait" OLP commands).
5. Rob2Op will be released from the "waiting mode" and operate on the part.
So actually, you need Rob1Op and Rob2Op to start together (or even start
Rob2Op before Rob1Op) – but the handling of the parts should be first
Rob1Op and then Rob2Op.
This behavior setup using the Material Flow Viewer: one of the conditions for
running Rob2Op is starting the execution of Rob1Op.
As can be seen from these examples, the material flow links and triggers
determine the flow of material and influence the order of execution.
2. It will not find it (as Rob1Op hasn't run yet and therefore hasn't produced
the part yet) therefore will start running without it.
3. Rob2 will then start "waiting" (as specified before, using OLP
synchronization methods),
4. The OPC server sends the value TRUE for the signal Rob1Op. Rob1Op
will start
5. Rob1Op will produce the part, operate on it, and then when it will finish
handling it,
6. Rob2Op will be released from its "waiting mode" and start operating on
the part, BUT – the part appearance will not be assigned to the operation
as this assignment is currently done before the operation starts to run. In
weld operation case, it will result in weld location operations that are not
attached to the correct part appearance.
Here you can see that even starting the operations execution is independent
(the operations starts as soon as its start operation signal is true ) – it is
determined that the looking-for-part process and assigning it to the operation
is done before starting the operation's execution.
In order to support the cases detailed above, you need to setup the Material
Flow viewer. .
Summarizing the simulation:
C-32 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
• Station/Line Model
• Conventional TB
In OPC/PLCSim/SIMIT simulation
A serious difference between the CEE behavior and a real PLC program is
the execution of non-sim and flow operation. Although it’s possible to create
non-sim and flow _start signals (similar to the device_TO_ signals) it’s not
very sound that one would change the real PLC program in order to trigger
this simulation operations.
• In order to get the correct material flow all non-sim or flow operations in
between “real” operations must be executed.
• Material flow means in this context also that locations attached to a part
for weld operation are not put to the correct locations if the non-sim or
flow operations as mentioned are not executed in the correct order.
Instead of triggering the needed simulation operations you can use dedicated
Logic Blocks.
Any operation can get _start signals – it can be triggered by any of the
following:
• A program running on the OPC server
The easiest way to define the Op_TRIGGER1 logic block when you only have
one condition is with this content:
• Entry
o start_req (Boolean) — specify the start condition signal.
• Parameter
o start_RE (Boolean) = RE ( start_req )
• Exit
o start_op (Boolean) = SR ( start_RE op_end ) — specify the
generated _start signal.
C-34 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Virtual commissioning / connecting to a PLC (optional)
• Parameter
o combinedStart (Boolean) = start_req AND Addt_cond
• Exit
o start_op (Boolean) = SR ( start_RE op_end ) — specify the
generated _start signal.
Summary
Subjects learned in this topic:
• How to simulate in OPC mode.
• How to setup non-sim operations and modules for the OPC simulation.
C-36 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Index
C D
Calling paths from main Default signals and robot
programs . . . . . . . . . . . . . . . . . . . 7-22 programs . . . . . . . . . . . . . . . . . . . 7-15
CNC controller logic block Define a resource as a conceptual
example . . . . . . . . . . . . . . . . . . . . 5-17 skid . . . . . . . . . . . . . . . . . . . . . . . 4-18
Commands to create start signals . . C-25 Device operations . . . . . . . . . . . . . . . 2-3
Conceptual conveyor basics . . . . . . 4-12 Device operations and transitions . . . 2-1
Conceptual conveyor usage . . . . . . 4-14 Do I do this? . . . . . . . . . . . . . . . . . . 1-2
Conceptual conveyors and skids Dump unit basics . . . . . . . . . . . . . . A-15
overview . . . . . . . . . . . . . . . . . . . 4-11 Dump unit example (optional) . . . . A-15
E J
Editing conceptual conveyors . . . . . 4-17 Joint acceleration controlled . . . . . . A-22
Entering free text OLP Joint value sensor . . . . . . . . . . . . . . 2-9
commands . . . . . . . . . . . . . . . . . . 7-24 Joint velocity controlled . . . . . . . . . A-21
Evaluating system behavior . . . . . . . C-3
Event-based basics . . . . . . . . . . . . . . 2-2 L
Event-based study basics . . . . . . . . . 3-2 Light stack example (optional) . . . . 5-21
Logic basics . . . . . . . . . . . . . . . . . . . 5-9
F Logic block algebraic behavior . . . . . 5-9
Fixture and robot 1 putting it all Logic block and smart component
together . . . . . . . . . . . . . . . . . . . . . 8-2 basics . . . . . . . . . . . . . . . . . . . . . . 1-22
Following a standard for naming Logic block and smart component
signals . . . . . . . . . . . . . . . . . . . . . C-14 usage . . . . . . . . . . . . . . . . . . . . . . 1-22
Logic block basics . . . . . . . . . . . . . . . 5-3
Logic block for a basic interference
G
zone . . . . . . . . . . . . . . . . . . . . . . . . 7-8
Gate Control Basics . . . . . . . . . . . . . A-3 Logic block usage . . . . . . . . . . . . . . A-18
General logic block definitions . . . . . 5-4 Logic block value expressions . . . . . . 5-6
Grip and release robot macros . . . . . B-9 Logic blocks and smart components . . 5-1
H M
Handshaking mechanism for program Manual part generation . . . . . . . . . 6-11
execution . . . . . . . . . . . . . . . . . . . 7-19 Merge stations into a line . . . . . . . . B-11
Merge studies details . . . . . . . . . . . B-11
Modules versus logic blocks . . . . . . . 5-3
I
More event-based examples
Ignoring logic in OLP commands . . 7-27 (optional) . . . . . . . . . . . . . . . . . . . . B-1
Importing and exporting modules . . . 6-9 More functions details . . . . . . . . . . 5-14
Interference zone basics . . . . . . . . . A-17 More Logic Block Functions (Press
Intermediate robotics (CEE) course Example) . . . . . . . . . . . . . . . . . . . 5-14
overview . . . . . . . . . . . . . . . . . . . . 13 More on Process Simulate PLC
Internal rules for automatic part simulation . . . . . . . . . . . . . . . . . . C-10
generation . . . . . . . . . . . . . . . . . . 6-12 More on working with studies . . . . . 3-2
Introduction . . . . . . . . . . . . . . C-2, C-29 More robot macros . . . . . . . . . . . . . . B-9
Introduction to event-based
robotics . . . . . . . . . . . . . . . . . . . . . 1-4 N
Introduction to event-based
Naming rules . . . . . . . . . . . . . . . . . 1-14
robotics . . . . . . . . . . . . . . . . . . . . . 7-2
New non-sim operations for logic . . 6-13
Introduction to event-based
Non-sim and flow operations and modules
simulation . . . . . . . . . . . . . . . . . . . 1-1
with OPC . . . . . . . . . . . . . . . . . . . C-24
Introduction to logic blocks . . . . . . . . 5-3
Notes on grip and release . . . . . . . . . B-7
Introduction to signal mapping . . . C-12
Introduction to signals . . . . . . . . . . 1-14
Introduction to the training manual O
structure . . . . . . . . . . . . . . . . . . . . 1-2 OLP command conditions . . . . . . . . 7-24
Index-2 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Index
Index-4 Process Simulate Standalone Intermediate Robotics (CEE) Student Guide MT45215-S-121
Reference tear-out pages
These reference tear-out pages are provided for your convenience.
Course agenda
Day 1 Morning
Introduction
Course
overview
Lesson 1 Introduction to Event Based Simulation
Afternoon
Lesson 2 Gripper and Device Operation Basics
Day 2 Morning
Lesson 3 Part Appearances and Material Flow
Afternoon
Lesson 4 Sensors and Conveyors
Day 3 Morning
Lesson 5 Logic Blocks and Smart Components
Afternoon
Lesson 6 Putting It all Together
Day 4 Morning
Lesson 7 Robotic Event-Based Simulation
Afternoon
Lesson 8 Putting It all Together Continued
Appendix
Optionally, discuss topics from the appendix
(optional topics)
Classroom data sheet
This table is provided so students can record their classroom setup, as
described by the instructor. Optionally, instructors may hand out a preprinted
data sheet.
Data item Data value
OS user ID
OS password
User number