IEC104 Server

<< Click to Display Table of Contents >>

Navigation:  Multi-Protocol MasterOPC Server > Multi-Protocol MasterOPC Server > IEC104 Server >

IEC104 Server

IEC104 Server

To connect the built-in IEC104 server to set Connection=TRUE in the IEC104  Server section of the Dialog of Server Parameters , and specify a server port and a station address (a common address of ASDU):

multi_img131

IEC104 server has settings:

Coefficient K - maximum number of frames that the master will send before waiting for an acknowledge. A default value of 12 is proposed by the standard. See the IEC 60870-5-104 standard for details;

Coefficient W - maximum number of frames that the master will receive before returning an acknowledge. A default value of 8 is proposed by the standard. See the IEC 60870-5-104 standard for details. (W<=(2/3)*K is recommended);

Timeout T0,snumber of seconds after which a timeout will occur if the connection is not established. A default value of 30 is proposed by the standard. See the IEC 60870-5-104 standard for details.;

Timeout T1,snumber of seconds after which a timeout will occur if the master has received no acknowledge to a Send APDU or a Test APDU. A default value of 15 is proposed by the standard. See the IEC 60870-5-104 standard for details;

Timeout T2,snumber of seconds during which the acknowledges are to be accumulated when the host has no data messages to send. If the timeout period expires, the master will send an acknowledge message. A value of 10 is proposed by the standard. See the IEC 60870-5-104 standard for details;

Timeout T3,snumber of seconds after which the master is to send test frames when there is a long idle state. A default value of 20 is proposed by the standard. See the IEC 60870-5-104 standard for details;

Send analog parameters - method of transmitting analog parameters: M_ME_TF_1 - with time stamp, M_ME_NC_1 - without time stamp.

Send discrete parameters - method of transmitting discrete parameters: M_SP_TB_1 - with time stamp, M_SP_NA_1 - without time stamp.

 

If the IEC104 server is connected, the IEC104  Server section is available for each tag of the OPC server, regardless of a tag protocol. The section contains the following settings:

multi_img132

Visible in server – if TRUE, other settings are available in the section

IEC address – address of the variable in the protocol 104

Transfer on change – this parameter defines how to transfer a value of a variable to a client:

oTRUE – if a value is changed

oFALSE – only if a client request is received

Enable writing – if TRUE, a value can be written to the variable via the protocol 104. To record, you need to use the commands:

o45: C_SC_NA_1 Single - for writing logical values;

o46: C_DC_NA_1 Double - two-bit command. For tags of type bool, true or false is written, for other types - 0, 1 or 2 (3 is prohibited).

o50:C_SE_NC_1 Set Point Short - to record numerical values.

Send command type - the setting is available for all types of tags, except bool. The setting determines how the value is passed to the client. AS_IN_SERVER - the setting is taken from the server setting Send analog parameters, other modes force the required command type (M_DP_NA_1,M_DP_TB_1,M_DP_TA_1).

It is also possible to make group changes to IEC104 parameters for tags:

IEC104 Tag Group Settings