It's been about 40 years since I worked on injection mold machines, but it looks like Port 1 is the high pressure, Port 2 is the high speed retract, Port 3 looks like a case drain, and Port 4 is the high speed extend.
V39 looks like a case drain. You may need some hydraulic magic to pre-fill the main cylinder while the high speed cylinder is extending, else it will try to pull a vacuum in there.