beautypg.com

11 versionhandling function block, Interface, Task information – Lenze EVS93xx CrossCutter User Manual

Page 276: Versionhandling function block -108, Cross cutter

background image

Cross Cutter

Appendix

Prepared Solution Servo PLC / ECSxA 1.1 EN

6-108

6.6.11

VersionHandling

function block

The function block VersionHandling provides three versions for indication in the related codes:

• Version of the Prepared Solution

• Version of the application library (depending on the Prepared Solution)

• Version of the basic library (is used in all Prepared Solutions)

The function block calculates the three elements for the internal data array from the major and
subversions using the following formula:

adwVersion[1]

:=

((dwProRelease * 100 + dwProLevel)*100)+dwProServicePack;

adwVersion[2]

:=

((dwLib1Release * 100 + dwLib1Level)*100)+dwLib1ServicePack;

adwVersion[3]

:=

((dwLib2Release * 100 + dwLib2Level)*100)+dwLib2ServicePack;

The field variable adwVersion is intended for indication in display codes with two decimal
positions. In this way the user can straightforwardly determine the version states for the project
and libraries.

On the display of the code values the versions are indicated so that they are easy for the user to
read (e.g. using GDC):

Interface

Task information

Can be called in:

Cyclic task

Time-controlled task

(INTERVAL)

Event-controlled task

(EVENT)

Interrupt task