Startup trouble

More
29 Oct 2023 16:51 #284049 by PCW
Replied by PCW on topic Startup trouble
Is that the exact error message?

If so , I have never seen that error

(a "joint following error" is common with setup issues)

And no, you should never ground any Mesa Step/Dir outputs, this
can damage the driver chips

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

More
29 Oct 2023 17:51 #284059 by andypugh
Replied by andypugh on topic Startup trouble

"Motor 0 positioning error
Position: relative expected"
(also for motor 1 & 2).

Is this the actual message? Or has it been translated back from a different language on the machine? 
The reason I ask is that I can't see that message in the code (I was looking to see what kind of fault causes that message) 

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

More
29 Oct 2023 17:55 #284060 by tommylight
Replied by tommylight on topic Startup trouble

You have step and dir pins wired to DB25 on the +step and +dir, but there is nothing to -step and -dir, those should be tied to GND.
 

As PCW already noted, that board doesn't have STEP- or DIR-. Or do you mean I have to ground it on the Mesa card?


Edited the post, i missed the small writing on Mesa port so i assumed they are the drives.
Sorry.

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

More
29 Oct 2023 18:44 #284064 by poesel
Replied by poesel on topic Startup trouble

"Motor 0 positioning error
Position: relative expected"
(also for motor 1 & 2).
Is this the actual message? Or has it been translated back from a different language on the machine? 

The reason I ask is that I can't see that message in the code (I was looking to see what kind of fault causes that message)

 

No, sorry. The original message is in German:
"
Motor 0 Positionsfehler
Position: relativ erwartet
"
 

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

More
30 Oct 2023 20:41 #284143 by poesel
Replied by poesel on topic Startup trouble
Ok, I found it. There is actually a typo in the error message, which I didn't replicate properly in my message.
The error spells "Positionssfehler" but the correct spelling is "Positionsfehler" with only one "s".
Makes it easier to find. :)

#: src/emc/motion/control.c:830
#, c-format
msgid "joint %d following error"
msgstr "Motor %d Positionssfehler"

Now I need someone to please tell me what causes the error. Or to be more precise: what did I configure wrong, because you cannot have a following error without a position sensor and I don't have one.

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

More
31 Oct 2023 00:55 #284152 by PCW
Replied by PCW on topic Startup trouble
A joint following error means that the actual position differs from the
commanded position by more than a preset error limit.

In the case of Mesa hardware, it means that the stepgen position
(feed back position from the step generator) does not match the
commanded position.

This can happen with various setup issues and poor latency on the host PC

Can you post your current hal and ini files?

That would help to discover the issue

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

More
31 Oct 2023 21:18 #284221 by poesel
Replied by poesel on topic Startup trouble


Can you post your current hal and ini files?

That would help to discover the issue
 

Sure - thanks!
Attachments:

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

More
31 Oct 2023 22:46 #284226 by PCW
Replied by PCW on topic Startup trouble
OK those hal/ini files work for me with a 7i96s

So something is different on your system.

Can you launch LinuxCNC from the command line
and post the the precise error message(s) that you get?
(Printed in the console)

 

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

More
01 Nov 2023 12:57 #284252 by poesel
Replied by poesel on topic Startup trouble
I started linuxcnc and 'moved' all three axis. There was no error message, but the motors did not move.
That is all from the shell.

markus@lcnc:~/linuxcnc/configs/Janus$ linuxcnc -l > log
Note: Using POSIX realtime
note: MAXV max: 33.333 units/sec 2000.000 units/min
note: LJOG max: 33.333 units/sec 2000.000 units/min
note: LJOG default: 16.667 units/sec 1000.000 units/min
note: jog_order='XYZ'
note: jog_invert=set()
Note: Using POSIX realtime

Log:
 

File Attachment:

File Name: log.txt
File Size:4 KB
Attachments:

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

More
01 Nov 2023 13:47 #284255 by PCW
Replied by PCW on topic Startup trouble
You could try doubling the step time in case the step inputs are really slow.

Also, are you sure about the DB25 pinout? there are a lot of TB6560 modules
with different pinouts (many with different enable inputs)

You could also verify the direction signals with a voltmeter when jogging either way
to make sure there is not a hardware error of some kind

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

Time to create page: 0.119 seconds
Powered by Kunena Forum