From the picture shown.
Air in is the sides. You just block one side off if you aren't connecting two air valves side by side.
the port facing up is the NO port. This is the port you hook to the air cylinder.
The port that is at the top of the black solenoid is the exhaust port.
now how to hook it up.
there is a screw on the top (based on the picture) that holds the plastic cover on.
Remove it.
There are two screws that you hook the wires up to.
It is polarity sensitive only if you want the LED light to work.
If you hook it up and the light doesn't light when its operated then swap the wires around.
This is how you should run BOTH machines off the same controller.
You need to hook the second limit switch up to the second machine.
Do it the same way you did it on the first.
Now when you wire it you need to do it this way.
You make a safety circuit.
So take on wire off the existing MC limit switch. Connect it to the 2nd limit switch.
Then connect a wire between the two switches on the terminals that aren't used.
Basically this way the PLC will only start if BOTH machines are at the top and the limit switches are closed.