Thanks for all the feedback.
I have now treated the solenoid as an idle speed solenoid to halt running-on.
I have set the solenoid at about 800 rpm and backed off the idle screw to about 500.
What I did find was that the solenoid does not have the strength to push but will hold. So by holding the accelerator pedal down the ram is activated to its set position and then when you release the accelerator it settles back to the activated position.
Thanks to all for solving the mystery.
Regards
Ward