Pause function for use with a router

  • rszemeti
  • Visitor
  • Visitor
11 years 4 months ago #60217 by rszemeti
Replied by rszemeti on topic Pause function for use with a router
This particular machine is a simple single head machine with a servo-driven Z axis, nothing complex. It's a retrofit after the ancient controller on it lost it's init code. EMC seemed like the best option to get the servos up and running in closed loop.

I would prefer a single-button solution as when things go wrong and you quickly need to pause the job, that's when you are going to forget the second button.

Is there a way to find out if that code linked above made it's way into 2.7? or did it work it's way into MachineKit?

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

More
11 years 4 months ago #60223 by BigJohnT
Replied by BigJohnT on topic Pause function for use with a router
The moveoff function is in 2.7.

www.linuxcnc.org/docs/2.7/html/config/moveoff.html

JT

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

  • rszemeti
  • Visitor
  • Visitor
11 years 4 months ago #60225 by rszemeti
Replied by rszemeti on topic Pause function for use with a router
mmm .. sorry, I must be kinda dumb today.

I don't really understand how to hook up that "moveoff" thing to do what I need. I guess I can skip the GUI as I don't need that, so I'm guessing I hook this "moveoff" block up in the Z axis and trigger it to retract the Z just after the pause button is hit?

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

More
11 years 4 months ago #60227 by BigJohnT
Replied by BigJohnT on topic Pause function for use with a router
I'm really dumb too about moveoff, I just know you can jog while paused with it and it is in version 2.7.

JT

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

More
11 years 4 months ago - 11 years 4 months ago #60231 by dgarrett
Replied by dgarrett on topic Pause function for use with a router
There are more than 8 example Sim configurations in 2.7. Each has a text file and there is an overall Readme with some instructions

See the directory:
configs/sim/axis/moveoff

More detailed instructions are at:

www.linuxcnc.org/docs/2.7/html/config/moveoff.html


Three is a manpage for the component:
www.linuxcnc.org/docs/2.7/html/man/man9/moveoff.9.html
Last edit: 11 years 4 months ago by dgarrett.
The following user(s) said Thank You: rszemeti

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

  • rszemeti
  • Visitor
  • Visitor
11 years 4 months ago - 11 years 4 months ago #60235 by rszemeti
Replied by rszemeti on topic Pause function for use with a router
The "z_retract" example looks like it might work, one question ... if the retract distance is pre-set and you bang the pause button when the axis is already fully retracted (eg when moving between fixtures) ... what happens then? out of limits error?

what I was wondering is if there was some way to feed the pin that has the value of the retract distance with the distance the joint is currently from its zero position

so sorta

joint.2.position -> x by -1 -> feed into z retract distance pin

would that be doable and make it retract just the right amount?
Last edit: 11 years 4 months ago by rszemeti.

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

Time to create page: 0.267 seconds
Powered by Kunena Forum