@dc42 many thanks for the response, the panels / enclosure is anodized aluminium, which is not conducting, so the gx-12 are not really in continuity with the enclosure (at least in a reliable sense), maybe if I would screw them overly tight it would. However, the enclosure is floating and no AC is coming in but only 24v DC, so grounding the whole enclosure is not necessary as far as I'm aware.
The power supply I'm using only outputs a floating DC voltage
(class 1) through the barrel jack connector, therefore I'm a bit confused about your last command. Would the shield still work/be effective if it is only connected to the negative terminal of the floating 24v dc PSU as in the following image:
clarification-wiring-question.png
To me, it just looks a bit odd..
regarding connecting it to the stepper motor body, I've encountered many conflicting opinions on various build forums.. with many people saying you should only connect it to one side (controller side) so I'm still a bit in doubt about what to do with it.