Chapter 3
–
Gateway Setup and Configuration
32
Io
T G
at
eway
S
ystem
SRG
-A
CA
N
3.7.3.1
Manage RS-232/422/485 Mode
Check Current Mode by entering the following command:
$ sudo uartmode -p
PORTNO
PORTNO
is the label of each port:
PORTNO
System Name
Port Label
0
/dev/ttyMU0
COM1
1
/dev/ttyMU1
COM2
Example:
will return mode for COM1
$ sudo uartmode -p
0
The command will output a single number. Refer to the table below for each mode:
PORTMODE
COM Mode
0
RS-232
1
RS-485 2-wire
2
RS-422/RS-485 4-wire
Switch Mode: by entering the following command:
$ sudo uartmode -p
PORTNO
-m
PORTMODE
Refer to the tables above for
PORTNO
and
PORTMODE
The system will return the following:
Содержание AAEON SRG-ACAN
Страница 1: ...Last Updated August 13 2021 SRG ACAN IoT Gateway System User s Manual 1st Ed ...
Страница 13: ...IOT Gateway System SRG ACAN Chapter 1 Chapter 1 Product Specifications ...
Страница 17: ...IOT Gateway System SRG ACAN Chapter 2 Chapter 2 Hardware Information ...
Страница 18: ...Chapter 2 Hardware Information 6 IoT Gateway System SRG ACAN 2 1 Dimensions ...
Страница 24: ...IOT Gateway System SRG ACAN Chapter 3 Chapter 3 Gateway Setup and Configuration ...
Страница 48: ...Chapter 3 Gateway Setup and Configuration 36 IoT Gateway System SRG ACAN Digital Output ...