Digi 90000566_H Network Router User Manual


 
set gpio
114 Chapter 2 Command Descriptions
Default serial signal settings for GPIO pins
The default serial signal settings for the GPIO pins on a Digi Connect
device are as follows. Depending on the device, there are five or nine
GPIO pins.
Examples Changing the operation of the GPIO signal pins
The following command changes GPIO pins 1-5 to allow input of GPIO
signals.
#> set gpio range=1-5 mode=input
See also "revert" on page 61.
"send" on page 67, for details on setting up alarms that issue email
messages or SNMP traps when GPIO pins change.
"show" on page 249.
Pin Number Default Serial Signal Signal Direction
GPIO 1 DCD Input
GPIO 2 CTS Input
GPIO 3 DSR Input
GPIO 4 RTS Output
GPIO 5 DTR Output
GPIO 6 TXD Output
GPIO 7 RXD Input
GPIO 8 TXD for port 2 Output
GPIO 9 RXD for port 2 Input