Difference between revisions of "UIO-4035 DO1-8/DI1-8"

From ESS-WIKI
Jump to: navigation, search
 
Line 53: Line 53:
  
 
   3-10V is unstable status.
 
   3-10V is unstable status.
 +
  
 
=== '''Set and Get DO Status''' ===
 
=== '''Set and Get DO Status''' ===
  
Take DO1 for example:
+
Take DO1 for example:(The DO interface of UIO-4035 is of sink type,Default state: No output)
 
<pre># #---- Set 0 to DO1 ----# #
 
<pre># #---- Set 0 to DO1 ----# #
 
# echo 0 > /dev/DO1
 
# echo 0 > /dev/DO1
Line 66: Line 67:
 
# cat /dev/DO1
 
# cat /dev/DO1
 
1</pre>
 
1</pre>
 +
 +
The wiring and measurement methods can be referred to as shown in the following diagram.
 +
 +
[[File:UIO-4033-DO.png|RTENOTITLE]]
 +
 +
Note:
 +
 +
1、There are no specific requirements for the power supply. Just make sure it is within the product POR specification of 5 to 30V DC (and ensure that the overshoot at the moment of power-on does not exceed 30V of the POR). Please be sure to confirm the overshoot at power-on of the POWER Supply being used.
 +
 +
2、When echo is "0", the DO on the UIO is open mode and the level state is high.
 +
 +
3、When echo is "1", the DO on the UIO is closed mode and the level is low.

Latest revision as of 09:16, 21 July 2025

UIO-4033 & UIO-4035 both have eight DI ports and eight DO ports.

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

Show DI/DO Ports

List DI/DO supported ports:

Show DI/DO Ports

# #---- Show DI ports ----# #
# cd /dev/
# ls DI*
DI1 DI2 DI3 DI4 DI5 DI6 DI7 DI8

# #---- Show DO ports ----# #
# cd /dev/
# ls DO*
DO1 DO2 DO3 DO4 DO5 DO6 DO7 DO8

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-4035 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

The wiring and measurement methods can be referred to as shown in the following diagram.

RTENOTITLE

Note:

1、There are no specific requirements for the power supply. Just make sure it is within the product POR specification of 5 to 30V DC (and ensure that the overshoot at the moment of power-on does not exceed 30V of the POR). Please be sure to confirm the overshoot at power-on of the POWER Supply being used.

2、When echo is "0", the DO on the UIO is open mode and the level state is high.

3、When echo is "1", the DO on the UIO is closed mode and the level is low.