Hi Iffy650
You said...
I can turn the cog by hand in the direction shown by the arrow on the end of the solenoid (anti-clockwise when looking on the end of the starter see photo) but by doing that it does not turn the shaft. If i turn it the opposite direction it does turn the shaft.
That sounds like it's working fine because to start the engine the shaft drives the cog, and when the engine is going faster than the starter, the cog freewheels otherwise the engine would drive the starter motor. The cog will never drive the shaft.
Sorry, reading my previous post again it's a bit ambigous. The bendix allows drive in only1 direction, it freewheels in the other.
In your original post you said...
It spins and moves to the correct position but when I held the cog with a big screwdriver the shaft just spins doesnt lock the cog on and drive (the flywheel)
The only thing that takes the drive from the shaft to the cog is the Bendix so that indicates the Bendix is faulty.
Can you post a photo of your bendix in situ - I wonder if it's been assembled incorrectly?