Button for rapid override 100%
25 Jul 2016 16:25 #77995
by dirk61
Button for rapid override 100% was created by dirk61
Hello
I would like a button for 100% override rapid.
For example, I press X + button and another addition of 100% rapid override or better for maximum speed.
Can someone to have gone to me ??
Thank you very much Dirk
I would like a button for 100% override rapid.
For example, I press X + button and another addition of 100% rapid override or better for maximum speed.
Can someone to have gone to me ??
Thank you very much Dirk
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4976
- Thank you received: 1373
25 Jul 2016 16:49 #78000
by Todd Zuercher
Replied by Todd Zuercher on topic Button for rapid override 100%
Are you wanting to jog at the max speed possible?
If so you can hold the shift key and press the jog button for that axis. That will make it go at the max speed (traverse speed) you have programed for it.
If so you can hold the shift key and press the jog button for that axis. That will make it go at the max speed (traverse speed) you have programed for it.
Please Log in or Create an account to join the conversation.
25 Jul 2016 17:38 #78008
by dirk61
Replied by dirk61 on topic Button for rapid override 100%
Hello
I have at my desk 6 push buttons for X + - / y + - / + Z - would like to have a taster of the velocity to maximum.
Functioning should it so when I press a button for muting for example X + now I want it to go faster just press on a push-button which makes maximum speed.
regards
I have at my desk 6 push buttons for X + - / y + - / + Z - would like to have a taster of the velocity to maximum.
Functioning should it so when I press a button for muting for example X + now I want it to go faster just press on a push-button which makes maximum speed.
regards
Please Log in or Create an account to join the conversation.
26 Jul 2016 11:35 #78035
by andypugh
Replied by andypugh on topic Button for rapid override 100%
Have a look at Step 5 here:
wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
For a way to choose jog speed depending on button presses.
wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
For a way to choose jog speed depending on button presses.
Please Log in or Create an account to join the conversation.
31 Jul 2016 19:12 #78201
by dirk61
Replied by dirk61 on topic Button for rapid override 100%
Hello
Tried to solve it so with the switch.
He tells me in the line with the arrow an error.
a ?? Can you please help me
##########################################################
net tweekwheel-b encoder.1.phase-A <= parport.0.pin-12-in-not
net tweekwheel-a encoder.1.phase-B <= parport.0.pin-13-in-not
# 4 Fach Auswertung vom Encoder ausschalten
setp encoder.1.x4-mode TRUE
setp halui.spindle-override.scale 0.001
net tweekwheel-counts encoder.1.counts halui.spindle-override.counts
###############################################################################
net fo-wheel-b encoder.2.phase-A <= parport.0.pin-10-in-not
net fo-wheel-a encoder.2.phase-B <= parport.0.pin-11-in-not
# 4 Fach Auswertung vom Encoder ausschalten
setp encoder.2.x4-mode TRUE
setp halui.feed-override.scale 0.001
net fo-wheel-counts encoder.2.counts halui.feed-override.counts
#################################################
net mux2.0sel <= parport.0.pin-15-in-not
net jogspeed mux2.0.out halui.jog-speed
net fo-wheel mux2.0.in0 <<<<<<<<
setp mux2.0in1 500.0
++++++++++++++++++++++++++++++++++++++++++++++++
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hal_parport cfg="0 out"
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,0,0
loadrt encoder num_chan=4
loadrt pwmgen output_type=1
loadrt mux2 count=1
addf parport.0.read base-thread
addf stepgen.make-pulses base-thread
addf encoder.update-counters base-thread
addf pwmgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread
addf stepgen.capture-position servo-thread
addf encoder.capture-position servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf stepgen.update-freq servo-thread
addf pwmgen.update servo-thread
Tried to solve it so with the switch.
He tells me in the line with the arrow an error.
a ?? Can you please help me
##########################################################
net tweekwheel-b encoder.1.phase-A <= parport.0.pin-12-in-not
net tweekwheel-a encoder.1.phase-B <= parport.0.pin-13-in-not
# 4 Fach Auswertung vom Encoder ausschalten
setp encoder.1.x4-mode TRUE
setp halui.spindle-override.scale 0.001
net tweekwheel-counts encoder.1.counts halui.spindle-override.counts
###############################################################################
net fo-wheel-b encoder.2.phase-A <= parport.0.pin-10-in-not
net fo-wheel-a encoder.2.phase-B <= parport.0.pin-11-in-not
# 4 Fach Auswertung vom Encoder ausschalten
setp encoder.2.x4-mode TRUE
setp halui.feed-override.scale 0.001
net fo-wheel-counts encoder.2.counts halui.feed-override.counts
#################################################
net mux2.0sel <= parport.0.pin-15-in-not
net jogspeed mux2.0.out halui.jog-speed
net fo-wheel mux2.0.in0 <<<<<<<<
setp mux2.0in1 500.0
++++++++++++++++++++++++++++++++++++++++++++++++
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hal_parport cfg="0 out"
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,0,0
loadrt encoder num_chan=4
loadrt pwmgen output_type=1
loadrt mux2 count=1
addf parport.0.read base-thread
addf stepgen.make-pulses base-thread
addf encoder.update-counters base-thread
addf pwmgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread
addf stepgen.capture-position servo-thread
addf encoder.capture-position servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf stepgen.update-freq servo-thread
addf pwmgen.update servo-thread
Please Log in or Create an account to join the conversation.
31 Jul 2016 20:02 #78203
by andypugh
Replied by andypugh on topic Button for rapid override 100%
[dode]
net mux2.0sel <= parport.0.pin-15-in-not[/code]
This line is wrong too. There is no signal name, so the mis-spelled mux2.0.sel becomes the signal. (Unless you wanted a signal name with a name almost like a pin name)
I don't see anything wrong with that line if HAL. I don't know if it will do what you want, but it is valid HAL.
I have a feeling that you won't be able to connect an encoder to feed-rate counts and at the same time use an absolute value over-ride.
You may need to connect the encoder scaled value (position?) to the speed select mux rather than let motion do the scaling for you based on raw counts.
net mux2.0sel <= parport.0.pin-15-in-not[/code]
This line is wrong too. There is no signal name, so the mis-spelled mux2.0.sel becomes the signal. (Unless you wanted a signal name with a name almost like a pin name)
net fo-wheel mux2.0.in0
I don't see anything wrong with that line if HAL. I don't know if it will do what you want, but it is valid HAL.
I have a feeling that you won't be able to connect an encoder to feed-rate counts and at the same time use an absolute value over-ride.
You may need to connect the encoder scaled value (position?) to the speed select mux rather than let motion do the scaling for you based on raw counts.
Please Log in or Create an account to join the conversation.
01 Aug 2016 04:07 #78221
by dirk61
Replied by dirk61 on topic Button for rapid override 100%
Hello
If I have a pushbutton actuated pin 15 is feed-override go to a specific value as soon as I it should übernehemen the value of feed-override (encoder) taster let go.
Is that possible ??
If I have a pushbutton actuated pin 15 is feed-override go to a specific value as soon as I it should übernehemen the value of feed-override (encoder) taster let go.
Is that possible ??
Please Log in or Create an account to join the conversation.
01 Aug 2016 19:38 #78253
by andypugh
Replied by andypugh on topic Button for rapid override 100%
I don't 100% understand the question. You might try asking the question in German and perhaps one of the German-speaking forum members can answer.
I think you might have to experiment to see what works. I am fairly confident it can be done, but not sure how to do it.
It _might_ be a case of toggling on and off the "direct value" option.
I think you might have to experiment to see what works. I am fairly confident it can be done, but not sure how to do it.
It _might_ be a case of toggling on and off the "direct value" option.
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds