Porovnávané verzie

Kľúč

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


Generic User Protocol

Supported device types and versions
Communication line configuration
Communication station configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions


Kotva
typy_verzie
typy_verzie
Supported device types and versions

...


Generic User Protocol is intended to support an application-level implementation of simple and lightweight communication protocols directly in event. It supports several types of lines including line-redundant and system-redundant ones. Data read from the communication are published into input I/O tags (IN) without waiting for any confirmation from event's side, therefore it is recommended to implement data handling via server event using the action ON CHANGE, eventually by a trigger event with a request queue configured, eventually by enabling multiple executions of the script (action ENABLE) so that all the published data is handled even under heavier load.


Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...


Category of communication line:

...


Kotva
linka_parametre
linka_parametre
Communication line protocol parameters

...


Configuration line dialog box - tab Protocol parameters.
They influences some of the optional protocol parameters. The following line parameters can be set:


Table 1


Key wordFull nameDescriptionUnitDefault value
Kotva
rwt
rwt
RT
Read Wait TimeoutWaiting between individual data readouts from the communication. If no data was received during this period and previously some data was read, it will be published as a value of input I/O tag IN.
If some data was received during this period, it will appended to a buffer, until a timeout occurs or the buffer becomes full (see a parameter Read Size). If a parameter Log Each Read is set to True, data will be published immediately regardless of the value of parameter Read Wait Timeout.
sec.mss1.000
Kotva
rs
rs
RS
Read SizeMaximum size (in bytes) of input data. Longer data will be published in several chunks.-1024
Kotva
le
le
LE
Log Each ReadIf this parameter is set to True, data will be published immediately regardless of the value of parameter Read Wait Timeout.-False
Kotva
lf
lf
LF
Log FormatFormat of data traces in log files: "0 - Hexa log" or "1 - Text log".
Setting the correct format helps to make a communication log file more readable depending on whether the specific protokol is text-oriented or binary by dumping the data in text or hexadecimal format.
-0 - Hexa log
Kotva
sl
sl
SL
Single LogSetting this parameter to True will make all logs to go to a single file on redundant lines.
Setting this parameter to False means that two log files will be created for the primary/secondary line (Serial Line Redundant, SerialOverUDP Line Redundant, TCP/IP-TCP Redundant), or four log files will be created for the primary/secondary line of A/B system (Serial System&Line Redundant, SerialOverUDP System&Line Redundant).
-False


Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...


  • Communication protocol Generic User.
  • Station address is not configured; it is recommended to configure a single station per line, but multple stations are supported too. In this case, when data is received from the communication, it will be published via input I/O tags IN on all configured stations. Likewise, it will be possible to use output I/O tags OUT on any configured station.


Kotva
merany_bod
merany_bod
I/O tag configuration

...


Possible value types of I/O tag: TxtI, TxtO.


Kotva
in
in
Input I/O tags:

...

...


Note: it is possible to configure and use an I/O tag with the address IN and I/O tags IN_A, IN_B, IN_C, IN_D on a single station at the same time.
In a similar way, it is possible to configure and use an I/O tag with the address OUT and I/O tags OUT_A, OUT_B, OUT_C, OUT_D on a single station at the same time.


Kotva
literatura
literatura
Literature

...


-


Kotva
zmeny_upravy
zmeny_upravy
Changes and modifications

...


-


Kotva
revizie
revizie
Document revisions

...


  • Ver. 1.0 - October 15, 2015 - creating document

...