F_GetVersionTcSocketHelper
This function reads version information from the PLC library.
FUNCTION F_GetVersionTcSocketHelper : UINT
VAR_INPUT
nVersionElement : INT;
END_VAR
nVersionElement : Version element, that is to be read. Possible parameters:
- 1 : major number;
- 2 : minor number;
- 3 : revision number;
Requirements
Development Environment | Target System | PLC libraries to include |
---|---|---|
TwinCAT v2.9.0 Build >= 1030 | PC or CX (x86) | TcSocketHelper.Lib ( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcUtilities.Lib; TcpIp.Lib are included automatically ) |
TwinCAT v2.10.0 Build >= 1301 | CX (ARM) |