Alright so I bought a broken UP mini. There was only a defect on the board so I connected the components to a Duet 2 Wifi. Everything is fully operational and I can manually move all axes correctly using the interface as well as homing them.
The problem is that when I try to slice a model (I am using Slic3r) and upload the G-Code the bed will be raised instead of lowered during printing.
How do I change it so the direction of the Z-Axis goes correctly?
The Z endstop is at the bottom
When homed the Z coordinate is on 0 mm
When placing the bed under the extruder the Z coordinate is 170 mm