Position: relative expected
- poesel
- Offline
- Senior Member
-
- Posts: 42
- Thank you received: 2
I'm trying to run a little test program, and it aborts with the fault message: 'Motor 0 Positionssfehler (sic!) Position: relativ erwartet' ('motor 0 positioning error position: relative expected').
The program is this:
I'm a bit surprised since I'm setting G90. What am I doing wrong?%
(G90: Set to Absolute Positioning)
G90
(G94: Feed Rate Mode Units per Minute)
G94
(G17: Select XY plane for arc moves for G2 G3)
G17
(G21: Set Units to Millimeters)
G21
(G54: Select coordinate system 1)
G54
G1 X0 Y0 F1000
G1 X10 Y0
G1 X10 Y10
G1 X0 Y10
G1 X0 Y0
M30
%
Thanks!
P.S. little typo: 'Positionssfehler' should be 'Positionsfehler'
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
- Posts: 4661
- Thank you received: 2078
'joint 0 following error''position: relative commanded'github.com/LinuxCNC/linuxcnc/blob/6f7753...s/tcl/axis.tcl#L1838
You are not giving us much else to go on. Are you getting getting following errors on joint 0 when using other Gcode or is it only with this particular program?
Please Log in or Create an account to join the conversation.
- poesel
- Offline
- Senior Member
-
- Posts: 42
- Thank you received: 2
Could there be something in the .hal or .ini that makes it expect relative positions?
What information do you need?
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
- Posts: 4661
- Thank you received: 2078
If you issue an MDI command (eg 'G1 x10 f1000') do you get a ''Motor 0 Positionssfehler'? If so try to lower the feed rate (eg 'G1 x10 f10').
Impossible to troubleshoot further without knowing more about your configuration so post your hal and ini files.
Please Log in or Create an account to join the conversation.
- poesel
- Offline
- Senior Member
-
- Posts: 42
- Thank you received: 2
Well, I should have respected the wisdom of the ancients: 'have you tried turning it off and on again?'.
I tried the MDI command and it worked. Then I reloaded the program and it worked, too. Nothing changed, just a reboot between the tries.
Thanks for your support!
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
- Posts: 888
- Thank you received: 325
I'd say that there are quite a few HP machines running Linuxcnc that never give any issues.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 21364
- Thank you received: 7287
And yes, there are many of us here using HP even on industrial machines, as again, they never fail.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
- Posts: 509
- Thank you received: 213
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 21364
- Thank you received: 7287
4:40AM here, going to bed right now.
And whatever the reason you are up so early, i hope it's a good one.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
- Posts: 509
- Thank you received: 213
MaHa, why you up so early?I was completing and testing my new parameter subroutine for helical inside or outside contour ramp, adjustable stepover and x/y/z allowance finishing cut. Took the whole night to iron out some misbehaviour
Please Log in or Create an account to join the conversation.