Demo application: Communicating with IEC 870-5-104 protocol.

Overview:

Two demo applications (Master and Slave) for using IEC 870-5-104 protocol were developed to run in two different machines. In order to have it working properly, access the driver settings at the Master application and insert the IP or the name of the machine where the Slave application is being executed.

Main functions used at the Master application (N2 parameter):

Value 4: values written on a tag whose N2 parameter = 4 will be reported to the Master only via general query, in list format.
Valor 5:  values written on a tag whose N2 parameter = 5 will be reported to the Master immediately, and also via general query.
Value 10: Select command.
Value 11: Execute command.
Value 30: Select command with LongPulse.
Value 31: Execute command with LongPulse.

Main functions used at the Slave application (N2 parameter):

Value 4: values written on a tag whose N2 parameter = 4 will be reported to the Master only via general query, in list format.
Value 5:  values written on a tag whose N2 parameter = 5 will be reported to the Master immediately, and also via general query.
Value 4 (Command Indication): to handle a command received at the slave application, you must use a command block and, on this block’s OnRead event, split the information blocks received.

Main ASDUs used for events (N3 parameter):

30  M_SP_TB_1: single point with timestamp.
33 M_BO_TB_1: bit string with 32 bits and timestamp.
34 M_ME_TD_1: measurement value, standardized with timestamp.
35 M_ME_TE_1: measurement value, scaled with timestamp.
36 M_ME_TF_1: measurement value, short float point with timestamp.
37 M_IT_TB_1: total values, integrated to timestamp.
38 M_EP_TD_1: device’s protection event with timestamp.

Main ASDUs used for commands (N3 parameter):

45 C_SC_NA_1: single point.
50 C_SE_NC_1: set point command, short float point.

Attachments:

IEC870104_MasterEN

IEC870104_SlaveEN

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 5 / 5. Count: 1

Leave a Reply

Your email address will not be published.Required fields are marked *