Can I use a Negative Y value in bed.g?
-
Can I enter a negative Y value in the bed.g file like this:
G1 X10 Y-10 F6000
Background:
The print bed on my cartesian printer is 441.33mm x 415.93mm.
I want to modify it by installing a PEI sheet with four black targets for the DC42 height sensor.I milled four pockets in a pattern 335mm x 335mm into a sheet of PEI. I will paint the pockets black before bonding the PEI to the print bed.
The problem I caused is that I did not account for the 20mm offset between the print nozzle and the IR sensor.
If I can move to Y-10 the height sensor will be centered on the two lower targets.Thank You
Joe -
@joeatwork The best way to do that is to apply a Y offset to the probe using G31 - see explanation here https://duet3d.dozuki.com/Wiki/GCode#Section_G31_Set_or_Report_Current_Probe_status
In particular note 1.
-
Thank you for the fast and helpful reply.
-
@deckingman do you know if the G31 X and Y offsets are being used to position the head or are they used to calculate the bed height map relative to the nozzle and not the height sensor (where the readings are taken)?
-
@joeatwork said in Can I use a Negative Y value in bed.g?:
@deckingman do you know if the G31 X and Y offsets are being used to position the head or are they used to calculate the bed height map relative to the nozzle and not the height sensor (where the readings are taken)?
I believe the height map would be relative to the nozzle if an XY probe offset is used but I don't use any form of bed compensation so can't be sure. No doubt, someone more knowledgeable about that will chime in if I'm wrong.