Introduction
Simple projects with complete sources can be found under: Serial-Link-Interface-Examples.Serial-Link-Interface-Examples
A PLC application which should communicate with a substation or control station via the transport interface needs the following resources:
- Instance of communication function block: FB_IEC870_5_101TProtocol;
- Instance of TX/RX data buffer: ST_IEC870_5_101TBuffer;
- Instance of function block to manipulate the TX/RX data buffer: FB_IEC870_5_101TBufferCtrl;
Further Information
- FB_IEC870_5_101TProtocol
- FB_IEC870_PartyLineCtrl
- FB_IEC870_SerialLineCtrl
- F_iecApdu101ToAsduLen
- F_GetVersionTcIEC870_5_101Link
- ST_IEC870_5_101ProtocolParams
- E_IEC870_5_101FrameType
- E_IEC870_5_101LinkMode
- E_IEC870_5_101SerialLinkState
- E_IEC870_5_101PartyLineMode
- E_IEC870_5_101LinkReset
- E_IEC870_DEVICE_TYPE
- T_HSERIALCTRL