@jay_s_uk thanks for the reply. M115 reports the following:
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03
I do admit I have had some difficulties with interpreting solutions provided with code used in older versions.
I did work out the error was due to not having T1 to select the tool. It might be helpful to add this as a note under M950 & M563, explaining the complete set of commands required. In any case I still am unable to control the spindle via the duet 2, and I will provide an update of changes I have made my reply to o_lampe's post.