Difference between revisions of "AFE-R761 DI/DO"

From ESS-WIKI
Jump to: navigation, search
(Created page with " === '''Hardware pin definition:''' === There are 4x digital inputs and 4x digital outputs for on/off triggering and status reading. RTENOTITLE...")
 
Line 16: Line 16:
 
=== '''SW Function''' ===
 
=== '''SW Function''' ===
  
=== '''Show DI/DO ports''' ===
+
==== '''Show DI/DO ports''' ====
 
<pre># #---- Show DI ports ----# #
 
<pre># #---- Show DI ports ----# #
 
# cd /dev/
 
# cd /dev/
Line 27: Line 27:
 
DO1 DO2 DO3 DO4</pre>
 
DO1 DO2 DO3 DO4</pre>
  
=== '''Get DI Status''' ===
+
==== '''Get DI Status''' ====
  
 
Take DI1 for example
 
Take DI1 for example
Line 37: Line 37:
 
1. DI ports have two types&nbsp;: Dry or Wet.<br/> 2. For Dry ports<br/> 0 means the external circuit is conductive.<br/> 1 means the external circuit is NOT conductive.<br/> 3. For Wet ports<br/> 0 means the voltage of input is between 10-30V<br/> 1 means the voltage of input is between 0-3V<br/> 3-10V is unstable status.
 
1. DI ports have two types&nbsp;: Dry or Wet.<br/> 2. For Dry ports<br/> 0 means the external circuit is conductive.<br/> 1 means the external circuit is NOT conductive.<br/> 3. For Wet ports<br/> 0 means the voltage of input is between 10-30V<br/> 1 means the voltage of input is between 0-3V<br/> 3-10V is unstable status.
  
=== '''Set and Get DO Status''' ===
+
==== '''Set and Get DO Status''' ====
  
 
Take DO1 for example:(The DO interface of UIO-4033 is of sink type,Default state: No output)
 
Take DO1 for example:(The DO interface of UIO-4033 is of sink type,Default state: No output)

Revision as of 02:18, 14 January 2026

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.