MANUAL IM635
Command Operation
Page 24
SET EOS USB RMT 0x0A0D
// set usb output sequence as CR-LF
SET EOS TCP PMT 0x0A0D
// set tcp socket input to terminate on either CR or
LF
SET EOS TCP RMT 0x0D
// set tcp output sequence as a single CR character
SET EOS UDP PMT 0x0A
// set udp socket input to terminate on Lf character
only
SET EOS UDP RMT 0x0D
// set udp output sequence as a single LF character
6.5.1
Serial Port
SET SERIAL BAUDRATE
Function:
RS232 serial port baud rate setting
Syntax:
SET SERIAL BAUDRATE
rate
Argument(s):
rate
int32
Remarks:
This function sets the baud rate for the RS232 serial port. The
rate
parameter may be any value
from 9600 to 230400, with the standard rates being 9600, 19200, 38400, 57600, 115200, and
230400. This command will take effect immediately, and does not require a reboot. Note that this
setting may be overridden by hardware DIP switches located on the controller assy.
Return Value: none
Example(s):
SET SERIAL BAUDRATE 115200
SET SERIAL FLOW
Function:
RS232 flow control
Syntax:
SET SERIAL FLOW
enable
Argument(s):
enable
byte, 0-1 (or OFF/ON)
Remarks:
This function can be used to selectively enable or disable the serial port hardware RTS/CTS flow
control signals. A value of 0 (or OFF) disables flow control, while any other value (or ON) enables
RTS/CTS handshaking. Flow control can be used to prevent loss of input data while the system is
busy executing commands.
Return Value: none
Example(s):
SET SERIAL FLOW 1
// enable RTS/CTS flow control
6.5.2
Network
SET IPADDR
Function:
Sets the network IP address/mode
Syntax:
SET IPADDR [
ipaddr
| DHCP | AUTOIP]
Argument(s):
ipaddr
static IP address, in the form DDD.DDD.DDD.DDD
DHCP
selects DHCP address mode (default)
AUTOIP
selects AUTOIP mode
Remarks:
This function sets the default IP address mode, allowing the choice between static or dynamic
modes. There is some interaction between the various settings, but typically selecting one mode
disables the others as follows:
Static IP
Setting a static fixed IP address automatically disables DHCP and AutoIP operation.
DHCP
Setting DHCP mode will enable both the DHCP and AutoIP modes. The existing static IP address
(if any) will be erased. DHCP takes preference over any other selected mode. If the system is
unable to obtain an address from a DHCP server on the network, it will switch over to AutoIP
mode, where it will attempt to assign a link-local address.