www.baldormotion.com
Preset Moves & PLC Task 6-7
MN1901
6.3 PLC Task
The PLC Task is a special task that can be set up to monitor various events and act upon
them if they become true. In Mint WorkBench, the PLC Task tool allows you to enter
conditional statements that respond to the events by performing a particular action. The
statements can be downloaded to the MintDrive
II
if required. Mint WorkBench reads the
current state of the PLC Task table (from the MintDrive
II
) whenever you switch to PLC Task
mode. For the following explanation, the MintDrive
II
must be connected and powered.
6.3.1 Defining conditions
Each action is triggered as a result of the logical evaluation of one or two conditions, called
Condition 1 and Condition 2. If the result of this logical comparison is true, the action is
triggered. Condition 2 does not need to be defined if it is not required.
1. In the Mint WorkBench Toolbox, click
Application
then click the
PLC Task icon. Existing actions will be read from the MintDrive
II
and displayed in the PLC Task table. Each action is shown on a
separate row in the table.
2. Choose a row and click in the IF Condition 1 column. The word
False will change into a drop down box.
3. Select a condition by clicking on its name in the list. For example,
selecting Digital input will mean that a digital input will be monitored
to check if it is active. A full description of each Condition is
provided in the
PLCCONDITION
topic of the Mint help file.
4. Click in the adjacent Ch column and choose the related channel (if required). For example,
if Digital input was selected, choose
which
digital input will be monitored.
6.3.1.1 Configuring Condition 2 (optional)
The Operator and Condition 2 columns need to be changed only if you want the action to
depend on the logical evaluation of two conditions (Condition 1 and Condition 2). By leaving
the Operator column set to OR, and the Condition 2 column set to False, the state of Condition
1 will be used to trigger the action. If you do not wish to configure the second condition, go to
section 6.3.2.
5. Click in the Operator column. The word OR will change into a drop down box. Select a logical
operator from the list. This operator will be used to evaluate the two conditions. If the result
of the logical evaluation is true, the action will be performed.
6. Click in the Condition 2 column. The word False will change into a drop down box. Select a
condition by clicking on its name in the list.
7. If necessary, click in the second Ch column and select the required channel.
6.3.1.2 Choosing the action to be performed
8. Click in the THEN Action column and choose the action that will performed when the
conditions become true.
9. If necessary, click in the final Ch column and select the required channel.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com