ASDU102TYPEID_TO_STRING
The function converts the IEC 60870-5-102 ASDU type identifier into a string (for debugging/troubleshooting).
Syntax
FUNCTION ASDU102TYPEID_TO_STRING: T_MaxString
VAR_INPUT
eType : E_IEC870_102TcTypeID;
nOpt : BYTE;
END_VAR
Inputs
eCOT: ASDU type identifier.
nOpt: Options. Bit 0 := FALSE => exact type identifier, bit 0 := TRUE => short type identifier. Bit 1 := TRUE => numeric hexadecimal/decimal value, bit 2 := TRUE => additional descriptive text.
Requirements
Development environment | Target system type | PLC libraries to be linked (category group) |
---|---|---|
TwinCAT v3.1.4012.0 | PC oder CX (x86, x64, Arm®) | Tc2_IEC60870_5_10x (Communication->IEC60870) |