The two blacks together are neutral - the single black on its own is Switched Live - to turn the light on and off.
For a controlled & switched 230V you wire lamps across the two blacks and the single black.
The lights do not connect to the red wires.
Peccavi
August 2010