Y moves on G1 H2 X10 F6000 ?!
-
I've just got my VCore3 400 wired up and are working on the configuration. It's a CoreXY printer.
I have the x & y movement working and also almost the homing process, but after I do the initial move to the end-stop I move back 10mm to then slowly move towards the stop again. That move
G1 H2 X10 F6000
is active strange, it moves the head diagonally.
I've confirmed the same happens when homing Y.Here is a video of it: https://imgur.com/a/KqVPZqY
First it homes X, then moves the head out 100mm, then home Y.Is this a hardware or software issue? I have checked so all stop screws are tight on the steppers/pinions.
Attached are my config-files related to this:
config.g
motors_low_speed.g
motors_default_speed.g
homey.g
homex.gI hope someone can point me in the right direction.
-
I'm confused -- according to the documentation, from what I can understand H2 should not be used in CoreXY mode as both motors need to move. But in example from people with the same printer they use it.
H2 Individual motor mode. X refers to the X motor, Y refers to the Y motor, and so on. Normally used with relative motor coordinates (see G91).
Can it be a misstake on their end or have I misunderstood the documentation?
-
So I tried to remove the
H2
and then the moves worked as expected, only moving in the direction asked and not diagonal.Can someone explain to me when the H-modifier is useful so I understand when and how to use it?
-
according to the documentation, from what I can understand H2 should not be used in CoreXY mode as both motors need to move.
Your understanding is perfectly right
I'm confused -- (β¦) But in example from people with the same printer they use it.
From the documentation:
Hnnn Move type (RRF2.02 and later, RRF3)
For eternities, code samples are circling around⦠some just do not age very well.
- Since RRF 2.02, H2 works as it does now and as you understand it, so I think you caught some template from the Stone Age
-
@infiniteloop thank you for clearing that up for me
-
@Reine said in Y moves on G1 H2 X10 F6000 ?!:
I'm confused -- according to the documentation, from what I can understand H2 should not be used in CoreXY mode as both motors need to move. But in example from people with the same printer they use it.
H2 Individual motor mode. X refers to the X motor, Y refers to the Y motor, and so on. Normally used with relative motor coordinates (see G91).
Can it be a misstake on their end or have I misunderstood the documentation?
On a CoreXY machine, a G1 H2 command would typically be written with both X and Y parameters, so that both motors are moved. In this way a move along the X axis or along the Y axis can be constructed.
-
@dc42 oki, can you explain the difference between so I know why and when to use each:
G1 X10 F6000 G1 H2 X10 Y0 F6000
-
You should only really be using H2 when you want to move an axis that hasn't been homed. If the axis has been homed (or should have been homed) you should do a normal move. That way if the axis homing has failed for some reason it will give you an error about trying to move an unhomed axis, which is more helpful that forcing a move, and then having it fail the next time you try to move it.