Solvline SG-1160 User Manual

Page 43

Advertising
background image


SerialGate User Guide

43

Commands

Default

Description

[rs232,

rs422,

rs485ne,

rs485e]

RS422

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

<port number>

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

<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

<IP address>

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

<socket number>

4000

Set the socket number to connect to when the Operation

Mode is set to TCP Client or UDP Client or Pair_Master

mode.

def port x keepalive

<0 ~ 65535>

0

After a certain amount of time passes without any

communication after the socket connection between the

Advertising