Using the console port to connect serial devices
U
SER
G
UIDE
124
sets the connection speed of the serial port. 9600 and 19200 are the value accepted
set modbus rtu-host <ipaddr>
set modbus rtu-port <port>
configures the IP address and the Ethernet RTU port on which the router will connect to send the
requests.
set modbus no-rtu-host
set modbus no-rtu-port
delete the IP address elimina l'indirizzo IP e la porta della RTU Ethernet.
set modbus rtu-vtim
sets the time to wait to full recognize the message, in millisecond. Default is 100 milliseconds. This
command is meaningful just for the Ethernet RTU.
set modbus rtu-vmin
configures the minimum character number to be used to full recognize the message. Default is
255. This command is meaningful just for the Ethernet RTU.
set modbus rtu-parsing
enables the parsing on the RTU answer, in order to optimize the reception time.
set modbus no-rtu-parsing
enables the transparent modality of the treatment of the answer from the RTU. This is the default
value.
set modbus on
when the application is active, this command restarts it. You can use it when some parameters of
the configuration are changed.
show config current modbus
show the current configuration.
AT
H
AYES
E
MULATOR
The AT (
ttyate
) emulator service receives the AT commands on the serial port and then interprets
them according to the Hayes AT Convention.
The AT Hayes emulator has two different state:
1.
Command Mode
2.
Data Mode
In the
Command Mode,
the characters that are received on the serial port are analyzed and when a
valid AT command is recognized, it is interpreted and execute locally.
In the
Data Mode,
the characters that are received on the serial port are send in transparent mode
toward a remote entity, previously set by the appropriate commands.
The initial state is the
Command Mode
.
A valid command always starts with the
AT
sequence and ends with
CR
('\r')
.