F_GetVersionTcSPA
This function can be used to read PLC library version information.
FUNCTION F_GetVersionTcSPA: 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 platform |
PLC libraries to be linked |
---|---|---|
TwinCAT v2.10 build >= 1320 |
PC or CX (x86, ARM) |
TcSPA.Lib |