Position: relative expected

  • poesel
  • Away
  • Junior Member
  • Junior Member
More
01 Jun 2025 17:46 #329523 by poesel
Position: relative expected was created by poesel
Hi,
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:

%
(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
%

I'm a bit surprised since I'm setting G90. What am I doing wrong?

Thanks!

P.S. little typo: 'Positionssfehler' should be 'Positionsfehler'

Please Log in or Create an account to join the conversation.

More
02 Jun 2025 01:03 #329529 by langdons
Replied by langdons on topic Position: relative expected
"[sic]" Love that!

Someone needs to work on their German (not you).

Still better than the plethora of typos in this license file: mipav.cit.nih.gov/license/CopyrightInfo.html

Pretty concerning that US government screwed up on basic English writing.

Please Log in or Create an account to join the conversation.

More
02 Jun 2025 07:35 - 02 Jun 2025 07:47 #329534 by Aciera
Replied by Aciera on topic Position: relative expected
Seems that there may actually be two printouts on the same line:
'joint 0 following error'
which comes from motion
'position: relative commanded'
which seems to come from the Axis GUI:
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?
Last edit: 02 Jun 2025 07:47 by Aciera.

Please Log in or Create an account to join the conversation.

  • poesel
  • Away
  • Junior Member
  • Junior Member
More
02 Jun 2025 19:44 #329562 by poesel
Replied by poesel on topic Position: relative expected
I haven't tried any other program. This was my first test and I made it as basic as possible.
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.

More
03 Jun 2025 00:44 #329579 by langdons
Replied by langdons on topic Position: relative expected
How does the PC communitcate with the machine?

Please Log in or Create an account to join the conversation.

More
03 Jun 2025 08:03 #329590 by Aciera
Replied by Aciera on topic Position: relative expected
Does axis jogging work?
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
  • Away
  • Junior Member
  • Junior Member
More
05 Jun 2025 20:00 #329769 by poesel
Replied by poesel on topic Position: relative expected
Sorry for the late reply.

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.

More
06 Jun 2025 13:55 #329816 by langdons
Replied by langdons on topic Position: relative expected
Works 99% of the time!
(Literally)

These crap HP PCs in my school sometimes randomly decide they have bad RAM or that their firmware is corrupted or something.

(HP stuff is garbage)

Turning them off, unpluging them, and plugging them back in fixes the problem every time.

Never buy HP unless you really need to for some reason.

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum