PLC Mode Description 10-1
MN766
Chapter 10
PLC Mode Description
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 fi nal 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-defi ned and so cannot be changed.
10.2 Confi guration 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.
Figure 10-1 Example PLC Confi guration Parameters
Where:
DDD = bits 31-24 Byte 3 051 = Digital Input 2 (from Table 10-1)
CCC = bits 23-16 Byte 2 000 = OR (from Table 10-2)
BBB = bits 15-8 Byte 1 000 = False (from Table 10-1)
AAA = bits 7-0 Byte 0 020 = Forward (from Table 10-3)
Parameter No.
Hex Byte 3 Hex Byte 2
Hex Byte 1
Hex Byte 0
P3401 - 3430 Condition ID Logical Operator ID Condition ID Action ID
MSD
LSD
(Table 10-1) (Table 10-2) (Table 10-1) (Table 10-3)
Parameter Number Format = DDD.CCC.BBB.AAA
Example: P3401 = 051.000.000.020
A confi guration parameter may be disabled (turned off) by setting bit 23 in its confi guration word. This is the same as
setting the most signifi cant bit of byte 2 (the logical operator ID fi eld). If any fi eld 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 defi ned 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 defi nition 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.
Содержание VS1SD
Страница 1: ...05 13 Installation Operating Manual MN766 VS1SD AC Servo Control...
Страница 12: ...2 2 General Information MN766...
Страница 16: ...3 4 Installing the Drive MN766...
Страница 108: ...7 34 Parameter Descriptions MN766...
Страница 114: ...8 6 Customizing Your Application MN766...
Страница 128: ...9 14 Troubleshooting MN766...
Страница 154: ...12 12 Monitor and RTC Description MN766...
Страница 188: ...E 2 Remote Keypad Mounting Template MN766...