:P Thank you both for your replies, especially ban-all-sheds. I checked the terminals using my multimeter and worked out which is which. Happily, I found the instructions with the cryptic diagram, and combined with the resistance checks worked out what goes where. I've still no idea what R,S...