F_GetVersionTcMDP
This function can be used to read PLC library version information.
The MDP version is independent of the PLC library version. The MDP version is provided by the function block FB_MDP_SW_Read_MdpVersion.
FUNCTION F_GetVersionTcMDP: 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.11.0 Build >= 1541 |
PC or CX (x86, ARM) |
TcMDP.Lib |