beautypg.com

Solvline PB30xx+ User Manual

Page 40

background image


Portbase User Guide

40

-

set serial [ all / 1 / 2 ] alive <0 ~ 32767>

(Default: 0 sec)

After a certain amount of time passes without any communication after the socket connection

between the given serial port and the server is established, automatically disconnect the socket

connection. If the value is set to 0, this function is disabled.

(Only applies to TCP Client, TCP Server, TCP Multi-Server operation modes.)

-

set serial [ all / 1 / 2 ] mtu <1 ~ 1100> (Default: 1 byte)

MTU stands for Maximum Transmission Unit, and this option needs to be set when

consecutive data from the given serial port needs to be transmitted to socket at once. If 100

bytes of character string are to be transmitted from the serial device and MTU is set to ‘100’,

Portbase waits until the entire 100 bytes are received. After receiving 100 bytes, it transmits

this data to the server as a single packet, using the socket. If 200 bytes of character string are

to be transmitted from the serial device, Portbase breaks this data into 2 packets of 100 bytes.

If MTU is set to ‘1’, however, each byte is transmitted right away in a packet, therefore

multiple packets sent to the server.

-

set serial [ all / 1 / 2 ] login [ enable / disable ] (Default: disable)

When the Operation Mode is set to TCP Server, ask for the username and password when the

client tries to connect.

-

set serial [ all / 1 / 2 ] username < username > (Default: conuser)

When using the login per port feature, set the username to ask for. 32 Characters at maximum.

-

set serial [ all / 1 / 2 ] password

(Default: 99999999)

When using the login per port feature, set the password to ask for. 32 Characters at maximum.

-

set serial [ all / 1 / 2 ] reset

Initialize the designated serial port right away.