A dry-contact input senses a switch closure. A wet-contact input senses whether voltage is applied. For a DIN relay board, match the field device to the board’s dry or wet input mode before connecting it. Wiren Board input reference
On ControlByWeb’s optically isolated digital inputs, an optocoupler keeps the external input voltage electrically separate from the module’s internal voltage. The DB-16P8R/DIN is one example of an opto-isolated board that supports both input modes. ControlByWeb digital input manual · ICP DAS DIN relay board specifications
Identify the input mode and terminals
- Identify the signal. A bare pushbutton, reed switch or isolated relay contact can provide a dry closure. A powered DC sensor with an NPN or PNP output needs a compatible input circuit. Wiren Board input reference · AutomationDirect sensor wiring
- Find the input channel and its return. On the Waveshare Modbus RTU Module (A),
DI1andDI2are inputs,DGNDis digital ground, andDI COMis their common. The separateCH1 COMandCH2 COMbelong to the relay outputs. Waveshare terminal table - Check how the board selects dry or wet operation. The ICP DAS DB-16P8R/DIN uses a jumper. On the Waveshare module,
DI COMwiring selects the mode. Leave that terminal open for dry-contact operation. ICP DAS board specifications · Waveshare input common instructions
Wire a dry switch
Disconnect power before wiring. On a Wiren Board WB-MR6F DIN relay module, connect one wire of a momentary pushbutton to input 1 and the other to iGND. The pushbutton closes the module’s sensing circuit. Waveshare wiring precautions · Wiren Board WB-MR6F input wiring
After powering up, open the Wiren Board web interface and watch the Input1 checkbox for the configured module. Press the button to close the contact, then release it. The input should show on when closed and off when open. Wiren Board WB-MR6F status display · Wiren Board input states
Wire a powered NPN or PNP sensor
For the Waveshare Modbus RTU Module (A), the published wet-contact range is 5 to 36 V DC. Disconnect power before wiring. For a three-wire DC sensor, connect its power leads to their respective supply terminals and follow the row for its output type. Waveshare hardware documentation · AutomationDirect three-wire sensor wiring
| Sensor output | Connect DI COM to | Connect DI1 to | Active signal |
|---|---|---|---|
| NPN (sinking) | Sensor supply positive | Sensor signal output | Low |
| PNP (sourcing) | Sensor supply negative | Sensor signal output | High |
Use one polarity for the input channels that share DI COM. Once powered, change the sensor state and confirm the corresponding digital input value changes in Modbus Poll. Waveshare input common instructions · AutomationDirect shared-common guidance · Waveshare input readback
Use a dry switch with a voltage-sensing input
A dry switch can also switch a sensing supply in series. In Sealevel’s SeaI/O-430 example, connect the sensing supply positive to C for the first input bank. Connect one switch terminal to input 1 and the other switch terminal to the sensing supply negative. The SeaI/O-430E specifies 5 to 30 V DC at its isolated inputs. Sealevel wiring example · SeaI/O-430E specifications
Evidence and limits. Wiring and ratings were drawn from the manufacturer documentation for the models shown, including Waveshare SKU 34740 and Wiren Board WB-MR6F documentation revision 36312, checked November 26, 2026. The wiring steps were not performed.