Task information, Variable names, Flyingsaw – Lenze EVS93xx FlyingSaw User Manual
Page 114: Description of the function blocks
FlyingSaw
Description of the function blocks
Prepared Solution Servo PLC / ECSxA 1.1 EN
10-16
Task information
Can be called in:
Cyclic task
Time-controlled task
(INTERVAL)
Event-controlled task
(EVENT)
Interrupt task
Variable
names
Inputs
(Variable type: VAR_INPUT)
Identifier Data
type
Meaning
wProRelease
WORD
main version for the project:: the value entered must be in the range between 0 and 99.
wProLevel
WORD
subversion for the project:: the value entered must be in the range between 0 and 99.
wProServicePack
WORD
version of service-pack: the value entered must be in the range between 0 and 99.
wLib1Release
WORD
main version for library 1 (e.g. application library): the value entered must be in the range between 0
and 99.
wLib1Level
WORD
subversion for library 1 (e.g. application library): the value entered must be in the range between 0 and
99.
wLib1ServicePack
WORD
version of service-pack: the value entered must be in the range between 0 and 99.
wLib2Release
WORD
main version for library 2 (e.g. basic library): the value entered must be in the range between 0 and 99.
wLib2Level
WORD
subversion for library 2 (e.g. basic library): the value entered must be in the range between 0 and 99.
wLib2ServicePack
WORD
version of service-pack: the value entered must be in the range between 0 and 99.
Internal
(Variable type: VAR)
Identifier Data
type
Meaning
awVersion
ARRAY [1..3] OF
DWORD
Data field with indication of the three versions: the first and the second number is the main versio, the
third and the fourth is the subversion and the fith and the sixth is the number of the service-pack.
Example: main verison 1.0, subversion 0.0, service-pack 1.0, display: 10001
The values are calculated using the following formulas:
adwVersion[1]
:=((dwProRelease * 100 + dwProLevel)*100)+dwProServicePack;
adwVersion[2] :=((dwLib1Release
*
100
+ dwLib1Level)*100)+dwLib1ServicePack;
adwVersion[3] :=((dwLib2Release
*
100
+ dwLib2Level)*100)+dwLib2ServicePack;