I/O Reference
Complete reference for digital inputs, digital outputs, and analog inputs on the IRIV IO Controller.
Digital Inputs (11 Channels)
The IRIV IO Controller provides 11 isolated digital inputs divided into two groups with independent common sink/source terminals.
Digital Input Specifications
| Parameter | Minimum | Maximum | Unit |
|---|---|---|---|
| Low Level (VIL) | - | ±0.8 | V |
| High Level (VIH) | ±3 | ±50 | V |
| Maximum Pulse Frequency (50% Duty Cycle) | - | 5000 | Hz |
| Isolation Voltage | 3750 | - | Vrms |
Digital Input Mapping
| Input | GPIO Pin | Terminal | Input Group |
|---|---|---|---|
| DI0 | GPIO0 | Terminal 2 | Group 1 (DI0-DI4) |
| DI1 | GPIO1 | Terminal 2 | Group 1 (DI0-DI4) |
| DI2 | GPIO2 | Terminal 2 | Group 1 (DI0-DI4) |
| DI3 | GPIO3 | Terminal 2 | Group 1 (DI0-DI4) |
| DI4 | GPIO4 | Terminal 2 | Group 1 (DI0-DI4) |
| DI5 | GPIO5 | Terminal 2 | Group 2 (DI5-DI10) |
| DI6 | GPIO6 | Terminal 2 | Group 2 (DI5-DI10) |
| DI7 | GPIO7 | Terminal 2 | Group 2 (DI5-DI10) |
| DI8 | GPIO8 | Terminal 2 | Group 2 (DI5-DI10) |
| DI9 | GPIO9 | Terminal 2 | Group 2 (DI5-DI10) |
| DI10 | GPIO10 | Terminal 2 | Group 2 (DI5-DI10) |
Input Configuration
- Type: Isolated, active high
- S/S0..4: Common sink/source for DIN Group 1 (DI0-DI4)
- S/S5..10: Common sink/source for DIN Group 2 (DI5-DI10)
- DGND: Common digital ground for dry contact inputs (shared between both groups)
The two-group design allows simultaneous connection to both PNP and NPN sensors. Each group has independent common terminals. A built-in isolated power source supports dry contact inputs without external power supply.
Connection Examples
Dry Contact: Connect switch between DIx and DGND
PNP Sensor: Connect sensor output to DIx, sensor common to S/Sx
NPN Sensor: Connect sensor output to DIx, sensor common to S/Sx
Digital Outputs (4 Channels)
The IRIV IO Controller provides 4 isolated digital outputs driven by solid state relays.
Digital Output Specifications
| Parameter | Minimum | Maximum | Unit |
|---|---|---|---|
| Voltage | - | 50 | V |
| Current | - | 500 | mA |
| Isolation Voltage | 1500 | - | Vrms |
Digital Output Mapping
| Output | GPIO Pin | Terminal |
|---|---|---|
| DO0 | GPIO12 | Terminal 2 |
| DO1 | GPIO13 | Terminal 2 |
| DO2 | GPIO14 | Terminal 2 |
| DO3 | GPIO15 | Terminal 2 |
Output Configuration
- Type: Isolated dry contact (solid state relay)
- Active: HIGH (output active when GPIO is HIGH)
- Load Type: DC or AC loads supported
- Isolation: Each output channel is isolated from system and from other outputs
Inductive Load Protection
For inductive loads such as relays, it is recommended to connect a flyback diode in parallel with the load. This reduces EMI from switching inductive loads. The outputs have built-in surge protection, so operation without the diode is safe but not optimal.
Analog Inputs (2 Channels)
The IRIV IO Controller provides 2 analog inputs with 12-bit resolution.
Analog Input Specifications
| Parameter | Minimum | Maximum | Unit |
|---|---|---|---|
| Resolution | 12 | - | bit |
| Voltage Mode Range | 0 | 10.56 | V |
| Current Mode Range | 0 | 42.58 | mA |
| Input Impedance (Voltage Mode) | 32K | - | Ω |
| Input Impedance (Current Mode) | 248 | - | Ω |
Analog Input Mapping
| Input | GPIO Pin | Terminal |
|---|---|---|
| AN0 | GPIO26 (ADC) | Terminal 1 |
| AN1 | GPIO27 (ADC) | Terminal 1 |
Input Configuration
- Type: Non-isolated (AGND is shared with system GND)
- Resolution: 12-bit ADC
- Mode Selection: DIP switch on bottom panel configures both channels for voltage OR current mode
Voltage Mode:
- Range: 0 - 10.56V
- Input impedance: 32kΩ
- Full scale ADC reading: 4095 = 10.56V
Current Mode:
- Range: 0 - 42.58mA
- Input impedance: 248Ω
- Full scale ADC reading: 4095 = 42.58mA
- Requires DIP switch ON to enable shunt resistor
Important: Both analog input channels share the same mode setting. You cannot measure voltage on one channel and current on the other simultaneously.