When I generated gcode moving the z axis with Z0 down and Z1 up did not move the pen all the way up and down. What are the maximum values?
I have tried M280P0S30 up and M280P0S0 down but the pen does not go up and down at the right place. It just goes up and down immediately and not at the xy coordinates where it’s supposed to. Can you please help me?
Here is the gcode that I tired
G21 (programming in millimeters, mm)
G90 (programming in absolute positioning)
G28 (auto homing)
G1 F8000 (set speed)
M280P0S30
Z1
(Upper left)
G0 X17.000 Y27.270
M280P0S0
Z0
G1 X17.000 Y17.270
G1 X27.000 Y17.270
M280P0S30
Z1
(Upper right)
G0 X182.831 Y17.270
M280P0S0
Z0
G1 X192.831 Y17.270
G1 X192.831 Y27.270
M280P0S30
Z1
(Lower right)
G0 X192.831 Y270.000
M280P0S0
Z0
G1 X192.831 Y280.000
G1 X182.831 Y280.000
M280P0S30
Z1
(Lower left)
G0 X27.000 Y280.000
M280P0S0
Z0
G1 X17.000 Y280.000
G1 X17.000 Y270.000
M280P0S30
Z1
G0 Z1
G0 X0 Y0
I figured it out
(down)
G4 P50
M280P0S0
(up)
G4 P50
M280P0S12