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;(* Enable/disable debug output of data-requests/responses. *)
eRx : E_DbgDirection := eDbgDirection_OFF;(* Enable/disable debug output of data-indications/confirmations. *)
bState : BOOL := TRUE;(* TRUE => Enable debug output *)
END_STRUCT
END_TYPE
eTx: Activates/deactivates the debug output for the send buffer.
eRx: Activates/deactivates the debug output for the receive buffer.
bState: Activates/deactivates status messages when establishing or closing the socket connection.
Requirements
Development environment | Target platform | PLC libraries to be linked |
---|---|---|
TwinCAT v2.11.0 Build > 1536 | PC or CX (x86, ARM) | TcS5S7Comm.Lib |