Engineering · 2026

Two-Channel Solenoid Valve Controller

Valve control unit supporting both PC control and front-panel manual operation

A controller enclosure and a PC control program built together, so solenoid valves on a research rig can be driven from a PC and also operated by front-panel switches without one.

Client
Korea Research Institute of Standards and Science (KRISS)
Category
Engineering
Controller front panel with two illuminated channel selectors, a mode selector and a power switch

Overview

  • Dedicated controller for opening and closing two solenoid valves on a research rig
  • Used by researchers running the rig → operation through switches and buttons, no wiring work
  • Power on → pick the control source (COM/Man.) → open or close each channel
  • A front-panel enclosure mounted on rack profile, paired with a PC control program

Challenge

  • Valve timing to be matched from the PC during a test run
  • Direct operation needed during inspection or plumbing checks, without starting a PC
  • Supporting only one path would leave the unit unusable in the other situation
  • Both paths driving the valve at once risks unintended switching → priority to be fixed in the hardware

Solution

  • Front-panel mode selector switching the control source in one move (COM for PC, Man. for front switches)
  • Illuminated selector switch per channel, carrying both manual operation and state indication
  • Per-channel ON/OFF buttons on screen, with lamps for current valve state
  • IO module connection status always visible at the top → no operating a dropped link unaware
  • Control buttons locked while in the Man. position → no conflict with front-panel operation

System architecture

Layout

  • Front panel (two channel switches, mode selector, power switch) → internal IO module → relay → solenoid valve
  • PC linked to the IO module over a serial line → output control and state readback on one path
  • Mode selector position read as a contact input → program knows which side holds the valve
  • A 24V supply inside the enclosure → mains connection only, no external adapter

Operating flow

  • COM position: connect → press a channel button → output changes → lamps and log update
  • Man. position: turn a front switch → output changes → program shows state only
Controller front panel
Front panel

Implementation

  • Output states and mode selector position polled on an interval → screen follows front-panel operation
  • Timeouts and communication errors written to the activity log → wiring and link faults visible on screen
  • Switch lamps wired into the output circuit → the real output state shown, not the knob position
  • A mode for checking the screen without hardware → operation verified before installation
PC control program
PC control screen

Result

  • The same valves operated from the PC during tests and at the rig during inspection
  • Control source decided at a single front selector → no doubt about which side holds the valve
  • Valve state readable from both the panel lamps and the PC screen → no need to inspect the plumbing
  • Operations kept in a log → valve timing during a test can be traced afterwards

Technology

  • Modbus RTU
  • RS-485
  • pyserial

Screens

Have a problem that needs solving?

From software development to equipment integration and engineering, we can work out the approach that fits what your project needs.

Discuss a project