Solvline SerialGate User Manual
Page 83
SerialGate User Guide
83
Commands
Default
Description
def port x interface
[rs232,
rs422,
rs485ne,
rs485e]
RS232,
RS422
Configure interface of serial port.
It is not available for RS232 model.
Combo model can choose from RS-422, RS-485-No-Echo
and RS-485-Echo.
SG-1160/ALL can choose from RS-232, RS-422 and RS-
485.
def port x socket
4001
Set the socket number for the port. Com_redirect, TCP
Server, TCP Multiplex, TCP Broadcast, UDP Server,
Pair_Slave modes make use of this port for awaiting
network socket connections.
def port x name
Port 1
Name each port for convenience. 16 Characters at
maximum
def port x speed
[150/300/600/1200/2
400/4800/9600/1920
0/38400/57600/1152
00/230400/460800/9
21600]
9600bps
Set communication speed.
def port x data
[5 / 6 / 7 / 8]
8
Set the number of bits in each character size.
def port x stop
[1 / 2]
1
Set the number of stop bits.
def port x parity
[none/odd/even]
none
Set parity bit check scheme.
def port x flow
[none/xon/rts]
none
Set the flow control scheme.
def port x signal
[data/modem]
data
Set the signal line checking method for the device to be
connected to the given serial port.
def port x remote
0.0.0.0
Set IP address of the server to be connected in TCP Client,
UDP Client, Pair_Master mode.
def port 1
remoteport
4000
Set the socket number to connect to when the Operation
Mode is set to TCP Client or UDP Client or Pair_Master
mode.