Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Forced disconnection: If all communication stations on the line are in the simulation mode or the communication is disabled stopped for them, the communication line will be disconnected (closing communication sockets will be closed). If When the simulation mode turned off or the communication is not enabled and communication is not disabled for at least one one station (the the Parameters tab Parameters of object of the Station type object), the line will be reconnected (and Interrogation Command eventually and/or Counter Interrogation Command will be send sent to the this active station). Then after enabling each next station, there is send an Interrogation Command , when other stations are enabled, the Interrogation Command and/or Counter Interrogation Command is sent to the this station; see the next point.

Forced sending of Interrogation Command or Counter Interrogation Command: If a station is in the status, that it is not in the simulation mode and the communication is not disabled (the Parameters tab Parameters of object of the Station type object), the process D2000 KOM process sends Interrogation Command and/or Counter Interrogation Command (see the parameters OIC, OCIC).

The protocol IEC870-5-104 Sinaut supports the balanced mode described in the communication protocol IEC 870-5-104 - it is partly a server in part, so it must comply to with the rules of server protocols.

...

  • Communication line category: TCP/IP-TCP Redundant
  • TCP parameters:
    • Host: string containing at most 80 characters – two comma-separated server IP addresses in the form of a.b.c.d
      In the active mode, they are the addresses of the server, where to which the process D2000 KOM process is connecting to.
      In the passive mode (see the parameters SP, SH), they are the IP addresses of a client, which are accepted by the process D2000 KOM process (if the client is connecting from other IP address, it will be disconnected).
    • Port: TCP port number (0...65535)
      In the active mode, it is the server port, where the process D2000 KOM process is connecting to.
      In the passive mode (see the parameters SP, SH), the parameter will be ignored (but must be specified, set , it e.g. to the value of 0).
    • Line number: is used as Originator ASDU address (1 byte, 0-255).

...

  • Communication protocol: IEC870-TCP Sinaut.
  • Station The station address is a decimal number within the range of 0 až 65535, it defines the ASDU address.
    For better orientation, the station address may be defined in the form of ByteHI, ByteLO, i.e. address 2,1 is the same as 513 (2*256 + 1). See a See note about the ASDU address.

Note: The protocol supports sending long time stamps (CP56Time2a tag) in local time or UTC time with defined offset (see the parameter Use monotonic UTC time+).

...

Station configuration dialog box - tab Protocol parameters.
They influence some of the optional protocol parameters. There can be defined the The following station protocol parameters can be defined:

Table 3

Full nameMeaningUnitDefault value
Kotva
cmdc
cmdc
Command Confirm
Confirmation of control ASDUs.
If CMDC=0, the process D2000 KOM is not waiting for confirmation of control ASDUs from the partner station using backward sending reply ASDU with other a different CauseOfTransmission, . The ASDU is consider considered to be confirmed when a packet containg containing corresponding ReceiveSequenceNumber is received.
If CMDC=1, the process D2000 KOM is waiting for confirmation with CauseOfTransmission=7 (Activation Confirmation).
If CMDC=2, the process D2000 KOM is waiting for confirmation with CauseOfTransmission=10 (Activation Termination).
If CMDC=3, the process D2000 KOM is waiting for confirmation with CauseOfTransmission=7 or 10 (if both of them are received, just the first of them is taken into account).
Having received the corresponding confirmation means that writing is finished (the Transient attribute of written value is evaluated cleared and the WTn timeout stops elapsingtimer is reset).
If there is received a confirmation with other CauseOfTransmission as than the process D2000 KOM expect for process is expecting is received, it will be ignored.
Writing is successful if the received ASDU contains the P/N bit set to 0. Otherwise, writing is unsuccessful.
The value from a received ASDU is backwardly written into the corresponding I/O tag and it is sent to the system. E.g. if an ASDU of type 50 (short floating point) with the value of 1200.0 is sent and the partner station sends an ASDU of type 50 as a reply, P/N bit=0, the value of 999.0 (e.g. due to physical limitations of the given parameter), the the value is to be send then this value will be sent to the system by the process D2000 KOM to the system process.
-3
Kotva
dbgi
dbgi
Debug Input
It is a A mask for a debug level of the input data.
Meaning of the individual bits:
  • 1. bit - information about the number of points received within General Interrogation
  • 2. bit - a information about received values of I/O tags
  • 3. bit - balanced mode: Interrogation command was receivedinformation about received Interrogation command 
  • 4. bit - information about discarded values due to the setting of the Ignore Flagged parameter
0 .. 2550
Kotva
dbgo
dbgo
Debug Output
It is a A mask for a debug level of the output data.
A meaning Meaning of the individual bits:
  • 1.bit - balanced mode: a information about the number of points sent within General Interrogation
  • 2.bit - it shows a information about sent values of I/O tags
0 .. 2550

Kotva
iccpf
iccpf
ICCP compatible flags

It allows a flag mapping which that is compatible to with the Sinaut Spectrum ICCP OPC communication. For more information see ICCP compatible flag mapping.YES/NONO

Kotva
if
if
Ignore Flagged

The parameter allows to specify specifying the flags of values (data ASDU 1-40), which - if set - will cause the incoming value to be discarded. The parameter was implemented when it was necessary to filter out the "Non-topical" flag values that came from the communication partner.

The mapping of individual flags from ASDU to A..H flags is as follows:

  • A - Overflow (OV) - ASDU 5-14, 20, 32-36
  • B - no mapping (according to standard this bit should be 0)
  • C - no mapping (according to standard this bit should be 0)
  • D - Elapsed Time Invalid (EI): ASDU 17-19, 38-40
  • E - Blocked (BL) - ASDU 1-14, 17-20, 30-36, 38-40
  • F - Substituted (SB) - ASDU 1-14, 17-20, 30-36; Counter overflow (CY) - ASDU 15, 16, 37
  • G - Non-topical (NT) - ASDU 1-14, 17-20, 30-36; Counter adjusted (CA) - ASDU 15, 16, 37
  • H - Invalid (IV) - ASDU 1-20, 30-40
A..H-
Kotva
iua
iua
Ignore Unknown Addresses
If IUA=TRUEthis parameter is set to True, the process D2000 KOM processD2000 Komwill not show report an error (display an error on its console or write it into the line log files file) in case that incoming value has the an address which does not matching match any of the addresses of I/O tags defined in the D2000 system.-False
Kotva
icci
icci
Interrogation Covers Counter Interrogation
As a reply to Interrogation, there are also sending the ASDU 15,16,37 (Integrated Totals) will be sent, which are standard usually requested by ASDU 101 [Counter Interrogation].-True
Kotva
k
k
K (max outstanding I APDUs)
Sending window size i.e. packet quantitynumber of packets, which is are sent by the process D2000 KOM process without receiving a confirmation (S-frame or I-frame). According to the standard, the default value is 12.-12
Kotva
nf
nf
No Flags
If the parameter is True, then the status bit byte of incoming ASDUs is ignored and not saved into the flags FA ... FH. Flags of output I/O tags are also ignored and they not set written to the status bitbyte.-False
Kotva
oic
oic
Order of IC
Order The order for sending ASDU 100 [Interrogation Command] when the station initializes starts to communicate or when creating a new station is created. If OIC<OCIC, ASDU 10 100 will be send sent before ASDU 101. If OIC=0, ASDU 100 will not be sent. The parameter can be set extra separately for each station.-1
Kotva
ocic
ocic
Order of Counter IC
Order The order for sending of sending ASDU 101 [Counter Interrogation Command] when initializing the connection. the station starts to communicate or when a new station is created. If OCIC<OIC, ASDU 101 will be sent before ASDU 100. If OCIC=0, ASDU 101 will not be sent. The parameter can be set extra separately for each station.-0
Kotva
pcnt
pcnt
Ping Count
Number A number of repetitions, after which the IP address not responding to ping is to be known as non-functional.
See the parameter PTOPing TimeOut.
-3
Kotva
pto
pto
Ping TimeOut
If the parameter is other than non zero, then it defines the timeout (in milliseconds) of a server response for to a ping (ICMP echo) packet. In the background, the process D2000 KOM process sends ping packets to all defined four configured IP addresses. If some of the addresses does not respond for PCNTan IP address repeatedly does not respond Ping Count-times, it is designated marked as non-functional and the connection is terminated. If the parameter PTO=0, sending ping packet packets to IP addresses is disabled.-0
Kotva
psd
psd
Post Start Delay
When initializing the connection is being established, this parameter defines the delay between receiving StartDT Con response and sending Interrogation Command and/or Counter Interrogation Command.ms0

Kotva
ssn
ssn
Send Sequence Number

Initial SSN. According to the standard, after establishing the connection the SSN is set to 0, values other than zero could be appropriate used e.g. for testing.-0
Kotva
spsh
spsh
Server Port, Server Host
The port number and IP address of the interface , where the process D2000 KOM is to be listening process should listen (in a listening mode). If both the parameters are defined, the process D2000 KOM process is working as passive (it is waiting for connecting Sinaut clients). If the process should listen on all network interfaces, there Server Host must be set SH=to ALL.-
Kotva
sko
sko
Standby Keep Open
If True, after changing this parameter is set to True, the connection to the partners will not be closed when the status of process the D2000 Server process (the process D2000 KOM is connected to) is changed from Hot into to Standby state (in a redundant D2000 system), connection with partner will not be closed.-True
Kotva
st_ce
st_ce
Station Communication Error
Number The number of unsuccessful attempts to connect after communication breakdown. The a communication error, after which the station status is changed into the state St_CommErr after reaching the numberstate. For redundant lines, the communication must be either failed for fail on both TCP connections or a TCP connection with standby-server must be functioning (see the parameters ICF3 and IT), i.e. data from the server are ignored.-2
Kotva
st_he
st_he
Station Hard Error
Number The number of unsuccessful attempts to connect after communication breakdown. The connect after a communication error, after which the station status is changed into the state St_HardErr after reaching the numberstate. For redundant lines, communication must be either failed for the communication must fail on both TCP connections or working a TCP connection with standby-server must be functioning (see the parameters ICF3 and IT), i.e. data from the server are ignored.-5
Kotva
srcs
srcs
Strict Redundancy Connection Signalisation
Number The number of TCP connections, which must be opened so that the line could be considered as OK. There are 4 connections (2x Sinaut servers, each of them has 2 network addresses).-4
Kotva
tki
tki
Tcp Keep Init
The parameter is implemented for use on OpenVMS platforms only. If it is other than zero, then defines the timeout (in seconds) for opening a new connection to the server. For OpenVMS, the default value is 75 seconds, for Windows, it is 20 seconds.-0
Kotva
tnd
tnd
TCP NoDelay
TND parameter sets a low-level parameter of TCP_NODELAY sockets which switch off disables a default TCP packet linkingcoalescing.

Kotva
w
w
W (ack after receiving W APDUs)
Quantity The number of received packets, after which the process D2000 KOM process sends an S-frame confirmation. According to the standard, the default value is 8. There It must be true that W < K, the standard recommends W = 2/3 * K.-8
Kotva
wt1
wt1
Wait Timeout T1
Timeout The timeout for receiving the confirmation of a I-frame sent (either the confirmation within the I-frame or the S-frame itself) or a U-frame. If the process D2000 KOM does not get the confirmation in the time WT1, it closes the TCP connection. According to the standard, the WT1 default value is 15000 ms.ms15 000
Kotva
wt2
wt2
Wait Timeout T2
Timeout for sending the confirmation of a I-frame received. WT2 < WT1. If another I-frame (which confirms the I-frame received) is not sent in the time WT2 since the I-frame was received, so the process D2000 KOM sends an S-frame confirming the received I-frame to the partner. According to the standard, the WT2 default value is 10000 ms.ms10 000
Kotva
wt3
wt3
Wait Timeout T3
Timeout for sending test frames (U-frame TEST ACT). If no data are sent in any direction for a long time, an U-frame TEST ACT will be sent to the process D2000 KOM after expiration of the WT3 time and there is expected (in the WT1 time after sending) receiving a U-frame TEST CON. If the WT3 on the partner side is set to a lower value, it sends the test frames and the process D2000 KOM replies to them. According to the standard, the WT2 default value is 20000 ms. Setting the value to 0 disables sending test frames.ms20 000
Kotva
wtn
wtn
Wait Timeout N
Timeout for receiving the confirmation of a value sent. Receiving e.g. S-frame with RSN (Receive Sequence Number) confirming, that the other party received previous I-frame doesn't mean, that the I-frame was processed. In the WTn time, the process D2000 KOM waits for receiving the response (e.g. after sending ASDU with TypeIdentificator=45 [Single Command] with CauseOfTransmission=6 [Activation] there is expected receiving Single Command with CauseOfTransmission=7 [Activation Confirmation].
After the expiration of the WTn time, the process D2000 KOM closes the TCP connection.
ms60 000

...