Explainer
One or two robot I/O outputs for a pneumatic gripper valve
Short answer
Use one robot digital output when the gripper valve is a single-solenoid, spring-return type: with the coil off, the spring holds a defined jaw state. Use two outputs, interlocked so they never energize together, when the valve is a double-solenoid type. Before picking a terminal, confirm the coil's rated voltage and steady current fit the output channel's documented load limit; when they do not, put a rated interposing relay between them.

On this page
The valve decides the output count, not the robot program. Fit a single-solenoid, spring-return valve and one digital output does the whole job: energize it to close the jaws, cut power and the spring opens them. Fit a double-solenoid valve and you need two outputs, interlocked in the command logic so they can never energize together. Either way the decision that comes first is electrical: the coil's rated voltage and steady current must fit the controller output channel's documented load limit, or a rated interposing relay goes between them. This article walks the decision in order — port selection, the load check, the valve architecture, then short open and close routines for a gripper that reports nothing back.
Start at the valve label, not at the controller #
A gripper valve is an electrical load before it is a pneumatic one, and the load is the first quantity to pin down. From the valve label and its datasheet, record four things: the coil's rated voltage, its rated power or steady current, its duty rating, and whether one coil or two are fitted. A coil fed from a voltage the output circuit does not provide, or a coil whose steady current exceeds the channel's documented limit, fails in ways no software fixes: the valve chatters, the output runs hot, or the channel's protection trips mid-cycle.
Excess current turns into heat in the output stage, and that failure appears after hundreds of switching cycles rather than on the first test, so a single successful jog proves very little. The coil is inductive, so it also needs the suppression arrangement its documentation calls for, usually a diode in the valve connector for DC coils and fitted with the polarity shown. If the jaws hold closed for long periods, confirm the coil is rated for continuous duty rather than short pulses.
Which port to use on the controller #
Use a general-purpose digital output. Analog channels on a controller are scaled for proportional signals — 0-10 V or 4-20 mA on the controllers that provide them — and an on/off solenoid does not belong there. Which physical terminal carries the signal is not a property of the robot model: open the controller's I/O configuration, pick a spare digital output mapped to physical hardware, and confirm the terminal number against the cabinet drawing. Leave alone any terminal the documentation reserves for safety or internal functions.
Record the chain as one line — signal name, I/O unit, channel, terminal, output type, supply and common — because that chain is what you test from and what the next technician reads. And before any wire moves: isolate the electrical supply and vent the gripper's air line, because stored air moves jaws with the controller off.
One output or two: the valve construction decides #
| Valve construction | Outputs needed | When coil power is lost | With both coils off |
|---|---|---|---|
| Single solenoid, spring return | 1 | Spring shifts the spool to its rest position; jaws go to the piped rest state | Not applicable — one coil |
| Double solenoid, bistable | 2, interlocked | Spool holds its last position; jaws keep the last commanded state while air pressure lasts | Jaws stay where they were |
Choose from the valve, not from a software preference. A spring-return valve piped energize-to-close gives the one-output scheme exactly: the signal high closes the jaws, low opens them. Pipe it the other way and the same single output reverses meaning, so confirm the rest position at the ports before naming the signal. A double-solenoid valve needs a separate close command and open command with an interlock in the command logic — the close routine drops the open command first, the open routine drops the close command first — so the two coils are never energized together.
Decide what the jaws must do at controller startup, program reset, an emergency stop and a loss of air before you commit to either architecture. A spring-return valve hands you a defined rest state with no effort: de-energized, the jaws go where the spring puts them, usually open. A bistable valve keeps its last spool position, so the jaws keep gripping through a power dip — good for the part, but the machine's risk assessment, not the valve's convenience, decides whether holding or releasing is the safe outcome on a stop. The same question for a vertical axis on a guard trip is worked through in stopping a vertical air cylinder on a light curtain trip, and the air side of a double-acting gripper — port piping and valve flow — is covered in pneumatic valve setup for double-acting robot grippers.
Checking a 24 V DC, 5.5 W valve coil against a 0.5 A digital output #
The inputs, all example values standing in for what your own labels and manuals state: a gripper valve coil rated 24 V DC and 5.5 W, read from its label; a controller digital output documented for 0.5 A continuous at the same voltage, an example figure of the kind a controller manual lists; DC switching, one load on the channel.
The rule in words: steady coil current equals rated power divided by rated voltage, and the coil may be driven directly only when that current sits at or under the channel's continuous rating, with the channel's load-type and suppression conditions also satisfied.
The arithmetic: I = P / V = 5.5 W / 24 V = 0.229 A, call it 0.23 A. Against the example channel, 0.23 A / 0.5 A = 46% of the continuous rating. The channel's power ceiling at this voltage is 24 V x 0.5 A = 12 W.
For these inputs the coil fits the channel with margin, so the steady-current test passes and a direct connection is the decision — provided the inductive suppression is fitted and the shared group limit also clears: add the steady currents of every load that can be energized together on a shared group feed and compare the sum with the group's documented limit. This is a calculated example for the stated inputs, not a measured result, and the threshold travels with the inputs: at this voltage and channel rating a coil up to 12 W fits directly, while a 15 W coil would draw 15 W / 24 V = 0.63 A, exceed the example channel, and flip the decision to a small interposing relay between output and coil.
Short open and close routines #
The signal names below are illustrative; create equivalents in the controller's I/O configuration and name them for the physical action rather than the process result. Both signals are Boolean outputs, initially low.
// One output — spring-return valve, piped energize-to-close
VAR bool gripper_close := FALSE // TRUE closes the jaws, FALSE lets the spring open them
routine close_gripper()
set gripper_close TRUE
wait closing_time_s // seconds, measured at the working pressure
routine open_gripper()
set gripper_close FALSE
wait opening_time_s
// Two outputs — double-solenoid valve, interlocked in the logic
VAR bool gripper_close_cmd := FALSE
VAR bool gripper_open_cmd := FALSE
routine close_gripper()
set gripper_open_cmd FALSE // drop the opposing command first
set gripper_close_cmd TRUE
wait closing_time_s
routine open_gripper()
set gripper_close_cmd FALSE
set gripper_open_cmd TRUE
wait opening_time_s
Call open_gripper once at program start so the cell begins from a known state; with a bistable valve this matters twice over, because both coils off leave the spool wherever it last sat. The waits are your only feedback: time the jaws over several cycles at the working pressure and set each wait above the slowest stroke you saw. From there, tie the routines to the panel keys or the cycle program — one output driven high or low, nothing more.
When the jaws report nothing #
A gripper with no sensor gives the program command and time but never confirmation: a jammed jaw, a sagging supply header or a mis-placed part all look identical to the wait timer. Keep the waits generous and treat every grip as timed rather than proven. When the cell starts dropping or crushing parts, the fix is feedback — a proximity switch on the jaw linkage is the usual addition, and wiring one to a robot input and output is laid out in wiring a proximity switch to trigger a robot gripper and conveyor.
Questions asked
What happens if both coils of a double-solenoid valve energize at once?
The two coils command opposite spool positions, so the outcome is whatever the valve's datasheet defines: some designs let one side dominate, others sit undetermined or heat both coils. Do not design around it. Keep the interlock in the command logic so one command always drops before the other rises, and the both-energized state never exists in your cell.
Why does the valve coil need suppression when the output switches fine without it?
The coil is an inductive load. Interrupting its current produces a voltage spike high enough to stress the output transistor and upset nearby electronics, and the damage accumulates over thousands of cycles, which is why a missing suppressor hides until outputs start failing. Fit the suppression the valve or controller documentation specifies; with a DC diode, polarity matters, and a reversed diode blocks the valve.
Can one output run two gripper valves at once?
Only when the channel's documented continuous rating still covers the sum of both steady coil currents and the shared group feed covers everything energized together. One signal also moves both sets of jaws as one, so independent control disappears. If the grippers must act separately, give each valve its own output, or drive both through an interposing relay board fed from its own protected supply.
How long should the open and close waits be?
Measure rather than estimate. Command each direction and time the jaws over several cycles at the working pressure, take the slowest stroke, and set the wait at roughly double it, a rule of thumb with margin for a cold morning or a sagging supply header. Re-measure after any change of valve, pressure or jaws, because the old number belongs to the old hardware.
The robot model is known, so why is the terminal number not?
Because terminals follow the I/O hardware installed in the cabinet, not the robot arm: the same arm ships with different controller configurations, option boards and spare mappings. The controller's I/O configuration shows which configured digital outputs exist and where they land on the terminal strip, and the cabinet drawing confirms it. With no spare configured output, the documented paths are adding an I/O unit or driving the valve from the cell controller through a rated interposing relay.

