I've attached a sample program for this particular part. I don't have the DPM function in this yet.
Here's the settings but I don't think it is relevant. It is still the default settings mostly. Because I don't know what and how to set in order for this to work. That's why I asked for help.
I just want a simple settings so it would raise or lower the head depending on the distance to the sheet.
The -1 slope does nothing. The Z would not change.
I don't get any errors, it just won't change height.