Advantech RSB-4220 handleiding
Handleiding
Je bekijkt pagina 37 van 72

31 RSB-4220 User Manual
Chapter 2 H/W Installation
2.5.10.3 UART1 RS485 Test
Switch SW8 to set UART1 to work with RS485. Connect 2x20-pin’s Pin 27 and Pin 29
to the RS485 port of ADAM, then connect the UART4 port to the RS232 port of
ADAM. Run program to transmit data between UART1 and UART4.
RSB-4220’s RS485 does not support auto flow control; this must be controlled by a
user app.
root@am335x-adv:/unit_tests# ./AutoRun_uart485 -p /dev/ttyO1 /dev/
ttyO4 -t 6
Open uart /dev/ttyO1 OK ....
Open uart /dev/ttyO4 OK ....
Writing: hello world!
Reading: hello world!
->TX/RX Signal pass
+-----------------------------------+
| UART RS485 Testing PASS |
+-----------------------------------+
Close uart /dev/ttyO1 OK ....
Close uart /dev/ttyO4 OK ....
Bekijk gratis de handleiding van Advantech RSB-4220, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
Merk | Advantech |
Model | RSB-4220 |
Categorie | Niet gecategoriseerd |
Taal | Nederlands |
Grootte | 6307 MB |