F_GetVersionTcXmlDataSrv
This function can be used to read PLC library version information.
FUNCTION F_GetVersionTcXmlDataSrv : UINT
VAR_INPUT
nVersionElement : INT;
END_VAR
nVersionElement : Version element to be read. Possible parameters:
- 1 : major number;
- 2 : minor number;
- 3 : revision number;
Requirements
Development environment | Target system type | PLC libraries to be linked |
---|---|---|
TwinCAT 2.10.0 | PC or CX (x86, ARM) | TcXmlDataSrv.Lib ( Standard.Lib; TcBase.Lib; TcSystem.Lib are included automatically ) |