F_GetVersionTcIEC870_5_104Slave
This function reads version information from the plc library.
FUNCTION F_GetVersionTcIEC870_5_104Slave: 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) |
TcIEC870_5_104Slave.Lib ( Standard.Lib; TcBase.Lib; TcSystem.Lib; TcpIp.Lib; TcUtilities.Lib; TcSocketHelper.Lib; TcIEC870_5_104.Lib, TcIEC870_5_101.Lib are included automatically ) |
TwinCAT v2.10.0 Build >= 1301 |
CX (ARM) |