F_GetVersionTcNcDrive
This function can be used to read PLC library version information.
FUNCTION F_GetVersionTcNcDrive : 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 v2.10.0 Build >= 1329 |
PC or CX (x86) |
TcDrive.lib, TcEtherCAT.lib, TcUtilities.Lib, TcSystem.lib |
TwinCAT v2.10.0 Build >= 1329 |
CX (ARM) |