@moe-adams9093 said in CNC Setup Duet 3D 6XD Controller Board:
For this error in M122 (and onscreen in DWC, and in the response to running config.g) Error in macro line 54 while starting up: exactly one of EFHJPSR must be given it relates to this line:
M950 C"io4.out+pson+led" Q500 L60:10000 ; configure spindle #0
See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#configuration-examples-and-notes
You need an R parameter to denote this output as a spindle, ie
M950 R0 C"io4.out+pson+led" Q500 L60:10000 ; configure spindle #0
I'm not sure these are the best pins for laser control. io4.out and pson are 3.3V signalling, while led is 5V.
For the DWC incompatibility error, check what version of RRF and DWC you are using in the Setting > General and Settings > Machine specific menu options. They should match.
Ian