<< Click to Display Table of Contents >> Navigation: Modbus Universal MasterOPC Server > MasterOPC Universal Modbus Server > Server IEC-104 > Server IEC-104 |
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):
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,s – number 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,s – number 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,s – number 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,s – number 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:
•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;
o50:C_SE_NC_1 Set Point Short - to record numerical values.