EasyManua.ls Logo

Beckhoff TwinCAT 3 - Global Constants; Library Version

Beckhoff TwinCAT 3
46 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PLC libraries
Name Unit Range Description
fKd NA LREAL Propportional gain of the
Lead-Lag compensator
tT1 Time TIME First time constant of the
Lead-Lag compensator
tT2 Time TIME Second time constant of
the Lead-Lag
compensator
5.2 Global Constants
5.2.1 Library version
All libraries have a specific version. This version is shown in the PLC library repository too.
A global constant contains the library version information:
Global_Version
VAR_GLOBAL CONSTANT
stLibVersion_Tc2_TempController : ST_LibVersion;
END_VAR
To compare the existing version to a required version the function F_CmpLibVersion (defined in Tc2_System
library) is offered.
Hint: All other possibilities known from TwinCAT2 libraries to query a library version are obsolete!
Requirements
Development environment target platform PLC libraries to include
TwinCAT 3.1.4006 PC or CX (x86) Tc2_TempController
TC3 Temperature Controller42 Version: 1.1