ST_NLinkDebug
Via these parameters the debug outputs can be activated/deactivated during troubleshooting (standard setting: inactive)
The debug outputs are shown in the log view of the TwinCAT System Manager.
TYPE ST_NLinkDebug :
STRUCT
eTx : E_DbgDirection := eDbgDirection_OFF;
eRx : E_DbgDirection := eDbgDirection_OFF;
bState : BOOL := TRUE;
END_STRUCT
END_TYPE
eTx: Activates/deactivates the debug output for the send buffer (Type: E_DbgDirection).
eRx: Activates/deactivates the debug output for the receive buffer (Type: E_DbgDirection).
bState: Activates/deactivates status messages when establishing or closing the socket connection.
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4016 or higher | PC oder CX (x86, x64, ARM) | Tc2_S5S7Com (Communication->TcpIp) |