Problem with Run

More
26 Nov 2018 16:35 #121377 by tfhess
Problem with Run was created by tfhess
I am having a problem with "Run" on emc2 version 2.7.0. In short, nothing happens when invoked on Axis (or any other gui)

I have full manual control of my mill, can home axes and move them around but nothing works when trying to run a gcode program, including examples from the .iso build. I am running a pico pwm board with servos on 3-axis mill.

I have attached an .ini file and gcode for more info.

Any advice, suggestions on this problem?
Attachments:

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

More
27 Nov 2018 00:59 #121418 by tim@home
Replied by tim@home on topic Problem with Run
Did you create your ini file with stepconf?

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

More
27 Nov 2018 01:45 #121420 by tfhess
Replied by tfhess on topic Problem with Run
No - used a preexisting .ini from Jon Elson and then added to it with editor.

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

More
27 Nov 2018 06:24 #121452 by tommylight
Replied by tommylight on topic Problem with Run
Do you happen to have "spindle at speed" somewhere in hal?
If you do not have any feedback from the spindle and you have that statement in hal, it will be waiting for that signal so it will not move at all any time it gets the M3 command.

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

More
28 Nov 2018 15:39 #121528 by tfhess
Replied by tfhess on topic Problem with Run
Thanks for the suggestion. I did look at the hal files, deleted reference to spindle, but the problem still exists.

Its interesting that example nc files (axis, 3-d chips) do run with spindle calls - but my nc files do not even though they came from mastercam (from an EMC2 post processor). I put a line in [Filter] to recognize them as .NC files.

Today I plan to compare the nc files that do run to mine to look for characters that the interpreter does not like.

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

More
28 Nov 2018 15:58 - 28 Nov 2018 16:05 #121529 by bevins
Replied by bevins on topic Problem with Run
Can you upload your .hal file?

Also, start linuxcnc from a console and see if it spits anything pertinent.

Try entering T1 M6 in the MDI window? any reaction?
Last edit: 28 Nov 2018 16:05 by bevins.

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

More
28 Nov 2018 17:54 #121534 by tfhess
Replied by tfhess on topic Problem with Run
A ha. There was trouble with the T1 M3 statement. Wouldn't run in MDI window - just froze up for a bit. When I took that statement out of my NC file, it ran as normal.

So my run problem is solved for the short term (thanks for the suggestion!), but what is going on with loading a tool? The tool table feature has never worked.

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

More
28 Nov 2018 18:07 #121536 by bevins
Replied by bevins on topic Problem with Run

A ha. There was trouble with the T1 M3 statement. .



Last I checked it is a T1 M6 statement.

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

More
28 Nov 2018 18:35 #121539 by tfhess
Replied by tfhess on topic Problem with Run
Yeah, typo on my part.

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

More
30 Nov 2018 15:41 #121637 by andypugh
Replied by andypugh on topic Problem with Run
It sounds like a problem with the tool-change loop.

T1 sets iocontrol.0.tool-prepare true, and waits (indefinitely) for iocontrol.0.tool-prepared to go true. Often these are just connected together:
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
Then the M6 sets iocontrol.0.tool-change and waits for iocontrol.0.tool-changed.
Often those are looped together too, but more frequently they pass through hal_manualtoolchange to force an on-screen prompt.

If either loop is left open then things will stop during a tool change request.
The following user(s) said Thank You: tfhess

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

Time to create page: 0.126 seconds
Powered by Kunena Forum