ewen:
the 74HC595 is well canvassed in Arduino forums when I come to programme the code!
Actually the code for TPIC6A595 would be identical (it is a high power version of same chip). Shame your solenoids are so current-hungry - would have saved some complexity for you.