PortStore5 Manual
HW group
www.HW-group.com
16
====== Out IP Setup ======
S: Send to IP
192.168.0.252
U: Port
23
If the address in the S option is different from 0.0.0.0,
PortStore5 works as a Client/Server in the TCP mode.
This means that if
no TCP/IP connection is established
and
the device receives serial port data (even a single byte), the
device establish a TCP socket to defined IP address as TCP
client.
The device remains in the
TCP Server
mode in between
attempts.
In the UDP mode, PortStore5 sends data from the serial port to this address/port.
Set S = 0.0.0.0 to switch the converter to the
TCP Server
mode.
B: IP Protocol Retry
124
Determines the TCP connection timeout if no communication
takes place. Predefined values are available through the
asterisk notation:
*1: 30 s (n = 35)
*2: 1 min (n = 45)
*3: 2 min (n = 63)
*4: 5 min (n = 77)
*5: 10 min (n = 101)
*6: 15 min (n = 124)
*7: 30 min (n = 144)
*8: 1 h (n = 179)
*9: 2 h (n = 249)
The timeout can be fine-tuned by specifying a value from 10 to
255 according to this formula:
n <16 .. n * 0.2 s
n < 32 .. (n- 15)* 0.8 s + 3.0 s
n < 64 .. (n- 31)* 3.2 s + 15.8 s
n <128 .. (n- 63)*12.8 s + 118.2 s
n <256 .. (n-127)*51.2 s + 937.4 s
Example:
B42 => (42-31)*3.2+15.8 = 51s
P: IP Active Call Timer (65535 – Off)
Setting the connection length
Keeping a TCP socket open is
useful when small volumes of
data need to be transferred as
soon as they come in but HW
VSP is not used or a permanent
connection needs to be avoided.
For the duration specified by the B
option, the connection is kept
open and data are sent
immediately, without the delay for
establishing a TCP connection.
On the other hand, a long
timeout means a long period of
inaccessibility through other
sockets (disconnected cable,
TCP setup).
Port configuration in UDP mode
When UDP communication is
used, the remote address must
be specified here.
Otherwise, the communication
will be unidirectional. Data are
sent only to the specified
address.
Содержание PortStore5
Страница 1: ...PortStore5 Manual HW group www HW group com 1 PortStore5 MANUAL...
Страница 5: ...PortStore5 Manual HW group www HW group com 5...
Страница 14: ...PortStore5 Manual HW group www HW group com 14 Network parameters...
Страница 17: ...PortStore5 Manual HW group www HW group com 17 TCP mode settings...