IEC103ASDU_TO_STRING
The function converts the information of an IEC 60870-5-103 ASDU to a string (for debugging purposes/troubleshooting).
Syntax
FUNCTION IEC103ASDU_TO_STRING: T_MaxString
VAR_INPUT
in : ST_IEC870_5_103AOGen;
bCmd : BOOL;
END_VAR
Inputs
in: Structured variable with the ASDU to be converted.
bCmd: FALSE => ASDU in monitoring direction, TRUE => ASDU in control direction.
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) |