F_GetVersionTcS5S7Comm
This function can be used to read PLC library version information.
FUNCTION F_GetVersionTcS5S7Comm : UINT
VAR_INPUT
nVersionElement : INT;
END_VAR
nVersionElement : Version element to be read. Possible parameter:
- 1 : major number;
- 2 : minor number;
- 3 : revision number;
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4016 or higher | PC oder CX (x86, x64, ARM) | Tc2_S5S7Com (Communication->TcpIp) |