Troubleshooting/diagnostics
General checks:
- Check the hardware and software requirements described in this documentation (TwinCAT version, CE image version etc.);
- Check the IO configuration and mapping of PLC variables in TwinCAT System Manager (configuration of serial interface, baudrate, parity, stoppbits settings). Compare them to the parameters set in the communication partner;
- Check the configured data points (type, information object address etc.);
- Check if the other communication partner issues an error code;
- Activate the debug output during connection establishment and/or of ASDU data. Open the TwinCAT System Manager and activate the LogView window. Analyze/check the debug output strings;
High-Level interface:
- Especially by control station:
- Check whether the FB_IEC870_5_101Master function block issues an error code/source;
- Compare the interoperability check list of control station and controlled station;
- Check the protocol parameters that are transferred to the FB_IEC870_5_101Master function block (link address, link address octet size, FRAMELength etc.). Compare them to the parameters set in the controlled station;
- Check the system parameter that are transferred to the FB_IEC870_5_101Master function block (ASDU address, ASDU address octet size, information object address octet size, cause of transfer octet size, etc. ). Compare them to the the parameters set in the controlled station;
- Check the acquisition parameters that are transferred to the FB_IEC870_5_101Master function block (initialisation sequence, cyclic general interrogation, cyclic counter interrogation, cyclic test commands, etc. );
- Especially by controlled station:
- Check whether the FB_IEC870_5_101Slave function block issues an error code/source;
- Compare the interoperability check list of controlled station and control station;
- Check the protocol parameters that are transferred to the FB_IEC870_5_101Slave function block (link address, link address octet size, FRAMELength etc.). Compare them to the parameters set in the controlling station;
- Check the system parameter that are transferred to the FB_IEC870_5_101Slave function block (ASDU address, ASDU address octet size, information object address octet size, cause of transfer octet size, etc. ). Compare them to the the parameters set in the controlling station;
Low-Level interface:
- Check whether the FB_IEC870_5_101TProtocol function block issues an error code;
- Compare the interoperability check list of control station and controlled station;
- Check the protocol parameters that are transferred to the FB_IEC870_5_101TProtocol function block (link address, link address octet size, FRAMELength etc.). Compare them to the parameters set in the communication partner;
- Check the configured address lengths (instance of ST_IEC870_5_101TBuffer, TX/RX data buffer): ASDU address octet size, information object address octet size, cause of transfer octet size, max ASDU size. Compare them to the parameters set in the communication partner;