ST_LibVersion

This structure defines the version of a PLC library. Each library contains a globally declared instance of this data type.

TYPE ST_LibVersion : 
STRUCT
    iMajor     : UINT;
    iMinor     : UINT;
    iBuild     : UINT;
    iRevision  : UINT;
    nFlags     : DWORD
    sVersion   : STRING(23);
END_STRUCT
END_TYPE

iMajor

Major number

iMinor

Minor number

iBuild

Build number

iRevision

Revision number

nFlags

Enabling library

nFlags = 1, the library is enabled (check mark set),
nFlags = 0, the library is not enabled.

sVersion

Complete version as string