Porovnávané verzie

Kľúč

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

...

Note: For setting individual bits of the quality byte (SIQ for ASDU 1,2,30; DIQ for ASDU 3,4,31; QDS for ASDU 5..14,20,32..36), the flags FLA A (0.bit), FLB B (1.bit) .. FLH H (7.bit) are used.

For example:

  • for ASDU 4: FLAA=DPI bit 0, FLBB=DPI bit 1, FLCC=0, FLDD=0, FLEE=BL bit, FLFF=SB bit, FLGG=NT bit, FLHH=IV bit.
  • for ASDU 16: FLAA..FLE E Sequence number bits 0..4, FLFF=CY bit, FLGG=CA bit, FLHH=IV bit

The exception is the bits, which are set directly by a value (e.g. for ASDU 1, the 0.bit is not set by the FLA A flag but by the value of output I/O tag).
If the Invalid attribute is set for a new value, the highest bit (IV) will be set in the status byte for all ASDUs (except for ASDU 21, which does not have a status byte).

...

Bits of "status" byte (SCO fro ASDU 45,58; DCO for ASDU 46,59; RCO for ASDU 47,60; QOS for ASDU 48..50,61..63) causes setting the FLA A (0.bit), FLB B (1.bit) .. FLH H (7.bit) flags with an exception for the bits which are directly set by the value of a variable (SCO bit 0, DCO and RCS bits 0-1). After receiving a response (positive/negative), the FLAA .. FLH H flags are set according to the bits of the "status" byte.


When writing values, the value of 6 [Activation] is expected as CauseOfTransmission. The response of the controlled station depends on the setting of the CMDC parameter. Originator ASDU address will be used the same as is in the received command.

...

Note: Starting from D2000 version 7.02.004 the flags FLA  A to FLP P of the value of the communication line are used for informing about connected active clients. An active client is a client who after establishing the connection sent U-frame StartDT Act, i.e. asked for sending the data. The first connected active client will cause a change of flag FLA A to TRUE, the second flag FLBB, etc up to flag FLP P and continuing again with the first flag FLAA. If the client sends the StopDT Act U-frame  (requesting the server to stop sending data) or disconnects, the value of its flag will be changed to FALSE.

...

KeywordFull nameMeaningUnitDefault value
Kotva
cmdc
cmdc
CMDC
Command ConfirmConfirmation of control ASDU.
If CMDC=0, the D2000 KOM process does not confirm any control ASDU from the partner station by replying with an ASDU with an appropriate CauseOfTransmission.
If CMDC=1, the D2000 KOM process confirms control ASDUs with CauseOfTransmission=7 (Activation Confirmation).
If CMDC=2, the D2000 KOM process confirms control ASDUs with CauseOfTransmission=10 (Activation Termination).
If CMDC=3, the D2000 KOM process confirms control ASDUs with CauseOfTransmission=7 and CauseOfTransmission=10.
-1
Kotva
d2cls
d2cls
D2CLS
D2CPA
D2VCO
The parameters are intended for the configuration of a communication station for communication between two D2000 systems using ASDU 252 - D2000 Unival (Ipesoft's implementation). more ...
Kotva
d2h64
d2h64
D2H64
D2000 64-bit Historical ValuesWhen sending historical values (as an answer to a request for historical data), ASDU 249 will be used, which uses a 64-bit representation of floating points (the same as D2000 internally), instead of default ASDU 251 (which encodes the values as 32-bit floating points) to improve precision.
Note: Before enabling this parameter, you should verify that also the client supports ASDU 249. This support was implemented in November 2011 for D2000 v8.00.011.
-False
Kotva
dbgi
dbgi
DBGI
Debug InputA mask for debug levels of input data. The meaning of bits is as follows:
  • 0.bit - displays a number of incoming values during General Interrogation
  • 1.bit - displays all incoming values
  • 2.bit - balanced mode: requesting Interrogation command was received
-0
Kotva
dbgo
dbgo
DBGO
Debug OutputA mask for debug levels of output data. The meaning of bits is as follows:
  • 0.bit - balanced mode: displays a number of outgoing values during General Interrogation
  • 1.bit - displays all outgoing values
-0
Kotva
eoi
eoi
EOI
End of initializationIf EOI=0, the D2000 KOM process doesn't send ASDU 70 (End of initialisation). If EOI=1 and a client sends StartDT U-frame Act, the D2000 KOM process responds by StartDT Con and sends ASDU 70.-0
Kotva
gisn
gisn
GISN
GI Send NewIf GISN=True, then the D2000 KOM process after receiving the General Interrogation command sends also values with newer times than is the time when the command is received. The value of the GI Send New parameter must be True to send values with future times in a reply to the General Interrogation command.-False
Kotva
icf3
icf3
ICF3
Ignore Control Field 3 bit 0Determines behavior if ASDU contains Control Field with bit 0 (test) set in the 3rd byte (Receive).
  • if ICF3=False (default), ASDU content is to be processed
  • if ICF3=True, ASDU content is to be ignored
The feature is useful when creating a redundant TCP connection (TCP Redundant line + IEC 870-5-104 protocol). That active client should send ASDUs without the Test bit set and the passive client should send ASDUs with the Test bit set.
-False
Kotva
iii
iii
III
Ignore Invalids on InterrogationIf this parameter is set on a station, the D2000 KOM process will not send values of I/O tags which are Invalid or Unknown, in a reply for ASDU 100 and 101 (Interrogation/Counter interrogation commands). The parameter can be used e.g. for control applications - if sending Invalid values causes problems in control.-False
Kotva
it
it
IT
Ignore Tests

Determines behavior if ASDU contains the highest 7th bit (Test) set in CauseOfTransmission.

  • if IT=0 (default), ASDU content will be processed
  • if IT=1, ASDU content will be ignored
  • if IT=2, a Weak attribute will be set
The feature is useful when creating a redundant TCP connection. The active client should send ASDUs without the Test bit set and the passive client should send ASDUs with the Test bit set.
-0
Kotva
iua
iua
IUA
Ignore Unknown AddressesIf IUA=TRUE, the D2000 KOM process will not show an error on its console or write it into log files in case that incoming value has the address not matching any of the addresses of I/O tags defined in the D2000 system.-False
Kotva
ii
ii
II
Implicit InterrogationBalanced mode: After connecting the client, the values of all variables are automatically sent without any need for ASDU 100 and 101 [Interrogation/Counter Interrogation Command] requests.-False
Kotva
icci
icci
ICCI
Interrogation Covers Counter InterrogationAs a reply to Interrogation, ASDUs 15,16,37 (Integrated Totals) will be also sent, which are by default requested by ASDU 101 [Counter Interrogation].-False
Kotva
igo
igo
IGO
Interrogation Groups ObjectsOptimization of sending values during General Interrogation (answer to Interrogation Command/Counter Interrogation Command). If IGO=True, multiple values will be sent inside a single ASDU (so that the length of ASDU is within maximum defined by the standard - 253 Bytes). This parameter does not influence change-based sending of values during normal communication.-False
Kotva
iua
iua
IWOT
Interrogation WithOut TimestampsIf Interrogation WithOut Timestamp=True then values sent as a response to ASDU 100 [Interrogation Command] will be sent as ASDUs without timestamps.
For example instead of ASDU 2 (Single-point information with time tag) or ASDU 30 (Single-point information with time tag CP56Time2a) ASDU 1 (Single-point information) will be sent.
This behavior is suitable in a situation when the values have been invalidated as a result of communication error and, after the communication is re-established, the values come with old timestamps which causes problems in the D2000 Archive (if the values change only rarely, calculated historical values depending on them will be also invalid till a new value arrives). At the same time, this behavior is strictly according to the IEC standard, which says that the response to Interrogation should not use ASDUs with time stamps.
-False
Kotva
k
k
K
KSending window size i.e. packet quantity, which is sent by the D2000 KOM process without receiving a confirmation (S-frame or I-frame). According to the standard, the default value is 12.-12
Kotva
mc
mc
MC
Maximum ClientsThe maximum number of connected clients. The parameter is needed for D2000 OpenVMS, where a task pool containing 2 * MC tasks for client handling (one task for receiving data, one task for sending data) is created during KOM startup. If the value of the Maximum Clients parameter is equal to 0, the number of clients is not limited and threads are created dynamically as needed.-0
Kotva
nf
nf
NF
No FlagsIf the value of the parameter is True, then the status byte of incoming ASDUs is ignored and not saved into the FAA .. .FH H flags. Flags of output I/O tags are also ignored and they don't influence the status byte.-False

Kotva
ocic
ocic
OCIC

Order of Counter ICBalanced mode: Order of sending of ASDU 101 [Counter Interrogation Command] when initializing the connection. If OCIC<OIC, then ASDU 101 is sent before ASDU 100. If OCIC= 0, ASDU 101 is not sent. The parameter can be defined for each of the stations.-0

Kotva
oic
oic
OIC

Order of ICBalanced mode: Order of sending of ASDU 100 [Interrogation Command] when initializing the connection. If OIC<OCIC, then ASDU 100 is sent before ASDU 101. If OIC= 0, ASDU 100 is not sent. The parameter can be defined for each of the stations.-0
Kotva
pw
pw
PW
Pessimistic WriteDefines the evaluation of writing success in case of a connection of more than one client. If PW=0, writing a value is considered to be successful if at least one client confirms it (confirmation method is defined by the CMDC parameter). If PW=1, writing must be confirmed by all connected clients. If at least one client doesn't confirm it (e.g. connection failure occurs or the confirmation is negative), writing is considered to be unsuccessful.-0
Kotva
ssn
ssn
SSN
Send sequence numberThe initial Send sequence number after the TCP connection is established. According to the standard, having established the connection the Send sequence number is set to 0, other than zero could be appropriate e.g. for testing.-0
Kotva
sko
sko
SKO
Standby Keep OpenIf True, after changing the status of the D2000 Server process (the  D2000 KOM process is connected to) from Hot to Standby state (in a redundant system), connections with clients will not be closed, and listening for new clients will not be aborted.-False
Kotva
sscf3
sscf3
SSCF3
Standby Set Control Field

If True, after changing the status of the D2000 Server process (the  D2000 KOM process is connected to) from Hot to Standby state (in a redundant system), the lowest bit of the 3rd Control Field byte of information APDUs (APDU containing data or commands) will be set to 1 instead of the standard value of 0. The behavior does not strictly follow the standard and we recommend using the Standby Set Test Bit parameter instead of this parameter if it is possible.

-False
Kotva
sstb
sstb
SSTB
Standby Set Test BitIf True, after changing the status of the D2000 Server process (the  D2000 KOM process is connected to) from Hot to Standby state (in a redundant system), the Test bit will be set in Cause Of Transmission.-False
Kotva
swv
swv
SWV
Standby Write ValuesIf True, after changing the status of the D2000 Server process (the  D2000 KOM process is connected to) from Hot to Standby state (in a redundant system), the server will send new values to clients.-False
Kotva
w
w
W
WThe number of received I-frames, after which the D2000 KOM process sends an S-frame confirmation. According to the standard, the default value is 8. The relation W < K must be true, the standard recommends W = 2/3 * K.-8
Kotva
wt1
wt1
WT1
Wait Timeout T1

Timeout for receiving the confirmation of a sent I-frame (either confirmation within the I-frame or the S-frame itself) or a U-frame. If the D2000 KOM process does not receive the confirmation within Wait Timeout T1 time, it closes the TCP connection. According to the standard, the Wait Timeout T1 default value is 15000 ms

ms15 000
Kotva
wt2
wt2
WT2
Wait Timeout T2

Timeout for sending the confirmation of a received I-frame. Wait Timeout T2 < Wait Timeout T1. If another I-frame (which confirms the received I-frame) is not sent within Wait Timeout T2 time since the I-frame was received, the D2000 KOM process sends an S-frame confirming the received I-frame to the partner. According to the standard, the Wait Timeout T2 default value is 10000 ms.

ms10 000
Kotva
wt3
wt3
WT3
Wait Timeout T3

Timeout for sending test frames ( TEST ACT U-frame). If no data are sent in any direction for a long time, a TEST ACT U-frame will be sent after the expiration of the Wait Timeout T3 time by the D2000 KOM process, and a TEST CON U-frame is expected (within Wait Timeout T1 time after sending). If the Wait Timeout T3 on the partner side is set to a lower value, it sends the test frames, and the D2000 KOM process replies to them. According to the standard, the Wait Timeout T2 default value is 20000 ms.
Setting the value to 0 disables sending test frames.

ms20 000
Kotva
wtn
wtn
WTN
Wait Timeout No answer

Balanced mode: Timeout for receiving the confirmation of a sent value in a control direction (ASDUs 45 - 64). Receiving e.g. S-frame with RSN (Receive Sequence Number) confirming, that the other party received the previous I-frame doesn't mean, that the I-frame was processed. Within the Wait Timeout No answer time interval, the D2000 KOM process waits for receiving the response (e.g. after sending ASDU with TypeIdentificator=45 [Single Command] with CauseOfTransmission=6 [Activation], the receiving of Single Command with CauseOfTransmission=7 [Activation Confirmation] is expected. 

After the expiration of the Wait Timeout Tn, the D2000 KOM process closes the TCP connection.

ms60 000

...