Plc Mode Description; Overview; Comparator Function - Baldor VS1GV21-1B Installation & Operating Manual

Vs1gv series ac closed vector control
Table of Contents

Advertisement

10.1 Overview

PLC functionality is selected by setting Level 1, Input Setup block, Operating Mode parameter P1401 to PLC. PLC mode
allows 2-Wire and 3-Wire operating modes to be created using a selection of conditions, logical operators and desired
actions. PLC Mode parameters are located in Level 3, PLC block parameters P3401 through P3443.
Simply stated, for each logical statement choose two input conditions from Table 10-1, one logical operation from Table
10-2 and one action from Table 10-3. These 30 logical statements are evaluated every 10 milliseconds, in order from P3401
to 3430. For each statement Condition 1 and Condition 2 are evaluated to True or False, the Logical Operator is applied and
the final outcome is either True or False. If True the Action is taken; if False the Alternate Action is taken.
Conditions, operators and actions are pre-defined and so cannot be changed.
10.2 Configuration Parameters
The PLC program is contained within 30 statements, PLC CONFIG 1 (P3401) through PLC CONFIG 30 (P3430). Each
statement has the same 32 bit word format and structure as the example given in Figure 10-1. If P3401-P3430 are not
programmed, the PLC Mode will do nothing. It is also possible to program them so that the motor will not move. This can
happen, for instance, if no Forward/Reverse Enables are programmed.
Parameter Number Format = DDD.CCC.BBB.AAA
Where:
DDD = bits 31-24 Byte 3
CCC = bits 23-16 Byte 2
BBB = bits 15-8 Byte 1
AAA = bits 7-0 Byte 0
Parameter No.
P3401 - 3430
A configuration parameter may be disabled (turned off) by setting bit 23 in its configuration word. This is the same as
setting the most significant bit of byte 2 (the logical operator ID field). If any field within any of these parameters is invalid,
it is ignored at run time. Only one runtime version exists at a time. The runtime version in effect is the one defined by the
parameter table active at the time the drive was placed in Remote Mode.
To switch runtime PLC versions perform the following operations:
1. Disable the drive.
2. At the keypad, select "Local" mode.
3. Select the desired parameter table.
4. Enable the drive.
5. At the keypad, select "Remote" mode.
If a parameter table is switched while the drive is enabled the run time PLC version is not affected.

10.3 Comparator Function

Comparator parameters provide a way to monitor real-time signals within the drive and apply them to the PLC Mode's logic.
They may be used on the condition definition side of the PLC Mode's logic. Parameters P3431 and P3433 hold parameter
numbers (i.e. they point to other parameters, see Monitor and RTC chapter in this manual for these values). P3432 and
P3434 hold percents that are applied against P3431 and P3433 maximums, together they provide all that is needed for the
following comparison equations:
If |Value of P3431| ≤ (P3432/100)*(Max of P3431) then True or
If |Value of P3433| ≤ (P3434/100)*(Max of P3433) then True
In a sense P3431 and P3433 may be viewed as holding addresses for other parameters.
For example: If P3431 = 5 (selects parameter 5 which is Motor Volts = 230V) and P3432=20% then Comparator A is true if
|P5| = (20/100)*230 ≤ 46V. But if the voltage exceeds 46V, Comparator A is false.
If P3433 = 6 (selects parameter 6 Motor Current = 10 Amps) then Comparator B is true if |P6| ≤ 1 Amp. Any parameter (see
Monitor and RTC chapter in this manual for these values) can be used in a comparator.
Note: Don't use P3431 and P3433 since this would create a circular reference and the comparator would fail.
MN765
Figure 10-1 Example PLC Configuration Parameters
Hex Byte 3
Hex Byte 2
Condition ID
Logical Operator ID
MSD
(Table 10-1)
(Table 10-2)
Chapter 10

PLC Mode Description

Example: P3401 = 051.000.000.020
051 = Digital Input 2 (from Table 10-1)
000 = OR (from Table 10-2)
000 = False (from Table 10-1)
020 = Forward (from Table 10-3)
Hex Byte 1
Hex Byte 0
Condition ID
Action ID
(Table 10-1)
(Table 10-3)
LSD
PLC Mode Description 10-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents