@Valveman you would normally connect a 12V relay to an OUT connector. You didn't say which board you are using, however the medium-current OUT connectors on Duet 3 boards can be jumpered to be provided with 12V power, which would be correct for your 12V relay. You would control it using the M950 command to set up a GpOut port on that output pin and then M42 commands to turn it on and off.