User's Manual
Doc #: 1ANSU-160004
DNI SGDC-D22 User Manual
i. 30
8. I/O Control
8.1. Data Collector ID
To get DCU id, execute the following command.
# getuid
8.2. System Ready LED
To get turn on or turn off the ready led, execute the following command.
# sysrd-led-on
# sysrd-led-off
8.3. Buzzer
To control the buzzer, execute the following command with the unit in millisecond.
# buzzer <msec>
8.4. Reset Button
The action of the reset button is programmable. The default action is:
< 5 seconds: Reset the device.
> 5 seconds: Recovery to the default settings.
8.5. RS-232 & RS-485
RS-232 port is mapped to the Linux device /dev/ttyM0, and RS485 is /dev/ttyM1. RS-485 can support 2-wire and
4-wire mode, you need to select the correct mode before you use it. To select the RS-485 mode, execute the following
command.
2-wire mode:
# setport 1
4-wire mode:
# setport 0