ADVERTISEMENT

AGL_-_PLC_-EN.pdf

BONFIGLIOLI AGILE Falownik [Przemiennik częstotliwości] - DTR

Marka: Bonfiglioli Model: Agile Sterowanie: Skalarne / Wektorowe (w otwartej pętli) Silniki: asynchroniczne i synchroniczne (napędy serwo)


Download file - link to post

AGILE and
ACTIVE Cube
Application manual
PLC

General Information about the Documentation
This application manual complements the Operating Instructions and the " Quick Start Guide " of
the frequency inverter. The application manual contains all information relevant to creating PLC
functions using the graphical programming environment or the function table.
For better clarity, the documentation is structured according to the customer-specific requirements made on the frequency inverter.
Quick Start Guide
The Quick Start Guide describes the basic steps required for mechanical and electrical installation of the frequency inverter. The guided commissioning supports you in the selection of necessary parameters and the software configuration of the frequency inverter.
Operating instructions
The operating instructions describe and document all functions of the frequency inverter. The
parameters required for adapting the frequency inverter to specific applications as well as the
wide range of additional functions are described in detail.
Application Manual
The application manual supplements the documentation for purposeful installation and commissioning of the frequency inverter. Information on various subjects connected with the use of the
frequency inverter are described specific to the application.
Installation Instructions
Complementing the Brief Instructions and the Operating Instructions, the Installation Instructions provide information on how to install and use the additional/optional components.
If you need a copy of the documentation or additional information, contact your local representative of BONFIGLIOLI .
The following pictograms and signal words are used in the documentation:
Danger!
Danger refers to an immediate threat. Non-compliance with the precaution
described may result in death, serious injury or material damage.
Warning!
Warning refers to a possible threat. Non-compliance with the warning may
result in death, serious injury or material damage.
Caution!
Caution refers to an immediate hazard. Non-compliance may result in personal
or material damage.
Attention!
Attention and the related text refer to a possible behavior or an undesired condition which can occur during operation.
Note
marks information which facilitates handling for you and supplements the corresponding part of the documentation.

08/10

VPLC / PLC

08/10

VPLC / PLC

1

1

TABLE OF CONTENTS


General Safety Instructions and Information on Use ........................................... 7 
1.1 

General Information ....................................................................................... 7 

1.2 

Purpose of the Frequency Inverters ............................................................... 7 

1.3 

Transport and Storage .................................................................................... 7 

1.4 

Handling and Installation ............................................................................... 8 

1.5 

Electrical Installation ...................................................................................... 8 

1.6  Information on Use ......................................................................................... 9 
1.6.1 
Using external products .................................................................................. 9 
1.7 

Maintenance and Service ................................................................................ 9 

1.8 

Disposal ........................................................................................................... 9 



Description of System VPLC ................................................................................ 10 
2.1 

Chronological processing .............................................................................. 11 

2.2  Creating a program with function blocks...................................................... 12 
2.2.1 
Starting VPLC ...............................................................................................12 
2.2.2 
Saving a file..................................................................................................12 
2.2.3 
Function block (instruction) ............................................................................12 
2.2.4 
Wire.............................................................................................................12 
2.2.5 
Digital input block .........................................................................................13 
2.2.6 
Analog input block ........................................................................................13 
2.2.7 
Digital output block .......................................................................................13 
2.2.8 
Analog output block ...................................................................................... 14 
2.2.9 
Example .......................................................................................................14 
2.2.10  Syntax check ................................................................................................ 14 
2.2.11  Translation and download (to frequency inverter) ............................................14 
2.2.12  Starting the PLC ............................................................................................ 14 
2.2.13  Stopping the PLC ..........................................................................................14 
2.3  User environment .......................................................................................... 15 
2.3.1 
Tool bar and menu commands .......................................................................15 
2.3.2 
Other menu commands ................................................................................. 16 
2.3.3 
Editor ...........................................................................................................17 
2.3.4 
Library .........................................................................................................17 
2.3.5 
Properties .....................................................................................................17 
2.3.6 
Settings: Inputs, outputs and function block ....................................................18 
2.4 

Starting the PLC functions ............................................................................ 21 

2.5 

Principle for digital functions (input settings [Boolean]) ............................. 21 

2.6 

Principle for analog functions ....................................................................... 23 

2.7 

Input buffer and output buffer for digital signals ........................................ 25 

2.8  Input buffer and output buffer for analog signals ........................................ 25 
2.8.1 
Fixed analog values .......................................................................................27 


Overview of instructions ..................................................................................... 28 
3.1  Inputs and outputs ....................................................................................... 35 
3.1.1 
Inputs of digital functions ..............................................................................35 
3.1.2 
Inputs and outputs of analog functions ...........................................................36 
3.2  Combination of inputs and outputs of instructions ...................................... 38 
3.2.1 
Inputs ..........................................................................................................38 
3.2.2 
Combining input buffer with inputs .................................................................41 
3.2.2.1 
Digital ...................................................................................................41 
3.2.2.2 
Analog ...................................................................................................41 
3.2.3 
Combining instructions with one another .........................................................42 

2

2

VPLC PLC
VPLC // PLC

08/10

08/10

3.2.4 
3.2.5 
3.2.6 


Activating device functions via the output buffer ..............................................42 
Controlling a digital output via the output buffer ..............................................44 
Controlling an analog output via the output buffer ...........................................45 

Description of digital functions ........................................................................... 46 
4.1 

Superior/Master ............................................................................................ 47 

4.2  P1 and P2 for chronological behavior and jump target ................................ 47 
4.2.1 
Chronological behavior ..................................................................................48 
4.2.2 
Jump target ..................................................................................................48 
4.2.3 
Overview table ..............................................................................................48 
4.3  Boolean operations ....................................................................................... 49 
4.3.1 
[1] AND operation .........................................................................................50 
4.3.2 
[2] OR operation ........................................................................................... 50 
4.3.3 
[3] XOR 1 operation ......................................................................................51 
4.3.4 
[4] XOR 1||3 operation .................................................................................. 51 
4.4  Flip-Flop types ............................................................................................... 52 
4.4.1 
[10] RS-Flip-Flop, Superior .............................................................................52 
4.4.2 
[110] RS-Flip-Flop, Master .............................................................................53 
4.4.3 
[20] Toggle-Flip-Flop, Superior .......................................................................54 
4.4.4 
[120] Toggle-Flip-Flop, Master .......................................................................55 
4.4.5 
[30] D-Flip-Flop, Superior ..............................................................................56 
4.4.6 
[130] D-Flip-Flop, Master ...............................................................................57 
4.5  Delays ............................................................................................................ 58 
4.5.1 
[40,41,42] Delay (retriggerable), Superior .......................................................61 
4.5.2 
[140,141,142] Delay (retriggerable), Master ....................................................62 
4.5.3 
[50,51,52] Delay (non-retriggerable), Superior ................................................63 
4.5.4 
[150,151,152] Delay (non-retriggerable), Master .............................................64 
4.6  Timer functions ............................................................................................. 65 
4.6.1 
[60,61,62] Monoflop (retriggerable), Superior..................................................65 
4.6.2 
[160,161,162] Monoflop (retriggerable), Master...............................................66 
4.6.3 
[70,71,72] Monoflop (non-retriggerable), Superior ...........................................67 
4.6.4 
[170,171,172] Monoflop (non-retriggerable), Master ........................................68 
4.6.5 
[80,81,82] Clock generator Superior ...............................................................69 
4.6.6 
[180,181,182] Clock generator, Master ...........................................................70 
4.7  Digital multiplexer ........................................................................................ 71 
4.7.1 
[90] Digital Multiplexer (Data Set Number) ......................................................71 
4.8  Switch ........................................................................................................... 71 
4.8.1 
[91] Switch Data Set .....................................................................................71 
4.9  Error functions .............................................................................................. 72 
4.9.1 
[95] Triggering of an error .............................................................................72 
4.9.2 
[96] Acknowledging an error ..........................................................................73 
4.10 
Debouncer .................................................................................................. 74 
4.10.1  [97] Debouncer ............................................................................................ 74 
4.11 
No operation .............................................................................................. 74 
4.11.1  [99] NOP (no operation) ................................................................................74 
4.12 
Jump functions........................................................................................... 75 
4.12.1  [100] Jump function ......................................................................................75 
4.12.2  [101] Jump function for loops ........................................................................76 


Description of analog functions........................................................................... 77 
5.1 

Behavior ........................................................................................................ 77 

5.2  Comparators.................................................................................................. 78 
5.2.1 
[301,302] Comparator (comparison of two variables) .......................................78 
5.2.2 
[303,304] Comparator (comparison of constant to variable)..............................79 
5.2.3 
[308] Comparator for motion blocks ...............................................................81 
08/10

08/10

VPLC / PLC
VPLC PLC

3

3

5.2.4 
5.2.5 
5.2.6 
5.2.7 
5.2.8 
5.2.9 
5.2.10 
5.2.11 

[309] Position comparator (long) ....................................................................82 
[310] Analog hysteresis ................................................................................. 83 
[311,312] Window comparator (comparison of two variables) ...........................84 
[313,314] Window comparator (comparison of constant to variable)..................85 
[320] Min/Max .............................................................................................. 87 
[321] Min / Max for position values (Long) ......................................................87 
[322] Min/Max in time window .......................................................................88 
[323] Min/Max for positions (Long) in time window ..........................................88 

5.3  Mathematical functions................................................................................. 90 
5.3.1 
Addition and subtraction ................................................................................91 
5.3.1.1 
[330] Add. O1=-O2=I1+I2-I3+P1-P2 .......................................................91 
5.3.1.2 
[331] Addition position with offset ...........................................................91 
5.3.2 
Multiplication ................................................................................................92 
5.3.2.1 
[332] Multiplication .................................................................................92 
5.3.2.2 
[333] Multiplication, Long result ...............................................................92 
5.3.2.3 
[334] Mult. by fraction ............................................................................93 
5.3.2.4 
[335] Mult. long * percent .......................................................................93 
5.3.3 
Division ........................................................................................................94 
5.3.3.1 
[336] Division.........................................................................................94 
5.3.3.2 
[337] Division by constant .......................................................................95 
5.3.3.3 
[338] Division P1 by I1, reciprocal............................................................95 
5.3.4 
[339] Multiplication and division .....................................................................96 
5.3.5 
[340] Average function ..................................................................................96 
5.3.6 
[341] Absolute value of two orthogonal components (2 D vector)......................97 
5.3.7 
[342] Absolute value of three orthogonal components (3 D vector) ...................97 
5.3.8 
[350] Integrator............................................................................................98 
5.3.9 
[351] Differentiator (D-element) .....................................................................99 
5.3.10  [360] Absolute value function.........................................................................99 
5.3.11  [361] X², SQR (I1) ...................................................................................... 100 
5.3.12  [362] X³, (Cube (I1).................................................................................... 100 
5.3.13  [363] √X, square root of I1 .......................................................................... 100 
5.3.14  [364] Modulo .............................................................................................. 101 
5.4  Controller .................................................................................................... 102 
5.4.1 
[370] P controller ........................................................................................ 102 
5.4.2 
[371] PI controller (Tn in milliseconds) ......................................................... 103 
5.4.3 
[372] PI controller (Tn in seconds) ............................................................... 103 
5.4.4 
[373] PD(T1) controller ............................................................................... 104 
5.4.5 
[374] PID(T1) controller (Tn in milliseconds) ................................................. 104 
5.4.6 
[375] PID(T1) controller (Tn in seconds) ....................................................... 105 
5.5  Filters .......................................................................................................... 107 
5.5.1 
[380] PT1 element ...................................................................................... 107 
5.5.2 
[381] Time average ..................................................................................... 107 
5.5.3 
[382] Ramp limitation .................................................................................. 108 
5.5.4 
[383] Spike filter (average of three).............................................................. 109 
5.6  Analog switch .............................................................................................. 110 
5.6.1 
[390] Analog multiplexer (data set number) .................................................. 110 
5.6.2 
[391] Analog changeover switch................................................................... 110 
5.6.3 
[392] MUX for position values (data set number), Multiplexer ......................... 111 
5.6.4 
[393] Changeover switch for position values (Long) ....................................... 111 
5.7  Parameter access ........................................................................................ 112 
5.7.1 
Writing parameters ..................................................................................... 112 
5.7.1.1 
[401] Write frequency parameter ........................................................... 112 
5.7.1.2 
[402] Write current parameter ............................................................... 113 
5.7.1.3 
[403] Write voltage parameter (eff.) ...................................................... 113 
5.7.1.4 
[404] Write voltage parameter (peak) .................................................... 114 
5.7.1.5 
[405] Write percentage parameter ......................................................... 114 
5.7.1.6 
[406] Write position parameter .............................................................. 114 
5.7.1.7 
[407] Write long parameter ................................................................... 115 
5.7.1.8 
[408] Write word parameter .................................................................. 115 
4

4

VPLC // PLC
VPLC PLC

08/10

08/10

5.7.2 
Reading parameters .................................................................................... 116 
5.7.2.1 
[421] Read frequency parameter ........................................................... 116 
5.7.2.2 
[422] Read current parameter ............................................................... 116 
5.7.2.3 
[423] Read voltage parameter (eff.) ...................................................... 117 
5.7.2.4 
[424] Read voltage parameter (peak) ..................................................... 117 
5.7.2.5 
[425] Read percent parameter ............................................................... 117 
5.7.2.6 
[426] Read position parameter .............................................................. 117 
5.7.2.7 
[427] Read long parameter ................................................................... 118 
5.7.2.8 
[428] Read word parameter .................................................................. 118 
5.8  Limiters ....................................................................................................... 118 
5.8.1 
[440] Limiter (Const.) .................................................................................. 118 
5.8.2 
[441] Limiter (variable)................................................................................ 119 
5.9  Counters ...................................................................................................... 119 
5.9.1 
[450] Up/Down counter with analog output ................................................... 119 
5.9.2 
[451] Stopwatch with analog output ............................................................. 120 
5.10 
Positioning functions ............................................................................... 121 
5.10.1  [501] Start motion block as single motion ..................................................... 122 
5.10.2  [502] Start motion block in automatic mode .................................................. 123 
5.10.3  [503] Stop motion block .............................................................................. 123 
5.10.4  [504] Continue motion block ........................................................................ 124 
5.10.5  [505] Resume motion block ......................................................................... 124 
5.10.6  [506] Start homing...................................................................................... 125 
5.10.7  [507] Check state ....................................................................................... 125 
5.11 
Bit functions for analog input values ....................................................... 126 
5.11.1  [200] Bit NOT operation .............................................................................. 126 
5.11.2  [201] Bit AND/NAND operation ..................................................................... 127 
5.11.3  [202] Bit OR/NOR operation ......................................................................... 128 
5.11.4  [203] Bit XOR/XNOR operation ..................................................................... 129 
5.11.5  [210] Bit shift right ...................................................................................... 129 
5.11.6  [211] Bit arithmetical shift right .................................................................... 130 
5.11.7  [212] Bit shift left ........................................................................................ 130 
5.11.8  [213] Bit roll right ....................................................................................... 131 
5.11.9  [220] Output one bit ................................................................................... 131 
5.11.10  [221] Unite four bits to form a word ............................................................. 132 
5.11.11  [222] Add two bits to a word ....................................................................... 133 


Examples of combinations in the function table ............................................... 134 
6.1  Write index and read index ......................................................................... 134 
6.1.1 
Write index and read index for FT-instructions ............................................... 134 
6.1.2 
Write index and read index for the digital input buffer .................................... 135 
6.1.3 
Write index and read index for the analog input buffer and FT fixed values ...... 136 
6.2  Run/Stop ..................................................................................................... 137 
6.2.1 
Example Run/Stop ...................................................................................... 138 
6.3 
6.4 

Example 2: Combining several FT-instructions........................................... 139 

6.5 


Example 1: Combining two digital outputs ................................................. 138 
Example 3: Parameterization of logic diagram ........................................... 142 

Actual values, output signals and messages ..................................................... 143 
7.1 
7.2 

Actual values of analog functions ............................................................... 145 

7.3 

Signals for digital outputs of device ........................................................... 146 

7.4 

Signals for analog outputs of device ........................................................... 146 

7.5 

Signal sources for device function .............................................................. 147 

7.6 
08/10

Actual values of digital functions ................................................................ 143 

Error messages of instruction " 95 - Triggering an error " ........................... 147 

08/10

VPLC / PLC
VPLC / PLC

5

5



Operation as state machine ............................................................................... 148 
8.1 



Example of a controller ............................................................................... 148 

List of parameters ............................................................................................. 155 
9.1 

Actual values ............................................................................................... 155 

9.2 

Parameters of function table ...................................................................... 156 

10  Annex ................................................................................................................. 158 
10.1 

Mask: Diagram for digital instructions of function table ......................... 158 

10.2 

Mask: Functions settings ......................................................................... 159 

Index ........................................................................................................................ 160

6

VPLC / PLC

6

VPLC / PLC

08/10

08/10

1

General Safety Instructions and Information on Use
Warning!
The specifications and instructions contained in the documentation must be complied
with strictly during installation and commissioning. Before starting the relevant activity, read the documentation carefully and comply with the safety instructions. The
term " Qualified Staff " refers to anybody who is familiar with the installation, assembly, commissioning and operation of the frequency inverter and has the proper qualification for the job.

1.1

General Information
Warning!
The DC-link circuit of the frequency inverter is charged during operation, i.e. there is
always the risk of contact with high voltage. Frequency inverters are used for driving
moving parts and they may become hot at the surface during operation.
Any unauthorized removal of the necessary covers, improper use, wrong installation
or operation may result in serious injuries or material damage.
In order to avoid such injuries or damage, only qualified technical staff may carry
out the transport, installation, commissioning, setup or maintenance work required.
The standards EN 50178, IEC 60364 (Cenelec HD 384 or DIN VDE 0100), IEC
60664-1 (Cenelec HD 625 or VDE 0110-1) as well as the applicable national regulations must be complied with. The term „Qualified Staff“ refers to anybody who is
familiar with the installation, assembly, commissioning and operation of the frequency inverter as well as the possible hazards and has the proper qualification for the
job.
Persons who are not familiar with the operation of the frequency inverter and children must not have access to the device.

1.2

Purpose of the Frequency Inverters
Warning!
The frequency inverters are electrical drive components intended for installation in
industrial plants or machines. Commissioning and start of operation is not allowed
until it has been verified that the machine meets the requirements of the EC Machinery Directive 2006/42/EEC and EN 60204. In accordance with the CE marking requirements, the frequency inverters comply with the Low Voltage Directive
2006/95/EC as well as EN 61800-5-1. The user shall be responsible for making sure
that the requirements of the EMC Directive 2004/108/EEC are met. Frequency inverters are only available at specialized dealers and are exclusively intended for professional use as per EN 61000-3-2.
Purposes other than intended may result in the exclusion of warranty.
The frequency inverters are also marked with the UL label according to UL508c,
which proves that they also meet the requirements of the CSA Standard C22.2-No.
14-95.
The technical data, connection specifications and information on ambient conditions
are indicated on the name plate and in the documentation and must be complied
with in any case. Anyone involved in any kind of work at the device must have read
the instructions carefully and understood them before starting the work.

1.3

Transport and Storage

The frequency inverters must be transported and stored in an appropriate way. During transport and storage the devices must remain in their original packaging.
The units may only be stored in dry rooms which are protected against dust and moisture. The
units may be exposed to little temperature deviations only. Observe the conditions according to
EN 60721-3-1 for storage, EN 60721-3-2 for transport and the marking on the packaging.
08/10

08/10

VPLC / PLC
VPLC / PLC

7

7

The duration of storage without connection to the permissible nominal voltage may not exceed
one year.

1.4

Handling and Installation
Warning!
Damaged or destroyed components must not be put into operation because they may
be a health hazard.

The frequency inverters are to be used in accordance with the documentation as well as the
applicable directives and standards.
They must be handled carefully and protected against mechanical stress.
Do not bend any components or change the isolating distances.
Do not touch electronic components or contacts. The devices are equipped with components
which are sensitive to electrostatic energy and can be damaged if handled improperly. Any use
of damaged or destroyed components shall be considered as a non-compliance with the applicable standards.
Removal of seal marks may cause restrictions on warranty.
Do not remove any warning signs from the device.

1.5

Electrical Installation
Warning!
Before any assembly or connection work, discharge the frequency inverter. Verify
that the frequency inverter is discharged.
Do not touch the terminals because the capacitors may still be charged.
Comply with the information given in the operating instructions and on the frequency inverter label.
Comply with the rules for working on electrical installations.

Rules for working on electrical installation:
− Separate completely (isolate the installation from all possible sources of electrical power.
− Fix (protect against reconnection). Reconnection must be carried out by suitably qualified
persons.
− Verify there is no electrical power. Verify that there is no voltage against earth on the plant
component by measuring with measurement device or voltage tester.
− Ground and connect in a short circuit. Connect earth conductors.
− Protect against nearby power sources and delimit the working zone.
1)

In plants with a nominal power up to 1 kV deviation from description may be possible.

When working at the frequency inverters, comply with the relevant accident prevention regulations, the applicable standards, standards governing work on systems with dangerous voltages
(e.g. EN 50178), directives for electrical and mechanical equipment erection and other national
directives.
Comply with the electrical installation instructions given in the documentation as well as the
relevant directives.
Responsibility for compliance with and examination of the limit values of the EMC product norm
EN 61800-3 for variable-speed electrical drive mechanisms is with the manu-facturer of the
industrial plant or machine. The documentation contains information on EMC-conforming installation.
The cables connected to the frequency inverters may not be subjected to high-voltage insulation tests unless appropriate circuitry measures are taken before.
Do not connect any capacitive loads.

8

VPLC / PLC

8

VPLC / PLC

08/10

08/10

1.6

Information on Use
Warning!
The frequency inverter may be connected to power supply every 60 s. This must be
considered when operating a mains contactor in jog operation mode. For commissioning or after an emergency stop, a non-recurrent, direct restart is permissible.
After a failure and restoration of the power supply, the motor may start unexpectedly if the auto start function is activated.
If staff is endangered, a restart of the motor must be prevented by means of external circuitry.
Before commissioning and the start of the operation, make sure to fix all covers and
check the terminals. Check the additional monitoring and protective devices according to EN 60204 and applicable the safety directives (e.g. Working Machines Act, Accident Prevention Directives etc.).
No connection work may be performed, while the system is in operation.

1.6.1

Using external products

Please note, that Bonfiglioli Vectron does not take any responsibility for the compatibility of
external products (e.g. motors, cables, filters, etc.).
To ensure the best system compatibility, Bonfiglioli Vectron offers components which simplify
commissioning and provide the best tuning with each other during operation.
Using the device in combination with external products is carried out at your own risk.

1.7

Maintenance and Service
Warning!
Unauthorized opening and improper interventions can lead to personal injury or
material damage. Repairs on the frequency inverters may only be carried out by the
manu-facturer or persons authorized by the manufacturer.
Check protective equipment regularly.
Any repair work must be carried out by qualified electricians.

1.8

Disposal

The dispose of frequency inverter components must be carried out in accordance with the local
and country-specific regulations and standards.

08/10

VPLC / PLC

08/10

VPLC / PLC

9

9

2

Description of System VPLC

With the PLC functions (VPLC), external digital signals and internal logic signals of the frequency inverter can be combined with one another. Via analog and mathematical functions, analog
signals can be influenced or compared, the results are available for output. PLC functions are
also referred to as instructions.
The results of the instructions can be used by other device functions (e.g. comparator) or output via digital outputs. The results can also be used as input values by other instructions.
The instructions can be configured via function blocks in VPLC.
The functions are processed from index to index (I).
VPLC:
− Up to 32 functions are possible.
− Each function block describes an instruction.
− The processing order corresponds to the order of indices 1 to max. 32.
Input settings (digital)
− Via a digital input buffer, digital signal sources (e.g. run signal, error signal) and digital
inputs (e.g. IN2D) can be assigned to the instruction inputs. The input buffer enables 16 entries.
Input settings (analog)
− Via an analog input buffer, analog signal sources (e.g. frequencies) can be assigned to the
instruction inputs. Via the input buffers 4 inputs each can be selected for frequencies, percentages, currents and voltages.
Analog output settings
− Via an output buffer, the output values of the instructions can be made generally (globally)
available and used by other functions (e.g. start clockwise, data set change-over) or output
via the digital outputs of the device. Up to 16 signal sources can be used as digital output
buffer, 24 signal sources can be used as analog output buffer.
− All output values of the instructions have defined values when the frequency inverter is initialized. They are FALSE (digital instructions) or have value 0 (analog instructions) for all instruction outputs and all output buffer values. Inverted instruction outputs will be TRUE after
initialization.
− Processing of the instructions can be activated via button " Start PLC " and deactivated via
button " Stop PLC " .
Consistent data
The input buffer and output buffer guarantee consistent data during the run time.
Each instruction is described by:
− Instruction (digital: AND, OR etc., analog: addition, absolute value function, etc).
− Inputs: Inputs of the instructions (digital, analog or position).
− Function block settings: These parameters enable, depending on the selected instruction,
setting of delay times, factors or jumps between functions, for example.
− Outputs of instructions: The value of an output can be moved to the output buffer and is
now generally (globally) available to other device functions.
Each instruction has two outputs O1 and O2 (O2 = O1 inverted) or O1 = Low word and O2 =
High word).
The output values of instructions can also be used as input values in other instructions.
Values are interpreted as Percentage value internal
Internal values of the frequency inverter are processed as percentage value. Frequencies, Currents and voltage are converted.
Also Input- and Output buffer convert into percentage values.
− Current: Refers to the inverter nominal current. The inverter nominal current refers to
100.00 %
10

10

VPLC // PLC
VPLC PLC

08/10

08/10

− Frequency: Refers to Maximum Frequency 419. Maximum Frequency 419 refers to
100.00 %
− Voltage: Refers to 400 Veff (bzw. 400 √2 Vpeak). The value refers to 100.00 %.
Mathematical functions use percentage values as input and output values.
Internal conversions
Internal values of the frequency inverter are processed as percentage value. Frequencies, Currents and voltage are converted.

2.1

Chronological processing
Instructions

1. ms
5. ms
...

...

20xx
23xx

...

Update
input buffer

...

Write
24xx
output buffer 25xx

I=1

I=2

I=3

2. ms
6. ms
...

3. ms
7. ms
...

4. ms
8. ms
...

P1343 = 0
I=4
(Return)

The instructions are processed cyclically. In the first step, the output buffer is written to the
global variables, then the input buffer is written to the sources.
Then the instructions are processed, starting with Index 1.
08/10

VPLC / PLC

08/10

VPLC / PLC

11

11

A cycle is complete, if all used and successive instructions have been processed. Then the
processing cycle is started again (write output buffer, update input buffer, index 1, index 2, …).
The processing time of each instruction is approx. 1 ms.
Additionally, 1 ms is required for writing the output signals 24xx/25xx and reading of input signals 20xx/23xx.
As a result, the cycle time is the total of instructions + 1 in milliseconds.

2.2
2.2.1

Creating a program with function blocks
Starting VPLC

In PC software VPlus click on button

to start the editor for VPLC function blocks.

In menu Edit/VPLC settings, select the language for the user environment and the menu commands.

2.2.2

Saving a file

Click button

2.2.3

to save the function block program as a VPLC file.

Function block (instruction)

Drag the required function blocks from the library into the editor window.
− Double-click the function block in order to set up an index for the function block.
− The function blocks are processed in the order of the indices.
− Wrong numbering will be reported by the syntax check

.

− Depending on the function block, different settings are possible in fields P1 and P2.

2.2.4

Wire

Using the wire tool

to combine the blocks with one another in the editor.



Use wire to connect the blocks for inputs and outputs to function blocks.



Use wire to combine the function blocks with one another.

It is not possible to connect the connections of function blocks or inputs and outputs by arranging them on behind the other.
Correct connection

Incorrect

− If the wire is shown in grey after the combination, the combination must be checked.

12

VPLC / PLC

12

VPLC / PLC

08/10

08/10

2.2.5

Digital input block

Combining a digital function block input with a digital input (terminal) or a frequency inverter
control signal:
− Drag a block DigIn from the library to the function block input.
− Double-click the block DigIn.
− Select an input buffer for the PLC signal.
− As the global source, select the digital input or control signal to be applied to the functional
module input.

2.2.6

Analog input block

Combining an analog function block input to a analog input (terminal) or a frequency inverter
signal:
− Drag a block " Analog In " from the library to the function block input.
− Double-click the block " Analog In " .
− Select a physical quantity or percent for the PLC signal.
− Select percent if a signal at the analog input (terminal) of the frequency inverter is to be
applied to the function block input.
− As the global source, select the signal to be applied to the functional module input.

2.2.7

Digital output block

Combining a digital function block output with a device function or a digital output (terminal):
− Drag a block DigOut from the library to the function block output.
− Double-click the block DigOut. Select an output buffer.
Example:
Selected output Signal source for debuffer
vice function
1

Example of device function

Start Anticlockwise 69

2401

= 2401 – PLC-Output buffer 1

4

Error acknowledgment 103
= 2404 – PLC-Output buffer 4

2404
Signal source for digital
output (terminal)

Example of digital output (terminal)

1

AgilE: Operation mode OUT1D (X13.5) 531
= 80 – PLC-Output buffer 1

4

08/10

80
83

ACU: Operation mode digital output 1 530
= 83 – PLC-Output buffer 4

VPLC / PLC

08/10

VPLC / PLC

13

13

2.2.8

Analog output block

Combining an analog function block output with a device function or an analog output (terminal):
− Drag a block " Analog Out " from the library to the function block output.
− Double-click the block " Analog Out " . Select an output buffer.
Example:
Selected output Signal source for debuffer
vice function
2

AgilE: Reference frequency source1 475 =
2502 – PLC output frequency 2

2502
Signal source for analog
output (terminal)

1

2.2.9

61

Example of device function

Example of analog output (terminal)
AgilE: Analog: Source MFO1A 553 =
61 – Abs. value PLC outp. percent 1

Example

Digital

Analog

Run Signal as Input Signal

Analogue input MFI1A as input value
(Percentage 1).
Output O1 via buffer Percentage 1 (Percent1).

Output O1 via output buffer (Bool1).

2.2.10 Syntax check
Start the syntax check by clicking button
. In the syntax check window, click on the error
message in bottom area. The cause of the error is marked in the editor window.

2.2.11 Translation and download (to frequency inverter)
Click button
to translate the function block program to parameter settings and download
them to the frequency inverter. Only if this function executed will the data in the frequency
inverter be changed. The syntax must be free from errors.
.

Before the translation and download, stop the PLC by clicking button

2.2.12 Starting the PLC
Run the function block opened in the editor by clicking on button

.

2.2.13 Stopping the PLC
Stop the started function block by clicking on button

14

.

VPLC / PLC

14

VPLC / PLC

08/10

08/10

2.3
2.3.1

User environment
Tool bar and menu commands
Function
Create a new VPLC file.

File

New

Open VPLC file

Open an existing VPLC file.

File

open

Save file

Save the program created by
means of function block as a
VPLC file.

File

Save

Select

Select function blocks or wire in
editor.



Place function
block

Place function block selected in
the library in the editor.



Wire tool

Connect function block to one
another or to inputs/outputs.



Add comment

Insert a text field for comments
in the editor.



Undo

Undo the last action. Up to 16
actions can be undone.

Edit

Undo

Redo

Redo a function undone before.

Edit

Redo

Zoom

Increase or reduce the view in
the editor.



Syntax check

Check the function block pro–
gram for errors. Click on the
error message to mark the cause
of the error in the editor.

Translate and
download

Translate and downTranslate the function block pro- PLC
gram to parameter values and
load to frequency inverter
download them to the frequency
inverter.

Stop PLC

Stop the function block program. –

Start PLC

08/10

Menu command

New file

Start the function block program. –

VPLC / PLC

08/10

VPLC / PLC

15

15

2.3.2

Other menu commands

Function

Menu command

Save a VPLC file under a new file name.

File

Save as

Export a VPLC file to a VCB file. The VCB file containing the parameter values created by the PLC
functions can be edited in VPlus.

File

Export to VCB

Opens the print setup window. Prints the editor
area.

File

Print

Adjust the page size of the editor.

File

Page setup

View the page as it will be when printed.

File

Print preview

Select all objects in editor.

Edit

Select all

Opens the VPLC setup window:

Edit

VPLC setup

PLC

Delete

Interface:

VPlus (auto) is displayed
if VPLC was started in
VPlus (default setting).
COM: The available interfaces are displayed.
Only if VPLC is started
without VPlus.

Language:

Select the language of
the user environment
and the menu commands.

Apply texts from
inverter:

The language selected at
the frequency inverter is
applied to the signal
sources in VPLC.

Show parameter values: The values of fields P1
and P2 of the function
block settings will be
displayed below the
function block.
Sheet size:

Adjust the page size of
the editor.

The changes made with VPLC are deleted in the
frequency inverter and reset to the default settings.

Translate and download to frePLC
Apply the function block program to parameter
values and download them to the frequency inver- quency inverter
ter. While edited in the editor, the function block
program is not changed in the frequency inverter.
Changes will only be applied to the frequency inverter by this command.
Note:
Working on the sheet doesn’t change the program inside the frequency inverter. Only via the
Download Command the changes of the PLC program are loaded to the frequency inverter.

16
16

VPLC / PLC
VPLC / PLC

08/10
08/10

2.3.3

Editor

In the editor, PLC programs are displayed graphically.

2.3.4

Library

From the library, the blocks for inputs and outputs and function blocks can be dragged to the
editor window.
Alternatively, you can click button " Activate function block " . In this way, the function block selected in the library can be inserted in the editor window.

2.3.5

Properties

The properties of the function block selected in the library will be displayed.
− Number of instruction
− Function of inputs (I) and outputs (O) of instruction
− Function of input fields P1 and P2. Via P1 and P2, the function block can be adjusted to the
application.

08/10

VPLC / PLC

08/10

VPLC / PLC

17

17

2.3.6

Settings: Inputs, outputs and function block

In the editor, double-click a block. The dialog window will be opened.
Block

Dialog window

Assign a digital signal at the control terminals of the frequency inverter or a
control signal to an input of a digital function block.
• Select an input buffer for the PLC signal.
• Select a digital signal as the global source.

18

VPLC / PLC

18

VPLC / PLC

08/10

08/10

Block

Dialog window

Assign an analog signal at the control terminals of the frequency inverter or an
analog quantity (frequency, current, voltage or percentage) to an input of an
analog function block.
• Select an analog quantity for the PLC signal.
• Select an analog signal of the frequency inverter as the global source.

Enter a fixed analog value.
Block

Dialog window

Assign the actual position value to an input of a function block.
• Select the position value for the PLC signal.

Assign a fixed position value to an input of a function block.
• Select a signal source for the fixed value for the PLC signal.
• Enter a fixed position value.
Block

Dialog window

Write the output signal of a digital function block to the output buffer.
With the output signal of the function block, this enables controlling device
functions of the frequency inverter. Output buffers 1 to 16 correspond to signal
sources PLC output buffer 2401 to 2416.
Select the corresponding signal source for a device function.

08/10

VPLC / PLC

08/10

VPLC / PLC

19

19

Block

Dialog window

Write the output signal of an analog function block to the output buffer. Output
buffers 1 to 4 correspond to signal sources 25xx. The signal sources can be
used for analog inputs of other function blocks or combined with device functions.
Percent Buffer Number 1 and 2 can be output via analog control terminals of
the frequency inverter. Select Signal Source 61 – Amount PLC output 1 (Percent
Buffer Number 1) or 62 - Amount PLC output 2 (Percent Buffer Number 2) for
the parameter of the analog output. Signal sources 161 and 162 have a sign.
Block

Dialog window

The index (I) determines the order in which the instructions are processed.
Adjust the function block to the application via input fields P1 and P2. The
functions of P1 and P2 depend on the function block.
In some instructions (i.e. mathematical operations) P1 and P2 can be display
as Float, % or Int(ernal).
Changing the display does not change the value. For mathematical operations
% or Float is recommended.
For Times (i.e. Monoflop) the internal Notation Int is recommended.
Correlation:
%
123.45 %

20

Float
1.2345

Int
12345

VPLC / PLC

20

VPLC / PLC

08/10

08/10

2.4

Starting the PLC functions

By default (factory setting), the PLC functions are stopped and must be started by clicking button " Start PLC " . In stop mode, no instructions are processed and the output buffer is not written.
Run the following menu commands:
− Syntax check
− Translation and download (to frequency inverter)
− Start PLC
Note:
Instructions can only be edited in stop mode.

2.5

Principle for digital functions (input settings [Boolean])

The digital function processing principle is shown in the following diagram. The digital input
buffer comprises 16 PLC signals which can be assigned to global sources. The values in the
input buffer are available to the instructions as sources.
The instructions can be combined with up to 4 input values. The outputs of the instructions can
be used as inputs of other instructions (non-negated outputs O1 and negated outputs O2).
The instructions are processed one after the other, starting with instruction 1. When the
processing cycle jumps back to start, the output buffer is written and the input buffer is updated.
Jump functions enable branching off to certain instructions (indices). The instruction parameters of the jump function additionally enable selective writing of the output buffer and updating
of the input buffer.

08/10

08/10

VPLC / PLC
VPLC PLC

21

21

Digital signal sources for the inputs of digital instructions

FT-input buffer 1362
Digital inputs or Signal sources can be linked
with inputs of functions within in the
function table.
Index 1
70 FI-release

Factory setting:

Index 2
71 S2IND

Index 3
72 S3IND

P1343.I

Instruction

Ins.

P1344.I

E1

P1345.I

Function table

I

E2

(OR,XOR,
AND,...)

2003

E1

22I

E2

2101

32
Ins.

E1

2002

Global
Sources

7Off

...

1

... Index 16

E2

P1346.I

E3

E3

E3

P1347.I

E4

E4

E4

P1348.I

P1

P1

P1

P1349.I

P2

P2

P2

A1

A1

A1

A2

A2

A2

P1350.I

Target A1

Targ. A1

Targ. A1

P1351.I

Target A2

Targ. A2

Targ. A2

Global
Sources

2401

2402

2403 2404 ...

2416

for digital outputs
global for further functions
FT-output buffer
- The Signal sources 2401 to 2416 are available
generally (global) for further functions.
- The Signal sources 2401 to 2404 are available
generally (global) for digital outputs. Selection
of operation mode 80 ... 83 for digital output.
The outputs of the logical functions
can be linked with digital outputs
or further functions.

Input buffer is
updated.

Abbreviations used:
I:
In:
O1, O2:

Index of instruction (1 … 32)
Input of an instruction
Outputs for combinations with other instructions or outputs for global combinations

At first, the output buffer is updated. Then, the input buffer is updated. The values of the global
sources are applied to the output buffer. Then, the global input values in the input buffer are
updated.

22

22

VPLC / PLC

VPLC / PLC

08/10

08/10

2.6

Principle for analog functions

The analog function processing principle is shown in the following diagram. The analog input
buffer comprises fixed values or PLC signals which can be assigned to global signal sources.
The values in the input buffer are available to the inputs of the instructions as sources.
Depending on the type of instructions, two function block settings (P1 and P2) are used for
adjusting special instruction functions. The outputs of the instructions can be used as inputs by
other functions).
In addition, the outputs can be used as a source for global variables.
The instructions are processed one after the other, starting with instruction 1. When the
processing cycle jumps back to start, the output buffer is written and the input buffer is updated.
Jump functions enable branching off to certain instructions (indices). The settings of the jump
function additionally enable selective writing of the output buffer and updating of the input
buffer.
Analog functions can process the following values:
− Frequency
− Current
− Percent
− Voltage
− Position
− Positioning ramp gradient

08/10

08/10

VPLC / PLC

VPLC / PLC

23

23

Analog signal sources and fixed values for the inputs of analog instructions and the
output signals of the instructions

Abbreviations used:
I:
Index of instruction (1 … 32)
In:
Input of an instruction
O1, O2:
Outputs for combinations with other instructions or for global combinations (e.g.
output via an analog output of the frequency inverter)

24

VPLC / PLC

24

VPLC / PLC

08/10

08/10

2.7

Input buffer and output buffer for digital signals

Input buffer:
The input buffer is updated and the output buffer is written at a defined point of time. In this
way it is ensured that the processing within a cycle in performed based on the same input data
and inconsistent statuses are avoided.
Output buffer:
For digital outputs (control terminals) of the device, signal sources 2401 to 2404 are available
(corresponds to operation modes 80 … 83 for digital outputs). Operation modes 2401 to 2416
are available to other functions, e.g. comparators.
At the start of a cycle, the input buffer is read and kept in the memory until the next return
jump. Then, the instructions are processed. The output buffer is written at the end of the cycle
and is available in the global sources after that.
By selective use of the jump function, the input buffer and output buffer can be updated either
separately or jointly. This enables setting the digital output signals at certain times (selected by
the user) during the processing.
Note:
The input and output buffers are set and written during the return jump. This is done in one
processing cycle. The output buffer is written first, after that the input buffer is set.

2.8

Input buffer and output buffer for analog signals

The input buffer is updated and the output buffer is written at a defined point of time. In this
way it is ensured that the processing within a cycle in performed based on the same input data
and inconsistent statuses are avoided.
− Consistent values; values of identical points of time are processed
− Clear arrangement thanks to limited number of signals
− Conversion to percent values; functions process percent values
− Four indices
In order to write an analog output, you will have to select an output buffer first. Then, the signal must be assigned to the device function.
For analog outputs of the device, the following operation modes are available:
− 61 – " Abs. value PLC outp. percent 1 "
− 62 – " Abs. value PLC outp. percent 2 "
− 161 – " PLC outp. percent 1 "
− 162 – " PLC outp. percent 2 "
Based on these values, the input buffer is read at the start of a cycle and kept in the memory
until the end of the cycle. Then, the instructions are processed. The output buffer is written at
the end of the cycle and is available in the global sources after that. When the input buffer is
updated, the output buffer is updated and the cycle restarts.
By selective use of the jump function, the input buffer and output buffer can be updated either
separately or jointly. This enables setting the output signals at certain times (selected by the
user) during the processing.

08/10
08/10

VPLC / PLC
VPLC / PLC

25
25

The output values of instructions can be saved in the following signal sources of the output
buffer. The signal sources 25xx can be used as input values by other instructions.
2501
2511
2521
2531
2551
2561

26








2504
2514
2524
2534
2554
2564

Signal sources of output buffer
Output frequency buffer number 1...4
Output current buffer number 1...4
Output percent buffer number 1...4
Output voltage buffer number 1...4
Output general value buffer number 1...4
Output flag buffer number 1...4

VPLC / PLC

26

VPLC / PLC

08/10

08/10

2.8.1

Fixed analog values

For the fixed values of the input buffer, values for physical quantities can be entered.
No.
2601...2604
2611...2614
2621...2624
2631...2644
2651...2654

Fixed value
Fixed
Fixed
Fixed
Fixed
Fixed

frequency values
current values
percent values
voltage values
general values

For PLC signal Fixed General Value of the input buffer, values without physical unit can be entered. The setting range is -327.68% … +327.68%.

08/10
08/10

VPLC / PLC
VPLC / PLC

27
27

3

Overview of instructions

− C is a configurable constant value.
− V is a variable input value.
− P1 and P2 are input fields in the function block setup for adapting the function to the application
Digital functions
Off (last table
Return jump to Instruction 1 (in Index 1). Last function processed in
0item)
function table. See chapter 2.1.
Boolean operations
Digital functions
Up to 4 inputs are AND combined with one another. Output is TRUE
1 - AND
if all inputs are TRUE. See chapter 0.
Up to 4 inputs are OR combined with one another. Output is logic
2 - OR
TRUE if at least one input is TRUE. See chapter 4.3.2.
Up to 4 inputs are EXCLUSIVE OR-combined with one another. Out3 - XOR (=1)
put is TRUE only if exactly one input is TRUE. See chapter 4.3.3.
Up to 4 inputs are EXCLUSIVE OR-combined with one another. The
output is TRUE if TRUE is present on an odd number of inputs. The
4 - XOR (=1)||(=3)
output is FALSE if TRUE is present on a straight number of inputs.
See chapter 4.3.4.
Flip-Flop types
Digital functions
Input 1: Set; TRUE sets output to TRUE.
Input 2: Reset; TRUE sets output to FALSE.
RS-Flip-Flop
Input 3: Superior Set; TRUE sets output to TRUE.
10 Superior
Input 4: Superior Reset; TRUE sets output to FALSE.
FALSE at Set and Reset: Last output signal state is maintained. See
chapter 4.4.1.
Output signal changes with the positive pulse edge at input 1 or with
Toggle Flip-Flop the negative pulse edge at input 2.
20 Superior
TRUE at Superior-Set input (input 3) sets output TRUE. TRUE at
Superior Reset input (input 4) sets output FALSE. See chapter 4.4.3.
If a positive edge is received at input 1 (clock pulse input C, Clock)
the signal present at input 2 (data input D) is transferred to the outD Flip-Flop Su30 put.
perior
TRUE at Superior-Set input (input 3) sets output TRUE. TRUE at
Superior Reset input (input 4) sets output FALSE. See chapter 4.4.5.
Delays
Digital functions
The positive edge at input 1 is delayed by the time set in P1 and the
negative edge is delayed by the time set in P2 before switching them
Delay Superior
through to the output. The delay time starts again with each edge.
40 - ms (retriggeraTimes are indicated in milliseconds [ms].
ble)
TRUE at Superior-Set input (input 3) sets output TRUE. TRUE at
Superior Reset input (input 4) sets output FALSE. See chapter 4.5.1.
Delay Superior s As in operation mode 40, the unit of the times set in P1 and P2 is
41 (retriggerable)
seconds [s]. See chapter 4.5.1.
Delay Superior
As in operation mode 40, the unit of the times set in P1 and P2 is
42 - min (retriggeraminutes [min]. See chapter 4.5.1.
ble)
The positive edge at input 1 is delayed by the time set in P1 and the
negative edge is delayed by the time set in P2 before switching them
Delay Superior
through to the output. During the delay time, edges will be ignored.
50 - ms (nonTimes are indicated in milliseconds [ms].
retriggerable)
TRUE at Superior-Set input (input 3) sets output TRUE. TRUE at
Superior Reset input (input 4) sets output FALSE. See chapter 4.5.3.
Delay Superior s
As in operation mode 50, the unit of the times set in P1 and P2 is
51 - (nonseconds [s]. See chapter 4.5.3.
retriggerable)

28

28

VPLC / PLC

VPLC / PLC

08/10

08/10

Delay Superior
52 - min (nonretriggerable)
Timer functions

Monoflop Supe60 - rior ms (retriggerable)
Monoflop Supe61 - rior s (retriggerable)
Monoflop Supe62 - rior min (retriggerable)
Monoflop Supe70 - rior ms (nonretriggerable)
Monoflop Supe71 - rior s (nonretriggerable)
Monoflop Supe72 - rior min (nonretriggerable)

80 -

Clock generator
Superior ms

Clock generator
Superior s
Clock generator
82 Superior min
Digital switches
81 -

90 -

Digital Multiplexer

Dataset changeover
Error functions

91 -

95 -

Triggering of an
error.

96 -

Acknowledging
an error.

Zero operation
99 - NOP
08/10

08/10

As in operation mode 50, the unit of the times set in P1 and P2 is
minutes [min]. See chapter 4.5.3.
Digital functions
Output signal becomes TRUE with positive clock edge at input 1 or
with negative clock edge at input 2. The time set in P1 is the OnTime (High) and the time set in P2 is the ignore edge time (Low).
The time is indicated in milliseconds [ms]. The set on-time and the
ignore edge time start again with each edge.
TRUE at Superior-Set input (input 3) sets output TRUE. TRUE at
Superior Reset input (input 4) sets output FALSE. See chapter 4.6.1.
As in operation mode 60, the unit of the times set in P1 and P2 is
seconds [s]. See chapter 4.6.1.
As in operation mode 60, the unit of the times set in P1 and P2 is
minutes [min]. See chapter 4.6.1.
Output signal becomes TRUE with positive clock edge at input 1 or
with negative clock edge at input 2. The time set in P1 is the OnTime (High) and the time set in P2 is the ignore edge time (Low).
The time is indicated in milliseconds [ms]. Edges during the selected
ON time and the ignore edge time will be ignored.
TRUE at Superior-Set input (input 3) sets output TRUE. TRUE at
Superior Reset input (input 4) sets output FALSE. See chapter 4.6.3.
As in operation mode 70, the unit of the times set in P1 and P2 is
seconds [s]. See chapter 4.6.3.
As in operation mode 70, the unit of the times set in P1 and P2 is
minutes [min]. See chapter 4.6.3.
As long as input 1 is TRUE and input 2 is FALSE, the set pulse pattern is output. The clock pattern is defined by the on-time and the
off-time. The time set in P1 is the on-time (High) and the time set in
P2 is the off-time (Low). The time is indicated in milliseconds [ms].
TRUE at Superior-Set input (input 3) sets output TRUE. TRUE at
Superior Reset input (input 4) sets output FALSE. See chapter 4.6.5.
As in operation mode 80, the unit of the times set in P1 and P2 is
seconds [s]. See chapter 4.6.5.
As in operation mode 80, the unit of the times set in P1 and P2 is
minutes [min]. See chapter 4.6.5.
Digital functions
Depending on the current data set, the input values are forwarded to
the output values
Data set = 1: Output 1 = Input 1,
Data set = 2: Output 1 = Input 2,
Data set = 3: Output 1 = Input 3,
Data set = 4: Output 1 = Input 4
See chapter 4.7.1.
Switching-over of data set depending on input signals. See chapter
4.8.1.
Digital functions
A user error is triggered via one of the inputs I1 … I4. The behavior
(error cut-off, shut-down, emergency stop) after triggering can be
set up via P2. See chapter 4.9.1.
Output 1 indicates if an acknowledgeable error message is present.
Via inputs I1 or I2, the error message can be acknowledged. See
chapter 4.9.2.
Digital functions
Zero operation. The function does not carry out an operation. See
chapter 4.11.1.
VPLC / PLC

VPLC / PLC

29

29

Jump function
100 - Jump function
101 -

Jump function
for loops

110 … 182

Digital functions
Branching off to index (table column). See chapter 4.12.1.
A function indicated as jump target in P1 is executed as often as
indicated in P2. Via the inputs , the loop can be stopped or restarted.
See chapter 4.12.2.
Like instruction types 10 … 82. Evaluation of Master-Set/MasterReset instead of Superior-Set/Superior-Reset.

Analog functions:
Debouncer

Analog functions:
The input value will be forwarded to the output only if it has had a
97 - Debouncer
constant value for the configured delay (P1: pos. edge, P2: neg.
edge).See chapter 4.10.1.
Bit functions for analog input values
Analog functions:
Bit NOT opera- At output 1 O1, the bitwise inverted value of input I1 is output. See
200 tion
chapter 5.11.1.
The input value at I1 is AND combined. Via P2, you can select:
P2=1: Combination with input value I2
Bit AND/NAND
201 P2=2: Combination with a mask permanently set up in P1,
operation
P2=3: Combination with I2 and P1
See chapter 5.11.3.
The input value at I1 is OR combined. Via P2, you can select:
P2=1: Combination with input value I2
Bit OR/NOR
202 P2=2: Combination with a mask permanently set up in P1,
operation
P2=3: Combination with I2 and P1
See chapter 5.11.2.
The input value at I1 is Exclusive-OR combined. Via P2, you can select:
Bit XOR/XNOR P2=1: Combination with input value I2
203 operation
P2=2: Combination with a mask permanently set up in P1,
P2=3: Combination with I2 and combination of result with P1
See chapter 5.11.4.
The input value at I1 is shifted to the right bitwise by the number of
210 - Bit shift right
shifts (P2). Left side is filled with zeroes. See chapter 5.11.5.
The input value at I1 is shifted to the right bitwise by the number of
Bit arithmetical
211 shifts (P2). The most significant bit (sign bit) is maintained. See
shift right
chapter 5.11.6.
The input value at I1 is shifted to the left bitwise by the number of
212 - Bit shift left
shifts (P2). Right side is filled with zeroes. See chapter 5.11.7.
The input value at I1 is shifted to the right bitwise by the number of
213 - Bit roll right
shifts (P2). On the left side, the bits leaving on the right side will be
inserted. See chapter 5.11.8.
A selected bit of input value 1 is output at output 1. The bit is se220 - Output one bit
lected via P1. See chapter 5.11.9.
Unite four bits
The state of input 1 is copied to the bit of the output specified via P1,
221 to form a word the state of input 2 to the next bit, etc. See chapter5.11.10.
Add two bits to The states at inputs I2 and I3 are inserted in certain bits of the input
222 a word
value 1. The bits are defined by P1 and P2. See chapter 5.11.11.
Comparators
Analog functions
Input values I1 and I2 are compared. Via P1 and P2, a hysteresis can
Comparator (2
301 be adjusted.
inp.)
See chapter 5.2.1.
Comparator (2
Like operation mode 301, but the absolute values at inputs I1 and I2
302 - inp.), absolute
are compared. See chapter 5.2.1.
value
Two switching thresholds are adjusted. If the upper threshold P1 is
Comparator
exceeded, the output is switched on. If the lower threshold P2 is
303 - (inp. with
deceeded, the output is switched off. See chapter 5.2.2.
const.)
Comparator
Like operation mode 303, but the absolute value at input I1 (varia304 - absolute value ble) is compared to switching thresholds P1 and P2 (constants). See
inp. with const. chapter 5.2.2.

30

30

VPLC // PLC
VPLC PLC

08/10

08/10

A motion block range is set up and it is checked if a motion block
from this area is active in the case of table positioning.
O1 is TRUE if a motion block from range P1 to P2 (motion block from
… to …) is active. See chapter 5.2.3. Not available for all device series.
Comparator
Input values I1 and I2 are compared. Via P1 and P2, a hysteresis can
(Position)
be adjusted. Suitable for position values. See chapter 5.2.4.
Signal at I3 saves actual value at I1. Via I2 (variable) and P1 (conAnalog hystere- stant), a hysteresis can be set up. If the value of I1 is within the
sis
hysteresis, the saved value is output. If the value of I1 is outside of
the hysteresis, the current value of I1 is output. See chapter 5.2.5.
Window comIt is checked if I1 is in the adjusted range (window) around I2. See
parator (2V)
chapter 5.2.6.
Window comLike operation mode 311, but the absolute values of inputs I1 and I2
parator (2V),
are compared. See chapter 5.2.6.
absolute value
A value range (window) is adjusted and it is checked if I1 is within
Window comthis constant range.
parator (VC)
See chapter 5.2.7.
Window comLike operation mode 313, but the absolute value of input I1 (variaparator
ble) is compared to window values P1 (constant) and P2 (constant).
(VC), absolute
See chapter 5.2.7.
value
Based on variables I1 and I2 as well as the constants P1 and P2, the
Min / Max
minimum or maximum value is determined and output at O1. See
chapter 5.2.8.
Based on variables I1 and I2 (position values) as well as constants P1
Min / Max for
and P2, the minimum or maximum value is determined and output.
position values
See chapter 5.2.9.
One of the following values is output at output O1:

Comparator,
308 - active motion
block
309 310 311 312 313 -

314 -

320 321 -

322 -

Min / Max in
time window

− the minimum input value at I1 determined over a certain period of
time
− the maximum input value at I1 determined over a certain period
of time
− the current input value at I1
See chapter 5.2.10.
One of the following values is output:

Min / Max in
323 - time window
for positions

− the minimum position value at I1 determined over a certain period
of time
− the maximum position value at I1 determined over a certain period of time

− the current position value at I1
See chapter 5.2.11.
Mathematical functions
Analog functions
The input values at I1 and I2 are added up and the input value I3 is
subtracted.
Addition
330 Via P1 and P2, you can specify a positive offset (is added to the rewith offset
sult) and a negative offset (is subtracted from the result), respectively. See chapter 5.3.1.1.
Addition
The input values at I1 (Long) and I2 (Long) are added up and the
331 - position with
input value I3 (Long) is subtracted.
offset
In addition, an offset can be specified via P. See chapter 5.3.1.2.
The input values at I1 and I2 as well as parameter value P1 are mul332 - Multiplication
tiplied. See chapter 5.3.2.1.
The input values at I1 and I2 as well as parameter value P1 are mulMultiplication
tiplied.
333 by long result
The result is divided into low-word and high-word and output at outputs O1 and O2. See chapter 5.3.2.2.
08/10

08/10

VPLC / PLC
VPLC / PLC

31

31

Multiplication
by fraction
Multiplication
335 - long with percent

The input value at I1 is multiplied by the parameter value P1 and
divided by parameter value P2. See chapter 5.3.2.3.
The input value at I1 (long) is multiplied by the parameter value I2
(percentage) and divided by parameter value P2. See chapter
5.3.2.4.
The input value at I1 is divided by the input value at I2 and the input
336 - Division
value at I3. See chapter 5.3.3.1.
The input value at I1 is divided by the parameter value P1. See chapDivision by
337 ter 0.
const.
The parameter value P1 is divided by the input value at I1. See chap338 - Reciprocal
ter 5.3.3.3.
Multiplication
The input value at I1 is multiplied by the input value at I2 and the
339 and division
result is divided by the input value at I3. See chapter 5.3.4.
The average is calculated from the input values at I1, I2 and I3. See
340 - Average
chapter 5.3.5.
Absolute value The absolute value is formed from the orthogonal (square-angle)
341 2D vector
input values at I1 and I2. See chapter 5.3.6.
Absolute value The absolute value is formed from the orthogonal (square-angle)
342 3D vector
input values at I1, I2 and I3. See chapter 5.3.7.
350 - Integrator
The input value at I1 is integrated. See chapter 5.3.8.
351 - Differentiator
The input value at I1 is differentiated. See chapter 5.3.9.
Absolute value The absolute value of the input value at I1 is calculated. See chapter
360 function
5.3.10.
361 - SQR (I1)
The input value at I1 is squared. See chapter 5.3.11.
362 - Cube (I1)
The input value at I1 is cubed. See chapter 5.3.12.
The square root is calculated from the input value at I1. See chapter
363 - Square root
5.3.13.
Multiplication and division. O1 = result , O2 = modulo. See chapter
364 - Modulo
5.3.14.
Controller
Analog functions
The control deviation (I1 – I2) is multiplied by the amplification P1.
370 - P controller
See chapter 5.4.1.
The control deviation (I1 – I2) is multiplied by the amplification P1 an
PI-Controller
371 the I component (total of control deviation over time) is added. The
(ms)
integral time is indicated in milliseconds [ms]. See chapter 5.4.2.
The control deviation (I1 – I2) is multiplied by the amplification P1 an
372 - PI-Controller (s) the I component (total of control deviation over time) is added. The
integral time is indicated in seconds [s]. See chapter 5.4.3.
The control deviation (I1 – I2) is multiplied by the amplification P1.
PD(T1)373 Controller (ms) The D component is added. See chapter 5.4.4.
The control deviation (I1 – I2) is multiplied by the amplification (=1).
PID(T1) conThe I component and the D component are added. To adjust another
374 troller (ms)
amplification, a P-controller must be connected in series. The integral
time is indicated in milliseconds [ms]. See chapter 5.4.5.
The control deviation (I1 – I2) is multiplied by the amplification (=1).
PID(T1) conThe I component and the D component are added. To adjust another
375 troller (s)
amplification, a P-controller must be connected in series. The integral
time is indicated in seconds [s]. See chapter5.4.6
Filters
Analog functions
The input value at I1 is filtered according to the set filter time con380 - PT1 element
stant. See chapter 5.5.1.
The average is calculated from the input values at I1 (over a certain
381 - Time average
period of time). See chapter 5.5.2.
The output value follows the input value at a limited ramp gradient.
382 - Ramp limitation
The ramp gradient can be adjusted. See chapter 5.5.3.
Input spikes are filtered out of the input value at I1. See chapter
383 - Spike filter
5.5.4.
334 -

32

VPLC / PLC

32

VPLC / PLC

08/10

08/10

Analog switch
Analog functions
Analog multip390 One of the values I1, I2, P1 or P2 is output. See chapter 5.6.2.
lexer
Analog chanDepending on the active data set, one of the input values (I1 … I4) is
391 geover switch
output. See chapter 5.6.1.
Analog multiplexer for posi392 - tion values
One of the values I1, I2, or P (P1|P2) is output. See chapter 5.6.3
(data set number)
Analog changeover switch
Depending on the active data set, one of the input values (I1 … I4) is
393 for position
output. See chapter 5.6.4.
values
Parameter access (reading and writing parameters)
Analog functions
Writing freThe input value is converted from percent to Hz and written as long
401 - quency paraparameter. See chapter 5.7.1.1.
meters
Write current
The input value is converted from percent to A and written as int
402 parameter
parameter. See chapter 5.7.1.2.
Write voltage
The effective value at the input is converted from percent to V and
403 parameter (eff.) written as int parameter. See chapter 5.7.1.3.
Write voltage
The peak value at the input is converted from percent to V and writ404 - parameter
ten as int parameter. See chapter 5.7.1.4.
(peak)
Write percent
The input value is not changed and written as int parameter. See
405 parameter
chapter 5.7.1.5.
Write position
The input value is not changed and written as long parameter. See
406 parameter
chapter 5.7.1.6.
The input value is put together from of low-word and high-word, not
Write long pa407 changed and output as long parameter. For use for any long paramerameter
ter types. See chapter 5.7.1.7.
Write word
The input value is not changed and written as int parameter. See
408 parameter
chapter 5.7.1.8.
Read frequency The function reads the value of the parameter set up in P1 " Parame421 - parameter
ter number " and P2 " Data set/index " . The value is converted to a
frequency value. See chapter5.7.2.1
Read current
The function reads the value of the parameter set up in P1 " Parame422 - parameter
ter number " and P2 " Data set/index " . The value is converted to a
current value. See chapter5.7.2.2
Read voltage
The function reads the value of the parameter set up in P1 " Parame423 - parameter
ter number " and P2 " Data set/index " . The value is converted to a
(eff.)
voltage value. See chapter5.7.2.3
Read voltage
The function reads the value of the parameter set up in P1 " Parame424 - parameter
ter number " and P2 " Data set/index " . The value is converted to a
(peak)
voltage value See chapter5.7.2.4
Read percent
The function reads the value of the parameter set up in P1 " Parame425 - parameter
ter number " and P2 " Data set/index " . The value is converted to a
percent value. See chapter5.7.2.5
Read position
The function reads the value of the parameter set up in P1 " Parame426 - parameter
ter number " and P2 " Data set/index " . The value is converted to a
position value. See chapter5.7.2.6
The function reads the value of the parameter set up in P1 " ParameRead long pa427 ter number " and P2 " Data set/index " . The value is converted to a
rameter
position value. See chapter5.7.2.7
The function reads the value of the parameter set up in P1 " ParameRead word
428 ter number " and P2 " Data set/index " . The value is converted to a
parameter
percent value. See chapter 5.7.2.8.
08/10

VPLC / PLC

08/10

VPLC / PLC

33

33

Limiter
Limitation
440 (const.)
Limitation (va441 riable)
Counters

Analog functions
Limitation to fixed values. The input value at I1 is limited to P1 (upper limit) and P2 (lower limit) and output. See chapter 5.8.1.
Limitation to variable limits. The input value at I1 is limited to I1
(upper limit) and I2 (lower limit) and output. See chapter 5.8.2.
Analog functions
With each positive edge at I1, the output value of the counter is inUp/Down coun- creased by 100.00%/P1.
450 ter
With each positive edge at I2, the output value of the counter is reduced by 100.00%/P1. See chapter 5.9.1.
The stopwatch is running if I1 = " TRUE " and I2 = " FALSE " . I3 deCounter with
termines the direction. I4 resets the stopwatch to the start value P1.
451 analog output
With P2, a divisor can be set up to scale the output value. See chapter 5.9.2.
Positioning functions
Analog functions
The availability of positioning functions depends on the device series.
Start motion
The motion block selected with P1 is started. Input I1 defines the
501 - block as single target position. Input I2 defines the reference speed. See chapter
motion
5.10.1.
Start motion
The motion block selected with P1 is started. Input I1 defines the
target position. Input I2 defines the reference speed. See chapter
502 - block in auto5.10.2.
matic mode
Stop motion
The current motion block is stopped if the release at input I3 is set.
503 block
See chapter 5.10.3.
Continue moThe stopped motion block is continued if the release at input I3 is
504 tion block
set. See chapter 5.10.4.
Resume Motion A motion block stopped by an error cut-off or mains-off is continued
505 Block
if the release at input I3 is set. See chapter 5.10.5.
The homing operation defined in P1 is started if the release at input
506 - Start homing
I3 is set. See chapter 5.10.6.
While a motion block is running output O1 is set to TRUE. See chap507 - Check state.
ter 5.10.7.

34

VPLC / PLC

34

VPLC / PLC

08/10

08/10

3.1

Inputs and outputs

3.1.1

Inputs of digital functions

The digital functions use digital input signals and digital output signals.
Instruction
1
2
3
4

-

AND
OR
XOR (=1)
XOR (=1)||(=3)

Input 1

-

Superior-Set

Input

-

Superior-Set

Input +

Input -

Superior-Set

Input +

Input -

Superior-Set

8x - Clock generator Superior Input +

Input -

Superior-Set

90
91
95
96
97
99

Input 2
Input 2
Trigger
Acknowledge
-

Input 3
Input 3
Trigger
Master-Set
Update input
buffer
Update input
buffer
Master-Set
Master-Set
Master-Set

Toggle Flip-Flop Superior

30 - D Flip-Flop Superior
Delay Superior (retriggerable)
Delay Superior (non5x retriggerable)
Monoflop Superior (re6x triggerable)
Monoflop Superior (non7x retriggerable)
4x -

-

Digital multiplexer
Dataset changeover
Triggering of an error.
Acknowledging an error.
Debouncer
NOP

100 - Jump function

Input
Input
Input
Input

2
2
2
2

Input
Input
Input
Input

3
3
3
3

Input 4

Input

20 -

1
1
1
1

Input 3

Input 4
Input 4
Input 4
Input 4
SuperiorReset
SuperiorReset
SuperiorReset
SuperiorReset
SuperiorReset
SuperiorReset
SuperiorReset
SuperiorReset
Input 4
Input 4
Trigger
Master-Reset
Update output buffer
Update output buffer
Master-Reset
Master-Reset
Master-Reset

10 - RS Flip-Flop Superior

Input
Input
Input
Input

Input 2

Set

Reset

Superior-Set

Input +

Input -

Superior-Set

Clock input C

Data input D

Superior-Set

Input 1
Input 1
Trigger
Acknowledge
Input
Activate jump
function

Jump target

101 - Jump function for loops

Finish loop

Restart loop

110 - RS Flip-Flop Master
120 - Toggle Flip-Flop Master
130 - D Flip-Flop Master
Delay Master (retrigger14x able)
Delay Master (non15x retriggerable)
Monoflop Master (retrig16x gerable)
Monoflop Master (non17x retriggerable)
18x - Clock generator Master

Set
Input +
Clock input C

Reset
Input Data input D

Input

-

Master-Set

Master-Reset

Input

-

Master-Set

Master-Reset

Input +

Input -

Master-Set

Master-Reset

Input +

Input -

Master-Set

Master-Reset

Input +

Input -

Master-Set

Master-Reset

Note:
In instruction types 40 to 82 and 140 to 182 the " x " is used as a placeholder in the table. The
instruction types can be parameterized in three different time bases:
0: milliseconds [ms],
1: seconds [s],
2: minutes [min].
08/10
08/10

VPLC / PLC
VPLC / PLC

35
35

3.1.2

Inputs and outputs of analog functions

The analog functions use at least one analog input signal or output signal. Depending on the
instruction, the inputs and outputs have different functions.
Instruction

Input

Output

Parameters

1
200 - Bit NOT operation
Bit AND/NAND opera201 tion
202 - Bit OR/NOR operation
Bit XOR/XNOR opera203 tion
210 - Bit shift right
Bit arithmetical shift
211 right
212 - Bit shift left
213 - Bit roll right
220 - output one bit
Unite four bits to form
221 a word
222 - Add two bits to a word
301 - Comp. 2 inp.
302 - Comp. 2 inp., abs. val.
303 - Comp. inp. with const.
Comp. inp. with const.,
304 abs. val.
Comp. active motion
308 block
309 - Comp. (Position)
310 - Analog hysteresis
311 - W. comp (2V)
312 - W. comp (2V), abs.val.
313 - W. comp (VC)
314 - W. comp (VC), abs.val.
320 - Min / Max
Min / Max for position
321 values
Min / Max in time win322 dow
Min / Max in time win323 dow for positions
330 - Add. with offset
Add. position with off331 set
332 - Mult.
333 - Mult. with long result
334 - Mult. with fraction
335 - Mult. long with percent
336 - Div.
337 - Div. by const.
338 - Reciprocal
339 - Mult. & Div
340 - Average
Absolute value 2D vec341 tor
Absolute value 3D vec342 tor
36

36

2

3

4

O1

O2

P1

P1

%

-

b

b

%

%

-

-

%

%

b

b

%

%

%

i

%

%

b

b

%

%

%

i

%

%

b

b

%

%

%

i

%

-

b

b

%

%

-

i

%

-

b

b

%

%

-

i

%
%
%

-

b
b
b

b
b
b

%
%
b

%
%
b

i

i
i
-

b

b

b

b

%

%

i

-

%
%
%
%

b
%
%
-

b
b
b
b

b
b
b
b

%
b
b
b

%
b
b
b

%

-

b

b

b

b

%

%

-

-

b

b

b

b

i

i

Pos
%
%
%
%
%
%

Pos
%
%
%
%

b
b
b
b
b
b
b

b
b
b
b
b
b
b

b
%
b
b
b
b
%

b
%
b
b
b
b
%

Pos
%
%
%
%
%
%

Pos
%
%
%
%
%
%

Pos

Pos

b

b

Pos

Pos

Pos

Pos

%

-

b

b

%

%

-

-

Pos

-

b

b

Pos

Pos

-

-

%

%

%

b

%

%

%

%

Pos

Pos

Pos

b

Pos

Pos

Pos

Pos

%
%
%
long
%
%
%
%
%

%
%
%
%
%
%

%
%
%
%

b
b
b
b
b
b
b
b
b

%
%
%
%
%
%
%
%
%

%
%
%
%
%
%
%
%
%

%
%
%
%
%
%
%
%
i

%
%
%
%
%
%
i

%

%

-

b

%

%

%

%

%

%

%

b

%

%

%

%

VPLC // PLC
VPLC PLC

i
i
xxx.xx% xxx.xx%
%
%
%
%

08/10

08/10

Instruction

Input

Output

Parameters

1
350
351
360
361
362
363
364
370
371
372
373
374
375
380
381
382
383
390

-

391 392 393 401 402 403 404 405 406 407 408 421 422 423 424 425 426 427
428
440
441
450
08/10

-

08/10

Integrator
Differentiator
Absolute value function
SQR (I1)
Cube (I1)
Square root
Modulo
P controller
PI-Controller (ms)
PI-Controller (s)
PD(T1)-Controller (ms)
PID(T1) controller (ms)
PID(T1) controller (s)
PT1 element
Time average
Ramp limitation
Spike filter
Analog multiplexer
Analog changeover
switch
Analog multiplexer for
position values (data
set number)
Analog changeover
switch for position values
Writing frequency parameters
Write current parameter
Write voltage parameter (eff.)
Write voltage parameter (peak)
Write percent parameter
Write position parameter
Write long parameter
Write word parameter
Read frequency parameter
Read current parameter
Read voltage parameter
(eff.)
Read voltage parameter
(peak)
Read percent parameter
Read position parameter
Read long parameter
Read word parameter
Limiter (const.)
Limiter (variable)
Up/Down counter

2

3

4

O1

O2

P1

P1

%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%

%
%
%
%
%
%
%
%
%
%
%
%

b
%
%
%
%
%
%
b
b
b
b

b
b
b
b
b
b
b
b
b
b
b
b
b
b
b
b
b
b

%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%

%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%
%

i
%
%
i
i
i
i
i
i
i
%
%

i
%
%
%
%
%
i
i
i
i
i
i
%

%

%

%

%

%

%

-

-

Pos

Pos

b

b

Pos

Pos

Pos

Pos

Pos

Pos

Pos

Pos

Pos

Pos

-

-

%

b

b

b

b

b

i

i

%

b

b

b

b

b

i

i

%

b

b

b

b

b

i

i

%

b

b

b

b

b

i

i

%

b

b

b

b

b

i

i

Pos

Pos

b

b

b

b

i

i

%
int

%
b

b
b

b
b

b
b

b
b

i
i

i
i

-

-

b

-

%

%

i

i

-

-

b

-

%

%

i

i

-

-

b

-

%

%

i

i

-

-

b

-

%

%

i

i

-

-

b

-

%

%

i

i

-

-

b

-

%

%

i

i

%
%
b

%
b

b
b
%
b

b
b
b

%
%
%
%
%

%
%
%
%
%

i
i
%
i

i
i
%
i

VPLC PLC
VPLC / PLC

37

37

Instruction

Input

Output

Parameters

1
451 501 502 503
504
505
506
507

-

Counter with analog
output
Start motion block as
single motion
Start motion block in
automatic mode
Stop motion block
Continue motion block
Resume motion block
Start homing
Check state.

3.2

2

3

4

O1

O2

P1

P1

b

b

b

b

%

%

i

i

Pos

%

b

b

Pos

Pos

i

-

Pos

%

b

b

Pos

Pos

i

-

-

-

b
b
b
b
-

b
b
b
b
b

Pos
Pos
Pos
Pos
b

Pos
Pos
Pos
Pos
b

i
-

-

Combination of inputs and outputs of instructions

Inputs
Each instruction has 4 inputs. The inputs can be combined with outputs of other instructions or
digital inputs or global signal sources.
Outputs
Each instruction has 2 outputs. The two outputs can:
− be combined with inputs of other instructions,
− combined with device functions,
− output via digital or analog outputs of the device.
In the case of digital functions, output 2 has the negated logic state of input 1.
Note:
Instructions can only be edited in stop mode. If you try to make any changes while the function table is not in stop mode, an error will be displayed in VPlus and VPLC. The attempted
change will not be applied.

3.2.1

Inputs

The inputs can either be combined with the input buffer, fixed values, the outputs of other instructions (normal or inverted) or the global output variables (digital: output buffer or analog:
outp. frequency, outp. current, etc.).
Note:
Note that the output buffer is updated only with a write operation (e.g. during return jump).
The value used originates from the last write operation of the output buffer.
Possible signal sources for the inputs of instructions
6
7

TRUE
FALSE

Combination with digital signal source of input buffer
2001 … 2016

Input buffer 1 … 16

Combination with analog signal source or actual value
2301 … 2304
2311 … 2314

Current 1 … 4

2321 … 2324

Percent 1 … 4

2331 … 2334
38

Frequency 1 … 4

Voltage 1 … 4

38

VPLC / PLC
VPLC / PLC

08/10

08/10

Possible signal sources for the inputs of instructions
2341
2351 … 2354

Actual position of table positioning
General source 1 … 4

Combination with constants
2380 … 2392

Auxiliary values (constants) and global flags (status signals)

Combination with digital global signal source of output buffer
2401 … 2416
Combination with
2501 … 2504
2511 … 2514
2521 … 2524
2531 … 2534
2551 … 2554
2561 … 2564
Combination with
2601 … 2604
2611 … 2614
2621 … 2624
2631 … 2634
2641 … 2644
2651 … 2654
2661 … 2664
2671 … 2674
2681 … 2684

Output buffer 1 … 16
analog output of an instruction
Outp. frequency 1 … 4
Outp. current 1 … 4
Outp. percent 1 … 4
Outp. voltage 1 … 4
Outp. user 1 … 4
Flag 1 … 4
fixed analog value
Fixed frequ. 1 … 4
Fixed current 1 … 4
Fixed perc. 1 … 4
Fixed eff. volt. 1 … 4
Fixed peak volt. 1 … 4
Fixed gen. 1 … 4
Fixed position 1 … 4
Fixed speed pos. 1 … 4
Fixed ramp pos. 1 … 4

2380 … 2392 – Auxiliary values (constants) and global flags (status signals)
2380 - " 0.00 (zero percent) " :
The auxiliary quantity has constant value 0%.
2381 - " 100.00 (one hundred percent) " :
The auxiliary quantity has constant value 100%
2382 - " 327.67 (maximum value) " :
The auxiliary quantity has constant value 327.67%
2383 - " 0XFFF (for bitwise combination) " :
The auxiliary quantity has constant hexadecimal value 0xFFFF and can be used for bitwise combinations.
2384 - " Fmax (100) " :
Auxiliary quantity has constant value 100% of Fmax (of parameter Maximum frequency 419).
2385 - " Rated motor current in current data set " :
The auxiliary quantity is referred to parameter value Rated current 371 in the current data set.
The constant value is applied to the input of the instruction: 100% corresponds to the value of
the rated motor current.
2386 - " Short-time overload current (ILIMIT) " :
The auxiliary quantity is referred to the type-dependent overload current. The constant value is
applied to the input of the instruction: 100% corresponds to the value of the overcurrent.

08/10

08/10

VPLC PLC
VPLC / PLC

39

39

2387 - " INIT " :
The status signal is TRUE for 64 ms:
− after cut-in of supply voltage, or
− after start of the PLC functions.
Otherwise, the signal status is " FALSE " . The status signal cam be combined with Master Set and
Master Reset inputs and is used for initializing the functions.
2388 - " RESET " :
The status signal is TRUE for 64 ms:
− after cut-in of supply voltage, or
− after start of the PLC functions or
− after disabling of the output stages.
Otherwise, the signal status is " FALSE " . The status signal cam be combined with Master Set and
Master Reset inputs and is used for initializing the functions.
2389 - " IDLE " :
The status signal is TRUE if the output stages are disabled.
2390 - " Controller release " :
The status signal is TRUE if the output stages are enabled and the magnetizing process has
been completed (flux forming finished; drive working).
2391 - " Controller release inverted " :
Inverted status signal of " Controller release " .
2392 - " Error_acknowledgeable " :
Status signal is TRUE if current error messages can be acknowledged.

40

40

VPLC / PLC

VPLC / PLC

08/10

08/10

3.2.2

Combining input buffer with inputs

3.2.2.1

Digital

If the signal of a digital input (e.g. IN2D) or a signal source (e.g. 162 - Error Signal) is to be
applied to the input of an instruction, an input buffer must be set up on this digital input or
signal source. As a result, the digital input or signal source is available for the inputs of the
instructions.
1st example: Combination of an instruction input with a digital input: The signal at digital
input I4ND is to be applied to input 3 of an instruction.
Input signal settings (Boolean)
− PLC signal: e.g. 2003 - Input buffer 3
− Global source: 74-IN4D

3.2.2.2

Analog

Combination of a signal source with the input of an instruction
The signal of an analog input (e. g. MFI1A) or and analog signal source (e. g. " 10 - Stator frequency " ) is to be applied to the input of an instruction:


In dialog window " Input settings (analog) " select a PLC signal 2301...2334.



Select a global source.

As a result, the analog input or signal source is available for the inputs of the instructions.
PLC signal
2301 … 2304 - Frequency 1 … 4
2311 … 2314 - Current 1 … 4
2321 … 2324 - Percent 1 … 4
2331 … 2334 - Voltage 1 … 4
2351 … 2354 - General source 1…4
Example: Combination of an instruction input with a signal source: The stator frequency is to
be applied to the input of an instruction:


In dialog window " Input settings (analog) " select a PLC signal 2301-Frequency 1...2304Frequency 4.



Select global source " 10 Stator frequency " .

Combination of a fixed value with the input of an instruction
A fixed analog value (e.g. fixed frequency value) is to be applied to the input of an instruction:


In dialog window " Input settings (analog) " select a PLC signal 2601...2654.



Enter a value.

Signal source
2601 … 2604 - Fixed freq. 1 … 4
2611 … 2614 - Fixed current 1 … 4
2621 … 2624 - Fixed perc. 1 … 4
2631 … 2634 - Fixed eff. volt. 1 … 4
2641 … 2644 - Fixed peak. volt. 1 … 4
08/10
08/10

VPLC / PLC
VPLC / PLC

41
41

2651 … 2654 - Fixed gen. 1 … 4
2661 … 2664 - Fixed position 1 … 4
2671 … 2674 - Fixed speed pos. 1 … 4
2681 … 2684 - Fixed ramp pos. 1 … 4
Example: Combination of an instruction input with a fixed value: An adjusted current value is
to be applied to an input of an instruction:


In dialog window " Input settings (analog) " select a PLC signal
2611-Fixed current 1...2164-Fixed current 2.



Enter a current value [A] value.

3.2.3

Combining instructions with one another

The outputs of the instructions can be combined with inputs by instructions. Use the wire tool.

3.2.4

Activating device functions via the output buffer

If the logic state of an output is to activate a device function, an output buffer must be selected
for the digital output of the instruction. For the device function, the corresponding signal source
" 2401 - PLC Output buffer 1 " ... " 2416 - PLC output buffer 16 " must be selected. If, for example, output buffer 3 was selected for the digital output of the instruction, signal source " 2403 Output buffer 3 " must be selected for a device function.
As a result, the output is generally (globally) available to other device functions. The selected
signal source must also be assigned to the device function to be activated. Up to 16 signal
sources can be used for further processing of logic states of the instruction outputs. A signal
source can be assigned to several outputs of instructions.
Example 1: Combination of an instruction output with a device function:
The function " Start anticlockwise " is to be activated via the output of an instruction.


Dialog window " Settings for digital outputs " : Output buffer 1 (other selection also possible).
As a result, the output is generally (globally) available to other device functions.



Start Anticlockwise 69 = " 2401 - PLC-Output Buffer 1 " (according to above selection).

Example 2: Combination of an instruction output with a device function:
The output of an instruction is needed for combination with a device function. This function is
no PLC function. The output of the instruction is to be defined as a general (global) signal
source and activate the device function " Switch data set 1 " .

42

VPLC / PLC

42

VPLC / PLC

08/10

08/10



Select an output buffer for the output of the instructions, e. g. output buffer 5.
As a result, the signal source is generally (globally) available for processing by other device
functions. It is also possible to choose another signal source from signal sources 2401 to
2416 for the parameter.



For parameter Switch Data Set 1 70, select signal source " 2405 - FT-Output buffer 5 " .

Example 3: The output value of instruction 1 is to be transmitted via system bus. Depending
on the device series, an extension module with system bus must be installed.

08/10

VPLC / PLC

08/10

VPLC / PLC

43

43

3.2.5

Controlling a digital output via the output buffer

The outputs of the instructions can be output via digital outputs once they have been defined
as general (global) signal sources.
The following signal sources can be selected for the parameters of the digital outputs.

PLC
PLC
PLC
PLC

Outputs of Instructions as signal sources for digital outputs
Operation Mode Digital Output
Non-negated
Negated
80
180
output buffer 1
output buffer 2
81
181
output buffer 3
82
182
output buffer 4
83
183

Example: Selection of signal source for digital output:
The output signal of an instruction is to be output via a digital output.

The output of the instruction must be defined as a general (global) signal source:


Select an output buffer for the output of the instructions (e.g. 4).

As a result, the signal source is generally (globally) available for processing by other device
functions and has the logic state of the output of the instruction. You can also select another
output buffer.
For a digital output, choose the general (global) signal source which contains the output value
of the instruction:


44

For the parameter of a digital output choose the PLC output buffer signal (e.g. " 83 PLC
output buffer 4 " ).

VPLC / PLC

44

VPLC / PLC

08/10

08/10

3.2.6

Controlling an analog output via the output buffer

The outputs of the analog instructions can be output via analog outputs once they have been
defined as general (global) signal sources.
VPLC, AnaOut

VPlus
Analog range 553 (ACU)
Analog: Source MF01A 553 (AGL)

Buffer percent
Buffer number 1

61 – Abs. value PLC outp. percent 1
161 – PLC outp. percent 1

Buffer percent
Buffer number 2

62 – Abs. value PLC outp. percent 2
162 – PLC outp. percent 2

Example: The output signal of an instruction is to be output via analog output MFO1A of the
device.

08/10

VPLC / PLC

08/10

VPLC / PLC

45

45

4

Description of digital functions

In the following, you will find explanations and examples of the individual digital functions. The
term " digital function " is defined as follows:
A digital function has at least one digital input value but not analog input value. The output
value is always digital.
The following symbols are used in the diagrams:
C
D

T2

edge evaluation
level evaluation
negated output

0
1
FALSE
TRUE
x
0
1
1
0
Qn-1

" Low " state. Representation of signal statuses in logic tables.
" High " state. Representation of signal statuses in logic tables.
" Low " state. Representation of signal statuses in function descriptions.
" High " state. Representation of signal statuses in function descriptions.
any state ( " Don’t care " – 0 or 1).
positive edge.
negative edge.
last state is maintained.

On

¯¯¯
Qn-1

last state is negated ( " toggle " ).
non-negated output

On

negated output

P1

VPLC: Input field in function block setup,
Function table: Parameter FT Parameter 1 1348
VPLC: Input field in function block setup,
Function table: Parameter FT Parameter 2 1349

P2

Note:
For better clarity, output On (non-negated) is used in the descriptions. The negated output On
is available in each function and can be used.
For digital functions, note:
− Unused inputs must be set to " 7 - Off " .
Exception: Unused inputs of the instruction " AND " must be set to " 6 - On " .
− In all functions, output 2 has the inverted logic state of input 1.
− Clock inputs (T, C) evaluate signal edges.
− Set/Superior-Set/Master-Set inputs and Reset/Superior-Reset/Master-Reset inputs evaluate
logic states.
− Reset has priority over Set.
− Times set for P1 and P2, are limited internally to a max. value of 24 days.
Via the library, the logic function can be selected.

46

46

VPLC // PLC
VPLC PLC

08/10

08/10

4.1

Superior/Master

Most instructions also enable setting of selective output statuses by overriding inputs. This may
be used, for example, for initialization of a plant status.
There are two variants of instructions with overriding inputs.
Superior
− The function sequence is processed further internally in the instruction. The overriding inputs change the instruction output only for the time in which the overriding signal is present.
− During the set/reset phase, edges will also be detected and processed internally. If the Superior Set/Superior Reset Signal is no longer present, the output will take the value which
would result without the Set/Reset Phase.
− The processing sequence can be compared to a series connection of the function and a logic
AND operation with the superior inputs.
Input 1
Input 2

FlipFlop
Delay
Clock generator
...
& gt; 1
=

Superior Set

Superior Reset

&

Output

Master
− The function sequence is interrupted. The overriding inputs change the instruction output as
from the time at which the overriding signal is present.


Set/Reset signals are not evaluated as long as a Master-Set/Master-Reset is present.



The processing sequence can be compared to a parallel connection of the function and the
master inputs.
Input 1

FlipFlop
Delay
Clock generator
...

Input 2
Master Set

Reset Timer

Master Reset

& gt; 1
=

&

Superior
Superior-Set

Master
Master-Set

Superior Reset

Master Reset

4.2

Output

TRUE at Superior-Set/Master-Set switches instruction output 1 to TRUE directly.
TRUE at Superior-Reset/Master-Reset switches instruction
output 1 to FALSE directly. Reset has a higher priority than
set.

P1 and P2 for chronological behavior and jump target

The chronological behavior of the instructions or a jump target can be set up via P1 and P2.

08/10

VPLC / PLC

08/10

VPLC / PLC

47

47

4.2.1

Chronological behavior

The setup of P1 and P2 affects the following instructions:
40 … 42 / 140 … 142
50 … 52 / 150 … 152

Delay

60 … 62 / 160 … 162
70 … 72 / 170 … 172

Monoflop

80 … 82 / 180 … 182

Clock generator

The units of P1 and P2 may be set to milliseconds [ms], seconds [s] or minutes [min]. The unit
of the entered value depends on the instruction.
Note:
Time set for P1 and P2,
− are limited internally to the maximum value of 24 days
− are not continued when the frequency is switched off and on again. The sequence is restarted from the beginning after re-activation.

4.2.2

Jump target

The evaluation of P1 and P2 affects the following instruction:
100

Jump function
Description

P1
P2

4.2.3

Min.
1
1

Max.
32
32

Overview table

The meaning of the settings for P1 and P2, depending on the selection of the application is
summarized in the following table.
40
140
41
141
42
142
50
150
51
151
52
152
60
160
61
161
62
162
70
170
71
171
48

48

-

Instruction
delay ms
(retriggerable)
delay s
(retriggerable)
delay min
(retriggerable)
delay ms
(non-retriggerable)
delay s
(non-retriggerable)
delay min
(non-retriggerable)

P1

P2

delay pos. edge [ms]

delay neg. edge [ms]

delay pos. edge [s]

delay neg. edge [s]

delay pos. edge [min]

delay neg. edge [min]

delay pos. edge [ms]

delay neg. edge [ms]

delay pos. edge [s]

delay neg. edge [s]

delay pos. edge [min]

delay neg. edge [min]

Monoflop ms (retriggerable)

ON time [ms]

ignore edge time [ms]

Monoflop s (retriggerable)

ON time [s]

ignore edge time [s]

Monoflop min (retriggerable)

ON time [min]

ignore edge time [min]

Monoflop ms (non-retriggerable)

ON time [ms]

ignore edge time [ms]

Monoflop s (non-retriggerable)

ON time [s]

ignore edge time [s]

VPLC // PLC
VPLC PLC

08/10

08/10

Instruction
72
172
80
180
81
181
82
182
100

-

P1

P2

Monoflop min (non-retriggerable) ON time [min]

ignore edge time [min]

Clock Generator ms

ON time [ms]

OFF time [ms]

Clock Generator s

ON time [s]

OFF time [s]

Clock Generator min

ON time [min]

OFF time [min]

Jump function

Jump target 1

Jump target 2

Note:
Operation modes & lt; 40 to 82 use Superior inputs,
operation modes & lt; 140 to 182 use Master inputs as
overriding inputs.
Note:
In all other instructions not listed in the above table, the setting of P1 and P2 does not affect
the instruction.

4.3

Boolean operations

The following table shows the logic combinations of the implemented Boolean functions. Logic
0s are indicated as dots.
Inputs

I1
.
.
.
.
.
.
.
.
1
1
1
1
1
1
1
1

08/10

08/10

I2
.
.
.
.
1
1
1
1
.
.
.
.
1
1
1
1

Output depending on logic function

I3
.
.
1
1
.
.
1
1
.
.
1
1
.
.
1
1

I4
.
1
.
1
.
1
.
1
.
1
.
1
.
1
.
1

AND
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

1

VPLC / PLC
VPLC / PLC

OR
.
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

XOR 1
.
1
1
.
1
.
.
.
1
.
.
.
.
.
.
.

XOR 1 || 3
.
1
1
.
1
.
.
1
1
.
.
1
.
1
1
.

49

49

4.3.1

[1] AND operation

Type
I1
I2
I3
I4

Function

b

input value 1

b

input value 2

b
b

input value 3
input value 4

Type
Function
O1 = AND (I1 I2 I3 I4)
O1 b
O2 b
negated output O2 = O1
P1
P2

Description:
The inputs are AND-combined with one another. The inputs of the instruction are the assigned
signal sources. Output is TRUE if all inputs are TRUE. As soon as one input is FALSE, the output
will be FALSE. Via the output buffer, the output signal is globally available.
Note:
Unused inputs must be set to " 6 - TRUE " . For example, I3 and I4 must be set to " 6 - TRUE " if
inputs I1 and I2 are to be combined by the AND operation.
AND operation

4.3.2

[2] OR operation

Type
Function
input value 1
I1 b
input value 2
I2 b

Type
Function
O1 = OR (I1 I2 I3 I4)
O1 b
O2 b
negated output O2 = O1

I3 b
I4 b

P1
P2

input value 3
input value 4

Description:
The inputs are OR-combined with one another. The inputs of the instruction are the assigned
signal sources. Output is logic TRUE if at least one input is TRUE. If all inputs are FALSE, the
output will be FALSE. Via the output buffer, the output signal is globally available.
Note:
Unused inputs must be set to " 7 - FALSE " (factory setting). For example, I3 and I4 must be set
to " 7 - FALSE " if inputs I1 and I2 are to be combined by the OR operation.
OR operation

50
50

VPLC / PLC
VPLC / PLC

08/10
08/10

4.3.3

[3] XOR 1 operation

Type
Function
input value 1
I1 b
input value 2
I2 b

Type
Function
O1 = XOR1 (I1 I2 I3 I4)
O1 b
O2 b
negated output O2 = O1

I3 b
I4 b

P1
P2

input value 3
input value 4

Description:
The inputs are XOR-linked to one another. The inputs of the instruction are the assigned signal
sources. Output is logic TRUE if exactly one input is TRUE. Via the output buffer, the output
signal is globally available.
XOR 1 operation

4.3.4

[4] XOR 1||3 operation

Type
Function
input value 1
I1 b
input value 2
I2 b

Type
Function
O1 = XOR3 (I1 I2 I3 I4)
O1 b
O2 b
negated output O2 = O1

I3 b
I4 b

P1
P2

input value 3
input value 4

Description:
The inputs are XOR-linked to one another. The inputs of the instruction are the assigned signal
sources. The output is TRUE if TRUE is present on an odd number of inputs. Via the output
buffer, the output signal is globally available.
XOR 1||3 link

08/10

VPLC / PLC

08/10

VPLC / PLC

51

51

4.4
4.4.1

Flip-Flop types
[10] RS-Flip-Flop, Superior

Type
Function
Set input
I1 b
Reset input
I2 b
I3 b
I4 b

Superior Set input
Superior Reset input

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
P1
P2

Description:
The inputs of the instruction are the assigned signal sources.
TRUE at the Set input sets the output to TRUE. TRUE at the Reset input sets the output to
FALSE. If FALSE is present on both inputs, the current status of the output signal is maintained.
TRUE at the Superior Set input sets the output to TRUE. TRUE at the Superior Reset input sets
the output to FALSE.
Priority:
Superior Reset (highest priority)
Superior Set
Reset
Set (lowest priority)
Via the output buffer, the output signal is globally available.
Inputs Superior Set and Superior Reset are connected in series with the function. Levels at Set
input I1 and Reset input I2 are processed internally. As soon as the Superior Set or Superior
Reset is reset, the output is switched to the internally saved value.
RS-Flip-Flop, Superior
S
x
X
0
0
1
1

Set:
Save:
Reset:
Off:
Superior-Set:
Superior-Reset:

52
52

R
x
X
0
1
0
1

SS
X
1
0
0
0
0

O1
SR Q
1
0
0
1
0 Qn-1
0
0
0
1
0
0

State
Off (Superior)
On (Superior)
Hold
Reset
Set
Off

TRUE at the S input sets the output to TRUE.
If all inputs are FALSE, the output remains unchanged.
If R input is TRUE, the output is set to logic FALSE.
If both inputs are set to TRUE, the output is FALSE.
SS, set output to TRUE.
SR, set output to FALSE (CLR).

VPLC / PLC
VPLC / PLC

08/10
08/10

4.4.2

[110] RS-Flip-Flop, Master

Type
Function
Set input
I1 b
Reset input
I2 b
I3 b
I4 b

Master Set input
Master Reset input

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
P1
P2

Description:
The inputs of the instruction are the assigned signal sources.
TRUE at the Set input sets the output to TRUE. TRUE at the Reset input sets the output to
FALSE. If FALSE is present on both inputs, the current status of the output signal is maintained.
TRUE at the Master Set input sets the output to TRUE. TRUE at the Master Reset input sets the
output to FALSE.
Priority:
Master Reset (highest priority)
Master Set
Reset
Set (lowest priority)
Via the output buffer, the output signal is globally available.
Master Set and Master Reset are connected parallel with the function and change the state of
the function as soon as the signal is present.
RS-Flip-Flop, Master
S
x
X
0
0
1
1

Set:
Save:
Reset:
Off:
Master-Set:
Master-Reset:

08/10

R
x
X
0
1
0
1

MS
X
1
0
0
0
0

O1
MR Q
1
0
0
1
0 Qn-1
0
0
0
1
0
0

State
Off (Master)
On (Master)
Hold
Reset
Set
Off

TRUE at the S input sets the output to TRUE.
If all inputs are FALSE, the output remains unchanged.
If R input is TRUE, the output is set to logic FALSE.
If both inputs are set to TRUE, the output is FALSE.
MS, set output to TRUE.
MR, set output to FALSE (CLR).

VPLC / PLC

08/10

VPLC / PLC

53

53

4.4.3

[20] Toggle-Flip-Flop, Superior

Type
Function
Toggle 1
I1 b
Toggle 2
I2 b
I3 b
I4 b

Superior Set input
Superior Reset input

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
P1
P2

Description:
Output signal changes with the positive pulse edge at input T1 or with the negative pulse edge
at input T2.
TRUE at the Superior Set input sets the output to TRUE. TRUE at the Superior Reset input sets
the output to FALSE.
Via the output buffer, the output signal is globally available.
Inputs Superior Set and Superior Reset are connected in series with the function. Levels on T1input I1 and T2 input I2 are processed internally. As soon as the Superior Set or Superior Reset
is reset, the output is switched to the internally saved value.
Toggle-Flip-Flop, Superior
T1
x
X
0
0
0 1
1
1
x

54

T2
x
X
0
1
x
0
1
0 1

O1
SS SR Q
X 1
0
1 0
1
0 0 Qn-1
0 0 Qn-1
0 0 Qn-1
¯¯¯
0 0 Qn-1
0 0 Qn-1
0 0 Qn-1
¯¯¯

State
Off (Superior)
On (Superior)
Hold
Hold
Toggle
Hold
Hold
Toggle

VPLC / PLC

54

VPLC / PLC

08/10

08/10

4.4.4

[120] Toggle-Flip-Flop, Master

Type
Function
Toggle 1
I1 b
Toggle 2
I2 b
I3 b
I4 b

Master Set input
Master Reset input

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
P1
P2

Description:
Output signal changes with the positive pulse edge at input T1 or with the negative pulse edge
at input T2.
TRUE at the Master Set input sets the output to TRUE. TRUE at the Master Reset input sets the
output to FALSE.
Via the output buffer, the output signal is globally available.
Master Set and Master Reset are connected parallel with the function and change the state of
the function as soon as the signal is present.
Toggle-Flip-Flop, Master
T1
x
X
0
0
0 1
1
1
x

08/10

08/10

T2
x
X
0
1
x
0
1
0 1

VPLC / PLC

VPLC / PLC

MS
X
1
0
0
0
0
0
0

MR
1
0
0
0
0
0
0
0

O1
Q
0
1
Qn-1
Qn-1
¯¯¯
Qn-1
Qn-1
Qn-1
¯¯¯
Qn-1

State
Off (Master)
On (Master)
Hold
Hold
Toggle
Hold
Hold
Toggle

55

55

4.4.5

[30] D-Flip-Flop, Superior

Type
Function
C, Clock
I1 b
D, Data input
I2 b
I3 b
I4 b

Superior Set input
Superior Reset input

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
P1
P2

Description:
If a positive edge is received at input 1 (clock pulse input C, Clock) the signal is transferred
from signal input 2 (data input D) to the output.
TRUE at the Superior Set input sets the output to TRUE. TRUE at the Superior Reset input sets
the output to FALSE.
Via the output buffer, the output signal is globally available.
Inputs Superior Set and Superior Reset are connected in series with the function. Levels on C
input I1 and D input I2 are processed internally. As soon as the Superior Set or Superior Reset
is reset, the output is switched to the internally saved value.
D-Flip-Flop, Superior

0
0

56
56

C
x
x
x

1
1

D
x
x
x
0
1

O1
SS SR Q
x 1
0
1 0
1
0 0 Qn-1
0 0
0
0 0
1

VPLC / PLC
VPLC / PLC

State
Off (Superior)
On (Superior)
Hold
Sample
Sample

08/10
08/10

4.4.6

[130] D-Flip-Flop, Master

Type
Function
C, Clock
I1 b
D, Data input
I2 b
I3 b
I4 b

Master Set input
Master Reset input

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
P1
P2

Description:
If a positive edge is received at input 1 (clock pulse input C, Clock) the signal is transferred
from signal input 2 (data input D) to the output.
TRUE at the Master Set input sets the output to TRUE. TRUE at the Master Reset input sets the
output to FALSE.
Via the output buffer, the output signal is globally available.
Master Set and Master Reset are connected parallel with the function and change the state of
the function as soon as the signal is present.
D-Flip-Flop, Master

0
0

08/10
08/10

C
x
x
x

1
1

D
x
x
x
0
1

MS
x
1
0
0
0

VPLC / PLC
VPLC / PLC

MR
1
0
0
0
0

O1
Q
0
1
Qn-1
0
1

State
Off (Master)
On (Master)
Hold
Sample
Sample

57
57

4.5

Delays

The delays can be used for delaying edges for a certain time. Two separate timers are available
for the rising and the falling edge.
If the delay times are different, this may result in an edge F1 at time T11 has a later switching
time T12 than an edge F2 at the time T21 with switching time T22. In this case, no edge is
switched at the output, as this would result in the input and output being inverted to on another.
F1

T22 & gt; T12

F2

F
T21 t2

T11
F1

T22 & lt; T12

t1

T22
T12

F2

F
T11

T21 t2
t1

T22
T12

The delays are implemented both as " retriggerable " and as " non-retriggerable " .
Retriggerable means that a new edge (with the same direction) during the processing will
restart the delay, the switching time for the edge will be recalculated ( " last edge dominant " ).
The level of the input and output are not relevant to the calculation of the switching times.
Retriggerable should be selected if, in the case of several consecutive signals with a short interval between them, only the last signal is to be executed, or if, in the case of continuous signals,
brief signal disturbances (flickering) are to be filtered out. The level of the input and output are
not relevant to the calculation of the switching times.
Non-retriggerable means that a new edge (with the same direction) during the processing
will not restart the delay, the originally calculated switching time is maintained ( " first edge dominant " ).
Non-retriggerable should be used if an edge is to start a process, and the process should not be
stopped before the end of the delay.
Note:
The units of the set times is milliseconds [ms], seconds [s] or minutes [min]. Internally, the
values for delays are limited to 24 days.

58
58

VPLC / PLC
VPLC / PLC

08/10
08/10

Example 1
1 square pulse

On time input (F): 500 ms
Delay, positive edge: 1000 ms
Delay, negative edge: 800 ms
non-retriggerable
retriggerable
2a
1a
Input F

1b

2b

Output A

Edge
Edge
Edge
Edge

t1

t2

1a starts timer t1
2a starts timer t2
1b is output after a delay of t1 (referred to 1a)
2b is output after a delay of t2 (referred to 2a)

Example 2
1 square pulse followed by positive edge
On time input (F): 500 ms
Off time input (F): 350 ms
Delay, positive edge: 1000 ms
Delay, negative edge: 800 ms
non-retriggerable
1a 2a 3a

retriggerable
1a 2a 3a

F

F

1b

3b

A

A

t2
t1
1a starts timer t1
2a starts timer t2
1b is output after t1
3a (continuous signal) stops execution of
2a

t2
t1 t1
1a starts timer t1
2a starts timer t2
3a starts timer t1 again (retrigger)
3b is output after t1 (referred to 3a)

08/10

VPLC / PLC

08/10

VPLC / PLC

59

59

Example 3
4 consecutive square pulses
On times and delays as in example 2
non-retriggerable
3a 4a 5a 6a 7a 8a
1a
F

1b

5b

retriggerable
3a 4a 5a 6a 7a 8a
1a
8b

F

7b 8b

A

A
t1

t2
t1
t1

t2
t1

t2
1a starts timer t1
2a starts timer t2
3a stops execution of 2a
1b is output after time t1
4a starts timer t2
5a starts timer t1
4b is output after time t2
6a to 8b: repeated as from 2a

t2
t1

t1

1a starts timer t1
2a starts timer t2
3a starts timer t1 again (retrigger)
4a starts timer t2 again (retrigger)
5a…10a restart timer t1 and t2
9b is output after t1 (referred to 9a)

Example 4
3 consecutive square pulse followed by positive edge
On times and delays as in example 2
non-retriggerable
3a 4a 5a 6a 7a
1a

retriggerable
3a 4a 5a 6a 7a
1a

F

F

1b

5b

A

A
t1

t2
t1
t1

t2
Processing as in example 3. Edge 5a
switches output " High " . Edges 6a and
7a are filtered out due to the quick
succession.

60

7b

t1

Processing as in example 3. The last positive edge (7a) maintains the output signals on " High " level.

VPLC / PLC

60

VPLC / PLC

08/10

08/10

4.5.1
Type
I1
I2
I3
I4

b
b
b

[40,41,42] Delay (retriggerable), Superior
Function
F, edge
Superior Set input
Superior Reset input

Type
O1
O2
P1
P2

Function

b

output O1

b

negated output O2 = O1
On delay t1
Off delay t2

t
t

Description:
The positive edge at input 1 is transferred to the output after delay t1, the negative edge after
delay t2. The delay time starts again with each edge.
TRUE at the Superior Set input sets the output to TRUE. TRUE at the Superior Reset input sets
the output to FALSE.
Via the output buffer, the output signal is globally available.
Inputs Superior Set and Superior Reset are connected in series with the function. Levels at input I1 are processed internally. As soon as the Superior Set or Superior Reset is reset, the output is switched to the internally saved value.
Delay Superior (retriggerable), Superior

0
1

P1

(positive delay)

08/10
08/10

F
x
x

1
0

SS
x
1
0
0

SR
1
0
0
0

O1
Q
0
1

t1

t2

State
Off (Superior)
On (Superior)
On delay t1
Off delay t2

P2

(negative delay)

VPLC / PLC
VPLC / PLC

61
61

4.5.2
Typ
e
I1 b
I2
I3
I4

b
b

[140,141,142] Delay (retriggerable), Master
Function
F, edge

Type
O1 b
O2 b

Master Set input
Master Reset input

output O1
negated output O2 = O1
On delay t1
Off delay t2

t
t

P1
P2

Function

140 [ms], 141 [s] or 142 [min]
Description:
The positive edge at input 1 is transferred to the output after delay t1 (P1), the negative edge
after delay t2 (P2). The delay time starts again with each edge.
TRUE at the Master Set input sets the output to TRUE. TRUE at the Master Reset input sets the
output to FALSE.
Via the output buffer, the output signal is globally available.
Master Set and Master Reset are connected parallel with the function and change the state of
the function as soon as the signal is present.
Delay (retriggerable), Master

0
1

P1

(positive delay)

62
62

F
x
x

1
0

MS
x
1
0
0

MR
1
0
0
0

O1
Q
0
1

t1

t2

State
Off (Master)
On (Master)
On delay t1
Off delay t2

P2

(negative delay)

VPLC / PLC
VPLC / PLC

08/10
08/10

4.5.3

[50,51,52] Delay (non-retriggerable), Superior

Type
Function
F, edge
I1 b
I2
I3 b
I4 b

Superior Set input
Superior Reset input

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
On delay t1
P1 t
Off delay t2
P2 t

50 [ms], 51 [s] or 52 [min]
Description:
The positive edge at input 1 is transferred to the output after delay t1 (P1), the negative edge
after delay t2 (P2). The delay time starts again with each edge.
TRUE at the Superior Set input sets the output to TRUE. TRUE at the Superior Reset input sets
the output to FALSE.
Via the output buffer, the output signal is globally available.
Inputs Superior Set and Superior Reset are connected in series with the function. Levels at input I1 are processed internally. As soon as the Superior Set or Superior Reset is reset, the output is switched to the internally saved value.
Digital
Input

Signal
source

Delay (non-retriggerable), Superior
Function &
Logic table
output
F
x
x

0
1

P1

(positive delay)

08/10

08/10

1
0

SS
x
1
0
0

SR
1
0
0
0

O1
Q
0
1

t1

t2

State
Off (Superior)
On (Superior)
On delay t1
Off delay t2

P1

(negative delay)

VPLC / PLC

VPLC / PLC

63

63

4.5.4

[150,151,152] Delay (non-retriggerable), Master

Type
Function
F, edge
I1 b
I2
I3 b
I4 b

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
On delay t1
P1 t
Off delay t2
P2 t

Master Set input
Master Reset input

150 [ms], 151 [s] or 152 [min]
Description:
The positive edge at input 1 is transferred to the output after delay t1 (P1), the negative edge
after delay t2 (P2). The delay time starts again with each edge.
TRUE at the Master Set input sets the output to TRUE. TRUE at the Master Reset input sets the
output to FALSE.
Via the output buffer, the output signal is globally available.
Master Set and Master Reset are connected parallel with the function and change the state of
the function as soon as the signal is present.
Delay (non-retriggerable), Master

0
1

P1

(positive delay)

64

64

F
x
x

1
0

MS
x
1
0
0

MR
1
0
0
0

O1
Q
0
1

t1

t2

State
Off (Master)
On (Master)
On delay t1
Off delay t2

P2

(negative delay)

VPLC / PLC

VPLC / PLC

08/10

08/10

4.6
4.6.1

Timer functions
[60,61,62] Monoflop (retriggerable), Superior

Type
Function
M, Monoflop edge 1
I1 b
M , Monoflop edge 2
¯
I2 b
I3 b
I4 b

Type
Function
output O1
O1 b
O2 b
negated output O2 = - O1
t
On-time (High)
P1
ignore edge time
P2 t

Superior Set input
Superior Reset input

60 [ms], 61 [s] or 62 [min]
Description:
Output signal becomes TRUE with positive clock edge at input 1 or with negative clock edge at
input 2. The time set in P1 is the On-Time (High) and the time set in P2 is the ignore edge time
(Low). The set on-time starts again with each edge.
TRUE at the Superior Set input sets the output to TRUE. TRUE at the Superior Reset input sets
the output to FALSE.
Via the output buffer, the output signal is globally available.
Inputs Superior Set and Superior Reset are connected in series with the function. Levels on
Monoflop inputs I1 and I2 As soon as the Superior Set or Superior Reset is reset, the output is
switched to the internally saved value.
Monoflop (retriggerable), Superior
Digital
Signal
Function &
Logic table
Input
source
output

0

M
x
x

1

x

P1

(on-time)

08/10

08/10

M
¯
x
x
x
0

1

SS
x
1
0
0

SR
1
0
0
0

O1
Q
0
1

State
Off (Superior)
On (Superior)
Pulse
Pulse

P2

(ignore edge time)

VPLC / PLC

VPLC / PLC

65

65

4.6.2
Type
I1
I2
I3
I4

[160,161,162] Monoflop (retriggerable), Master
Function

Type

b

M, Monoflop edge 1

b

M , Monoflop edge 2
¯

b
b

Master Set input
Master Reset input

O1
O2
P1
P2

Function

b

output O1

b

negated output O2 = O1
On-time (High)
ignore edge time

t
t

160 [ms], 161 [s] or 162 [min]
Description:
Output signal becomes TRUE with positive clock edge at input 1 or with negative clock edge at
input 2. The time set in P1 is the On-Time (High) and the time set in P2 is the ignore edge time
(Low). The set on-time starts again with each edge.
TRUE at the Master Set input sets the output to TRUE. TRUE at the Master Reset input sets the
output to FALSE.
Via the output buffer, the output signal is globally available.
Master Set and Master Reset are connected parallel with the function and change the state of
the function as soon as the signal is present.
Monoflop (retriggerable), Master

0

M
x
x
x

P1

(on-time)

66

1

M
¯
x
x
x
0 1

MS
x
1
0
0

MR
1
0
0
0

O1
Q
0
1

State
Off (Master)
On (Master)
Pulse
Pulse

P2

(ignore edge time)

VPLC / PLC

66

VPLC / PLC

08/10

08/10

4.6.3
Type
I1
I2
I3
I4

[70,71,72] Monoflop (non-retriggerable), Superior
Function

b
b

M , Monoflop edge 2
¯

b
b

Type

M, Monoflop edge 1
Superior Set input
Superior Reset input

Function

b

output O1

b

O1
O2
P1
P2

negated output O2 = O1
On-time (High)
ignore edge time

t
t

70 [ms], 71 [s] or 72 [min]
Description:
Output signal becomes TRUE with positive clock edge at input 1 or with negative clock edge at
input 2. The time set in P1 is the On-Time (High) and the time set in P2 is the ignore edge time
(Low). The set on-time starts again with each edge.
TRUE at the Superior Set input sets the output to TRUE. TRUE at the Superior Reset input sets
the output to FALSE.
Via the output buffer, the output signal is globally available.
Inputs Superior Set and Superior Reset are connected in series with the function. Levels on
Monoflop inputs I1 and I2 As soon as the Superior Set or Superior Reset is reset, the output is
switched to the internally saved value.
Monoflop (non-retriggerable), Superior

0

I1
M
x
x
x

P1

(on-time)

08/10

08/10

1

I2
M
¯
x
x
x
0 1

I3
SS
x
1
0
0

I4
SR
1
0
0
0

O1
Q
0
1

State
Off (Superior)
On (Superior)
Pulse
Pulse

P2

(ignore edge time)

VPLC / PLC

VPLC / PLC

67

67

4.6.4
Type
I1
I2
I3
I4

[170,171,172] Monoflop (non-retriggerable), Master
Function

b

M, Monoflop edge 1

b

M , Monoflop edge 2
¯

b
b

Master Set input
Master Reset input

Type
O1
O2
P1
P2

Function

b

output O1

b

negated output O2 = O1
On-time (High)
ignore edge time

t
t

170 [ms], 171 [s] or 172 [min]
Description:
Output signal becomes TRUE with positive clock edge at input 1 or with negative clock edge at
input 2. The time set in P1 is the On-Time (High) and the time set in P2 is the ignore edge time
(Low). The set on-time starts again with each edge.
TRUE at the Master Set input sets the output to TRUE. TRUE at the Master Reset input sets the
output to FALSE.
Via the output buffer, the output signal is globally available.
Master Set and Master Reset are connected parallel with the function and change the state of
the function as soon as the signal is present.
Monoflop (non-retriggerable), Master

0

I1
M
x
x
x

P1

(on-time)

68

68

I2
M
¯
x
x
x

1
1

0

I3
MS
x
1
0
0

I4
MR
1
0
0
0

O1
Q
0
1

State
Off (Master)
On (Master)
Pulse
Pulse

P2

(ignore edge time)

VPLC / PLC

VPLC / PLC

08/10

08/10

4.6.5
Type

[80,81,82] Clock generator Superior
Function

Type

I1 b
I2 b

S clock generator 1
S Clock generator 2
¯

O1 b
O2 b

I3 b
I4 b

Superior Set input
Superior Reset input

P1 t
P2 t

Function
output O1
negated output O2 = O1
On-time (High)
Off time (Low)

80 [ms], 81 [s] or 82 [min]
Description:
As long as input 1 is TRUE and input 2 is FALSE, the set pulse pattern is output. The pulse pattern at the output always starts with TRUE. The clock pattern is defined by the on-time and the
off-time. The time set in P1 is the on-time (High) and the time set in P2 is the off-time (Low).
Via the output buffer, the output signal is globally available.
Inputs Superior Set and Superior Reset are connected in series with the function. Levels at Set
input I1 and Reset input I2 are processed internally. As soon as the Superior Set or Superior
Reset is reset, the output is switched to the internally saved value.
Clock generator
S
x
x
x
0
1
1

P1

(on-time)

08/10

08/10

S
¯
x
X
1
x
0
0

SS
x
1
0
0
0
0

SR
1
0
0
0
0
0

O1
Q
0
1
0
0
t1 1
t2 0

State
Off (Superior)
On (Superior)
Off
Off
Clock On
Clock Off

P2

(off-time)

VPLC / PLC

VPLC / PLC

69

69

4.6.6
Type

[180,181,182] Clock generator, Master
Function

Type

I1 b
I2 b

S clock generator 1
S Clock generator 2
¯

O1 b
O2 b

I3 b
I4 b

Master Set input
Master Reset input

P1 t
P2 t

Function
output O1
negated output O2 = O1
On-time (High)
Off time (Low)

180 [ms], 181 [s] or 182 [min]
Description:
As long as input 1 is TRUE and input 2 is FALSE, the set pulse pattern is output. The pulse pattern at the output always starts with TRUE. The clock pattern is defined by the on-time and the
off-time. The time set in P1 is the on-time (High) and the time set in P2 is the off-time (Low).
Via the output buffer, the output signal is globally available.
Master Set and Master Reset are connected parallel with the function and change the state of
the function as soon as the signal is present.
Clock generator, Master
S
x
x
x
0
1
1

P1

(on-time)

70

70

S
¯
x
X
1
x
0
0

MS
x
1
0
0
0
0

MR
1
0
0
0
0
0

O1
Q
0
1
0
0
t1 1
t2 0

State
Off (Master)
On (Master)
Off
Off
Clock On
Clock Off

P2

(off-time)

VPLC / PLC

VPLC / PLC

08/10

08/10

4.7

Digital multiplexer

4.7.1

[90] Digital Multiplexer (Data Set Number)

Type
Function
Input data set 1
I1 b
Input data set 2
I2 b
I3 b
I4 b

Input data set 3
Input data set 4

Type
Function
output O1
O1 b
O2 b
negated output O2 = O1
P1
P2

Description:
Depending on the current data set, the input values are forwarded to the outputs .
Parameter Active data set 249 shows the selected data set.
Digital Multiplexer (Data Set Number)

Active Data
Set 249

4.8

E1
E2
E3
E4

249

A1

Switch

4.8.1

[91] Switch Data Set

Type
I1
I2
I3
I4

2401

1
2
3
4

Active
2401
A1
Data Set

b
b
b
b

Function
Input
Input
Input
Input

Type

1 (highest priority)
2
3
4 (lowest priority)

O1
O2
P1
P2

-

Function
-

Description:
A data set is selected via the input values.
I1
1
0
0
0
0

08/10

08/10

I2
x
1
0
0
0

Switch data set
I3
I4
x
x
x
x
1
x
0
1
0
0

VPLC / PLC

VPLC / PLC

Data Set
1
2
3
4
Data set via contacts

71

71

4.9

Error functions

4.9.1
I1
I2
I3
I4

[95] Triggering of an error

Type
b
b
b
b

Function
Triggering user error
Triggering user error
Triggering user error
Triggering user error

1
2
3
4

O1
O2
P1
P2

Type
i
-

Function
Shut-down behavior
-

Description:
If one of the inputs is TRUE, the relevant user error is triggered. The output stages are disabled. The error is not acknowledgeable as long the input remains TRUE.
The function can be used, for example, for stopping the drive by external events.
Via P1, the shut-down behavior can be adjusted. The error cut-off can be effected immediately,
or the drive can be shut down first.
− P1 = 0: No error cut-off (deactivated)
− P1 = 1: Shut-down and error cut-off.
− P1 = 2: Emergency stop and error cut-off.
− P1 = 3: Error cut-off immediately.

Value
P1
" 0 "

" 1 "

" 2 "

" 3 "

Logic state
I1
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0

I2
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0

I3
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0

Trigger
User error
I4
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1

1
2
3
4
1
2
3
4
1
2
3
4
1
2
3
4

Function
No error cut-off

Shut-down and error cut-off

Emergency stop and error cut-off

Error cut-off immediately

One of the following error messages is displayed after a user error was triggered:
Error
F3031
F3032
F3033
F3034

Description
User error 1 PLC
User error 2 PLC
User error 3 PLC
User error 4 PLC

The inputs are evaluated with priority I1, I2, I3, I4. For example, I1 has priority over I2 if both
inputs are TRUE.
72

72

VPLC // PLC
VPLC PLC

08/10

08/10

4.9.2

[96] Acknowledging an error

I1

Type
Function
b
Input error reset +

I2
I3
I4

b
-

Input error reset -

Type
Function
O1 b
" Message can be acknowledged " .
O2 b
inverted output = O1
P1 P2 -

Description:
Output 1 becomes TRUE if an acknowledgeable error message is present.
With each positive edge at input 1 or negative edge at input 2 an attempt is made to acknowledge an present error message. If the message cannot be acknowledged (yet), there is no
reaction.

O1
1
0
1
0
I1

I1

I2

0 1

x

x

1 0

x

x

Function
Acknowl-edge fault.
None
Acknowl-edge fault.
None
Automatic Error Acknowledgment

Note:
If output 1 is connected with input 1, faults are acknowledged automatically.

08/10
08/10

VPLC / PLC
VPLC / PLC

73
73

4.10

Debouncer

4.10.1 [97] Debouncer
I1
I2
I3
I4

Type
b
b
b

Function
input value 1
Master Set
Master Reset

O1
O2
P1
P2

Type
b
b
i
i

Function
Debounced input value 1
inverted output = O1
delay positive edge in ms
delay negative edge in ms

Description:
The input value will be forwarded to the output only if it has had a constant value for the configured delay.
The delay for the positive edge of the input signal can be set via P1. The delay for the negative
edge of the input signal can be set via P2.

Master Set: TRUE at I3 sets O1 to TRUE.
Master-Reset: TRUE at I4 sets O1 to FALSE.
Master Reset has priority over Master Set.

4.11

No operation

4.11.1 [99] NOP (no operation)
Description:
This function can be used as a placeholder if it is expected that function will be added to the
programming later. It does not carry out an operation.

74
74

VPLC / PLC
VPLC / PLC

08/10
08/10

4.12

Jump functions

4.12.1 [100] Jump function
Type
I1
I2
I3
I4

b
b
b
b

Function
Jump function active
Jump target P1/P2
Update input buffer
Update output buffer

Type
Function
O1
O2
Jump target P1
P1 i
i
Jump target P2
P2

Description:
This function enables jumps in the sequence of the instructions to other instructions.
Activation

Input 1 activates the jump function
Input 1 = TRUE: jump function is executed
Input 1 = FALSE: jump function is not executed
Jump target

Input 2 defines the jump target of which parameter – P1 or P2 – is to be applied.
Input 2 = TRUE: Jump to instruction set in P1.
Input 2 = FALSE: Jump to instruction set in P2.
Updating of input buffer

TRUE at input 3 results in the input buffer being updated. The values of the digital inputs and
signal sources in the input buffer are updated.
Updating of output buffer (output buffer values)

TRUE at input 4 results in the values of the output values " 2401 - PLC output buffer 1 " to " 2416
- PLC output buffer 16 " being updated. The updated values are available to digital outputs and
functions linked to instruction outputs (e.g. Start Clockwise, Switch Data Set).
Jump function

I1
0
1
1

I2
x
1
0

I3
x
x
x

I4
x
x
x

Jump
Jump to next instruction (index I + 1)
Jump to instruction set in P1.
Jump to instruction set in P2.

I1
x
x

I2
x
x

I3
1
x

I4
x
1

Update
Update input buffer (2001 … 2016).
Update output buffer (2401 … 2416).

Note:
At first, the output buffer is written and the input buffer is set. Then, the jump event is evaluated (based on the updated buffers) and executed.

08/10
08/10

VPLC / PLC
VPLC / PLC

75
75

4.12.2 [101] Jump function for loops

I1
I2
I3
I4

Typ
Function
e
b
Finish loop
b
Restart loop
b
Update input buffer
Update output bufb
fer

Typ
Function
e
O1 O2 P1 i
Jump target (index)
P2

i

number of repetitions

Description:
An instruction indicated as jump target in P1 is executed as often as indicated in P2. Via the
inputs, the loop can be stopped or restarted.
− With P1, the jump target (the instruction to be executed repeatedly) is defined.
− With P2, the number of repetitions is defined.
Die jump function can be at the end of a series of instructions to be processed repeatedly.
An internal counter is set to the value of P2 and counted down each time the instructions specified in P1 are called.
− If input I1 is TRUE, the loop is stopped before it is finished. The jump is not executed and
the internal counter is reset to the start value P2.
− If input I2 is TRUE, the loop is restarted. The jump is executed and the internal counter is
reset to the start value P2.
− If input 3 is TRUE, the input buffer is updated.
− If input 4 is TRUE, the output buffer is updated.
I1
1
0
0
0

I2
0
1
0
0

I3
0
0
1
0

I4
0
0
0
1

Function
Stop, reset to start value P2
Restart, reset to start value P2
Update input buffer
Update output buffer

I2 (restart) has priority over I1 (stop).

76

VPLC / PLC

76

VPLC / PLC

08/10

08/10

5

Description of analog functions

In the following, you will find explanations and examples of the individual analog functions. The
term " analog function " is defined as follows:
An analog function has at least one analog input or output value. Other inputs are used as digital signal, depending on the function.
If the function has an analog output value (O1), the second output value (O2) is the inverted
(negative) value.
If the function has both analog and Boolean inputs, the analog inputs are assigned the smaller
ordinal numbers (I1 = analog, I4 = Boolean)
In the examples, the standard links of the input buffer are used. You can also parameterize
other settings for the individual instructions.
Note:
In the case of some functions, output O2 is not used as an inverted output, but written with
function-specific values. These functions are marked with " Long " for long variable.
In the descriptions, the following abbreviations are used:
b
Boolean
(TRUE / FALSE) = 1 Bit
%
Percentage
with/or without sign (int/unit) = 2 Byte = 16 Bit
L
Long
Variable of type long = 4 byte = 32 bits
i
Any number
0
" Low " state. Representation of signal statuses in logic tables.
1
" High " state. Representation of signal statuses in logic tables.
Off
" Low " state. Representation of signal statuses in function descriptions.
On
" High " state. Representation of signal statuses in function descriptions.

5.1

Behavior

The behavior of the instructions can be set up via P1 and P2. The function of these parameters
depends on the selected instruction.
Description
P1
P2

08/10

08/10

Min.
0
0

VPLC / PLC
VPLC / PLC

Max.
65535
65535

77

77

5.2
5.2.1

Comparators
[301,302] Comparator (comparison of two variables)

Typ
Function
e
I1 %
Comparative
value 1
I2 %
Comparative
value 2
I3 b
Master-Set
I4 b
Master Reset

Type

Function

O1 b

Output I1 & gt; I2

O2 b

O1 inverted

P1 %
P2 %

positive hysteresis (xxx.xx%)
negat. hysteresis (xxx.xx%)

Comparison of two variables
Description:
This function compares inputs I1 and I2.
O1 is TRUE if I1 & gt; I2.
O1 is FALSE if I1 & lt; I2.
If a hysteresis (P1 and P2) is set up:
O1 is TRUE if I1 & gt; (I2 + P1).
O1 is FALSE if I1 & lt; (I2 - P2).
The comparator has three working ranges:
(I2 + P1) & lt; I1
Range 1
(I2 - P2) & lt; I1 & lt; (I2 + P1)
Range 2
I1 & lt; (I2 - P2)
Range 3

O1 = TRUE
O1 remains unchanged.
O1 = FALSE
O2 = O1

Description:
This function compares the absolute values of inputs I1 and I2.
O1 is TRUE if |I1| & gt; |I2|.
O1 is FALSE if |I1| & lt; |I2|.
If a hysteresis (P1 and P2) is set up:
O1 is TRUE if |I1| & gt; (|I2| + P1).
O1 is FALSE if |I1| & lt; (|I2| - P2).
The comparator has three working ranges:
(|I2| + P1) & lt; |I1|
Range 1
(|I2| - P2) & lt; |I1| & lt; (|I2| + P1)
Range 2
|I1| & lt; (|I2| - P2)
Range 3

O1 = TRUE
O1 remains unchanged.
O1 = FALSE
O2 = O1

The output value can be changed by means of the two Boolean inputs I3 and I4:
Master Set sets output O1 to TRUE.
Master Reset sets output O1 to FALSE. Master Reset has priority over Master Set.

78
78

VPLC / PLC
VPLC / PLC

08/10
08/10

Note:
This function compares inputs I1 and I2. Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.2.2

I1
I2
I3
I4

[303,304] Comparator (comparison of constant to variable)

Typ
Function
e
%
Comparative
value 1
b
Master-Set
b
Master Reset

Type

Function

O1

b

Output I1 & gt; P1

O2
P1
P2

b
%
%

O1 inverted
upper threshold (xxx.xx%)
lower threshold (xxx.xx%)

" 303 - Comp. " (input with constant)
" 304 - Comp. " (input with constant), abs. value
− 303 - Comp.
Description:
This function compares input I1 to the switching thresholds P1 and P2.
O1 is TRUE if I1 & gt; P1 (upper threshold).
O1 is FALSE if I1 & lt; P2 (lower threshold).
O1 remains unchanged if I1 is in the range between P2 and P1.
The comparator has three working ranges:
P1 & lt; I1
Range 1
Range 2
P2 & lt; I1 & lt; P1
Range 3
I1 & lt; P2

O1
O1
O1
O2

= TRUE
remains unchanged.
= FALSE
= O1

Special case:
P2 (lower threshold) is set higher than P1 (upper threshold) (thresholds exchanged):
O1 is TRUE if I1 & gt; P1.
O1 will be reset if P1 is deceeded again and P2 was not exceeded.
O1 is also reset if P2 is exceeded first and then deceeded again.

− 304 - Comp. (input with constant), abs. value
Description:
This function compares the absolute value of input I1 to the switching thresholds P1 and P2.
O1 is TRUE is |I1| & gt; P1 (upper threshold).
O1 is FALSE if |I1| & lt; P2 (lower threshold).
O1 remains unchanged if |I1| is in the range between P2 and P1.
08/10

08/10

VPLC / PLC

VPLC / PLC

79

79

The comparator has three working ranges:
P1 & lt; |I1|
Range 1
Range 2
P2 & lt; |I1| & lt; P1
Range 3
|I1| & lt; P2

O1
O1
O1
O2

= TRUE
remains unchanged.
= FALSE
= O1

Special case:
P2 (lower threshold) is set higher than P1 (upper threshold) (thresholds exchanged):
O1 is TRUE if |I1| & gt; P1.
O1 will be reset if P1 is deceeded again and P2 was not exceeded.
O1 is also reset if P2 is exceeded first and then deceeded again.
The output value can be changed by means of the two Boolean inputs I3 and I4:
Master Set sets output O1 to TRUE.
Master Reset sets output O1 to FALSE. Master Reset has priority over Master Set.

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

80

80

VPLC // PLC
VPLC PLC

08/10

08/10

5.2.3
I1
I2
I3
I4

[308] Comparator for motion blocks

Type
b
b

Function
Master-Set
Master Reset

Type
b
b
i
i

O1
O2
P1
P2

Function
P1 & lt; current motion block & lt; P2
O1 inverted
Motion block from
Motion block to

Description:
This function compares the two parameters P1 and P2 to the current motion block of the table
positioning. If the current motion block is within the two defined parameters, the output is set
to TRUE.
The output of the comparator is TRUE if a motion block is active in the table positioning in the
range P1 … P2.
The output value can be changed by means of the two Boolean inputs I3 and I4:
Master Set sets output O1 to TRUE.
Master Reset sets output O1 to FALSE. Master Reset has priority over Master Set.
Examples:
P1 P2
P1 & lt; P2 5 7
P1 & gt; P2 20 10

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

: O1 = TRUE
Special case: P1 & gt; P2:
O1 = TRUE if a motion block from ranges 1 to P2 or P1 to 32 is active.

08/10
08/10

VPLC / PLC
VPLC / PLC

81
81

5.2.4
I1
I2
I3
I4

[309] Position comparator (long)

Type
Function
L
Comparative value 1
L
Comparative value 2
b
Master-Set
b
Master Reset

Type
Function
O1 b
Output I1 & gt; I2
O2 b

O1 inverted

P1 %
P2 %

positive hysteresis (low word)
negative hysteresis (low word)

Description:
This function compares inputs I1 and I2. This function is intended for long variables (positions,
ramps of table positioning).
O1 is TRUE if I1 & gt; I2.
O1 is FALSE if I1 & lt; I2.
If a hysteresis (P1 and P2) is set up:
O1 is TRUE if I1 & gt; (I2 + P1).
O1 is FALSE if I1 & lt; (I2 - P2).
O1 remains unchanged if I1 is in the range of the hysteresis: (I2 - P2) & lt; I1 & lt; (I2 + P1).
The comparator has three working ranges:
(I2 + P1) & lt; I1
Range 1
Range 2
(I2 - P2) & lt; I1 & lt; (I2 + P1)
Range 3
I1 & lt; (I2 - P2)

O1
O1
O1
O2

= TRUE
remains unchanged.
= FALSE
= O1

The output value can be changed by means of the two Boolean inputs:
− Master Set sets output O1 to TRUE.
− Master Reset sets output O1 to FALSE. Master Reset has priority over Master Set.

82

82

VPLC / PLC

VPLC / PLC

08/10

08/10

5.2.5
I1
I2
I3
I4

[310] Analog hysteresis

Type
%
%
b
b

Function
Input value
Variable hysteresis
Start
Master Reset

Type
O1 b
O2 b
P1 %
P2 -

Function
Output
O1 inverted
Constant hysteresis
-

Description:
Signal (status-controlled) at I3 saves actual value at I1. The hysteresis values I2 (variable) and
P1 (constant) are added to and subtracted from the saved value. If the value of I1 is within the
hysteresis, the saved value is output. If the value of I1 is outside of the hysteresis, the current
value of I1 is output.
If the start input I3 is set, the input value I1 is maintained (F = I1).
I1 & gt; F + (I2 + P1)
O1 = I1
I1 & lt; F - (I2 + P1)
O1 = I1
F - (I2 + P1) & lt; I1 & lt; F + (I2 + P1)
O1 = F
Master Reset sets output O1 to FALSE.
If Master Reset is reset, the process must be started again via I3.
Output A = f(input E)

I3
1
x

I4
0
1

Output A = f(t)

Function
Keep I1 at O1 constant.
Set O1 to FALSE.

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

08/10

08/10

VPLC / PLC

VPLC / PLC

83

83

5.2.6
I1
I2
I3
I4

[311,312] Window comparator (comparison of two variables)

Type
Function
%
Comparative
value 1
%
Comparative
value 2
b
Master-Set
b
Master Reset

O1

Type
Function
b
Output I1 & gt; I2

O2

b

O1 inverted

P1
P2

%
%

positive window (xxx.xx%)
negative window (xxx.xx%)

" 311 – W. Comp (2 V) " (Window comparator, two variables)
" 312 – W. Comp (2 V) " absolute value " (Window comparator, two variables, absolute value)
− 311 – W. comp (2 V)
Description:
It is checked if I1 is in the adjusted range (window) around I2.
O1 is TRUE if I1 is in the range of I2. The range is set up with P1 (positive window) and P2
(negative window).
O1 is FALSE if I1 is outside of this range.
The comparator has three working ranges:
(I2 + P1) & lt; I1
Range 1
Range 2
(I2 - P2) & lt; I1 & lt; (I2 + P1)
Range 3
I1 & lt; (I2 - P2)

O1 = FALSE
O1 = TRUE
O1 = FALSE

− 312 – W. comp (2 V), absolute value
Description:
It is checked if the absolute value I1 is in the adjusted range (window) around absolute value
of I2.
O1 is TRUE if |I1| is in the range of |I2|. The range is set up with P1 (positive window) and P2
(negative window).
O1 is FALSE if |I1| is outside of this range.
The comparator has three working ranges:
(|I2| + P1) & lt; |I1|
Range 1
Range 2
(|I2| - P2) & lt; |I1| & lt; (|I2| + P1)
Range 3
|I1| & lt; (|I2| - P2)

O1 = FALSE
O1 = TRUE
O1 = FALSE

The output value can be changed by means of the two Boolean inputs I3 and I4:
Master Set sets output O1 to TRUE.
Master Reset sets output O1 to FALSE. Master Reset has priority over Master Set.

84

VPLC / PLC

84

VPLC / PLC

08/10

08/10

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.2.7

[313,314] Window comparator (comparison of constant to
variable)

Type
Function
I1 %
Comparative value
1
I2 I3 b
Master-Set
I4 b
Master Reset

Type
Function
O1 b
Output I1 & gt; I2
O2 b
P1 %
P2 %

O1 inverted
positive window (xxx.xx%)
negative window (xxx.xx%)

" 313 - Window comparator (V C) " , comparison of variable to constant
" 314 - Window comparator (V C) " , absolute value " , comparison of variable to constant
− 313 - Window comparator (V C)
Description:
Via P1 and P2, a value range (window) is adjusted and it is checked if I1 is within this constant
range.
O1 is TRUE if I1 is in the range of from P2 to P1.
O1 is FALSE if I1 is outside of this range.
The comparator has three working ranges:
P1 & lt; I1
Range 1
Range 2
P2 & lt; I1 & lt; P1
Range 3
I1 & lt; P2

O1
O1
O1
O2

=
=
=
=

FALSE
TRUE
FALSE
O1

Special case:
P2 (negative window) is greater than P1 (positive window) (limits exchanged):
O1 is TRUE if I1 & lt; P1 or I1 & gt; P2.
O1 is FALSE if I1 is in the range of from P1 to P2 (window).

08/10

08/10

VPLC / PLC
VPLC PLC

85

85

− 314 - Window comparator (V C), absolute value " , comparison of variable to constant
Description:
Via P1 and P2, a value range (window) is adjusted and it is checked if the absolute value of I1
is within this range.
O1 is TRUE if |I1| is in the range of from P2 to P1.
O1 is FALSE if |I1| is outside of this range.
The comparator has three working ranges:
P1 & lt; |I1|
Range 1
Range 2
P2 & lt; |I1| & lt; P1
Range 3
|I1| & lt; P2

O1
O1
O1
O2

=
=
=
=

FALSE
TRUE
FALSE
O1

Special case:
P2 (negative window) is greater than P1 (positive window) (limits exchanged):
O1 is TRUE if |I1| & lt; P1 or |I1| & gt; P2.
O1 is FALSE if |I1| is in the range of from P1 to P2 (window).
The output value can be changed by means of the two Boolean inputs:
Master Set sets output O1 to TRUE.
Master Reset sets output O1 to FALSE. Master Reset has priority over Master Set.

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

86

VPLC / PLC

86

VPLC / PLC

08/10

08/10

5.2.8
I1
I2
I3
I4

Type
%
%
b
b

[320] Min/Max
Function
input value 1
input value 2
FALSE=Min/TRUE=Max
Master Reset

O1
O2
P1
P2

Type
%
%
%
%

Function
Min or Max (I1;I2;P1;P2)
O1 inverted
Constant value P1
Constant value P2

Description:
Based on variables I1 and I2 as well as the constants P1 and P2, the minimum or maximum
value is determined and output at O1.
The maximum value is output if I3 is TRUE.
The minimum value is output if I3 is FALSE.
I3 = FALSE:
I3 = TRUE:

O1 = -O2 = Minimum (I1, I2, P1, P2)
O1 = -O2 = Maximum (I1, I2, P1, P2)

Note:
P1 and P2 are not evaluated when the maximum or minimum value is determined if they are
set to 0.
I2 is not evaluated when the maximum or minimum value is determined if I2 is connected to
signal source " 9 - Zero " .
As long as status TRUE is present at I4 (Master Reset), the output value is FALSE.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.2.9

[321] Min / Max for position values (Long)

Type
Function
I1 Pos
input value 1
I2 Pos
input value 2
I3 b
I4 b

FALSE=Min/TRUE=Max
Master Reset

Type
Function
O1 Pos
Min or Max
Low word
(I1;I2;P)
O2 Pos
High
word
P1 Pos
Low word
Constant value High
P2 Pos
word

Description:
Based on variables I1 and I2 as well as constant P, the minimum or maximum value is determined and output.
The maximum value is output if I3 is TRUE.
The minimum value is output if I3 is FALSE.
I3 = FALSE:
I3 = TRUE:
with

08/10

O = Minimum (I1, I2, P)
O = Maximum (I1, I2, P)
O1, P1: Low word
O2, P2 High word
VPLC / PLC

08/10

VPLC / PLC

87

87

Note:
P1 and P2 are not evaluated when the maximum or minimum value is determined if they are
set to 0.
I2 is not evaluated when the maximum or minimum value is determined if I2 is connected to
signal source " 9 - Zero " .
Note:
Output value O2 is not the inverted value of O1.
The output can be combined with inputs for position values (Long).
The function can also be used for ramp settings in configurations x40.

5.2.10 [322] Min/Max in time window
I1
I2
I3
I4

Type
%
b
b

Function
input value 1
FALSE=Min/TRUE=Max
Master Reset

O1
O2
P1
P2

Type
%
%
-

Function
Min or Max
O1 inverted
-

Description:
The minimum input value at I1 determined over a certain period of time, is output to Output
O1 if I3 is TRUE and I4 is FALSE.
Or:
The maximum input value at I1 determined over a certain period of time, is output to Output
O1 if I3 is FALSE and I4 is FALSE.
Or:
The current input value at I1 is output to O1, if I4 is TRUE.
The signal status at I3 determines if the minimum or maximum input value is output. FALSE
must be present at I4.
The period of time for the minimum or maximum value measurement is determined by a signal
at I4. The measurement of the maximum or minimum value starts with a negative edge at I4.
The measurement is restarted with each negative edge.
I3
0
1
x

I4
0
0
1

O1=
Minimum (I1)
Maximum (I1)
O1

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.2.11 [323] Min/Max for positions (Long) in time window
Type
Function
I1 Pos
input value 1
I2 I3 b
I4 b

FALSE=Min/TRUE=Max
Master Reset

Type
Function
O1 Pos
Low word
Min or Max (I1)
O2 Pos
High
word
P1 P2 -

Description:
The minimum position value at I1 determined over a certain period of time, is output if I3 is
TRUE and I4 is FALSE.
Or:
The maximum position value at I1 determined over a certain period of time, is output if I3 is
FALSE and I4 is FALSE.
Or:
The current position value at I1 is output, if I4 is TRUE.
88

88

VPLC // PLC
VPLC PLC

08/10

08/10

The signal status at I3 determines if the minimum or maximum position value is output. FALSE
must be present at I4.
The period of time for the minimum or maximum value measurement is determined by a signal
at I4. The measurement of the maximum or minimum value starts with a negative edge at I4.
The measurement is restarted with each negative edge at I4.
I3
0
1
x

I4
0
0
1

O=
Minimum (I1)
Maximum (I1)
I1

Note:
Output value I2 is not the inverted value of O1.
The output can be combined with inputs for position values (Long).
The function can also be used for ramp settings in configurations x40. The availability of configurations x40 depends on the device series.

08/10
08/10

VPLC / PLC
VPLC / PLC

89
89

5.3
330
331
332
333
334
335
336
337
338
339
340
341
342

Mathematical functions
Description
Formula
Addition and subtraction of
O1 = = + I2 − I3 + P1 − P2
-O2 I1
input values and an offset.
Addition and subtraction of
= I1 + I2 − I3 + P
O
position values and offset.
O1, P1 = Low word
O2, P2 = High word
Result Long.
Multiplication of the input valO1 = = × I2 × P1
-O2 I1
ues and a factor.
O2 | O1 = I1 × I2 × P1
Multiplication of position valO1 = Low word
O2 = High word

ues and offset. Result Long.

Multiplication of input value by
a constant fraction.
Multiplication of long input
value by percentage divided
by a constant.

±327.67%
0 … (232-1)
±327.67%
0 … (232-1)

P1
P2

±327.67%

I1 × I2
O1 =
-O2 =
P1

0 … (232-1)

O1 =
-O2 = ×
I1

+P1
- P2

Division of an input value by
variable input values.

I1
O1 =
-O2 =
I2 × I3

Division of input value by constant.
Division of a constant by the
input value (reciprocal).

I1
O1 =
-O2 =
P1

± P2

P1
O1 =
-O2 =
I1

± P2

Combined multiplication and
division.

I1 × I2
O1 =
-O2 =
I3

[±327.67%]
[±327.67%]
[±327.67%]

+P1
- P2

[±327.67%]

Average from 3 input values.
I1 + I2 + I3 P1
-O2 =
×
Multiplication by constant frac- O1 =
3
P2
tion as correction factor.
Absolute value of two orthoP1
gonal components. Multiplica- O1 = -O2 = I1 2 + I2 2 ×
P2
tion by constant fraction.
Absolute value of three orthoP1
gonal components. Multiplica- O1 = -O2 = I1 2 + I2 2 + I3 2 ×
P2
tion by constant fraction.
1
I1
O1 =
-O2 = dt + I2
P1
1
d I1
O1 =-O2 = ×
P1
dt



350

Integrator

351

Differentiator (D-element)

360

Absolute value function

O1 =I1
-O2 =

361

Input value squared.

O1 = 2
-O2 =
I1

362

Input value cubed.

O1 = -O2 =

364

Modulo, multiplication and
division, result with remainder

O1, O2 =

I1 ×

±327.67%
±327.67%

±327.67%
±327.67%
+ P2

[±327.67%]

± P2

O1 =
-O2 =
I1

Square root of input value.

±327.67%

±327.67%

3

363

90

Limits

[±327.67%]
I1
I1

;

I1 × I2 × P1
I3 × P2 ;

+ I1 ⇒ O1 =+ I1
− I1 ⇒ O1 =− I1

O1 = Ergebnis
O2 = Rest

± P2

[±327.67%]

±327.67%

VPLC / PLC

90

VPLC / PLC

08/10

08/10

5.3.1

Addition and subtraction

5.3.1.1
I1
I2
I3
I4

Type
%
%
%
b

[330] Add. O1=-O2=I1+I2-I3+P1-P2
Function
positive input I1
positive input I2
negative input I3
Master Reset

O1
O2
P1
P2

Type
%
%
%
%

Function
= I1 + I2 − I3 + P1 − P2
O1

inverted output = -1
positive offset
negative offset

Description:
This function adds inputs I1 and I2 and subtracts input I3. In addition, a positive and negative
offset can be defined via P1 and P2, respectively.
O1 = − O2 = I1 + I2 − I3 + P1 − P2

The result of the addition is limited to ±327.67%. Interim results are not limited.
As long as status TRUE is present at I4 (Master Reset), the output value at O1 is 0.
Example:
I1=3240 (=32.40%)
I2=5613 (=56.13%)
I3=27028 (=270.28%)
P1=390 (=3.90%)
P2=322 (=3.22%)

O1

= 32.40% + 56,13% - 270.28% + 3.90% - 3.22%
= -181,07%

Input for parameters, e.g.:
32.40%
P2 = 390
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.1.2
I1
I2
I3
I4

Type
Pos
Pos
Pos
b

[331] Addition position with offset
Function
positive input I1
positive input I2
negative input I3
Master Reset

O1
O2
P1
P2

Type
Function
Low word
Pos
= I1 + I2 − I3 + P
O
Pos
High word
Pos
Low word
Positions offset P
Pos
High word

Description:
This function adds inputs I1 and I2 and subtracts input I3. In addition, an offset can be specified.
O2 | O1 I1 + I2 − I3 + P2 | P1 ;
=

O2 | O1 High − word | Low − word ;
=

P2 | P1 High − word | Low − word
=

The output value comprises a High word (O1) and a Low word (O2). The positions offset which
is added is also separated in High word and Low word.
As long as status TRUE is present at I4 (Master Reset), the output value is 0.
Note:
Output value O2 is not the inverted value of O1.
The output can be combined with inputs for position values (Long).
The function can also be used for ramp settings in configurations x40.
The availability of configuration x40 depends on the device series.

08/10

VPLC / PLC

08/10

VPLC / PLC

91

91

Example:
I1= 35468240
I2= 5613
I3= 27028
P= 270000 = 41EB0hex
P1= 1EB0hex = 7856
P2= 0004hex = 4

5.3.2

= 35468240 + 5613 + 27028 + 270000
= 35770881
= 221D201hex
O1= D201hex [= 53761]
O2= 0221hex [= 545]

Multiplication

5.3.2.1
I1
I2
I3
I4

O

Type
%
%
b

[332] Multiplication
Function
input value 1
input value 2
Master Reset

O1
O2
P1
P2

Type
%
%
%
-

Function
= I1× I2× P1
O1
inverted output = -1
Factor (numerator)
-

Description:
This function multiplies inputs I1 by I2 and by factor P1.
O1 = = × I2 × P1
-O2 I1
The result of the multiplication is limited to ±327.67%.
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Note:
100.00% * 100.00% = 100.00%
Example:
I1=3240 (=32.40%)
I2=358 (=3.58%)
P1=270 (=270.00%)

O1

= 32.40% * 3.58% * 270.00%
= 0.324 * 0.0358 * 2.70
= 0.0313 = 3.13%

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.2.2
I1
I2
I3
I4

Type
%
%
b

[333] Multiplication, Long result
Function
positive input I1
positive input I2
Master Reset

O1
O2
P1
P2

Type
Function
Low word
%
= I1× I2× P1
O
%
High word
%
Factor
-

Description:
Inputs I1 and I2 as well as Factor P1 are multiplied by one another.
The result at the output is divided in a High word (O1) and a Low word (O2).
O2 |= I1 × I2 × P1 ;
O1

O2 | O1 High − word | Low − word
=

The result of the multiplication (long) is not limited.
As long as status TRUE is present at I4 (Master Reset), the output value is 0.
If P1 is set to value 0, O = I1 x I2 is calculated.
Note:
The output value at O2 is not the inverted value of O1.
92

92

VPLC / PLC

VPLC / PLC

08/10

08/10

The output can be combined with inputs for position values (Long).
The function can also be used for ramp settings in configurations x40.
Example:
I1=24000 (=240.00%)
I2=31000 (=310.00%)
P1=63000 (=630.00%)

O

= 240.00% * 310.00% * 630.00%
= (2.4000 * 3.1000 * 6,3000)
= 4687.20%
= 726F0hex
O1= 26F0hex [= 9968]
O2= 0007hex [= 7]

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.2.3

[334] Mult. by fraction

Type

Function

Type

I1

%

input value 1

O1 %

I2
I3
I4

-

-

b

Master Reset

O2 %
P1 %
P2 %

Function
P1
= I1 ×
O1
P2

inverted output = -1
Factor numerator
Factor denominator

Description:
The input value at I1 is multiplied by the parameter value P1 and divided by parameter value
P2.
P1
O1 = −O2 = I1 ×
P2
The result of the multiplication is limited to ±327.67%.
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:
I1=14000 (=140.00%)
P1=15000 (=150.00%)
P2=3233 (=32.33%)

O1

= 140.00% * 150.00% / 32.33%
= (1.4000 * 1.5000 / 0.3233 = 6,4955)
= 649.55%, limited to 327.67%

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345
If P2 is set to value 0, the output has the value 327.67%. The sign is applied from the input
value.

5.3.2.4
I1
I2
I3
I4

Type
Long
%
b

[335] Mult. long * percent
Function
input value 1
input value 2
Master Reset

O1
O2
P1
P2

Type
Function
Pos
Low word
I2
= I1 ×
O
P1
Pos
High word
%
Denominator
-

Description:
The input value at I1 (long) is multiplied by the parameter value I2 (percentage) and divided by
parameter value P1.
I2
= I1 ×
O
P1
The output value comprises a High word (O1) and a Low word (O2).
O2 | O1 High − word | Low − word
=

08/10

08/10

VPLC / PLC

VPLC / PLC

93

93

The result of the multiplication (long) is not limited.
As long as status TRUE is present at I4 (Master Reset), the output value is 0.
The output value at O2 is not the inverted value of O1.
The output can be combined with inputs for position values (Long).
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.3

Division

5.3.3.1
Type
I1

%

I2

%

I3

%

I4

b

[336] Division
Function

Type

Function

O1

%

inverted output = -1

P1

%

upper limit

P2

Input (denominator
1)
Input (denominator
2)
Master Reset

%

O2

Input (numerator)

I1
O1 =
I2 × I3

%

lower limit

Description:
The input value at I1 is divided by the product from input values I2 and I3.
I1
O1 = 2 =
−O
I2 × I3
The result of the division is limited to -P2 and +P1 (max. to ±327.67%).

P2 is the negative limit (-P2), even if only a positive value can be entered for P2.
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Signal source " 9 - Zero " or the value 0 at input I2 or I3 deactivates these inputs. In this case,
no division by the input values at I2 and I3 is carried out. The input values are processed as
I2=1 and I3=1.
Example:
I1=14000 (=140.00%)
I2=3000 (=30.00%)
I3=3233 (=32.33%)

O1

=
=
=
=

140.00% / 130.00% / 32.33%
(1.4000 / 0.3000 / 0.3233)
|14434.47%| limit
327.67%

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345
If EI2 or I3 has value 0, output O1 has value I1.
94

94

VPLC / PLC

VPLC / PLC

08/10

08/10

5.3.3.2
Type
I1

%

I2
I3
I4

b

[337] Division by constant
Function
Input (numerator)
Master Reset

Type

Function

O1 %

I1
O1 =
P1

O2 %
P1 %
P2 %

inverted output = -1
Constant (denominator)
upper and lower limit

Description:
The input value at I1 is divided by the parameter value P1.
I1
O1 = 2 =
−O
P1
The result of the division is limited to ±P2 (max. to ±327.67%).
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:
I1=14000 (=140.00%)
P1=4000 (=40.00%)

O1

=
=
=
=

140.00% / 40.00%
(1.4000 / 0.4000)
|350.00%| limit
327.67%

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345
If P1 is set to value 0, the output has the value 327.67%. The sign is applied from the input
value.

5.3.3.3
Type
I1

%

I2
I3
I4

b

[338] Division P1 by I1, reciprocal
Function
Input (denominator)
Master Reset

Type

Function

O1

%

P1
O1 =
I1

O2
P1
P2

%
%
%

inverted output = -1
Constant (numerator)
upper and lower limit

Description:
The parameter value P1 is divided by the input value at I1 (reciprocal).
P1
O1 = 2 =
−O
I1
The result of the division is limited to ±P2 (max. to ±327.67%).
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:
I1=14000 (=140.00%)
P1=4000 (=40.00%)

O1

= 40.00% / 140.00%
= (0.4000 / 1.4000)
= 28.57%

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345
If I1 has value 0, output O1 has value 327.67% or the value of P2.
08/10
08/10

VPLC / PLC
VPLC / PLC

95
95

5.3.4

[339] Multiplication and division

Type
I1

%

I2

%

I3

%

I4

b

Function
Input (numerator
1)
Input (numerator
2)
Input (denominator)
Master Reset

Type

Function

O1

%

I1 × I2
O1 =
I3

O2

%

inverted output = -1

P1

%

upper limit

P2

%

lower limit

Description:
The input value at I1 is multiplied by the input value at I2 and the result is divided by the input
value at I3.
I1 × I2
O1 = 2 =
−O
I3

The result of the division is limited to -P2 … +P1 (max. to ±327.67%).
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:
I1=14000 (=140.00%)
I2=4000 (=40.00%)
I3=2000 (=20.00%)

O1

= 140.00% * 40.00% / 20.00%
= (1.4000 * 0.4000 / 0.2000)
= 280.00%

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.5

[340] Average function

Type

Function

Type

Function

I1

%

Input 1

O1

%

I1 + I2 + I3 P1
O1 =
×
3
P2

I2
I3
I4

%
%
b

Input 2
Input 3
Master Reset

O2
P1
P2

%
i
i

inverted output = -1
Factor numerator
Factor denominator

Description:
The average is calculated from the input values at I1, I2 and I3.
Parameters P1 and P2 can be adjusted as correction factors.
I1 + I2 + I3 P1
O1 = 2 =
−O
×
3
P2
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:
I1=14000 (=140.00%)
I2=4000 (=40.00%)
I3=2000 (=20.00%)
P1= 5
P2= 4

O1

= (140.00% + 40.00% + 20.00%) / 3 * 5/4
= 200% /3 * 5/4
= 83.33%

If the average is to be calculated from two input values only, I1 and I2 must be used and I3
must be set to FALSE.
O1 =

96

96

I1 + I2 P1
×
2
P2

VPLC // PLC
VPLC PLC

08/10

08/10

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.6

[341] Absolute value of two orthogonal components (2 D
vector)

Type

Function

Type

Function

I1

%

input value 1

O1

O1
% =

I2
I3
I4

%
b

input value 2
Master Reset

O2
P1
P2

%
%
%

2

I1 + I2 2 ×

P1
P2

inverted output = -1
Constant (numerator)
Constant (denominator)

Description:
The absolute value is formed from the orthogonal (square-angle) input values at I1 and I2.
P1
.
The absolute value is multiplied by the constant
P2
P1
=
= I12 + I22 ×
O1 −O2
P2
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:
I1=14000 (=140.00%)
I2=4000 (=40.00%)
P1= 500 (= 5.00%)
P2= 10000 (= 100.00%)

O1 = 140,00%2 + 40,00%2 ×
= 212,00% ×

5,00%
100,00%

5,00%
100,00%

= 7,28%

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.7

[342] Absolute value of three orthogonal components (3 D
vector)

Type

Function

Type

Function

I1

%

input value 1

O1

O1
% =

I2
I3
I4

%
%
b

input value 2
input value 3
Master Reset

O2
P1
P2

%
%
%

2

I1 + I2 2 + I3 2 ×

P1
P2

inverted output = -1
Constant (numerator)
Constant (denominator)

Description:
The absolute value is formed from the orthogonal (square-angle) input values at I1, I2 and I3.
P1
.
The absolute value is multiplied by the constants
P2
P1
=
= I12 + I22 + I32 ×
O1 −O2
P2
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:

08/10

08/10

VPLC / PLC

VPLC / PLC

97

97

I1=14000 (=140.00%)
I2=4000 (=40.00%)
I3=3000 (=30.00%)
P1= 500 (= 5.00%)
P2= 10000 (= 100.00%)

O1 = 140,00%2 + 40,00%2 + 30,00%2 ×
= 221,00% ×

5,00%
100,00%

5,00%
100,00%

= 7,43%

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.8

[350] Integrator

Type
I1

%

I2

%

Function
Integration quantity
Start value

Type

I3

b

Master Set

P1

%

I4

b

Master Reset

P2

-

O1

%

O2

%

Function
1
O1 =
P1

∫ I1 dt + I2

inverted output = -1
Integration time in ms
(denominator)
-

Description:
The input value at I1 is integrated.
The integration time constant P1 indicates how long it takes in the case of a constant input
value until the output value reaches the input value.
1
O1 =
-O2 =dt + I2
I1
P1



If the integrator is to be stopped, input 2 must be combined with the output and the Master Set
input (I3) must be activated.
Master Set: TRUE sets the integrator to the start value (I2). The start value can be defined via
input I2.
Master-Reset: TRUE sets the integrator to 0.
Master Reset has priority over Master Set.
t

I1

i=1

i=2

i=3

1

1

0

0

0

2

2

1

0.5

0.33

3

3

3

3/2

1

4

1

6

3

2

5

1

7

3.5

2.33

6

0

8

4

2.67

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

98

VPLC / PLC

98

VPLC / PLC

08/10

08/10

5.3.9

[351] Differentiator (D-element)

Type
I1

%

I2
I3
I4

b

Function
Differentiation quantity
Master Reset

Type
O1

%

O2
P1
P2

%
%
-

Function
= P1 ×
O1

d I1
dt

inverted output = -1
Derivative action time in ms
-

Description:
The input value at I1 is differentiated.
The derivative action time indicates how long a linear ramp must rise until it has the same value
as the output of the differentiator.
dI1
O1 = =1 ×
-O2 P
dt
If an integrator and a differentiator are connected in series, a p-element is obtained with amplification V = Td/Ti.
If, for example, the output value is limited in the case of a jump at the input, the limited value
will be output longer.
In the case of a jump at the input, the jump height/sampling time is assumed as the ramp gradient.

As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.10 [360] Absolute value function
I1
I2
I3
I4

Type
%
b

Function
Input value
Master Reset

O1
O2
P1
P2

Type
%
%
-

Function
O1 = I1

inverted output = -1
-

Description:
The absolute value of the input value at I1 is calculated. The output value at O1 is always positive.
O1 = 2 =
−O
I1

As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.

08/10

VPLC / PLC

08/10

VPLC / PLC

99

99

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.11 [361] X², SQR (I1)
I1
I2
I3
I4

Type
%
b

Function
Input value
Master Reset

O1
O2
P1
P2

Type
%
%
%

Function
2

O1 = I1

inverted output = -1
Limitation of output value

Description:
The input value at I1 is squared.

O1 = 2 =2
−O
I1
Example: I1 = 130.00%; O1 = I12 = 169.00%
The output value is limited to the adjusted value of P2.
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.12 [362] X³, (Cube (I1)
I1
I2
I3
I4

Type
%
b

Function
Input value
Master Reset

O1
O2
P1
P2

Type
%
%
%

Function
3

O1 = I1

inverted output = -1
Limitation of output value

Description:
The input value at I1 is cubed.

O1 = 2 =3
−O
I1
Example: I1 = 130.00%; O1 = I13 = 219.70%
The output value is limited to ±P2.
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.13 [363] √X, square root of I1
I1
I2
I3
I4

Type
%
b

Function
Input value
Master Reset

O1
O2
P1
P2

Type
%
%
%

Function
O1= I1

inverted output = -1
Limitation of output value

Description:
The square root is calculated from the input value at I1.
O1 = 2 = 1
−O
I

100

100

VPLC PLC
VPLC // PLC

08/10

08/10

Note:
Since the square root of a negative number has no real result, the square root of the absolute
value of the input value is worked out and the sign is applied to the output value.

O1= I1 ;

+ I1 ⇒ O1 =+ I1
− I1 ⇒ O1 =− I1

Example: Positive input value
Negative input value

I1 = 130.00%
I1 = -130.00%

O1 = 114.02%
O1 = -114.02%

The output value is limited to ±P2.
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.3.14 [364] Modulo
Type
I1

%

I2

%

I3

%

I4

b

Function
Input (numerator
1)
Input (numerator
2)
Input (denominator 1)
Master Reset

Type
O1

Function

%
O1, O2 =

I1 × I2 × P1
I3 × P2

O2

%

P1

%

Numerator 3

P2

%

Denominator 2

Description:
The input value at I1 is multiplied by the input value at I2 and parameter value P1 and the result is divided by the input value at I3 and parameter value P2.
O1 = Result in front of decimal point,
I1 × I2 × P1
O1, O2 =
O2 = Result behind decimal point
I3 × P2
Example 1:
I1= 110%
I2= 100%
I3= 32%

P1 = 100.00%
P2 = 100.00%

110 ,00 % × 100 ,00 % × 100 ,00 %
1,1
=
= ,75 %
3,4375 =
343
32,00 % × 100 ,00 %
0 ,32
⇒ O1 =%, O2 = 0 ,75 %
343 ,00

Example 2:
I1= 110%
I2= 100%
I3= 32%

P1 = 1.00%
P2 = 100.00%

110 ,00 % × 100 ,00 % × 1,00 % 0,011
= ,034375 = 3,43 %
=
0
32,00 % × 100 ,00 %
0,32
⇒ O1 = O2 = 0 ,43 %
3,00 %,

Example 3:
I1= 220%
I2= 100%
I3= 12%
08/10
08/10

P1 = 100.00%
P2 = 10.00%

VPLC / PLC
VPLC / PLC

101
101

220 ,00 % × 100 ,00 % × 100 ,00 % 2,2
=
= ,33 %
1,8333 =
183
12,00 % × 10,00 %
1,2
⇒ O1 = O2 = 0,33 %
183 %,

Example 4:
I1= 22000
I2= FALSE
I3= 1200

P1 = 10 (factory setting)
P2 = 10 (factory setting)

220 ,00% × 100 ,00% × 100 ,00% 2,2
=
= ,33%
1,8333 =
183
12,00 % × 10 ,00 %
1,2
⇒ O1 =O2 = 0 ,33 %
183 %,

If position values are used as input quantities instead of percentages, this will be interpreted as
follows:
22000 u × [FALSE ] × 10 22
= ,3333 = 1833 ,33 %
=
18
1200 u × 10
1,2
⇒ O1 = % (Begrenzung ), O2 = 0 ,33 %
367 ,67
Parameters P1 and P2 can also be used to scale the result:
O1 = Result " in front of decimal point " /scaling P1 (division)
O2 = Result " behind decimal point " /scaling P2 (multiplication)

5.4

Controller

Controllers can be built up from individual elements. This can be used for limiting the output
values of the individual elements.

5.4.1

[370] P controller

Type
I1

%

I2

%

I3
I4

b

Function
Input (reference
value)
Input (actual value)
Master Reset

Type

Function

O1 %

O1 = P1 × (I1 − I2)

O2 %

inverted output = -1

P1 i
P2 %

P amplification (x.xx)
Limitation of output value

Description:
The control deviation (I1- I2) is multiplied by the amplification P1.
O1 = − O2 = P1 × (I1 − I2 )

The output value is limited to ±P2.
As long as status TRUE is present at I4 (Master Reset), the output value I1 is 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345
The amplification is entered with two decimals:
displayed value 123 = function value 1.23

102

102

VPLC // PLC
VPLC PLC

08/10

08/10

5.4.2

[371] PI controller (Tn in milliseconds)

Type
I1
I2

%
%

I3

%

I4

b

Function
Input (reference
value)
Input (actual value)
Limitation of output values
Master Reset

Type

Function

= P1 × (I1 − I2 ) +
O1
O1 %

O2

%

P1
P2

∫ (I1 − I2 ) dt

inverted output = -1

P1 i

P amplification

P2 i

Integral time in ms

Description:
The control deviation (I1- I2) is multiplied by the amplification P1. The I controller adds up the
control deviation over time. The I component is added. When the integral time has elapsed, the
I component reaches the same value again so that the output value is doubled.
P1
(I1 − I2) dt
= −O2 P1 × (I1 − I2) +
O1 =
P2



The output value is limited to the value at input I3.
As long as status TRUE is present at I4 (Master Reset), the output value I1 and the I component are 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.4.3

[372] PI controller (Tn in seconds)

Type
I1
I2

%
%

I3

%

I4

b

Function
Input (reference
value)
Input (actual value)
Limitation of output values
Master Reset

Type

Function

= P1 × (I1 − I2 ) +
O1
O1 %

O2

%

P1
P2

∫ (I1 − I2 ) dt

inverted output = -1

P1 i

P amplification

P2 i

Integral time in s

Description:
The control deviation (I1 - I2) is multiplied by the amplification P1. The I controller adds up the
control deviation over time. The I component is added. When the integral time has elapsed, the
I component reaches the same value again so that the output value is doubled.
P1
(I1 − I2) dt
O1 = −O2 = P1 × (I1 − I2) +
P2



The output value is limited to the value at input I3.
As long as status TRUE is present at I4 (Master Reset), the output value O1 and the I component are 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

08/10

VPLC / PLC

08/10

VPLC / PLC

103

103

5.4.4

[373] PD(T1) controller

Type
I1

%

I2

%

I3

%

I4

b

Function
Input (reference
value)
Input (actual
value)
Limitation of
output values
Master Reset

Type

Function

d (I1 − I2 )
dt

O1 %

= P1 × (I1 − I2 ) + P1 × P 2 ×
O1

O2 %

inverted output = -1

P1 i

P amplification

P2 i

Derivative action time in ms

Description:
The control deviation (I1- I2) is multiplied by the amplification P1. The D component is
added.
d (I1 − I2 )
O1 = −O2 = P1 × (I1 − I2 ) + P1 × P2 ×
dt

The output value is limited to the value at input I3.
The input can be combined with a fixed value, for example.
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
The time constant T1 of the PD(T1) controller corresponds to the sampling time.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.4.5

[374] PID(T1) controller (Tn in milliseconds)

Type
I1

%

I2

%

I3

%

I4

b

Function
Input (reference
value)
Input (actual
value)
Limitation of
output values
Master Reset

Type
O1

Function

1
d (I1 − I2)
O1
% = (I1 − I2) + P1 ∫ (I1 − I2) dt + P2 × dt

O2 %

inverted output = -1

P1

i

Integral time in ms

P2

i

Derivative action time in ms

Description:
The control deviation (I1 – I2) is multiplied by the amplification (=1). The I component and the
D component are added.
1
d (I1 − I2)
=
=
O1 −O2 (I1 − I2) +
∫ (I1 − I2) dt + P2 ×
P1
dt

In instruction " 374 PID(T1) controller " , the integral time P1 (I component) and the derivative
action time P2 (D component) can be adjusted. The amplification P1 is set to the fixed value 1.
In order to set up another amplification, a P controller (instruction " 370 - P controller) must be
connected to the input of the PID(T1) controller.
Note:
In the P controller (instruction 370), P1 is the amplification. In the PID(T1) controller, P1 is the
integral time.

104

104

VPLC / PLC

VPLC / PLC

08/10

08/10

PID controller and series-connected P controller for setting up an amplification:

Index n-1:

Index n:

O1 = = P1n-1 × (I1n-1 − I2n-1 )
−O2

+

P1n-1
P1n

∫ (I1n-1 − I2n-1 ) dt + P1n-1 × P2n ×



dt

Set amplification in P controller.



d (I1n-1 − I2n-1 )

Set integral time and derivative action time in PID controller.

Note:
If the amplification of the PID controller is to be 1 , no P controller must be connected in series.

If a value of 100.00% is applied to the input in the form of a jump, the output value is the total
of the three components:
− P component: 100.00% constant
− I component: Ramp reaching the value of 100.00% after integral time P1.
P2
×100%; T1 = Abtastzeit
T1
If the pulse level exceeds the limitation of the output value, the pulse will be output longer.

− D component: Pulse of length of a sampling step and level

The output value is limited to the value at input I3.
Input I3 can be combined with a fixed value, for example.
As long as status TRUE is present at I4 (Master Reset), the output value O1 and the I component are 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.4.6
Type

[375] PID(T1) controller (Tn in seconds)
Function

Type

I1 %

Input (reference value)

O1

I2 %
I3 %
I4 b

Input (actual value)
Limitation of output values
Master Reset

O2 %
P1 i
P2 i

Function

O1
%=

(I1 − I2) +

1
d (I1 − I2)
∫ (I1 − I2) dt + P2 ×
P1
dt

inverted output = -1
Integral time in s
Derivative action time in ms

Description:
The control deviation (I1 – I2) is multiplied by the amplification (=1). The I component and the
D component are added.
1
d (I1 − I2)
=
=
O1 −O2 (I1 − I2) +
∫ (I1 − I2) dt + P2 ×
P1
dt
08/10

08/10

VPLC / PLC

VPLC / PLC

105

105

In instruction " 375 PID(T1) controller " , the integral time P1 (I component) and the derivative
action time P2 (D component) can be adjusted. The amplification P1 is set to the fixed value 1.
In order to set up another amplification, a P controller (instruction " 370 - P controller) must be
connected to the input of the PID(T1) controller.
Note:
In the P controller (instruction 370), P1 is the amplification. In the PID(T1) controller, P1 is the
integral time.

PID controller and series-connected P controller for setting up an amplification:

Index n-1:

O1 = = P1n-1 × (I1n-1 − I2n-1 )
−O2

Index n:

+

P1n-1
P1n

∫ (I1n-1 − I2n-1 ) dt + P1n-1 × P2n ×



dt

Set amplification in P controller.



d (I1n-1 − I2n-1 )

Set integral time and derivative action time in PID controller.

Note:
If the amplification of the PID controller is to be 1 , no P controller must be connected in series.

If a value of 100.00% is applied to the input in the form of a jump, the output value is the total
of the three components:
− P component: 100.00% constant
− I component: Ramp reaching the value of 100.00% after integral time P1.
P2
×100%; T1 = Abtastzeit
T1
If the pulse level exceeds the limitation of the output value, the pulse will be output longer.

− D component: Pulse of length of a sampling step and level

The output value is limited to the value at input I3.
The input can be combined with a fixed value, for example.
As long as status TRUE is present at I4 (Master Reset), the output value O1 and the I component are 0.
Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

106

106

VPLC PLC
VPLC // PLC

08/10

08/10

5.5

Filters

5.5.1

[380] PT1 element

Type

Function

Type

I1

%

Input value

O1

%

I2
I3
I4

%
b
b

Start value
Master Set
Master Reset

O2
P1
P2

Function

%
i
-

= I1 × (1 − e
O1



t
P1 )

inverted output = -1
Filter time constant in ms
-

Description:
The input value at I1 is filtered.
O1 =− O2 =I1 × (1 − e



t
P1 )

− The filter time constant P1 indicates how long it takes in the case of a constant input value
until the output value (starting from zero) reaches 63% of the input value.
− Master Set: TRUE sets the output to the start value. The start value can be defined via input
I2.
− Master-Reset: TRUE sets the output to 0.
− Master Reset has priority over Master Set.

If the filter is to be stopped, input 2 must be combined with the output and the Master Set input (I3) must be activated.
I2=O1, I3=TRUE

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.5.2

[381] Time average

Type

Function

Type

Function
n

I1

Input value

O1 %

I2
I3
I4
08/10

%
b

Master Reset

O2 %
P1 P2 -

08/10

∑ I1i I11 + I12 + I13 + ... + I1n
i =1
=
O1 =
n
n
inverted output = -1
-

VPLC / PLC
VPLC / PLC

107

107

Description:

− The function determines the average value over a period of time. The output value is updated with each cycle.
− Master Reset is FALSE: The output value is the average of all input values since the last
negative edge from Master Reset.
− Master Reset is TRUE: The output value is the same as the input value.
n

∑ I1

i

I11 + I12 + I13 + ... + I1n
O1 =
−O2 = =
n
n
i =1

I4
0
1

O1=
Average of I4
I4

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.5.3

[382] Ramp limitation

I1
I2
I3

Type
Function
%
Input value
%
Start value
b
Master Set

I4

b

Master Reset

Type
Function
O1 %
I1 with limited ramp gradient
O2 %
inverted output = -1
P1 %
Ramp gradient [% per time unit]
Time unit:
P2 i
1: [ms], 2: [s], 3: [min]

Description:
The output value follows the input value at a limited ramp gradient.
− P1 indicates the percentage by which the output value may change per unit of time.

− P2 indicates the unit of P1:
1: in percent per millisecond [%/ms],
2: in percent per second [%/s],
3: in percent per minute [%/min].
− Master Set: TRUE sets the output to the start value. The start value can be defined via input
I2.
− Master-Reset: TRUE sets output O1 to 0.
− Master Reset has priority over Master Set.

108

108

VPLC / PLC

VPLC / PLC

08/10

08/10

I3

I4
0
0

0
0

1

x

0

1

O1=
I1
I2
0

(ramp gradient limited)

If the ramp is to be stopped, input 2 must be combined with the output and the Master Set
input (I3) must be activated.
I2=O1, I3=TRUE

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.5.4

[383] Spike filter (average of three)

Type

Function

Type

I1

%

Input value

O1

%

I2
I3
I4

%
b
b

Start value
Master Set
Master Reset

O2
P1
P2

%
-

Function
Output average of
I 1( tn − 2 ), I 1( tn − 1), I 1( tn )

inverted output = -1
-

Description:
The input value at I1 is filtered.
The average of the current input value and the two previous input values is output. In this way
individual input spikes are suppressed.

− Master Set: TRUE sets the output to the start value. The start value can be defined via input
I2.
− Master-Reset: TRUE sets the output to 0.
− Master Reset has priority over Master Set.
I3

I4
0
0

0
0

1

x

0

1

O1=
I1
I2
0

(average of last 3 values)

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345
08/10

08/10

VPLC / PLC

VPLC / PLC

109

109

5.6

Analog switch

5.6.1
I1
I2
I3
I4

[390] Analog multiplexer (data set number)

Type
%
%
%
%

Function
input value 1
input value 2
input value 3
input value 4

O1
O2
P1
P2

Type
%
%
-

Function
I1, I2, I3 or I4
inverted output = -1
-

Description:
Depending on the active data set (parameter active data set 249), one of the input values is
output.

Active data set 249
1
2
3
4

O1=
I1
I2
I3
I4

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.6.2
I1
I2
I3
I4

[391] Analog changeover switch

Type
Function
%
input value 1
%
input value 2
Selection of value 1 or
b
value 2
b
Selection of I or P

Type
Function
O1 %
I1, I2, P1 or P2
O2 %
inverted output = -1
P1 %

Fixed value 1

P2 %

Fixed value 2

Description:
One of the values I1, I2, P1 or P2 is output. Via I4, it is defined if an input value (I1, I2) or a
fixed value (P1, P2) is output. Via I3 it is defined if value 1 or 2 is output.

110

VPLC / PLC

110

VPLC / PLC

08/10

08/10

The input values and fixed values are selected according to the following table:
I3
0
1
0
1

I4
0
0
1
1

O1=
I1
I2
P1
P2

Note:
Percentages [%] have two decimals.
For example: Value 12345IN = 123.45% = 1.2345

5.6.3
I1
I2
I3
I4

[392] MUX for position values (data set number), Multiplexer

Type
Pos.
Pos.
Pos.
Pos.

Function
input value 1
input value 2
input value 3
input value 4

O1
O2
P1
P2

Type
Function
Pos.
Low word
I1, I2, I3 or I4
Pos.
High word
-

Description:
Depending on the active data set (parameter active data set 249), one of the input values is
output at the output.

Active data set 249
1
2
3
4

O=
I1
I2
I3
I4
O = | O1 = − word | Low − word
O2
High

Note:
Output value O2 is not the inverted value of O1.
The output can be combined with inputs for position values (Long).
The function can also be used for ramp settings in configurations x40.
The output has value 0 if an input combined with FALSE is selected by the active data set.

5.6.4
I1
I2
I3
I4

[393] Changeover switch for position values (Long)

Type
Pos
Pos
b
b

Function
input value 1
input value 2
Selection value 1 or 2
Selection of I or P

O1
O2
P1
P2

Type
Function
Pos
I1, I2 or (P2|P1)
Pos
Pos
Fixed value P
Pos

Low word
High word
Low word
High word

Description:
One of the values I1, I2, or P is output. Via I4 it is defined if an input value or the fixed value is
output. Via I3 it is defined if value 1 or 2 is output.

08/10

VPLC / PLC

08/10

VPLC / PLC

111

111

The output value is determined according to the following table:
I3
0
1
x

I4
0
0
1

O=
I1
I2
P2|P1
P2 | P1 High − word | Low − word
=

Note:
Output value O2 is not the inverted value of O1.
The output can be combined with inputs for position values (Long).
The function can also be used for ramp settings in configurations x40.
The availability of configuration x40 depends on the device series.

5.7

Parameter access

5.7.1

Writing parameters

Parameters can be written from the PLC functions. This is done in two steps.
− The PLC function puts the write request, including all data, on a list.
− This list is processed in non-realtime system. In this process, redundant write commands on
the same parameter are deleted. The list can contain a maximum of 8 write commands.
The output is TRUE if the list is full and cannot accept any more write commands.
If the parameter number is outside of the range 0 … 1599, only the status of the buffer is
checked and the output is set, if applicable.
Any errors during the write process will be ignored.
If input I4 " Wait " is TRUE, zero operations (NOP) will be inserted if the write buffer is full until
the write command can be entered in the buffer. If input I4 " Wait " is FALSE, write commands
may be lost in the case of a buffer overflow.
If input I2 " Delete buffer " is TRUE, the write buffer will be deleted first before the new write
command is entered.
The target parameter of the write command is defined by P1. The target data set is defined by
P2.

5.7.1.1
I1
I2
I3
I4

[401] Write frequency parameter

Type
Function
%
input value 1
b
Delete buffer
b
Write release
Wait until writing
b
is finished

O1
O2
P1

Type
Function
b
I1[Hz]
b
inverted output = -1
i
Parameter number

P2

i

Data set (0 … 9) or index

Description:
The input value is converted from percent to Hz and written as long parameter.
I1 [%] → I1 [Hz]
123.45% = 123.45 Hz

112

112

VPLC // PLC
VPLC PLC

08/10

08/10

5.7.1.2
I1
I2
I3
I4

[402] Write current parameter

Type
Function
%
input value 1
b
Delete buffer
b
Write release
Wait until writing
b
is finished

O1
O2
P1

Type
Function
b
I1[A]
b
inverted output = -1
i
Parameter number

P2

i

Data set (0 … 9) or index

Description:
The input value is converted from percent to A and written as int parameter.
I1 [%] → I1[A]
123.45% = 123.45 A

5.7.1.3
I1
I2
I3
I4

[403] Write voltage parameter (eff.)

Type
Function
%
input value 1
b
Delete buffer
b
Write release
Wait until writing
b
is finished

O1
O2
P1

Type
Function
I1 [%] → I1[ V ]
b
b
inverted output = -1
i
Parameter number

P2

i

Data set (0 … 9) or index

Description:
The effective value at the input is converted from percent to V and written as int parameter.
I1 [%] → I1[ V ]
123.45% = 123.45 V

08/10

VPLC / PLC

08/10

VPLC / PLC

113

113

5.7.1.4
I1
I2
I3
I4

[404] Write voltage parameter (peak)

Type
Function
%
input value 1
b
Delete buffer
b
Write release
Wait until writing
b
is finished

O1
O2
P1

Type
Function
O1 [%] → O1[ V ]
b
b
inverted output = -1
i
Parameter number

P2

i

Data set (0 … 9) or index

Description:
The peak value at the input is converted from percent to V and written as int parameter.
I1 [%] → I1[ V ]
123.45% = 123.45 V

5.7.1.5
I1
I2
I3
I4

[405] Write percentage parameter

Type
Function
%
input value 1
b
Delete buffer
b
Write release
Wait until writing
b
is finished

O1
O2
P1

Type
Function
I1 [int]
b
b
inverted output = -1
i
Parameter number

P2

i

Data set (0 … 9) or index

Description:
The input value is not changed and written as int parameter. In this way, this function can also
be used for any other (int) parameter types.

5.7.1.6

I1
I2
I3
I4

[406] Write position parameter

Typ
Function
e
Pos
Low word
Input value
Pos
High word
b
Write enable
Wait until writing is
b
finished

O1
O2
P1

Typ
Function
e
b
O1 = I2|I1
b
inverted output = -1
i
Parameter number

P2

i

Data set (0 … 9) or index

Description:
The input value is not changed and written as long parameter. In this way, this function can be
used for any long parameter types.
O1 = I2|I1 (High-word|Low-word)
114

114

VPLC // PLC
VPLC PLC

08/10

08/10

(For the bits, example values are entered here.)

5.7.1.7
I1
I2
I3
I4

[407] Write long parameter

Type
Function
%
Low word
Input value
%
High word
b
Write enable
b
Wait until writing is finished

O1
O2
P1
P2

Type
b
b
i
i

Function
O1 = I2|I1
inverted output = -1
Parameter number
Data set (0 … 9) or index

Description:
The input value is put together from of low-word and high-word, not changed and output as
long parameter. In this way, this function can be used for any long parameter types.

O1 = I2|I1 (High-word|Low-word)

(For the bits, example values are entered here.)

5.7.1.8
I1
I2
I3
I4

Type
int
b
b
b

[408] Write word parameter
Function
input value 1
Delete buffer
Write release
Wait until writing is finished

O1
O2
P1
P2

Type
b
b
i
i

Function
I1 [int]

inverted output = -1
Parameter number
Data set (0 … 9) or index

Description:
The input value is not changed and written as int parameter. In this way, this function can also
be used for any other (int) parameter types.

08/10

VPLC / PLC

08/10

VPLC / PLC

115

115

5.7.2

Reading parameters

Read access enables direct reading of all parameters of the frequency inverter. This is useful if
the parameter is not connected to a source. Since the read access is effected to the nonrealtime system of the frequency inverter, an instruction may take longer than 1 ms. The instruction is processed for the duration of the parameter access even if this takes longer than 1
ms.
If a non-permissible data set or index is selected, it will be replaced by one of the following
data sets or indices.
Data Set/
Index

Data set related parameters

0
1...4/
1…max. index
Invalid value

Instead, data set 1 is used.
Instead, index 1 is used.
Value of data set 1…4
Value from index 1…max. Index
Instead, data set 1 (or index 1) is used.

Non-data set related parameters

Data set 0
Data set 0
Data set 0

All data sets are accessed from the RAM. Internal access to the EEPROM and RAM is done in
the same way.

5.7.2.1
I1
I2
I3
I4

[421] Read frequency parameter

Type
b
-

Function

Release read access
-

O1
O2
P1
P2

Type
%
%
i
i

Function
Parameter value [Hz]
inverted output = -1
Parameter number
Data set (0 … 4)/index

Description:
The function reads the value of the parameter set up in P1 " Parameter number " and P2 " Data
set/index " . The value is converted to a frequency value. Via Input I3 read access is enabled.

I3 = 0:
I3 = 1:

No read access.
The parameter value is read. The instruction is executed until the value is read.

5.7.2.2
I1
I2
I3
I4

[422] Read current parameter

Type
b
-

Function
Release read access
-

O1
O2
P1
P2

Type
%
%
i
i

Function
Parameter value [A]
inverted output = -1
Parameter number
Data set (0 … 4)/index

Description:
The function reads the value of the parameter set up in P1 " Parameter number " and P2 " Data
set/index " . The value is converted to a current value. Via Input I3 read access is enabled.

I3 = 0:
I3 = 1:
116

116

No read access.
The parameter value is read. The instruction is executed until the value is read.
VPLC // PLC
VPLC PLC

08/10

08/10

5.7.2.3
I1
I2
I3
I4

[423] Read voltage parameter (eff.)

Type
b
-

Function
Release read access
-

O1
O2
P1
P2

Type
%
%
i
i

Function
Parameter value [V]
inverted output = -1
Parameter number
Data set (0 … 4)/index

Description:
The function reads the value of the parameter set up in P1 " Parameter number " and P2 " Data
set/index " . The value is converted to a voltage value. Via Input I3 read access is enabled.

I3 = 0:
I3 = 1:

No read access.
The parameter value is read. The instruction is executed until the value is read.

5.7.2.4
I1
I2
I3
I4

[424] Read voltage parameter (peak)

Type
b
-

Function
Release read access
-

O1
O2
P1
P2

Type
%
%
i
i

Function
Parameter value [V]
inverted output = -1
Parameter number
Data set (0 … 4)/index

Description:
The function reads the value of the parameter set up in P1 " Parameter number " and P2 " Data
set/index " . The value is converted to a voltage value. Via Input I3 read access is enabled.

I3 = 0:
I3 = 1:

No read access.
The parameter value is read. The instruction is executed until the value is read.

5.7.2.5
I1
I2
I3
I4

[425] Read percent parameter

Type
b
-

Function
Release read access
-

O1
O2
P1
P2

Type
%
%
i
i

Function
Parameter value [%]
inverted output = -1
Parameter number
Data set (0 … 4)/index

Description:
The function reads the value of the parameter set up in P1 " Parameter number " and P2 " Data
set/index " . The value is converted to a percent value. Via Input I3 read access is enabled.

I3 = 0:
I3 = 1:

No read access.
The parameter value is read. The instruction is executed until the value is read.

5.7.2.6
I1
I2
I3
I4

[426] Read position parameter

Type
b
-

Function
Release read access
-

O1
O2
P1
P2

Type
%
%
i
i

Function
Low word
Position
value
High word
Parameter number
Data set (0 … 4)/index

Description:
The function reads the value of the parameter set up in P1 " Parameter number " and P2 " Data
set/index " . The value is converted to a position value. Via Input I3 read access is enabled.

I3 = 0:
I3 = 1:

08/10

08/10

No read access.
The parameter value is read. The instruction is executed until the value is read.

VPLC / PLC

VPLC / PLC

117

117

5.7.2.7
I1
I2
I3
I4

[427] Read long parameter

Type
b
-

Function
Release read access
-

O1
O2
P1
P2

Type
Function
%
Low word
Long value
%
High word
i
Parameter number
i
Data set (0 … 4)/index

Description:
The function reads the value of the parameter set up in P1 " Parameter number " and P2 " Data
set/index " . The value is converted to a long value. Via Input I3 read access is enabled.

I3 = 0:
I3 = 1:

No read access.
The parameter value is read. The instruction is executed until the value is read.

5.7.2.8
I1
I2
I3
I4

[428] Read word parameter

Type
b
-

Function
Release read access
-

O1
O2
P1
P2

Type
%
%
i
i

Function
Parameter value [%]
inverted output = -1
Parameter number
Data set (0 … 4)/index

Description:
The function reads the value of the parameter set up in P1 " Parameter number " and P2 " Data
set/index " . The value is converted to a percent value. Via Input I3 read access is enabled.

I3 = 0:
I3 = 1:

No read access.
The parameter value is read. The instruction is executed until the value is read.

5.8

Limiters

5.8.1

[440] Limiter (Const.)

Type

Function

Type

Function
P
I1P1
2

I1

%

input value 1

O1

%

O1 =

I2
I3
I4

b

Master Reset

O2
P1
P2

%
%
%

inverted output = -1
upper limit
lower limit

Description:
The input value at I1 is limited to P1 (upper limit) and P2 (lower limit) and output.
P
O1 = I1P1
2

As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Note:
P2 can only be entered as a positive value.

118

118

VPLC // PLC
VPLC PLC

08/10

08/10

5.8.2

[441] Limiter (variable)

Type

Function

Type

Function
b
I1I2b
I3

I1

%

input value 1

O1

%

O1 =

I2
I3
I4

%
%
b

upper limit
lower limit
Master Reset

O2
P1
P2

%
-

inverted output = -1
-

Description:
The input value at I1 is limited to I1 (upper limit) and I2 (lower limit) and output.
b
O1 = I1I2b
I3

As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.

5.9

Counters

5.9.1
I1
I2
I3
I4

[450] Up/Down counter with analog output

Type
b
b
b
b

Function
Up counter
Down counter
Master Set
Master Reset

O1
O2
P1
P2

Type
%
%
i
i

Function
O1= counter I1 - counter I2
inverted output = -1
Steps up for 100.00%
Steps down for 100.00%

Description:

− Each positive edge at I1 increases the output value O1 by 100.00%/P1.
− Each positive edge at I2 reduces the output value O1 by 100.00%/P2.
− The output value is limited to the range 0.00% … 100.00%.
− Master Set (I3) sets the output to 100.00%. This input has priority over edges at I1 or I2.
− Master Reset (I4) sets the output to 0.00%. This input has priority over edges at I1, I2 and
Master Set I3.

08/10

08/10

VPLC / PLC

VPLC / PLC

119

119

Possible applications:
− Definition of reference values by means of two pushbuttons. If one of the two buttons is
pressed, the reference value is to be raised or lowered by an adjustable amount.
− Counting of (error) events. With each event, the counter counts up. The counter can trigger
other functions, such as reporting errors occurring too often.
Example: P1 = 6, P2 = 4

1) Master Reset sets output O1 to zero.
2) Three counting pulses up (each 100.00%/P1 = 100.00%/6 = 16.67%)
3) One counting pulse down. (100.00%/P2 = 100.00%/4 = 25%)
4) Four counting pulses up (each 100.00%/P1 = 100.00%/6 = 16.67%)
5) Two counting pulses up, limitation to 100.00%
6) Three counting pulses down. (each 100.00%/P2 = 100.00%/4 = 25%)
7) One counting pulse up (100.00%/P1 = 100.00%/6 = 16.67%)
8) One counting pulse down. (100.00%/P2 = 100.00%/4 = 25%)
9) Two counting pulses down, limitation to zero.
10) Master Set sets output O1 to 100.00%.
11) Two counting pulses down. (each 100.00%/P2 = 100.00%/4 = 25%)
Note:
P1 and P2 are limited internally to 100.00%. If a greater value is entered, this value is replaced
by 100.00%.

5.9.2
I1
I2
I3
I4
120

120

[451] Stopwatch with analog output

Type
b
b
b
b

Function
Release
Release, inverted
Counting direction
Reset

O1
O2
P1
P2

Type
%
%
%
i

Function
(Counting value ms)/P2
inverted output = -1
Start value
Divisor

VPLC PLC
VPLC // PLC

08/10

08/10

Description:

− The stopwatch is running if I1 = TRUE and I2 = FALSE. In all other cases, the stopwatch is
stopped.
− Input 3 determines the direction.
I3 = TRUE: Stop watch runs forward,
I3 = FALSE: Stopwatch runs backward.
− A positive edge at I4 sets the stopwatch (output O1) to the start value P1.
As from the next negative edge, the stopwatch will be running (if I1 = TRUE and I2 =
FALSE).
− P2 determines the divisor with which the internal value is converted in the output value.
− The output value is limited to the range 0.00% … 327.67%.

I1
1
1
1
1

I2
0
0
0
0

I3
1
0
x
x

I4
x
x
0 1
1 0

Function
Stopwatch runs forward.
Stopwatch runs backward
Reset to start value P1
Start after reset

Examples:
If I1 (release) = TRUE, I2 (release, inverted) = FALSE, I3 (counting direction) = TRUE, I4 (reset) = FALSE, the internal counter (long) is increased by one every millisecond. In order to
calculate the output value, this value is divided by P2.

P2 = 1000: O1 is increased by 0.01% every second.
1) P2 = 1, time: one second (1000 ms).
t
1000
Output value: O1 =1 s = ms = 10 %
=
ms
P2 P2
1 × 100
%
After one second, the output reaches the value 10%.
2) P2 = 1000, time: one hour (3600 s).
t
3600 s
3 600 000 ms
Output value: O1 = =
=
= 36 %
ms
P2
P2
1000 × 100
%
O1 is increased by 0.01% every second.
After one hour, the output reaches the value 36%.

5.10

Positioning functions

The positioning can be controlled directly from the PLC functions. Via the control operation
mode of the positioning, the control can be handed assigned to the PlC functions. The positioning can be controlled in the settings for parameter Configuration 30 = " x40 " . In these configurations, parameter Operation mode 1221 must be set to " 1000 - Control via function table " in
order to control the positioning via the PLC functions.
Output O2|O1 (High word|Low word) outputs the actual position. In operation mode 507 " Check state " , the output indicates if a motion block is running.
Note:
The " Positioning " user manual describes the positioning functions in configurations x40.
08/10

08/10

VPLC / PLC
VPLC / PLC

121

121

5.10.1 [501] Start motion block as single motion
I1
I2

Type
Function
Pos
Target position offset
%
-

O1
O2

I3

b

Release

P1

I4

b

Wait until positioning is
finished

P2

Type
Function
Pos
Actual posi- Low word
tion
Pos
High word
Number of motion block
i
(index motion block table)

-

-

Description:
The motion block selected with P1 is started. Repetitions and next motion blocks are not executed. If a motion block is still running, it will be stopped.

The position value set at input I1 (target position offset) is added to the target position set in
the motion block.

Target Position =

Instruction
P1
I1

=
+

Configuration 30 = x40
Motion Block
Index
Target Position/Distance 1202

Input I1 can be combined with position values (long).
The function is only executed if input I3 (release) is set.
If input I4 (wait) is set, further instructions will only be processed when the target position has
been reached. The process cannot be stopped by other instructions or resetting I3.

I3
1

1
0
0

122

I4
0

1
0
1

122

Function
Start motion block P1. Stopping by other instruction is possible. The target position can be changed by other instructions even if the target position has not been
reached yet. The motion block is restarted.
Start motion block P1 and wait until positioning is finished.
The target position is not changed.
The target position can be changed by other instructions if no positioning is active.

VPLC // PLC
VPLC PLC

08/10

08/10

5.10.2 [502] Start motion block in automatic mode
I1
I2

Type
Function
Pos
Target position offset
%
-

O1
O2

I3

b

Release

P1

I4

b

Wait until positioning is
finished

P2

Type
Function
Pos
Actual posi- Low word
tion
Pos
High word
Number of motion block
i
(index motion block table)

-

-

Description:
The motion block selected with P1 is started. Repetitions and next motion blocks are executed.
If a motion block is still running, it will be stopped.

The position value set at input I1 (target position offset) is added to the target position set in
the motion block.

Target Position =

Instruction
P1
I1

=
+

Configuration 30 = x40
Motion Block
Index
Target Position/Distance 1202

Input I1 can be combined with position values (long).
The function is only executed if input I3 (release) is set.
If input I4 (wait) is set, further instructions will only be processed when the target position has
been reached. The process cannot be stopped by other instructions or resetting I3.

I3
1

I4
0

1

1

0
0

0
1

Function
Start motion block P1 with repetitions and next motion blocks. Stopping by other instruction is possible. The target position can be changed by other instructions even if the target position has not been reached yet. The motion block is
restarted.
Start motion block P1 with repetitions and next motion blocks and wait until
positioning is finished.
The target position is not changed.
The target position can be changed by other instructions if no positioning is
active.

5.10.3 [503] Stop motion block
I1
I2
I3
I4

08/10

Type
b
b

08/10

Function
Release
Wait until drive has
stopped

O1
O2
P1
P2

Type
Pos
Pos
-

VPLC / PLC

VPLC / PLC

Function
Actual posi- Low word
tion
High word
-

123

123

Description:
The current motion block is stopped if the release at input I3 is set. The drive is stopped. If the
release at I3 is reset the stopped motion block is continued and repetitions and next motion
blocks are executed.

If input I4 (wait) is set, further instructions will only be processed when the drive has come to a
standstill. The process cannot be stopped by other instructions or resetting I3.
The instruction is only executed if input I3 (release) is set.

I3
1
1
1 0

I4
0
1
0

Function
Stop motion block and stop drive
Wait until drive has stopped
Continue motion block

5.10.4 [504] Continue motion block
I1
I2
I3
I4

Type
Function
b
Release
Wait until motion block
b
is finished

O1
O2
P1

Type
Function
Pos
Actual posi- Low word
tion
Pos
High word
-

P2

-

-

Description:
Stopped motion blocks will be continued.
The function is only executed if input I3 (release) is set.

If input I4 (wait) is set, further instructions will only be processed when the motion block (including repetitions, if applicable) or automatic sequence of motion blocks is finished. The
process cannot be stopped by other instructions or resetting I3.

I3
1
1

I4
0
1

Function
Continue stopped motion block
Wait until the end of the motion block or the automatic sequence

5.10.5 [505] Resume motion block
I1
I2
I3
I4

Type
Function
b
Release
Wait until motion block
b
is finished

O1
O2
P1

Type
Function
Pos
Actual posi- Low word
tion
Pos
High word
-

P2

-

-

Description:
Motion blocks stopped by error cut-off or mains off will be continued.
The function is only executed if input I3 (release) is set.
124

124

VPLC PLC
VPLC // PLC

08/10

08/10

If input I4 (wait) is set, further instructions will only be processed when the motion block (including repetitions, if applicable) or automatic sequence of motion blocks is finished. The
process cannot be stopped by other instructions or resetting I3.

I3
1
1

I4
0
1

Function
Resume Motion Block
Wait until the end of the motion block or the automatic sequence

5.10.6 [506] Start homing
I1
I2
I3
I4

Type
Function
b
Release
Wait until reference
b
position has been
reached

O1
O2
P1

Type
Function
Pos
Actual posi- Low word
tion
Pos
High word
i
Homing Mode

P2

-

-

Description:
The homing operation defined in P1 is started. Running motion blocks will be stopped.

Instruction
P1

=

Configuration 30 = x40
Motion Block
Homing Mode type 1130

The function is only executed if input I3 (release) is set.
If input I4 (wait) is set, further instructions will only be processed when the reference position
has been reached. The process cannot be stopped by other instructions or resetting I3.

I3
1
1

I4
0
1

Function
Start homing P1.
Wait until reference position has
been reached

5.10.7 [507] Check state
I1
I2

Type
-

I3
I4

b

08/10
08/10

Function

Wait until motion
block is finished

Type
Function
O1 b
TRUE if motion block running
O2 b
FALSE if motion block running
P1 P2 -

VPLC / PLC
VPLC / PLC

125
125

Description:
The function sets output O1 to TRUE if a motion block is running.

If input I4 (wait) is set, further instructions will only be processed when the motion block (including repetitions, if applicable) or automatic sequence of motion blocks is finished. The
process cannot be stopped by other instructions or resetting I3.

Motion block
running
yes
no
yes

5.11

I4

O1=

0
x
1

1
0
Wait

Bit functions for analog input values

Each individual bit of input 1 is combined with the corresponding bits of input 2 and parameter 1 (if available to the selected function). The result is saved in the corresponding bit of the
output value.
For example, bit 3 of the output value depends on
− bit 3 of input value 1 and
− bit 3 of input value 2 and
− Bit 3 of parameter 1.
Parameter 2 indicates of input value I1 is to be combined with input value I2 or parameter P1:
− P2 = 1: Combination of input value I1 with input value I2
− P2 = 2: Combination of input value I1 with parameter P1
− P2 = 3: Combination of input value I1 with input value I2 and parameter P1
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
At output O2, the bitwise inverted value O1 is output.
Example: O1 = 0xFF00
O2 = 0x00FF.

5.11.1 [200] Bit NOT operation
I1
I2
I3
I4

Type
%
b
b

Function
input value 1
Master Set
Master Reset

O1
O2
P1
P2

Type
%
%
-

Function
I1 (I1 bitwise inverted)
inverted output (=I1)
-

Description:
At output 1 O1, the bitwise inverted value of input I1 is output (O1 = I1 ).

126

VPLC / PLC

126

VPLC / PLC

08/10

08/10

Example: I1 = 0xF00F

O1 = 0x0FF0, O2 = 0xF00F

Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Note:
Since output I2 output the bitwise inverted value of output O1, O2 = I1.

5.11.2 [201] Bit AND/NAND operation
Type

Function

Type

I1

%

input value 1

O1

%

I2
I3
I4

%
b
b

input value 2
Master Set
Master Reset

O2
P1
P2

%
%
i

Function
O1=AND (I1 I2) if P2=1,
O1=AND (I1 P1) if P2=2,
O1=AND (I1 I2 P1) if P2=3
inverted output = (NAND)
Mask
Operation mode (1, 2 or 3)

Description:
The input value at I1 is AND combined. Via P2, you can select:

− P2 = 1: I1 and I2 are AND combined.
− P2 = 2: I1 and P1 are AND combined.
− P2 = 3: I1, I2 and P1 are AND combined.
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).

Examples:
P2
1) AND (I1 I2)
2) AND (I1 P1)
3) AND (I1 I2 P1)

08/10

I1
0xF00F
0xF00F
0xF00F

I2
0x0F0F
0x0F0F

P1
0x00FF
0x00FF

O1
0x000F
0x000F
0x000F

O2
0xFFF0
0xFFF0
0xFFF0

VPLC / PLC

08/10

VPLC / PLC

127

127

In example 1):

5.11.3 [202] Bit OR/NOR operation
Type

Function

Type

I1

%

input value 1

O1

%

I2
I3
I4

%
b
b

input value 2
Master Set
Master Reset

O2
P1
P2

%
%
i

Function
O1=OR (I1 I2) if P2=1,
O1=OR (I1 P1) if P2=2,
O1=OR (I1 I2 P1) if P2=3
inverted output = (NOR)
Mask
Operation mode (1, 2 or 3)

Description:
The input value at I1 is OR combined. Via P2, you can select:

− P2 = 1: I1, I2 are OR combined.
− P2 = 2: I1, P1 are OR combined.
− P2 = 3: I1, I2, P1 are OR combined.
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).

Examples:
P2
1) OR (I1 I2)
2) OR (I1 P1)
3) OR (I1 I2 P1)

I1
0xF00F
0xF00F
0xF00F

I2
0x0F0F
0x0F0F

P1
0x00FF
0x00FF

O1
0xFF0F
0xF0FF
0xFFFF

O2
0x00F0
0x0F00
0x0000

Re example 1):

128

128

VPLC / PLC

VPLC / PLC

08/10

08/10

5.11.4 [203] Bit XOR/XNOR operation
Type

Function

Type

I1

%

input value 1

O1 %

I2
I3
I4

%
b
b

input value 2
Master Set
Master Reset

O2 %
P1 %
P2 i

Function
O1=XOR (I1 I2) if P2=1,
O1=XOR (I1 P1) if P2=2,
O1=XOR {XOR (I1 I2) P1} if
P2=3
inverted output = (XNOR)
Mask
Operation mode (1, 2 or 3)

Description:
The input value at I1 is Exclusive-OR combined. Via P2, you can select:

− P2 = 1: I1, I2 are Exclusive-OR combined.
− P2 = 2: I1, P1 are Exclusive-OR combined.
− P2 = 3: I1, I2, P1 are Exclusive-OR combined.
Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).

Examples:

P2
1) XOR (I1 I2)
2) XOR (I1 P1)
3) XOR {XOR (I1 I2) P1}

I1
0xF00F
0xF00F
0xF00F

I2
0x0F0F
0x0F0F

P1
0x00FF
0x00FF

O1
0xFF00
0xF0F0
0xFFFF

O2
0x00FF
0x0F0F
0x0000

Re example 1):

5.11.5 [210] Bit shift right
I1
I2
I3
I4

Type
%
b
b

Function
input value 1
Master Set
Master Reset

O1
O2
P1
P2

Type
%
%
i

Function
I1 bitwise shifted by P2
inverted output
Number of shifts

Description:
The input value at I1 is shifted to the right bitwise by the number of shifts (P2). Left side is
filled with zeroes.
08/10

08/10

VPLC / PLC
VPLC / PLC

129

129

Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Example
1)
2)
3)

P2
1: One shift
4: Four shifts
8: Eight shifts

I1
0xF00F
0x00FF
0xFF00

O1
0x7807
0x000F
0x00FF

O2
0x87F8
0xFFF0
0xFF00

In example 1):

5.11.6 [211] Bit arithmetical shift right
Type

Function

Type

I1

%

input value 1

O1

%

I2
I3
I4

b
b

Master Set
Master Reset

O2
P1
P2

%
i

Function
I1 bitwise shifted by P2, sign
bit is maintained
inverted output
Number of shifts

Description:
The input value at I1 is shifted to the right bitwise by the number of shifts (P2). The most significant bit (sign bit) is maintained.

Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Example
1)
2)
3)

P2
1: One shift
4: Four shifts
8: Eight shifts

I1
0xF00F
0x00FF
0xFF00

O1
0xF807
0x000F
0xFFFF

O2
0x07F8
0xFFF0
0x0000

In example 1):

5.11.7 [212] Bit shift left
I1
I2
I3
I4

Type
%
b
b

Function
input value 1
Master Set
Master Reset

O1
O2
P1
P2

Type
%
%
i

Function
I1 bitwise shifted by P2
inverted output
Number of shifts

Description:
The input value at I1 is shifted to the left bitwise by the number of shifts (P2). Right side is
filled with zeroes.

Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
130

VPLC / PLC

130

VPLC / PLC

08/10

08/10

Example
1)
2)
3)

P2
1: One shift
4: Four shifts
8: Eight shifts

I1
0xF00F
0x00FF
0xFF00

O1
0xE01E
0x0FF0
0x0000

O2
0x1FI1
0xF00F
0xFFFF

In example 1):

5.11.8 [213] Bit roll right
Type

Function

Type

I1

%

input value 1

O1

%

I2
I3
I4

b
b

Master Set
Master Reset

O2
P1
P2

%
i

Function
I1 bitwise shifted by P2, with
bits re-inserted
inverted output
Number of shifts

Description:
The input value at I1 is shifted to the right bitwise by the number of shifts (P2). On the left
side, the bits leaving on the right side will be inserted.

Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Note:
Rolling by 8 bits exchanges the most significant bit and least significant byte.
Rolling by 15 bits to the right corresponds to rolling by one bit to the left.
After rolling by 16 bits, the output value at O1 is the same as the input value at I1.

Example
1)
2)
3)

P2
1: One shift
4: Four shifts
8: Eight shifts

I1
0xF00F
0x00FF
0xFF00

O1
0xF807
0xF00F
0x00FF

O2
0x07F8
0x0FF0
0xFF00

In example 1):

5.11.9 [220] Output one bit
I1
I2
I3
I4

Type
%
b
b

Function
input value 1
Master Set
Master Reset

O1
O2
P1
P2

Type
b
b
i
-

Function
One bit of I1, selected via P1
inverted output
Number of bit (0 … 15)
-

Description:
A selected bit of input value 1 is output at output 1. The bit is selected via P1.
P1=0: The least significant bit (LSB) is selected,
P1=15: The most significant bit (MSB) is selected.
08/10

VPLC / PLC

08/10

VPLC / PLC

131

131

Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Example
1)
2)
3)

P1
1: Bit 1
4: Bit 4
4: Bit 4

I1
0xF00F
0x00FF
0xFF00

O1
1
1
0

O2
0
0
1

In example 2):

5.11.10 [221] Unite four bits to form a word
I1

Type
Function
b
input value 1

I2
I3
I4

b
b
b

input value 2
input value 3
input value 4

Type
Function
O1 %
I1, I1, I3, I4 united to form a
word
O2 %
inverted output
P1 i
Number of 1st bit (0 … 15)
P2 -

Description:
The state of input 1 is copied to the bit of output O1 specified via P1, the state of input 2 to the
next bit, etc. All other bits of the output value are zero. If P1 & gt; 12, bits will be lost.

Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
Example
1)

2)

3)

P1

0

5

14

(P1 & gt; 12)

Copy
I1
I2
I3
I4
I1
I2
I3
I4
I1
I2
I3
I4

to bit 0 of O1,
to bit 1 of O1,
to bit 2 of O1,
to bit 3 of O1
to bit 5 of O1,
to bit 6 of O1,
to bit 7 of O1,
to bit 8 of O1
to bit 14 of O1,
to bit 15 of O1,
not copied,
not copied

I4

I3

I2

I1

O1

O2

1

0

1

0

0x000A

0xFFF5

1

0

1

0

0x0140

0xFEBF

1

0

1

0

0x4000

0xBFFF

Re example 2):

132

VPLC / PLC

132

VPLC / PLC

08/10

08/10

5.11.11 [222] Add two bits to a word
I1
I2
I3
I4

Type
%
b
b
b

Function
Input word 1
Input Bit 1
Input Bit 2
Master Reset

O1
O2
P1
P2

Type
%
%
i
i

Function
O1=I1, Bit(P1)=I2, Bit(P2)=I3
inverted output
Number of 1st bit (0 … 15)
Number of 2nd bit (0 … 15)

Description:
The states at inputs I2 and I3 are inserted in certain bits of the input value 1. The bits are defined by P1 and P2.

− The input value at I1 is copied to output O1.
− The state of input I2 is copied to the bit of output O1 specified via P1.
− The state of input I3 is copied to the bit of output O1 specified via P2.
If a bit number outside of range 0 … 15 is specified, the bit will not be written in the word.
Example
1)

P1
12

P2
11

2)

4

5

3)

0

1

Copy
I1
I2
I3
I1
I2
I3
I1
I2
I3

to
to
to
to
to
to
to
to
to

O1,
bit 12 of O1,
Bit 11 of O1
O1,
bit 4 of O1,
Bit 5 of O1
O1,
bit 0 of O1,
Bit 1 of O1

I1
0xF00F

I2
0

I3
1

O1
0xE80F

O2
0x17F0

0xF00F

1

1

0xF03F

0x0FC0

0xF00F

0

0

0xF00C

0x0FF3

Master Set sets all bits of the output value (Output = 0xFFFF).
Master Reset deletes all bits of the output value (Output = 0x0000).
In example 1):

08/10

VPLC / PLC

08/10

VPLC / PLC

133

133

6

Examples of combinations in the function table

The examples describe combinations of signals of the device series ACU. The combination procedure is the same in the different device series. The names of the signal sources may be different.

6.1
6.1.1

Write index and read index
Write index and read index for FT-instructions

Via the write and read indices, the index of the instruction the parameters of which are to be
read or written is specified. VTable uses the parameters automatically for writing and reading.
The write and read parameters are required for parameterization via the keypad of a control
unit or via a bus system (e.g. PROFIBUS).
Write index and read index for parameterization and reading of FT-instructions via
software VPlus

The FT-instructions can be parameterized in the user interface VPlus or in the function table
VTable. In the user interface VPlus, an index of the function table can be created via parameter
FT-Write Index (FT-Table Item) 1341. The chosen index corresponds to a column in the function table. The settings of parameters 1343 to 1351 are applied to the selected index of the
function table. Via parameter FT-Read Index (FT-Table Item) 1342, the values of a selected
index can be read from the function table.
Parameters
No.
Description
1341 FT write index (FT table item)
1342 FT read index (FT table item)

Min.
0
0

Settings for fixed parameterization
(non-volatile):
0: all instructions in EEPROM
1 … 32: individual instructions in EEPROM

Setting
Max.
65
65

Fact. sett.
1
1

Settings for non-fixed parameterization
(volatile):
33: all instructions in RAM
34 … 65: individual instructions in RAM

Note:
The settings " 0 " or " 33 " for FT Write Index (FT table Item) 1341 change all indices of a parameter in the EEPROM or RAM.

In the case of non-volatile storage (0..32), the changed values are still available when power
supply is switched on again.
In the case of volatile storage (33…65), the data is only stored in RAM. If the unit is switched
off, this data is lost and the data required are loaded from EEPROM.
Caution!
Writing of the EEPROM is restricted to approx. 1 million times. If this number is
exceeded, the device may be damaged.

Definition:
Instruction RAM = instruction EEPROM + 33

134

134

VPLC / PLC

VPLC / PLC

08/10

08/10

Write index and read index for FT-instructions in function table for parameters:
1343, 1344, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1352
VPlus
Parameter

FT-Write index (FT-table item) 1341
FT-Read index (FT-table item) 1342
FT-instruction 1343
FT-input 1 1344
FT-input 2 1345
FT-input 3 1346
FT-input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-target output 1 1350
FT-target output 2 1351
FT-actual values output buffer 1357
FT-actual values input buffer 1358

D-Satz 0
2
2
AND
...
...
...
...
VTable
...
Funktionentabelle
...
FT-instruction 1343
FT-input 1 1344 ...
FT-input 2 1345 ...
FT-input 3 1346 ...
FT-input 4 1347 ...

Index 1
2 - OR
...
...
...
...
...
...
...
...

FT-Parameter 1 1348
FT-Parameter 2 1349
FT-target output 1 1350
FT-target output 2 1351

6.1.2

Index 2
1 - AND
...
...
...
...
...
...
...
...

Write index and read index for the digital input buffer

Via the write and read indices, the index of the " Function table: input buffer " to be read or written is specified.
Write index and read index for parameterization and reading of " Function table:
input buffer via software VPlus

The " Function table: input buffer " can be parameterized in the user interface VPlus or in the
function table VTable. In the user interface VPlus, an index of the input buffer can be created
via parameter FT-Write Index (FT Input Buffer) 1360. The chosen index corresponds to a column in the " Function table: Input buffer " and thus an index of parameter FT-Input Buffer
1362. The setting (selection of signal source or digital input) of parameter FT-Input Buffer
1362 is applied to the set index of " Function table: input buffer " . Via parameter FT-Read Index (FT-Input Buffer) 1361, the values of a selected index can be read from the " Function
table: input buffer " .
Parameters
No.
Description
1360 FT-Write Index (FT-input buffer)
1361 FT-Read Index (FT-input buffer)
Settings for fixed parameterization
(non-volatile):
0: all input buffers in EEPROM
1 … 16: individual input buffer in EEPROM

Min.
0
0

Setting
Max.
33
33

Fact. sett.
1
1

Settings for non-fixed parameterization
(volatile):
17: all input buffers in RAM
18 … 33: individual input buffer in RAM

Note:
The settings " 0 " or " 17 " for FT Write Index (FT input buffer) 1360 change all values of an
input buffer in the EEPROM or RAM.

In the case of non-volatile storage (0..16), the changed values are still available when power
supply is switched on again.
In the case of volatile storage (17…33), the data is only stored in RAM. If the unit is switched
off, this data is lost and the data required are loaded from EEPROM.
Caution!
Writing of the EEPROM is restricted to approx. 1 million times. If this number is
exceeded, the device may be damaged.
08/10

08/10

VPLC / PLC
VPLC / PLC

135

135

Definition:
Input buffer RAM = input buffer EEPROM +17
Write index and read index for the digital input buffer, example
VPlus
Parameter

Data set 0

FT-write index (FT-input buffer) 1360
FT-read index (FT-input buffer) 1361
FT-input buffer 1362

3
3
75 - S6IND

...
VTable
...
Function Table: input buffer
...
FT-input buffer 1362

6.1.3

Index 1
Index 2
70 - Inverter Release 71 - S2IND

Index 3
75 - S6IND

Write index and read index for the analog input buffer and FT
fixed values

Via the write and read indices, the index of the " Input buffer analog " table the parameters of
which are to be read or written is specified. VTable uses the parameters automatically for writing and reading. The write and read parameters are required for parameterization via the keypad of a control unit or via a bus system (e.g. PROFIBUS).
Write index and read index for parameterization and reading of " Input buffer analog " table via software VPlus

The " Input buffer analog " table can be parameterized in the user interface VPlus or in the function table VTable. In the user interface VPlus, an index of the " Input buffer analog " table can be
created via parameter FT-Write Index (FT Input analog) 1377. The chosen index corresponds
to a column in the " Input buffer analog " table. The settings of parameters 1379 to 1397 are
applied to the selected index of the " Input buffer analog " table. Via parameter FT-Read Index
(FT-Input analog) 1378, the values of a selected index can be read from the " Input buffer
analog " table.
Parameters
No.
Description
1377 FT-Write Index (FT-input analog)
1378 FT-Read Index (FT-input analog)
Settings for fixed parameterization
(non-volatile):
0: all input buffers in EEPROM
1 … 4: individual input buffer in EEPROM

Min.
0
0

Setting
Max.
9
9

Fact. sett.
1
1

Settings for non-fixed parameterization
(volatile):
5: all input buffers in RAM
6 … 9: individual input buffer in RAM

Note:
The settings " 0 " or " 5 " for FT Write Index (FT input analog) 1377 change all values of an input buffer in the EEPROM or RAM.

In the case of non-volatile storage (0..4), the changed values are still available when power
supply is switched on again.
In the case of volatile storage (5…9), the data is only stored in RAM. If the unit is switched off,
this data is lost and the data required are loaded from EEPROM.

136

136

VPLC / PLC

VPLC / PLC

08/10

08/10

Caution!
Writing of the EEPROM is restricted to approx. 1 million times. If this number is
exceeded, the device may be damaged.

Definition:
Input buffer RAM = input buffer EEPROM +5
Write index and read index for the " Input buffer analog " table
VPlus
Parameter

Data set 0

FT-write index (FT-input analog) 1377
FT-read index (FT-input analog) 1378
FT-input buffer frequency 1379
FT-input buffer current 1380
.
.
.

2
2
62 - Reference Frequency Channel
126 - Active Current
...
...
VTable
Input buffer analog

FT-input buffer frequency 1379
FT-input buffer current 1380
.
.
.

6.2

Index 1
9 - Zero
9 - Zero
...
...
...

Index 2
62 - Reference Frequency Channel
126 - Active Current
...
...
...

Run/Stop

By default (factory setting) the function table is stopped and must be started by parameter FTRunMode 1399. In stop mode, no instructions are processed and there is no writing of the
output buffer.
Note:
Instructions can only be edited in stop mode. If you try to make any changes while the function table is not in stop mode, an error will be displayed in VPlus. The attempted change will
not be applied.

Further operation modes are available for processing individual instructions and instruction
blocks. If an operation mode 11, 12, 21, 22, 31 or 32 is selected, the instruction block1 will be
processed according to the function described. Then, Run mode will be set to " 0-Stop " automatically. In order to process another instruction block, the operation mode must be set to the
corresponding value again.

FT-Runmode 1399
0 - Stop
1 - Run
2 - Continue
11
12
21
22

Single Step
Single Part
-

31 Single Cycle
32 -

Function
The function table is stopped and no longer processed.
The function table is started at index 1 and processed normally.
The function table is continued at the index where the processing was
stopped last time, and the table is then processed normally.

One instruction is processed.
All instructions are processed until next writing of output buffer.
All instructions are processed until return jump. The return jump is
reached when the maximum number of logic functions is processed or
the next FT-Instruction 1343 = 0.

Note:
Two modes are available to an instruction block (1x, 2x, 3x).

1

08/10

In this connection, an instruction block may also include a single instruction.

08/10

VPLC / PLC

VPLC / PLC

137

137

For control of a PLC it is sufficient to select a mode and set it accordingly. When the instruction
block was processed, the frequency inverter resets the operation mode to " 0-Stop " automatically. The same mode can be selected again.
Note:
If a diagnosis via VPlus is to be performed, both modes are required. Execution of the instruction block must be started by the modes alternately, because VPlus only updates parameters
(on ACU) which have been changed.
Note:
If " Single Step " , " Single Part " or " Single Cycle " are selected, the selected mode is maintained.
The status of the function table is shown exactly in FT-Actual Values Function 1356 .

6.2.1

Example Run/Stop

The following diagram shows a function block circuit which includes two jump functions (J1 and
J2). Depending on the settings of parameter FT-RunMode 1399 , the procedure is as follows:

FT-Runmode 1399 = " 1 – Run "
The sequence is processed continuously. Jump functions are processed according to input statuses.
FT-Runmode 1399 = " 11 – Single Step " , " 12 – Single Step "
The sequence is interrupted after each instruction. Each time, the sequence is stopped, FTRunMode 1399 must be restarted with " 11 – Single Step " or " 12 – Single Step " . Jump functions
are processed according to input statuses. Thus, the sequence is " I=1, Stop " ; " I=2, Stop " ;…
FT-Runmode 1399 = " 21 – Single Part " , " 22 – Single Part "
The sequence is processed until a jump instruction is reached which writes the output buffer. In
this example, the buffer is written by both jump instructions. Thus, the sequence is " Block A,
Stop " ; " Block B, Stop " ;…
FT-Runmode 1399 = " 31 – Single Cycle " , " 32 – Single Cycle "
The sequence is processed until the end is reached and the return jump to the start is effected
(to block C). It may happen that Block B is processed repeatedly depending on the digital signals if the jump at J2 jumps to the beginning of Block B. A cycle may be, for example: " Block A,
Block B, Block B, Block B, Block C, return jump, stop " .

J1
JMP
...

...

...

...

...

...

...

...

JMP

...

24xx

J2

I=1

I=2

I=3

I=4

I=5

I=6

I=7

I=8

I=9

20xx

A
6.3

B

C

Example 1: Combining two digital outputs

Digital signals S2IND and S4IND are to control digital output S1OUT. If both signals are
present, the output is TRUE. If not, the output is FALSE.

138

138

VPLC / PLC

VPLC / PLC

08/10

08/10

Settings in index 1 of function table:
FT Instruction 1343 = " 1 - AND " ,
FT input 1 1344 = " 2002 - FT input buffer 2 " ,
FT input 2 1345 = " 2004 - FT input buffer 4 " ,
FT input 3 1346 = " 6 - TRUE " ,
FT input 4 1347 = " 6 - TRUE " ,
FT target output 1 1350 = " 2401 - FT output buffer 1 " .

Settings in parameter group digital outputs:
Op. Mode Digital Output 1 530 = " 80 - FT-Output Buffer 1 " .

6.4

Example 2: Combining several FT-instructions

Note:
The FT-instructions will be processed column by column according to the index in the table.
When designing application-specific logic links, in particular in the case of time-critical applications:

− Make sure to follow the correct order of the FT-instructions.
− Note the processing time (1 ms per FT-instruction).

Example of parameterization of instructions in a function table:
Step 1: Task
The drive may only start if both start signals (Start 1 and Start 2) are present and no error is
present.
As soon as one of the two start signals (either Start 1 or Start 2) is no longer set, the drive is to
be stopped.
If one of three error messages (error 1, error 2 or error 3) is present, the drive is to be
stopped.
The acknow. input (Ack) is used for acknowledging the error messages.
Any error condition that may be present is to be signaled on digital output 1.
Step 2: Logic plan
start 1
start 2

Fault 1
Fault 2
Fault 3

&

S
1

Start Clockwise

Digital output 1

R

ACK
08/10

08/10

VPLC / PLC

VPLC / PLC

139

139

Step 3: Combinations with and making entries in function table VTable



Combine FT-instruction outputs to FT-instruction inputs in function table VTable.



Make FT-instruction outputs generally (globally) available via signal sources " 2401 - FTOutput buffer 1 " to " 2416 FT-Output buffer 16 " and combine them with other functions (no
FT-instructions)
Output signals of FT-instructions via a digital output.



Index 3

Index 3

FT-input 1 1344
FT-input 2 1345

75 - S6IND
74 - S5IND

&

2201

2402 FT-Output Buffer 2

2202
Index 1

Index 1

FT-input 3 1346
FT-input 2 1345
FT-input 1 1344

71 - S2IND
72 - S3IND
73 - S4IND

Index 2
FT-input 2 1345

Start Clockwise 068

Index 2
2101

S

76 - MFI1D

2401 FT-Output Buffer 1

1
R

Op. Mode Digital Output 1 530

VTable
Function table input buffer
FT-input buffer 1362

Index 2
71 S2IND

Index 3
72 S3IND

Index 4
73 S4IND

Index 5
74 S5IND

Index 6
75 S6IND

Index 9
76 MFI1D

Function table

Index 1

Index 2

Index 3

FT-instruction 1343

2 - OR

10 - RSFlip-Flop

1 - AND

FT-input 1 1344

2004

2101

2006

FT-input 2 1345

2003

2009

2005

FT-input 3 1346

2002

2201

FT-input 4 1347

2202

FT-output 1 1350

2402

2401

FT-output 2 1351

VPlus

Start Clockwise 068 = 2402 - FT-Output Buffer 2
Op. Mode Digital Output 1 530 = 80 - FT-Output Buffer 1

140

VPLC / PLC

140

VPLC / PLC

08/10

08/10

Table of functions

FT instruction

Index 1
2 - OR

1343

FT input 1 1344

FT input 4 1347

2004 - FT input
buffer 4
2003 - FT input
buffer 3
2002 - FT input
buffer 2
7 – FALSE

FT-Target Output
1 1350
FT-Target Output
2 1351

0 - Output not
usable globally
0 - Output not
usable globally

FT input 2 1345
FT input 3 1346

1)
2)

Index 2
10 - RS Flip-Flop
Superior
2101 - Outp.1
instruction 1
2009 - FT input
buffer 9
7 – FALSE
7 – FALSE
2402 - FTOutput buffer 2
0 - Output not
usable globally

Index 3
1 - AND
2006 - FT input
buffer 6
2005 - FT input
buffer 5
2201 - Outp.1
instruction 1 1)
2202 - Outp.1
instruction 2 2)
2401 - FTOutput buffer 1
0 - Output not
usable globally

Index 4
0 - Off (last table
item)
7 – FALSE
7 – FALSE
7 – FALSE
7 – FALSE
0 - Output not
usable globally
0 - Output not
usable globally

Inverted output of function 1 (in this example of OR function)
Inverted output of function 2 (in this example of RX-Flip-Flop)

The outputs of the FT-instructions are available as sources and can be linked to the inputs of
other functions or output via digital outputs.
Example:

− Linking of AND function output with Start Clockwise Function, parameter Start clockwise
068 = " 2402 - FT output buffer 2 "
− Linking of RS-Flip-Flop output with digital output 1; Parameter Operation mode digital output 1 530 = " 80 – FT-Output buffer 1 "

08/10

VPLC / PLC

08/10

VPLC / PLC

141

141

6.5

Example 3: Parameterization of logic diagram
AND
Index 2
Inverter Release

&

XOR 1
Index 3

OR
Index 1
S2IND
S3IND

=1

S1OUT

1

S4IND
S5IND

VTable
Function Table: Input Buffer
FT-input buffer 1362

Index 2
Index 1
70 71 Inverter Release S2IND

Index 3
72 S3IND

Index 4
73 S4IND

Index 5
74 S5IND

Function Table

Index 1

Index 2

Index 3

FT-instruction 1343

2 - OR

1 - AND

3 - XOR 1

FT-input 1 1344

2002

2001

2102

FT-input 2 1345

2003

2101

2004

FT-input 3 1346

2005

FT-input 4 1347

FT-output 1 1350

2401

FT-output 1 1351

VPlus

Op. Mode Digital Output 1 530 = 80 - FT-Output Buffer 1

142

VPLC / PLC

142

VPLC / PLC

08/10

08/10

7

Actual values, output signals and messages

7.1

Actual values of digital functions

Actual values of input and output buffers

− The actual values of the global outputs 2401 to 2416 - " PLC output buffer " are indicated by
parameter PLC actual values output buffer 1357.
− The actual values of the global inputs 2001 to 2016 - " PLC input buffer " are indicated by
parameter PLC actual values input buffer 1358.
Example
e.g. display:

.

.

" .… !.!. !!!! .!.. "
.

.

!

.

!

.

!

!

!

!

1 2 3
" . " = FALSE
" ! " = TRUE

4

5

6

7

8

9

10 11 12

.

!

.

.

13 14 15 16

In the example, the following is TRUE:
2405 - PLC output buffer 5
2407 - PLC output buffer 7
2409 - PLC output buffer 9
2410 - PLC output buffer 10
2411 - PLC output buffer 11
2412 - PLC output buffer 12
2414 - PLC output buffer 14

08/10

08/10

VPLC / PLC
VPLC / PLC

143

143

Actual values of digital instructions

The actual values of an instruction are indicated by parameter PLC Actual values function
1356. From left to right, the following is displayed:
− state of PLC or function table (e.g. started, stopped)
− Index number of selected instruction vie
PLC read index (PLC input buffer) 1361
− Inputs of selected instruction
− Outputs of selected instruction
− index number of last processed instruction
− Inputs of last processed instruction
− Outputs of last processed instruction
The states of the function table are:
R: Running – function table or PLC started
S: Stopped – function table or PLC stopped
U: Updating – input and output buffer are being updated
E: Empty – function table or PLC is empty
I: Initialization
Example

“R01:.... !. 03:!..! .!”

R
State of
function table
01:

03:

Index of instruction selected via
FT-read index (FT-input buffer)
1361

last processed
instruction

. . . .

! . . !

1234
FT-inputs
! .

1234
FT-inputs
. !

12
FT-outputs

12
FT-outputs

" . " = FALSE
" ! " = TRUE
Note:
For information on other actual values, refer to the operating instructions of the frequency inverter.

144

VPLC / PLC

144

VPLC / PLC

08/10

08/10

7.2

Actual values of analog functions

The following parameters indicate the actual values
− of the four indices of the analog input buffer.
− of the four signal sources of the analog output buffer (in the case of parameterization using
the function table, the signal sources assigned to parameters PLC target output 1 1350 or
PLC target output 2 1351).
Parameters

PLC actual frequency value from
P.1379

No.

Parameters

PLC actual percentage from P.1381

1402

PLC actual voltage eff. from P.1382
PLC actual voltage sp. from P.1382
PLC actual value general from
P.1383
PLC actual output frequency 250x

1403
1404

PLC actual output current value
251x
PLC actual output percentage
252x
PLC actual output voltage eff.
253x
PLC actual output voltage sp. 253x
PLC actual output general 255x

1405

PLC actual value flag 256x

1400

PLC actual current value from P.1380 1401

No.
1407
1408
1409
1410
1411
1412

1406

Example: Actual value display, parameterization using the function table
Vtable
Function Table Input Buffer analog

Index 2

FT-input buffer frequency 1379

10 - Stator Frequency

Function Table

Index 1

FT-target output 1 1350

2504 - FT-Output Frequency 4

VPlus
Parameter

FT-Act. Val. Freq. from P.1379 1400

0.00 Hz 15.00 Hz 0.00 Hz 0.00 Hz

FT-Act. Val.Outp. Freq. 250x 1406

0.00 Hz 0.00 Hz

0.00 Hz 5.00 Hz

The parameter names may differ from the names shown, depending on the device series. The
parameter numbers are identical:

08/10

VPLC / PLC

08/10

VPLC / PLC

145

145

7.3

Signals for digital outputs of device

The following output signals of the can be assigned to the digital outputs of the frequency inverter.
Operation mode
0 - Off

80 - PLC output buffer 1

81 - PLC output buffer 2

82 - PLC output buffer 3

83 - PLC output buffer 4
100 to 183

7.4

Function
Digital output is switched off
Digital output signal of an instruction. Signal source " 2401 PLC output buffer 1 " is the output signal. This signal source
contains the output value of the instruction assigned to signal
source 2401.
Digital output signal of an instruction. Signal source " 2402 PLC output buffer 2 " is the output signal. This signal source
contains the output value of the instruction assigned to signal
source 2402.
Digital output signal of an instruction. Signal source " 2403 PLC output buffer 3 " is the output signal. This signal source
contains the output value of the instruction assigned to signal
source 2403.
Digital output signal of an instruction. Signal source " 2404 PLC output buffer 4 " is the output signal. This signal source
contains the output value of the instruction assigned to signal
source 2404.
Operation modes inverted (LOW active).

Signals for analog outputs of device

Via a multifunction output, the values of analog instructions can be output.
The following output signals of the function table can be assigned to the analog outputs.
Operation mode

61 -

Abs. value PLC
outp. percent 1

62 -

Abs. value PLC
outp. percent 2

161 -

PLC outp. percent 1

162 -

PLC outp. percent 2

146

Function
Analog output signal of an instruction as an absolute value. Signal
source " 2521 - PLC output percent 1 " is the output signal. This signal source contains the output value of the instruction assigned to
signal source 2521.
Analog output signal of an instruction as an absolute value. Signal
source " 2522 - PLC output percent 2 " is the output signal. This signal source contains the output value of the instruction assigned to
signal source 2522.
Analog output signal of an instruction. Signal source " 2521 - PLC
output percent 1 " is the output signal. This signal source contains
the output value of the instruction assigned to signal source 2521.
Analog output signal of an instruction. Signal source " 2522 - PLC
output percent 2 " is the output signal. This signal source contains
the output value of the instruction assigned to signal source 2522.

VPLC / PLC

146

VPLC / PLC

08/10

08/10

7.5

Signal sources for device function

Signal sources of the instructions can be assigned to the device functions for further processing.
The values are updated when the output buffer is written.
Signal source

Digital
2401 …
Analog
2501 …
2511 …
2521 …
2531 …
2551 …
2561 …

7.6

2416 - PLC output buffer 1 … 16
2504 2514 2524 2534 2554 2564 -

PLC
PLC
PLC
PLC
PLC
PLC

outp. frequency 1 … 4
outp. current 1 … 4
outp. percent 1 … 4
outp. voltage 1 … 4
outp. user 1 … 4
flag 1 … 4

Error messages of instruction " 95 - Triggering an error "

Error

F3031
F3032
F3033
F3034

08/10

User error 1. In instruction
was triggered via input I1.
User error 2. In instruction
was triggered via input I2.
User error 3. In instruction
was triggered via input I3.
User error 4. In instruction
was triggered via input I4.

Description
" 95 - Triggering of an error " shut-down behavior P1

" 95 - Triggering of an error " shut-down behavior P1
" 95 - Triggering of an error " shut-down behavior P1
" 95 - Triggering of an error " shut-down behavior P1

VPLC / PLC

08/10

VPLC / PLC

147

147

8

Operation as state machine

In the previous chapters, the PLC functions were introduced as a sequence of various instructions. In addition, a state machine sequence (also referred to as finite state machine) can be
integrated by the specified instruction types. A state machine is often used for representing
sequences schematically and for easier implementation of solutions.
In order to realize a state machine sequence, the jump functions are of particular importance.
The jump functions are required for changing the state. Inputs 1 and 2 of the jump function are
used for checking the condition for the transition. Inputs 3 and 4 set the input buffer and write
the output buffer. In the state machine, inputs 3 and 4 are generally set to TRUE at the jump
functions for this reason in order to update the changing signals for changing the state.

8.1

Example of a controller

Example:
A lifting gear with two positions ( " up " and " down " ) is to be controlled by the function table. The
target position is defined via a toggle switch. Each position is equipped with an initiator which
informs the frequency inverter that the target has been reached. As soon as the position is
reached, the frequency inverter is to stop and the respective LED " top " or " bottom " is to be
switched on. As soon as the drive starts again, the LED is turned off.

Both positions are provided with a door which can be opened manually by the user. As soon as
one of the two doors is open, the warning lamp " top " or " bottom " is pulsed on and off at an
interval of 100 ms. Note that the " door open " signals from the two doors are connected in
series.
Hoist

door

Initiator top

Upper platform

door
Initiator bottom

Lower platform

148

148

VPLC // PLC
VPLC PLC

08/10

08/10

Representation as state machine step 1
The requirements described above are shown in the following diagram as a state machine. It
must be considered that the state must be initialized first when the ACU is switched on (or in
the case of a reset). In this example, initialization is performed in order to switch to the correct
state. At first, the initiators are evaluated. If one of the initiators signals that the position has
been reached, the corresponding state is activated. If no initiator signal is present, the lower
position is approached.
Toggle switch
top

Travel
up

Initiator top
reached
Door open
Warning
signal

bottom

Initiator
bottom

Door open

Initializing
Initiator bottom
reached

Initiator
top

Upper lamp on
Drive stopped

No
Initiator

Position
top

top

Warning
signal

Lower lamp on
Drive stopped

Lower lamp off
Drive start
(up)

Position
bottom

Toggle switch
bottom

Travel
down
Upper lamp off
Drive start
(down)

Representation as state machine step 2
The events and actions are assigned to the digital signals of the ACU. At first, the signals are
linked to the input and output buffer. An EM-IO-03 extension module is available.
Function

ACU

toggle switch (top/bottom)
top position initiator (reached/not
reached)
bottom position initiator (reached/not
reached)
door open (open/closed)
bottom LED (on/off)
top LED (on/off)
bottom position door lamp (on/off)
top position door lamp (on/off)
start drive (up)

S5IND (1/0)
S4IND (1/0)

Input buf- Output
fer
buffer
2005
2004

S2IND (1/0)

2002

S3IND (1/0)
S1OUTD (1/0)
S3OUTD (1/0)
MFO1D (1/0)
EM-S1OUTD (1/0)

2003

start drive (down)

08/10

Start Clockwise
068

Start Anticlockwise 069

2401
2402
2403
2404
2410
2411

VPLC / PLC

08/10

VPLC / PLC

149

149

With the assignment of the digital ACU signals, the following diagram is obtained:
S5IND=1

Travel
up
S1OUTD=0
Start CW
068=1

S2IND=1

Position
bottom

Warning
signal

S1OUTD=1
Start CCW
069=0

MFO1D
S3IND=1

Initializing

S4IND=1

S2IND=1

S4IND=1
S3IND=1
Warning
signal

Position
top

EM-S1OUTD

S3OUTD=1
Start CW
068=0

No
initiator
Travel
down
S5IND=0

S3OUTD=0
Start CCW
069=1

Solution:
For assignment of the ACU signals and the input buffer of the function table, the following parameterization is required:
2002: FT-Input Buffer 1362, Index 2 : " 71 – S2IND "
2003: FT-Input Buffer 1362, Index 3 : " 72 – S3IND "
2004: FT-Input Buffer 1362, Index 4 : " 73 – S4IND "
2005: FT-Input Buffer 1362, Index 5 : " 74 – S5IND "
2006: FT-Input Buffer 1362, Index 6 : " 274 – S5IND inverted " (*)

(*): Parameterization deviating from factory settings.
For assignment of the ACU signals and the output buffer of
parameterization is required:
2401 - FT-Output buffer
Operation mode digital output 1
530
2402 - FT-Output buffer
Operation mode digital output 3
532
2404 - FT-Output buffer
Op. Mode EM-S1OUTD 533
1 - Digital output
MFO1: Operation mode 550
2403 - FT-Output buffer
MFO1: Digital Operation 554
2410 - FT-Output buffer
Start Clockwise 068
2411 - FT-Output buffer
Start Anticlockwise 069

the function table, the following
1
2
4
3
10
11

" Down " , the inverted signal of signal
To enable easy checking of the transition " Top Position "
S5IND in the input buffer is assigned. For easier parameterization, the names of the states used
so far will be replaced by numerical values.

150

VPLC / PLC

150

VPLC / PLC

08/10

08/10

The following diagram is obtained for the signals of the function table:
3

2005=1

4
2401=0
2410=1

3a

2401=1
2411=0

2002=1

2403
2003=1

1

2004=1

2002=1

2004=1
2003=1
5a

5

2404

2402 = 1
2410 = 0

No
Initiator
2
2006=1
(”2005=0”)

2402=0
2411=1

In the first step, the states and transitions are translated into instructions.
Setting state outputs:
The easiest way to set a digital signal (independent of one or several input signals) is using a
Boolean operation. In this application, an OR instruction is used and an input is set to TRUE. In
this way, FT target output 1 1350 is set to TRUE (=1) and FT target output 2 1351 is set to
FALSE (=0).
2
2402=0
2411=1

FT-Instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT target output 1 1350
FT target output 2 1351

2 – OR
6 – TRUE
7 – FALSE
7 – FALSE
7 – FALSE
0
0
2411 FT-Output buffer 11
2402 FT-Output buffer 2

For states 3 to 5, instructions can be created in the same way.
Clock generator (state 3a)
3a
2403

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1
1350

FT-Target Output 2
1351

80 – Clock generator
2003 - Input buffer 3
7 – FALSE
7 – FALSE
7 – FALSE
100
100
0
0

The clock generator of state 5a is created in the same way as 3a.

08/10

VPLC / PLC

08/10

VPLC / PLC

151

151

Transition from state 2 to state 3

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT target output 1 1350

2002=1
2
2402=0
2411=1

100 – Jump function
6 – TRUE
2002 - Input buffer 2
6 – TRUE
6 – TRUE
Index numberNext state
Index numberOwn state
0

FT target output 2 1351 0

Items " Next state " and " Own state " are used as placeholders until the correct numbers of the
indices can be entered. The transition from state 4 to state 5 can be performed in the same
way.
Transition from state 3 to state 4
The transition from state 3 to state 4 requires a different method, as two jump events have to
be checked.
2005=1

3
2401=1
2411=0

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1
1350

FT-Target Output 2
1351
3
2401=1
2411=0
2003=1

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1
1350

FT-Target Output 2
1351

100 – Jump function
2005 - Input buffer 5
6 – TRUE
6 – TRUE
6 – TRUE
next state
No jump, next step
0
0
100 – Jump function
6 – TRUE
2003 - Input buffer 3
6 – TRUE
6 – TRUE
Jump target, clock generator
Jump evaluation, own state
0
0

Items " Next state " and " Jump target, clock generator " , " Jump evaluation, own state " are used
as placeholders until the correct numbers of the indices can be entered. Item " No jump, next
step " is a placeholder for any value. The jump function is active only if " 2005 – Input buffer
2005 " = TRUE is fulfilled (DI5=0). Otherwise, the next step will be executed. The transition
from state 5 to state 2 can be performed again in the same way.

152

VPLC / PLC

152

VPLC / PLC

08/10

08/10

Initialization
Initialization is a jump function with three targets. For this reason, 2 jump functions are required. The initialization must start with index 1 because the function table always starts at
index 1 after a restart.
1
2004=1

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1
1350

FT-Target Output 2
1351
2002=1

1

No
initiator

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1
1350

FT-Target Output 2
1351

100 – Jump function
2004 - Input buffer 4
6 – TRUE
6 – TRUE
6 – TRUE
Jump target state 5
No jump, next step
0
0
100 – Jump function
6 – TRUE
2002 - Input buffer 2
6 – TRUE
6 – TRUE
Jump target state 3
Jump target state 2
0
0

Now, all blocks are defined. These blocks are entered in the table, the placeholders are replaced by indices. The states are marked in different colors. Non-relevant items are hidden.

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1 1350
FT-Target Output 2 1351
FT Commentary 1352

Index 1
100 – Jump function
2004 - Input buffer 4
6 – TRUE
6 – TRUE
6 – TRUE
11
2
0
0
Init 1

Index 2
100 – Jump function
6 – TRUE
2002 - Input buffer 2
6 – TRUE
6 – TRUE
5
3
0
0
Init 2

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1 1350
FT-Target Output 2 1351
FT Commentary 1352

Index 3
2 – OR
6 – TRUE
7 – FALSE
7 – FALSE
7 – FALSE
0
0
2411 FT-Output buffer 11
2402 FT-Output buffer 2
Z2: 2411=1

Index 4
100 – Jump function
6 – TRUE
2002 - Input buffer 2
6 – TRUE
6 – TRUE
5
4
0
0
Z2 -- & gt; Z3

08/10

VPLC / PLC

08/10

VPLC / PLC

153

153

Index 5
2 – OR
6 – TRUE
7 – FALSE
7 – FALSE
7 – FALSE
0
0
2401 FT-Output buffer 1
2411 FT-Output buffer 11
Z3: 2401=1

Index 6
80 – Clock generator
2003 - Input buffer 3
7 – FALSE
7 – FALSE
7 – FALSE
100
100
2403 FT-Output buffer 3
0
Z3a: clock

Index 7
100 – Jump function
2005 - Input buffer 5
6 – TRUE
6 – TRUE
6 – TRUE
9
8
0

Index 8
100 – Jump function
6 – TRUE
2003 - Input buffer 3
6 – TRUE
6 – TRUE
6
7
0

FT Commentary 1352

0
Z3 -- & gt; Z4

0
Z3 - & gt; Z4

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1 1350
FT-Target Output 2 1351
FT Commentary 1352

Index 9
2 – OR
6 – TRUE
7 – FALSE
7 – FALSE
7 – FALSE
0
0
2410 FT-Output buffer 10
2401 FT-Output buffer 1
Z4: 2410=1

Index 10
100 – Jump function
6 – TRUE
2002 - Input buffer 2
6 – TRUE
6 – TRUE
11
10
0
0
Z4 -- & gt; Z5

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1 1350
FT-Target Output 2 1351
FT Commentary 1352

Index 11
2 – OR
6 – TRUE
7 – FALSE
7 – FALSE
7 – FALSE
0
0
2401 FT-Output buffer 1
2411 FT-Output buffer 11
Z5: 2401=1

Index 12
80 – Clock generator
2003 - Input buffer 3
7 – FALSE
7 – FALSE
7 – FALSE
100
100
2404 FT-Output buffer 4
0
Z5a: clock

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1 1350
FT-Target Output 2 1351
FT Commentary 1352

Index 13
100 – Jump function
2006 - Input buffer 6
6 – TRUE
6 – TRUE
6 – TRUE
3
14
0
0
Z5 -- & gt; Z2

Index 14
100 – Jump function
6 – TRUE
2003 - Input buffer 3
6 – TRUE
6 – TRUE
12
13
0
0
Z5 - & gt; Z2

FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1 1350
FT-Target Output 2 1351
FT Commentary 1352
FT instruction 1343
FT input 1 1344
FT input 2 1345
FT input 3 1346
FT input 4 1347
FT-Parameter 1 1348
FT-Parameter 2 1349
FT-Target Output 1 1350
FT-Target Output 2
1351

154

154

VPLC PLC
VPLC // PLC

08/10

08/10

9

List of parameters

The parameter list is structured according to the menu branches of the control unit. The parameters are listed in ascending numerical order. A headline (shaded) can appear several times,
i.e. a subject area may be listed at different places in the table. For better clarity, the parameters have been marked with pictograms:
The parameter is available in the four data sets.
The parameter value is set by the SETUP routine.
This parameter cannot be written when the frequency inverter is in operation.
This parameter can only be written in setting FT-Runmode 1399 = " 0 - Stop " .
IFUN, UFUN, PFUN: Nominal values of frequency inverter, ü: Overload capacity of frequency inverter
Note:
In the KP500 control unit, parameter numbers & gt; 999 are represented in hexadecimal form
(999, A00 … B54 … C66 …).

9.1

Actual values

No. Description

Table of functions
Unit

1356 PLC actual values function

-

1357 PLC actual values output buffer

-

1358 PLC Actual values input buffer

-

1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412

08/10

08/10

PLC
PLC
PLC
PLC
PLC
PLC
PLC
PLC
PLC
PLC
PLC
PLC
PLC

actual frequency value from P.1379
actual current value from P.1380
actual percentage from P.1381
actual voltage eff. from P.1382
actual voltage sp. from P.1382
actual value general from P.1383
actual output frequency 250x
actual output current value 251x
actual output percentage 252x
actual output voltage eff. 253x
actual output voltage sp. 253x
actual output general 255x
actual value flag 256x

Hz
A
%
V
V
Hz
A
%
V
V
%

VPLC / PLC
VPLC / PLC

Display range
X01:…. .. 01:… ..to
X32:!!!! !! 32:!!!! !!
…. …. …. …. to
!!!! !!!! !!!! !!!!
…. …. …. …. to
!!!! !!!! !!!! !!!!
0.00 … 999.99
0.0 … Imax
-200 … 200
0.0 … UFUN
0.0 … UFUN
-32767 … 32767
-999.99 … 999.99
-Imax … Imax
-200 … 200
0.0 … UFUN
0.0 … UFUN
-32767 … 32767
-327.67 … 327.67

Chapter

7.1
7.1
7.1
7.2
7.2
7.2
7.2
7.2
7.2
7.2
7.2
7.2
7.2
7.2
7.2
7.2

155

155

9.2

Parameters of function table

The following parameters are needed only for parameterization using the function table.
PLC functions
No.

Description

PLC write index (PLC
table item)
PLC read index (PLC
1342
table item)
1341

1343 PLC instruction
1344
1345
1346
1347

PLC
PLC
PLC
PLC

input
input
input
input

1
2
3
4

1348 PLC parameter 1
1349 PLC parameter 2

Unit

Setting range

0 … 65

1

6.1.1

-

0 … 65

1

6.1.1

-

Selection

Depending on
instruction

Selection
Selection
Selection
Selection

table item)

7
7
7
7






FALSE
FALSE
FALSE
FALSE

6.3
6.3
6.3
6.3
6.3

10

4.2, 5.1

0 … 65535

10

4.2, 5.1

-

Selection

-

Selection

1352 PLC commentary
16 characters
PLC functions input buffer
PLC write index (PLC
1360
0 … 33
table item)
PLC read index (PLC
0 … 33
1361
input buffer)
1362 PLC input buffer
Selection
PLC functions input buffer analog
PLC write index (PLC
0…9
1377
input analog)
PLC read index (PLC
0…9
1378
input analog)
PLC input buffer fre1379
Selection
quency
PLC input buffer curSelection
1380
rent
PLC input buffer perSelection
1381
cent
PLC input buffer vol1382
Selection
tage
SPS input buffer gen0 … 2 147 483 647
1383
eral source
Numerator general
%
-327.68 … 327.67
1384
source input 1383
Denominator general
1385
%
0.01 … 327.67
source input 1383
Numerator general
%
-327.68 … 327.67
1386
source output 2551
Denominator general
%
0.01 … 327.67
1387
source output 2551
PLC fixed frequency
1388
Hz
-999.99 … 999.99
value

VPLC // PLC
VPLC PLC

0 - Off (last

0 … 65535

1351 SPS target output 2

156

Chapter

-

1350 SPS target output 1

156

Factory
setting

0 - Output
not usable
globally
0 - Output
not usable
globally
-

6.3
6.3
6.3

1

6.1.2

1

6.1.2

7 - Off

6.1.2

1

6.1.3

1

6.1.3

9 - zero

6.1.3

9 - zero

6.1.3

9 - zero

6.1.3

9 - zero

6.1.3

9

6.1.3

100.00

6.1.3

100.00

6.1.3

100.00

6.1.3

100.00

6.1.3

50.00

6.1.3

08/10

08/10

PLC functions
No.

1389
1390
1391
1392
1393
1394
1395
1396
1397

Description

PLC fixed current value1
PLC fixed percent
value
PLC fixed voltage value
PLC fixed position
value
PLC fixed speed value
tab.pos.
PLC fixed ramp value
tab.pos.
PLC fixed general value
Numerator fixed general value 1395
Denominator fixed
general value 1395

1399 PLC RunMode

1

08/10

Setting range

Factory
setting

A

-Imax … Imax

IRated

6.1.3

%

-327.67 … 327.67

100.00

6.1.3

V

-1000.0 … 1000.0

565.7

6.1.3

65 536

6.1.3

163 840

6.1.3

Unit

units
u/s

-2 147 483 647 …
2 147 483 647
-2 147 483 647 …
2 147 483 647

Chapter

u/s2

1 … 2 147 483 647

327 680

6.1.3

-

-32767 … 32767

0

6.1.3

%

-327.68 … 327.67

100

6.1.3

%

0.01 … 327.67

100

6.1.3

0 - Stop

6.2

PLC functions
Selection

Setting range and factory settings depend on device type

08/10

VPLC / PLC
VPLC / PLC

157

157

10 Annex
10.1

Mask: Diagram for digital instructions of function table

FT-Eingangspuffer 1362 Index 1

Index 2

Index 3

Index 4

Index 5

Index 6

Index 7

Index 8

Index 9

Index 10 Index 11

Index 12

Index 13

Index 14

Index 15 Index 16

Quelle:

2001

2002

2003

2004

2005

2006

2007

2008

2009

2010

2011

2012

2013

2014

2015

2016

Werkseinstellung:

70 71 FU-Freigabe S2IND

72 S3IND

73 S4IND

74 S5IND

75 S6IND

76 MFI1D

7Aus

7Aus

7Aus

160 161 162 163 Bereitmeldung Laufmeldung Stoermeldung Frequenzsollwert
erreicht

7Aus

7Aus

Geänderte Einstellung:

E1 1344
E2 1345

FT 1343

A1

E1 1344

A1 1350

E2 1345

A1

E1 1344

A1 1350

FT 1343

E2 1345

FT 1343

A1

E1 1344

A1 1350

E2 1345

FT 1343

A1
A1 1350

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

A1

E1 1344

A1

E1 1344

A1

E1 1344

A1 1350

E2 1345

A1 1350

E2 1345

A1 1350

E2 1345

E1 1344
E2 1345

FT 1343

FT 1343

FT 1343

FT 1343

A1
A1 1350

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

A1

E1 1344

A1

E1 1344

A1

E1 1344

A1 1350

E2 1345

A1 1350

E2 1345

A1 1350

E2 1345

E1 1344
E2 1345

FT 1343

FT 1343

FT 1343

FT 1343

A1
A1 1350

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

A1

E1 1344

A1

E1 1344

A1

E1 1344

A1 1350

E2 1345

A1 1350

E2 1345

A1 1350

E2 1345

E1 1344
E2 1345

FT 1343

FT 1343

FT 1343

FT 1343

A1
A1 1350

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

A1

E1 1344

A1

E1 1344

A1

E1 1344

A1 1350

E2 1345

A1 1350

E2 1345

A1 1350

E2 1345

E1 1344
E2 1345

FT 1343

FT 1343

FT 1343

FT 1343

A1
A1 1350

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

A1

E1 1344

A1

E1 1344

A1

E1 1344

A1 1350

E2 1345

A1 1350

E2 1345

A1 1350

E2 1345

E1 1344
E2 1345

FT 1343

FT 1343

FT 1343

FT 1343

A1
A1 1350

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E3 1346

P1 1348

A2

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

E4 1347

P2 1349

A2 1351

FT-Ausgangspuffer

Index 1

Index 2

Index 3

Index 4

Index 5

Index 6

Index 7

Index 8

Index 9

Index 10

Index 11

Index 12

Index 13

Index 14

Index 15

Index 16

Quelle:

2401

2402

2403

2404

2405

2406

2407

2408

2409

2410

2411

2412

2413

2414

2415

2416

Digitaler Ausgang:

158

158

VPLC / PLC

VPLC / PLC

08/10

08/10

10.2

Mask: Functions settings
1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

FT-Instruction
1343
FT-Input 1
1344
FT-Input 2
1345
FT-Input 3
1346
FT-Input 4
1347
FT-Parameter 1
1348
FT-Parameter 2
1349
FT-target output 1 1350
FT-target output 2 1351
FT-Commentary
1352

FT-Instruction
1343
FT-Input 1
1344
FT-Input 2
1345
FT-Input 3
1346
FT-Input 4
1347
FT-Parameter 1
1348
FT-Parameter 2
1349
FT-target output 1 1350
FT-target output 2 1351
FT-Commentary
1352

FT-Instruction
1343
FT-Input 1
1344
FT-Input 2
1345
FT-Input 3
1346
FT-Input 4
1347
FT-Parameter 1
1348
FT-Parameter 2
1349
FT-target output 1 1350
FT-target output 2 1351
FT-Commentary
1352

FT-Instruction
1343
FT-Input 1
1344
FT-Input 2
1345
FT-Input 3
1346
FT-Input 4
1347
FT-Parameter 1
1348
FT-Parameter 2
1349
FT-target output 1 1350
FT-target output 2 1351
FT-Commentary
1352

08/10

08/10

VPLC / PLC

VPLC / PLC

159

159

Index

Absolute value
of three orthogonal components. ........ 96
of two orthogonal components. .......... 96
Absolute value function ......................... 98
Acknowledging an error......................... 73
Actual value ....................................... 142
analog ............................................ 144
digital ............................................. 142
Add two bits to a word ........................ 132
Addition ............................................... 90
Long ................................................ 90
Analog hysteresis.................................. 82
Analog multiplexer .............................. 109
AND operation ...................................... 50
Automatic mode ................................. 122
Average
over time ........................................ 106
Average function .................................. 95

Bit functions for analog input values ..... 125
Add two bits to a word..................... 132
Bit AND/NAND................................. 126
Bit arithmetical shift right ................. 129
Bit NOT .......................................... 125
Bit OR/NOR..................................... 127
Bit roll right..................................... 130
Bit shift left ..................................... 129
Bit shift right ................................... 128
Bit XOR/XNOR ................................. 128
Output one bit ................................ 130
Unite four bits to form a word .......... 131

Changeover switch for position values .. 110
Clock generator .................................... 48
Master .............................................. 70
Superior ........................................... 69
Combinations
Input buffer and inputs ...................... 41
Inputs and outputs of instructions....... 38
Instructions with one another ............. 42
Output buffer and device function ....... 42
output buffer and digital output .......... 44
Comparator
Constant-Variable .............................. 79
Motion blocks .................................... 80
Positions ........................................... 81
Window comparator
Constant-Variable ........................... 84
Variables ....................................... 83
Controlling digital output ....................... 44
Counters ..................................... 118, 119
Cube ................................................... 99
Current parameter
read ............................................... 115
write .............................................. 112

Debouncer ........................................... 74
Delay ................................................... 48
160
160

Master
non-retriggerable ............................64
retriggerable ..................................62
Superior
non-retriggerable ............................63
retriggerable ..................................61
Description of system ............................10
D-Flip-Flop
Master ..............................................57
Superior ............................................56
Differentiator ........................................98
Digital Multiplexer (Data Set Number) .....71
Division
Constant/variable ...............................94
Variable/constant ...............................94
Variables ...........................................93

Electrical Installation
Safety ................................................ 8
Error messages ................................... 146
Example
Run/Stop ......................................... 137
Examples
Combination
Digital inputs of device .................. 137
Instruction output with device function
..................................................42
Combination of instructions ............... 138
Parameterization logic diagram.......... 141
Signal source for digital output ............44

Filter
PT1 element .................................... 106
Spike filter ....................................... 108
Frequency parameter
read ................................................ 115
write ............................................... 111
Function table
Run/Stop ......................................... 136

Information on Use ................................ 9
Input buffer ..........................................41
analog ..............................................25
digital ...............................................25
Inputs ............................................ 35, 38
analog ..............................................36
digital ...............................................35
Installation ............................................ 8
Instructions
overview ...........................................28
Integrator .............................................97

Jump function ................................. 48, 75
for loops............................................76
Jump target
Chronological behavior .......................48

Limiter
constant .......................................... 117

VPLC / PLC
VPLC / PLC

08/10
08/10

variable .......................................... 118
List of parameters............................... 154
Long parameter
read ............................................... 117
write .............................................. 114

Maintenance........................................... 9
Master ................................................. 47
Mathematical functions ......................... 89
Min / Max ............................................ 86
Min/Max
for position values ............................. 87
for positions in time window ............... 88
in time window.................................. 87
Modulo .............................................. 100
Monoflop ............................................. 48
Master
non-retriggerable ........................... 68
retriggerable .................................. 66
Superior
non-retriggerable ........................... 67
retriggerable .................................. 65
Motion block
continue ......................................... 123
resume ........................................... 123
stop ............................................... 122
Multiplexer
analog ............................................ 109
digital ............................................... 71
position values ................................ 110
Multiplication ........................................ 91
and division ...................................... 95
by fraction ........................................ 92
Long result ....................................... 91
Long*percent .................................... 92
MUX for position values ....................... 110

NOP .................................................... 74

OR operation ........................................ 50
Output buffer
analog .............................................. 25
digital ............................................... 25
Output one bit .................................... 130
Output signals .................................... 142
Outputs ............................................... 36
Overview table
digital ............................................... 48

P controller ........................................ 101
Parameter access
current
read ............................................ 115
write ........................................... 112
frequency
read ............................................ 115
write ........................................... 111
long
read ............................................ 117
write ........................................... 114
percent
read ............................................ 116
08/10

08/10

write ............................................ 113
position
read ............................................ 116
write ............................................ 113
voltage(eff.)
read ............................................ 116
write ............................................ 112
voltage(peak)
read ............................................ 116
write ............................................ 113
word
read ............................................ 117
write ............................................ 114
PD(T1) controller................................. 103
Percent parameter
read ................................................ 116
write ............................................... 113
PI controller
Tn in milliseconds ............................ 102
Tn in seconds .................................. 102
PID(T1) controller
Tn in milliseconds ............................ 103
Tn in seconds .................................. 104
Position parameter
read ................................................ 116
write ............................................... 113
Positioning functions ............................ 120
motion block
continue....................................... 123
resume ........................................ 123
Start homing ................................... 124
Start motion block as single motion ... 121
Start motion block in automatic mode 122
Stop motion block ............................ 122
PT1 element ....................................... 106
Purpose of the Frequency Inverters ......... 7

Ramp limitation ................................... 107
Read index
Analog input buffer .......................... 135
Digital input buffer ........................... 134
FT instructions ................................. 133
Reciprocal.............................................94
RS-Flip-Flop
Master ..............................................53
Superior ............................................52
Run/Stop ............................................ 136

Safety ................................................... 7
Signal sources
analog ..............................................24
digital ...............................................22
for analog output ............................. 145
for device function ........................... 146
for digital output .............................. 145
Single motion ...................................... 121
Spike filter .......................................... 108
Square .................................................99
Square root ..........................................99
square root(x) .......................................99
Start homing ....................................... 124
Start motion block

VPLC / PLC
VPLC / PLC

161

161

as single motion .............................. 121
in automatic mode........................... 122
Statemachine ..................................... 147
Stopwatch with analog output ............. 119
Storage.................................................. 7
Superior ............................................... 47
Switch data set ..................................... 71
Switching time...................................... 58

Time average ..................................... 106
Timer functions .................................... 65
Toggle-Flip-Flop
Master .............................................. 55
Superior ........................................... 54
Transport ............................................... 7
Triggering of an error............................ 72

Unite four bits to form a word .............. 131
Up/Down counter with analog output ... 118

Voltage parameter
read (eff.) ....................................... 116

162

162

read (peak) ..................................... 116
write (eff.) ....................................... 112
write (peak)..................................... 113

Window comparator
variables ...........................................83
Window Comparator
Constant-Variable...............................84
Word parameter
read ................................................ 117
write ............................................... 114
Write index
Analog input buffer .......................... 135
Digital input buffer ........................... 134
FT instructions ................................. 133

X² ........................................................99
X³ ........................................................99
XOR 1 || 3 operation .............................51
XOR 1 operation ....................................51

VPLC / PLC

VPLC / PLC

08/10

08/10

Bonfiglioli has been designing and developing innovative
and reliable power transmission and control solutions
for industry, mobile machinery and renewable energy
applications since 1956.

www.bonfiglioli.com

Bonfiglioli Riduttori S.p.A.
Via Giovanni XXIII, 7/A
40012 Lippo di Calderara di Reno
Bologna, Italy

tel: +39 051 647 3111
fax: +39 051 647 3126
bonfiglioli@bonfiglioli.com
www.bonfiglioli.com

VEC 701 R0