Increase Number of Tool Digital Output

Hello Forum,

is there a possibilty to get 4 digital outputs on the tool-flange?

What I need:
I have 4 separated vakuum circles in my gripper. The Vakuumpumps are triggered by a 24V signal. Those need to be shut on and of separately. There are only 2 digital Outputs at the tool flange.

Is there a “blackbox” available (using RS485), that is als follows:

“M8 8Pin connector” ----- “Blackbox” ----- “several Digital i/o”