409-35001
Rev C
43
of 92
In example above, the condition step will continously check Digital Input DI1 to see if it has been switched
on (the “When” operation). If the input is switched on before the 1 second timeout, the “When” operation
evaluates to “true”, and Digital Output DO1 is turned off (the “Then” operatio
n is executed). If Digital Input
DI1 is not switched on before the 1 second timeout, the “Else” operation is executed and a message
dialog box is displayed informing the user that the input was not switched on.
In addition to the operations carried out by each condition
step, the “Then” and “Else” output operations
also have a completion action associated with them that defines how the condition should proceed after
completing the step. The available completion actions are “Complete”, “Error”, “Next Step”, and “Goto
Step
n
”.
Complete
: After executing the “Then” or “Else” operation, the condition will com
plete successfully and the
next step in the press sequence will execute.
Error
: After executing the “Then” or “Else” operation, the condition will complete
and abort the press
sequence. The first step in the press sequence will be loaded and executed.
Next Step
: (Only available for multi-
step conditions) After executing the “Then” or “Else” operation, the
next step in the condition will be executed.
Goto Step
n
: (Only available for multi-
step conditions) After executing the “Then” or “Else” operation, step
n
in the condition will be executed.
Entries
“
Condition Name
”
-
This is a name you choose up to 30 characters long, spaces allowed, that will be
used to refer to this condition in the future. To enter a new condition type, select “New”. Alternatively, you
can select “Copy” to copy the currently viewed condition. You must enter a new name. Selecting “Delete”
will delete the currently viewed condition entry. Selecting “Save” will save the condition to the database.
“
Multi-Step Condition
” –
Select this checkbox to allow this condition to have multiple steps. Deselect
this check box if this is a single-step condition.
“
Execute Once Per Batch
” –
Selecting this checkbox will set this condition so that it is only executed the
first time the press sequence is run for the current batch. Reloading the press sequence will start a new
batch.
When/Then/Else Editor Tab
–
This tab contains all the button and input fields necessary to create a
condition step.
Press the “Add Step” button to create a new step in multi
-step conditions. Press the
“Delete Step” button to remove the curren
tly selected step from a multi-
step condition. Press the “Save
Step” button to store any changes to the current step in a multi
-step condition (this does NOT save the
changes to the database). Press the “Cancel Changes” button to discard any changes to a s
tep that has
been edited.
“
Step Name
” –
The step name is used to describe and identify the current condition step.
“
Use Condition Name
” –
(Single step conditions only) Selecting this checkbox automatically sets the
“Step Name” so it is identical to the “Condition Name”.
“
Step Number
” –
(Multi-step conditions only) This entry is used to specify where in the condition the
step will be located sequentially.
“When” box
–
Entries within this box define and describe the “When” input operation of the current
condition step.
“Input Type”–
This dropdown selects the type of input operation to perform for this condition step.
Available input types are “Step Start”, “Message Response”, “Clearance Move”, “Measure Board”,
“Digital Input”, “COM Port”, “Move Shuttle”, and “PPS Tool”.
Step Start
–
This input type is used to make the “When” operation always evaluate to “true”. The
st
ep will go directly to executing the “Then” operation, and the “Else” operation will be hidden from
the editor window. This input type is useful when the user needs a condition step to always
execute a single output operation and continue on.