- Posts: 136
- Thank you received: 0
changing max velocity on startup
10 years 3 months ago #77381
by jtc
changing max velocity on startup was created by jtc
Hi.
On the current machine that was been retrofited with linuxcnc, it have a selector for the machine max velocity:
how can read and set the max velocity when linuxcnc starts up?
João
On the current machine that was been retrofited with linuxcnc, it have a selector for the machine max velocity:
Attachment not found
how can read and set the max velocity when linuxcnc starts up?
João
Please Log in to join the conversation.
10 years 3 months ago #77424
by cmorley
Replied by cmorley on topic changing max velocity on startup
halui.max-velocity
using a switch requires using the direct-value option and a mux or somethimg similar
set the scaling to get percent, then have a mux component out put 25,50,100 % depending on the switch position.
Chris M
using a switch requires using the direct-value option and a mux or somethimg similar
set the scaling to get percent, then have a mux component out put 25,50,100 % depending on the switch position.
Chris M
Please Log in to join the conversation.
10 years 3 months ago #77458
by jtc
Replied by jtc on topic changing max velocity on startup
that was what I used, but, for example, if I left the machine on 25%, next time I start linuxcnc it will be set at 100%. only if I make a change on the switch it will update.
João
João
Please Log in to join the conversation.
10 years 3 months ago #77465
by BigJohnT
Replied by BigJohnT on topic changing max velocity on startup
The pin halui.machine.is-on toggles when the power button (F2) is pressed. Maybe you can use this to toggle the logic.
JT
JT
Please Log in to join the conversation.
Time to create page: 0.085 seconds
