UIO-4033 RS485:COM1、COM2、COM3、COM4

From ESS-WIKI
Revision as of 07:16, 20 December 2024 by Xingxing.li (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UIO-4033  both have four RS485 ports.

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

Send and Receive Data

The following figure shows the connection mode.

RTENOTITLE

Taking COM1 as receiver and COM2 as sender :

# #---- COM1 as receiver ----# #
# stty -F /dev/ttyUSB0 115200 cs8 -cstopb -parenb -crtscts
# cat /dev/ttyUSB0 &

# #---- COM2 as sender ----# #
# stty -F /dev/ttyUSB1 115200 cs8 -cstopb -parenb -crtscts
# echo pass > /dev/ttyUSB1

# #----If no error, the receiver will receive “pass”----# #
pass

RTENOTITLE