Variable names, Cross cutter, Appendix – Lenze EVS93xx CrossCutter User Manual
Page 277

Cross Cutter
Appendix
Prepared Solution Servo PLC / ECSxA 1.1 EN
6-109
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
adwVersion
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 1.0, service-pack 0.0, display: 10100
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;