AFE-R761 DI/DO

From ESS-WIKI
Revision as of 02:17, 14 January 2026 by Xingxing.li (talk | contribs) (Created page with " === '''Hardware pin definition:''' === There are 4x digital inputs and 4x digital outputs for on/off triggering and status reading. RTENOTITLE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Hardware pin definition:

There are 4x digital inputs and 4x digital outputs for on/off triggering and status reading.

RTENOTITLE

RTENOTITLE

Digital Input

4 x DI w 2500VDC isolation protection (terminal block)
- Wet contact: Logic: 0~3VDC(max);Logic 1: 10~30VDC
- Dry contact: Logic 0: Shorted to GND; Logic 1: Open (Default)
Digital Output

4 x DO w 2500VDC isolation protection (terminal block)
- Output voltage: 5-30VDC
- Output capability Sink(NPN): 500mA per channel

SW Function

Show DI/DO ports

# #---- Show DI ports ----# #
# cd /dev/
# ls DI*
DI1 DI2 DI3 DI4

# #---- Show DO ports ----# #
# cd /dev/
# ls DO*
DO1 DO2 DO3 DO4

Get DI Status

Take DI1 for example

# cat /dev/DI1
1

Note!

1. DI ports have two types : Dry or Wet.
2. For Dry ports
0 means the external circuit is conductive.
1 means the external circuit is NOT conductive.
3. For Wet ports
0 means the voltage of input is between 10-30V
1 means the voltage of input is between 0-3V
3-10V is unstable status.

Set and Get DO Status

Take DO1 for example:(The DO interface of UIO-4033 is of sink type,Default state: No output)

# #---- Set 0 to DO1 ----# #
# echo 0 > /dev/DO1

# #---- Set 1 to DO1 ----# #
# echo 1 > /dev/DO1

# #---- Get DO1 status ----# #
# cat /dev/DO1
1

Note:

Setting 0 to make the external circuit NOT conductive.
Setting 1 to make the external circuit conductive.