Porovnávané verzie

Kľúč

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

...

For both the "Input file" and "Archive" parameters, the symbolic constant #APPDIR# can be used to indicate the application directory (e.g. "#APPDIR#\input.txt").


Kotva
linka_parametre
linka_parametre
Communication line protocol parameters

...

KeywordFull name

Description

UnitDefault value

Kotva
ts
ts
TS

TCP Server

Activates server mode on the TCP/IP-TCP line. In this mode, the D2000 KOM process listens to the client connection. After the client is connected, the D2000 KOM process communicates with it (i.e., it is a single-server implementation handling a single client). After the client is disconnected, the D2000 KOM process listens again.
In server mode, the entered server name is interpreted as the name/IP address of the interface on which the D2000 KOM process listens. It is also possible to enter symbolic names * resp. ALL (listening on all interfaces for IPv4 protocol), or [*] resp. [ALL] (listening on all IPv6 interfaces).

-False

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 be 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 the parameter Read Wait Timeout.
sec.mss1.000

Kotva
ce
ce
CE

Character encoding

The method for text encoding/decoding for writing/reading. Implemented are:

  • UTF-8
  • ISO_8859_1
  • Windows_1250
  • Windows_1251
  • Windows_1252
  • KZ_1048

Note: ISO_8859_1 mode is suitable for the transmission of 8-bit ASCII characters and implementation of binary protocols.
Note: if invalid data is read (e.g. for UTF-8 encoding), the input I/O tag will be invalidated.

-ISO_8859_1
Kotva
rs
rs
RS
Read SizeMaximum size (in bytes) of input data. Longer data will be published in several chunks.-1024

Kotva
frm
frm
FRM

File Read Mode

Method of reading data from a file:

  • Read one row - values are read and published to the input I/O tag (IN) one row at a time
  • Read whole file - the whole file is loaded and published to the input I/O tag (IN) at once
-Read one row
Kotva
le
le
LE
Log Each ReadIf this parameter is set to True, data will be published immediately regardless of the value of the 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 protocol 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 be written 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 the A/B system (Serial System&Line Redundant, SerialOverUDP System&Line Redundant).
-False

...

Kotva
in
in
Input I/O tags:


...