System homes but unresponsive

  • nigelh
  • nigelh's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
20 Nov 2024 20:17 - 20 Nov 2024 21:09 #314939 by nigelh
System homes but unresponsive was created by nigelh
I've been automating a small Mill.
I keep running into problems and people here have helped - thank you.
Mesa 7i95t et al.
I've got to the point where I can click the home icons on my Gmoccapy screen and it homes all three axes.
Then I move the head onto the middle of the bed with the on screen jog buttons and load a piece of program
that is basically just a set to G54 mode and do a G0 X20 rapid flip 20mm positive on the model hence the bed should move left.
Once I have that it's just relearning g code time.
But nothing happens.
I add a growing number of lines to set things up.
Still nothing. It gets to that line, highlights it and just sits there probably waiting for something or feeding at 0 so it will never end.
I've spent most of the day trying new ideas.
This is where I've got to. What do I try next? What do I take out? What obvious thing have I missed?
What do I have to do to make it move?
Is it my code? My configuration? Is it offended at my accent? Does it just hate me? (it feels a bit like that)
G54 G17 G21 G90 G94 M5 M9
G92 X0 Y0 Z0
F50.
S200.
G0 X20
M2

G1 changed back to G0, I was trying G1 as a test and it didn't help
Last edit: 20 Nov 2024 21:09 by nigelh.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
20 Nov 2024 20:44 #314945 by tommylight
Replied by tommylight on topic System homes but unresponsive
Does it have any spindle feedback?
Is the spindle.at-speed set to true?
Use the "show hal configuration" from the "machine" menu to watch the pins.

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

  • nigelh
  • nigelh's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
20 Nov 2024 21:07 #314947 by nigelh
Replied by nigelh on topic System homes but unresponsive
No spindle anything at the moment.
I have parts ready to install but I hoped to see the motion system working first.
(power relay, reversing relay and the pwm to 0-10V parts for the speed controller)
For the G0 neither of my Spindle CW or CCW outputs are setting which seems reasonable.

I was surprised to discover spindle.0.at-speed was set but it must be some sort of default as there is nothing wired.
Are there any other 'must have' items you can think of?
(I only set the S code in case it wanted it when I was starting to get desperate.)

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

More
20 Nov 2024 21:38 #314948 by PCW
Replied by PCW on topic System homes but unresponsive
Can you run your gcode and when stalled then

run (in a terminal)  :

halcmd show all motion. > motion.txt

( Note the . after motion )

and post motion.txt here

 

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

  • nigelh
  • nigelh's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
20 Nov 2024 21:56 #314950 by nigelh
Replied by nigelh on topic System homes but unresponsive
Woo, thanks for help
Attachments:

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

More
20 Nov 2024 22:26 - 20 Nov 2024 22:28 #314951 by PCW
Replied by PCW on topic System homes but unresponsive
Not a gcode expert but I suspect a gcode issue because:

29 float OUT 0 motion.feed-inches-per-minute
29 float OUT 0 motion.feed-inches-per-second
29 bit IN FALSE motion.feed-inhibit
29 float OUT 0 motion.feed-mm-per-minute
29 float OUT 0 motion.feed-mm-per-second
29 float OUT 0 motion.feed-upm

The feed rate is set to 0

(or feed override in the GUI is set for 0)
Last edit: 20 Nov 2024 22:28 by PCW.

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

  • nigelh
  • nigelh's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
20 Nov 2024 22:29 #314952 by nigelh
Replied by nigelh on topic System homes but unresponsive
Magic. I'll work on it tomorrow.
I'm in the UK so my brain is shutting down despite my protestations.

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

  • nigelh
  • nigelh's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
21 Nov 2024 09:27 #314973 by nigelh
Replied by nigelh on topic System homes but unresponsive
Exactly:
When I set up mesact I missed a value on the Settings page for the global Linear Velocity which is in addition to the individual axes values
Set that to 15 and I have motion on G0

Many thanks

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

More
21 Nov 2024 17:44 #314985 by PCW
Replied by PCW on topic System homes but unresponsive
Aha, another informative data/state dump would be:

halcmd show all ini.

 

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

Time to create page: 0.125 seconds
Powered by Kunena Forum