Porovnávané verzie

Kľúč

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

...

The ASCII Client/Server protocol is intended for parsing serial communication containing simple text-oriented data (data sentences) that conform to a template
StartMark Data1 Separator Data2 Separator .... DataN EndMark

Parameters StartMark, Separator and EndMark parameters can be configured within the station address.

It is also possible to periodically transmit text-oriented data with an identical template - with the fact that the . The StartMark, Separator and EndMark parameters for transmission can be different from those for reception.

...

Note: StartMark, Separator and EndMark parameters can also contain special (control) characters in symbolic form, e.g. <CR> or <LF>. The following table lists the supported characters:

Table 1

Symbolic formCharacterASCII value
<NUL>
NUL0
<SOH>
SOH1
<STX>
STX2
<ETX>
ETX3
<EOT>
EOT4
<ENQ>
ENQ5
<ACK>
ACK6
<BEL>
BEL7
<BS>
BS8
<HT>
HT9
<LF>
LF10
<VT>
VT11
<FF>
FF12
<CR>
CR13
<SO>
SO14
<SI>
SI15
<DLE>
DLE16
<DC1>
DC117
<DC2>
DC218
<DC3>
DC319
<DC4>
DC4

20

<NAK>
NAK21
<SYN>
SYN22
<ETB>
ETB23
<CAN>
CAN24
<EM>
EM25
<SUB>
SUB26
<ESC>
ESC27
<FS>
FS28
<GS>
GS29
<RS>
RS30
<US>
US31
<SPACE>
SPACE32


Kotva
stanica_parametre
stanica_parametre
Station protocol parameters

...

The following station parameters can be set:

Table 2

Full name

Description

UnitDefault value

Kotva
wt
wt
Wait timeout

Waiting between data readings.sec0.2

Kotva
tm_factor
tm_factor
Maximum read timeout

Maximum reading time of one data sentence (if data input is enabled in the station configuration).
If the data sentence is not fully read within this time, the state machine is reset and waiting for the startup sequence to arrive.

sec5

Kotva
armp
armp
Data output period

Data transmission period (if transmission is enabled in the station configuration).

sec60

Kotva
moxat
moxat
Moxa timeout

If the SerialOverUDP Device Redundant communication line is used, on which two serial servers are configured (e.g. Moxa NPort), the parameter specifies a timeout after which the redundant serial servers will be switched in the event of a communication error (if no data is received within this time limit).

sec120


Kotva
merany_bod
merany_bod
I/O tag configuration

...