Porovnávané verzie

Kľúč

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

...

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol "OMV 24".
  • Address parameter is not required. The communication line can be used only for one Gaspartner.

...

Communication station - configuration dialog box - tab "Protocol parameters".
These parameters influence some optional parameters of the protocol. You can set the following station parameters:

Table 1

Key word
KeywordFull nameMeaningUnit / sizeDefault value
Kotva
wt
wt
WT
Wait TimeoutDelay between the response reading until it is completed.ms1000 millisec.
Kotva
scan
scan
SCAN
Scan-only Mode
Permanent
A permanent passive mode of data scan only (mode 2).YES/NONO
Kotva
wp
wp
PERIODE
Write PeriodeTransmission period of the output data block. A station must be in an active mode 1. If the valid data have not been received and three-time of this time elapses, the station switches to a communication error after.sec60
Kotva
tmf
tmf
TM_FACTOR
Write Collision Delay
Timeout
A timeout of two functions:
  1. If there are some communication problems (full input block has not been received, noise, etc.), the
receipt
  1. reception is totally
reinitiates
  1. reinitiated and
uncompleted
  1. incomplete data are ignored after the configured time elapses since receiving the last data.
Output
  1. The output data block is sent only after this time elapses since
the receiving
  1. the last reception of valid data.
sec10
Kotva
tv
tv
TRACE_VAL
Trace ValuesDetailed
tracing
tracking of data (e.g. through D2000 SysConsole). Detailed data about an analyzed value
are
is written after every
recorded
received line (record).YES/NONO
Kotva
tm
tm
TMASK
Time Value MaskMask for date and time conversion from received data.-yy-mm-dd hh:mi
Kotva
mt
mt
MOXAT
Moxa TimeoutTimeout for detection of failure of one communication line on SerialOverUDP Device Redundant lines. After elapsing the timeout since receiving the last character, the communication is redirected to
other
another communication line, i.e. reading/writing will be done via a secondary/backup device.mi:ss02:00
Kotva
sd
sd
SENDT
Send Delay
Delay
The delay between sending individual lines of a communication message.sec0.000

String A string containing the protocol parameters is defined as follows:

Key_word=value;Key_word=value; ...

Example:

WT=400;PERIODE=20;

If there is used a keyword with an invalid value in the initialization string, there will be used corresponding default value according to Table 1.

Kotva
merany_bod
merany_bod
I/O tag configuration

...

I/O tags: Ai, Ci, Di, Qi, Ao, Co, Do

The Gaspartners transfer each other data in blocks with defined periodicity. A received input block is analyzed and the value values are assigned to the proper input tag tags according to the parameter Identifier (Ai, Ci, Di, or Qi). Output block consists of output tags (Ao, Co and Do). These output tags must contains contain a control object, tab "Control of output".
Note: I/O tag of Qi type, which is used as the control object, used for output tag Co.

...

The blocks of data are transferred during this communication. Every object (I/O tag) has its unique number "Identifier", which is required. Identifier An identifier is a number in the range of 1 up to 998 (0 and 999 are reserved). The same values of Identifier can be used in both input and output blockblocks.

Exponent

Exponent is a value that should be defined for Ai, Ci, Ao, and Co tags. The input value from the communication is recalculated by a result 10^Exponent. The implicit value is 0 (i.e. input value *1). For Ao and Co tags, the calculation is the same and the result is sent by output data block. 

Decimal places

Number The number of decimal places for Ao (output tag). It defines an accuracy of sending data to Gaspartner.

...

  1. Kotva
    rezim1
    rezim1
    Activity in the state of connection to the "hot" server (HS). The protocol executes an active communication, i.e. sends a request for data according to the configuration. 
  2. Kotva
    rezim2
    rezim2
    Activity in the state of connection to the "stand-by" server (SBS). The protocol just reads and analyzes the received data. This state can be used for the whole communication line and all stations, which are defined on it, at any time with the help of parameter SCAN that should be used at least in one station.

A transition from SBS -> SS HS is executed with a transient phase, i.e. data are read during for 1 minute to detect a silent silence on the communication line, which means a detection whether the previous D2000 KOM, connected to the HS server, has switched to Mode 2.

...

When you set "Monitor & Disk" or "Disk", the file "line_name.LOG" occurs in the subdirectory "\TRACETrace" subdirectory in the application directory on the computer with the running communication process. This file contains all the debug and error messages.

Error:>OMV24 - Id of Point: 'point_name1', Id: Identifier, is already used with Point: 'point_name2' !
Description:There cannot be two I/O tags with the same Identifier (address parameter) in input or output block.
Error:>OMV24 - Error in address, Point: 'point_name' !
Description:An error has occurred in the address parameters. Check all data on tab "Address" in I/O tag configuration dialog box.
Error:>OMV24 - Station: 'station_name', Received invalid character(s) !
Description:The forbidden characters were received through
the
communication. The protocol specification denies them. Only printable characters are permitted - '0' to '9' ,'A' to 'Z' and *;,.-: blank space, CR, and LF.
Error:>OMV24 - Station: 'station_name', Data block error, invalid line number CountedLines / ReceivedLines !
Description:Number of lines (records) with CountedLines, which were analyzed from the data
receive
received, is not in compliance with the number of lines ReceivedLines, which is referred to on the last line with the value Identifier 999 (final record).
Error:OMV24 - Station: 'station_name', Unknown data block lines number !"
Description:Unable to read the final record Identifier 999 with a total number of lines.
Error:>OMV24 - Station: 'station_name', Unknown data record quality (data line: 'data_record') !!
Description:The line with an unknown character "Quality" has been received. The value is ignored.
Error::>OMV24 - Station: 'station_name', Unconvertible value for value_type type (data line: 'data_record'), Point: 'point_name' !
Description:The received data record cannot be assigned to I/O tag point_name of type ValueType.  
Error:>OMV24 - Station: 'station_name', Unconvertible value for Qi type (data line: 'data_record'), Point: 'point_name' !
Description:The received value cannot be converted to Qi type. Transition values are 0-Error, 1-Off, 2-On, 3-Moving. The values out of range 0..3 cause that this error occurs.
Error:>OMV24 - Station: 'station_name', Unknown data record format (data line: 'data_record') !
Description:Received the unknown data format.
Error:>OMV24 - Station: 'station_name', Error during data analyzing (data line: 'data_record') !
Description:When analyzing the data record, an unspecified error occurred (e.g. an attempt to change a text to a number). The error can be caused when receiving
the
defective data. The protocol does not specify any
check sum
checksum, therefore this situation can happen.

Kotva
literatura
literatura
Literature

...