Users Guide

RS-422FD\RS-485FD
Ready-to-use software to control or manage devices are not available from Dell.
To configure the RS-422/RS-485 port, run the following commands:
1. Set RS-422/RS-485 FD from the pre-installed DCC application.
dcc.cctk -h --serial1
dcc.cctk --serial1
dcc.cctk --serial1=rs422
2. Set serial port mode.
$ sudo stty -F /dev/ttyXRUSB0 ispeed 115200 ospeed 115200 -echo -onlcr -ixon -ixoff
$ sudo stty -F /dev/ttyXRUSB1 ispeed 115200 ospeed 115200 -echo -onlcr -ixon -ixoff
3. Transfer or receive data between two portsfor example, a wired RS-422/RS-485FD between two serial ports on the
device.
$ sudo su
$ echo abcdefg > /dev/ttyXRUSB0
Repeat the command to send data.
4. Receive data from another terminal by ssh from your computer.
$ ssh admin@<IP address of Edge Gateway>
(passwd: admin)
$ sudo su
$ cat /dev/ttyXRUSB1
Verify that the string is received correctly.
RS-485HD
To configure the RS-485HD port, run the following commands:
1. Set RS-485HD from the pre-installed DCC application.
dcc.cctk -h --serial1
dcc.cctk --serial1
dcc.cctk --serial1=rs485
2. Set serial port mode.
$ sudo stty -F /dev/ttyXRUSB0 ispeed 115200 ospeed 115200 -echo -onlcr -ixon -ixoff
$ sudo stty -F /dev/ttyXRUSB1 ispeed 115200 ospeed 115200 -echo -onlcr -ixon -ixoff
3. Transfer or receive data between two portsfor example, a wired RS-485HD between two serial ports on the device.
$ sudo su
$ echo abcdefg > /dev/ttyXRUSB0
Repeat the command to send data.
4. Receive data from another terminal by ssh from your computer.
$ ssh admin@<IP address of Edge Gateway>
(passwd: admin)
$ sudo su
$ cat /dev/ttyXRUSB1
Verify that the string is received correctly.
58
Setting up the operating system