Date: Thu, 28 Mar 2024 16:02:19 +0100 (CET) Message-ID: <1912653368.111122.1711638139628@srvdoc.doc.ipesoft.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_111121_767146920.1711638139628" ------=_Part_111121_767146920.1711638139628 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The editing of all objects in the process D2000 CNF is being performe= d in the configuration dial= ogue box, a specific part of which is common for all editable objects a= nd another part depends on the type of edited object.
The configuration dialogue box of communication stations consists of sev= eral parts (tabs), which contain similar parameters. Other tabs depend on t= he category of particular communication stations.
General properties
Groups
Parameters
Time parameters
Ad=
dress
Protocol parameters<=
/p>
A text string describing the communication station. Maximum: 128 charact=
ers.
A Dictionary =
;can be used (to open it, press CTRL+L).
Selection of an object value type. For communication station it is
The communication protocol specifies the type of station communication p= rotocol. The set of protocols is continuously being extended by the new one= s. The documentation of individual protocols can be found here. The list of available prot= ocols depends on the c= ategory of the line, which is the parent of the station.
The selection of one of four modes of the communication line. For lines = of Serial<= /a>, "Seri= al Line Redundant", "Serial System&Line Redundant" and "Moxa IP Serial Library" categorie= s, it is possible to define several sets (up to 4) of communication paramet= ers. The value of the Line mode parameter determines,= which of the sets will be used for communication with this station.
If the communication station is in the simulation mode the values of all= I/O Tags related to the given station are simulated. The simulation of rea= l (Ai, Ao) and integer (Ci, Co) values is performed by means of values lyin= g on the sinusoid within the range of 0...100. In the case of binary values= (Di, Do), TRUE/FALSE values are alternated randomly.
If the parameter is checked, the values of I/O tags, the parent of which= is the station, will be Invalid when the station is off (= the state StOFF). Otherwise, the values of I/O tags are the last values bef= ore switching off the station.
The communication may be controlled in several ways. Check the M= anual option to enable the controlling the station via the dialogu= e box in process D2000 HI. The disabled communication option allows enabling (disablin= g) the communication in Manual mode. The Control object op= tion enables to select the object that controls the communication if the st= ation is in the automatic mode. The control object must be of Boolean type.=
Control object value | Station behaviour |
---|---|
TRUE | Delay of requests for communication. The request= s for output are postponed. |
FALSE | Normal communication without any limits. |
A behaviour of station after an error is determined by the Time filter and Delay after error spin = buttons (set in milliseconds). If the station does not communicate, it will= pass from the NORMAL state to COMM_ERR (soft error). If the communication = is not restored even after expiration of time corresponding to the value of= Time filter option, the station is passed to HARD_ERR (ha= rd error). The Delay after error parameter determines how = long after passing to HARD_ERR there will be no communication with the stat= ion.
The parameters, dependent on the protocol, determine its behaviour durin= g communication with this station. The parameters should be entered into th= e input field in the form:
PRM1=3Dvalue;=
PRM2=3Dvalue
etc.
PRM1, PRM2
- names of parameters
Gradually, we are moving to a new - clearer and more convenient - form o= f entering communication parameters of the station. If it is not possible t= o enter data in this field (it is not allowed), see the tab Protocol parameters.
Mo=
re information about protocol parameters...
The communication process obtains new values by periodic polling of stat= ions.
The settings of Delay 0:0:0.000 is forbidden for any other priority than= the lower one (0), because there is a possibility that other stations neve= r can use the communication.
Some communication protocols allow setting the real-time into a device. = To enable the real-time setting, check the Enable option a= nd enter the period in the form of Hours:Minutes:Seconds, which determines = the time of the next station synchronization (it works similarly to Delay parameter for polling). If the communication protocol does = not support the time synchronization of the station, the request is ignored= .
A priority is assigned to each station. It solves the potential conflict= s of the access to communication medium (line) - Polling priority <= /strong>option. For the station, it is possible to define one of the five p= riority levels:
When using the protocols that support sending the values with the timest=
amps, the timestamps are to be replaced by the current time of the D2000 sy=
stem (time of the computer with the running process D2000 KOM).
Note: if the start parameter /F is no=
t set to 0 (and therefore watchdog messages are sent between D2000 Server a=
nd D2000 KOM processes), the time of D2000 Server process is transmitt=
ed within periodic watchdog messages. The D2000 KOM process then calculates=
the difference between the local time and the D2000 Server time and correc=
ts the local timestamps by this difference. That is, it effectively uses th=
e D2000 Server time (and so do other D2000 processes). But it also means th=
at if the time jumps on the computer where D2000 KOM is running (e.g. due t=
o time synchronization), this fact will be detected D2000 KOM only after re=
ceiving the next watchdog message. Therefore, it is recommended to correct =
the computer time not in one step, but by gradual approximation (i.e. using=
NTP clients that support such synchronization, e.g. Windows Time Synchroni=
zer).
The parameter is implemented only for some of the communication protocol= s that support timestamps:
If the checkbox is checked, then:
This parameter activates the filter that checks the timestamp of I/O tag= s' new values on this station. The new value is ignored if the timestamp is= older by a defined number of days and hours than the current real-time of = communication station. The log about this is saved into the application directory= , subdirectory TRACE, file DISCARDED_VALUES_SELF_K= OM.log (for SELF.KOM) or DISCARDED_VALUES_name_KOM.log (for name.KOM).
This parameter activates the filter that checks the timestamp of I/O tag= s new values on this station. The new value is ignored if the timestamp is = newer by a defined number of days and hours (i.e. it is in the future) than= the current time of communication station. The log about this is saved int= o the = application directory, subdirectory TRACE, file DI= SCARDED_VALUES_SELF_KOM.log (for SELF.KOM) or DISCARDED_VALUES_name_KOM.log (for name.KOM).
The settings of communication station address. The form of station addre= ss depends on the type of the used protocol. More information about the com= munication protocols can be found in the detailed description of protocols.
The tab contains the full list of communication parameters. They influen= ce and set the behaviour of communication for the given station (except for= the station address, see Address).
The tab is visible only if the communication protocol contains some para= meters.
The list contains the following information:
The editing is allowed only in column Value. It enables to set = the requested value of the parameter. The changed values (they are differen= t from the default value) are highlighted by red colour. Click on the "Def"= button if you want to return the values of one or more selected parameters= to the defaults. The "Def" button is placed below the list of protocol par= ameters together with the info button.
More information on parameters of asynchronous communication protocols i= s here and information on parameters of the communication line is here= . They influence the behaviour of communication on all stations of the give= n line.
Related pages: