This is an old revision of the document!
Here is the link to the labbot files.
Setting up servo. Details about how to set it up is at this link
Duet 2 WiFi and Duet 2 Ethernet
The miscellaneous pin numbers 60-63 correspond to the CS5-CS8 pins on the expansion connector. These were originally allocated for use as the E2-E6 endstop pins and are labelled as such on the expansion connector, but they are now used to address thermocouple and PT100 daughter boards on a Duex 2 or Duex 5 instead. Because most users don't need more than the four thermocouple and PT100 channels supported on the Duet 2, we make CS5-8 available as general purpose I/O if you do not have any daughter boards fitted to the Duex 2 or 5.
https://docs.duet3d.com/User_manual/Reference/Gcodes#m42-switch-io-pin
https://docs.duet3d.com/User_manual/Reference/Gcodes#m280-set-servo-position
https://docs.duet3d.com/User_manual/Reference/Gcodes#m950-create-heater-fan-spindle-or-gpioservo-pin