Connect the green wire to the ground lug inside the controller as shown in the diagram. Connect the red wire to the relay terminal as shown in the diagram. Connect the black wire to the relay terminal as shown in the diagram. You will not be using the white wire because 240 volts does not use a neutral wire. Snip the end of the white wire off so that no bare wire is exposed, fold back and tape the folded wire with electrical tape to prevent accidental contact with anything in the controller.