5 serial commands, Serial commands – Solvline Eddy Serial v2.5.1.1 User Manual
Page 60

Eddy User's Guide
60
6.5 Serial Commands
You can set the communication and operation environment for the serial port. Chapter 5 describes each option in
detail. Only a summary of each option is presented here.
Commands
Default
Descriptions
def port 1 protocol
[disable / com/
tcp_server/tcp_client/
tcp_broadcast /
tcp_multiplex/
udp_server/udp_client]
com
Select the operation protocol, which the serial port would use.
def port 1 socket
4001
Set the socket number for the port. TCP Server, TCP
Broadcase, TCP Multiplex, and UDP server operation modes
make use of this port for awaiting network socket connections.
def port 1 name
Port 1
Port alias name for convenience. 16 Characters at maximum
def port 1 speed
[150/300/600/1200/2400/480
0/9600/19200/38400/57600/
115200/230400/460800
/921600]
9600bps
Set communication speed.
def port 1 data
[5 / 6 / 7 / 8]
8
Set the number of bits in each character size.
Def po 1 interface
[rs422, rs485e, rs485ne]
RS422
Configure interface of serial 3,4 port on Eddy-S4M
(In Eddy-DK, this can be selected by Dip Switch on Eddy-DK
board so that this category cannot be selected. )
def port 1 stop [1 / 2]
1
Set the number of stop bits.
def port 1 parity
[none/odd/even]
none
Set parity bit check scheme.
def port 1 flow
[none/xon/rts]
none
Set the flow control scheme.
def port 1 signal
[data/modem]
data
Set the signal line checking method for the device to be
connected to the given serial port.
def port 1 remote
0.0.0.0
When the Operation Mode is set to TCP Client or UDP Client,
set the IP address to connect to.
def port 1 remoteport
4000
When the Operation Mode is set to TCP Client or UDP Client,
set the socket number to connect to.
def port 1 keepalive
<0 ~ 65535>
0
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.
def port 1 latency
180
This needs to be set when consecutive data from the given
serial port needs to be transmitted to socket at once.