F_ConvProductCodeToString
The function F_ConvProductToString
returns the product code as string, e.g. 'EL6731-0000-0017'. From version 3.3.8.0 of the Tc2_EtherCAT library this function also supports ELM and EPP slaves such as 'EPP4374-0002-0018' and 'ELM3704-0001-0016'.
Inputs
VAR_INPUT
stSlaveIdentity : ST_EcSlaveIdentity;
END_VAR
Name | Type | Description |
---|---|---|
stSlaveIdentity | ST_EcSlaveIdentity | Slave Identity as it can be read with the FB_EcGetSlaveIdentity. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.0 | PC or CX (x86, x64, ARM) | Tc2_EtherCAT |