How to right sequence run - pause -stop
27 Apr 2011 13:08 #9388
by andypugh
Replied by andypugh on topic Re:How to right sequence run - pause -stop
piasdom wrote:
loadrt toggle count=2
If you want a longer debounce:
setp toggle.1.debounce 10
But 2mS (the default) is probably about right.
Try wihtout the spacesloadrt toggle count = 2
loadrt toggle count=2
If you want a longer debounce:
setp toggle.1.debounce 10
But 2mS (the default) is probably about right.
Please Log in or Create an account to join the conversation.
27 Apr 2011 13:10 #9389
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
can't use
loadrt toggle count = 2
needs no spaces after count - - loadrt toggle count=2
emc starts with this
loadrt toggle count=4
addf toggle.0 servo-thread
addf toggle.1 servo-thread
loadrt toggle count = 2
needs no spaces after count - - loadrt toggle count=2
emc starts with this
loadrt toggle count=4
addf toggle.0 servo-thread
addf toggle.1 servo-thread
Please Log in or Create an account to join the conversation.
27 Apr 2011 13:20 - 27 Apr 2011 13:22 #9390
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
with below i get "toggle.0.debounce doesn't exist"
net pause-btn toggle.0.in == pyvcp.prog-pause
net btn-pause toggle.0.out == halui.program.pause
net btn-pause halui.program.resume == toggle.0.debounce
net pause-btn toggle.0.in == pyvcp.prog-pause
net btn-pause toggle.0.out == halui.program.pause
net btn-pause halui.program.resume == toggle.0.debounce
Last edit: 27 Apr 2011 13:22 by piasdom.
Please Log in or Create an account to join the conversation.
27 Apr 2011 13:53 #9392
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
below makes it looks like it is pauses for just a micro-second
net pause-btn toggle.0.in == pyvcp.prog-pause
net btn-paused toggle.0.out halui.program.pause halui.program.resume
net pause-btn toggle.0.in == pyvcp.prog-pause
net btn-paused toggle.0.out halui.program.pause halui.program.resume
Please Log in or Create an account to join the conversation.
27 Apr 2011 14:05 #9394
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
this works. but it looks like a slight delay.
guessing it's a request, not a command :
net pause-btn toggle.0.in == pyvcp.prog-pause
net pause-btn toggle.0.in halui.program.pause
net all-paused toggle.0.out halui.program.resume
guessing it's a request, not a command :
net pause-btn toggle.0.in == pyvcp.prog-pause
net pause-btn toggle.0.in halui.program.pause
net all-paused toggle.0.out halui.program.resume
Please Log in or Create an account to join the conversation.
27 Apr 2011 14:19 #9395
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
an on/off button.
net off-btn toggle.1.in == pyvcp.mach-on
net off-btn toggle.1.in == halui.machine.on
net on-off toggle.1.out halui.machine.off
net off-btn toggle.1.in == pyvcp.mach-on
net off-btn toggle.1.in == halui.machine.on
net on-off toggle.1.out halui.machine.off
Please Log in or Create an account to join the conversation.
27 Apr 2011 14:32 #9396
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
all three
#estop estop/reset
net estop-btn toggle.2.in == pyvcp.abort-button
net estop-btn toggle.2.in == halui.estop.activate
net on-off toggle.2.out halui.estop.reset
#power on/off
net off-btn toggle.1.in == pyvcp.mach-on
net off-btn toggle.1.in == halui.machine.on
net on-off toggle.1.out halui.machine.off
#program pause/resume
net pause-btn toggle.0.in == pyvcp.prog-pause
net pause-btn toggle.0.in == halui.program.pause
net all-paused toggle.0.out == halui.program.resume
#estop estop/reset
net estop-btn toggle.2.in == pyvcp.abort-button
net estop-btn toggle.2.in == halui.estop.activate
net on-off toggle.2.out halui.estop.reset
#power on/off
net off-btn toggle.1.in == pyvcp.mach-on
net off-btn toggle.1.in == halui.machine.on
net on-off toggle.1.out halui.machine.off
#program pause/resume
net pause-btn toggle.0.in == pyvcp.prog-pause
net pause-btn toggle.0.in == halui.program.pause
net all-paused toggle.0.out == halui.program.resume
Please Log in or Create an account to join the conversation.
27 Apr 2011 14:36 #9397
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
now...is there way to to change the words "on/off"
when button not clicked ... button says "on"
click one - word changes to "off"
click again - word changes to "on"
but don't think possible without recompiling lucid/emc
but it would be nice
when button not clicked ... button says "on"
click one - word changes to "off"
click again - word changes to "on"
but don't think possible without recompiling lucid/emc
but it would be nice
Please Log in or Create an account to join the conversation.
27 Apr 2011 14:48 #9400
by BigJohnT
Replied by BigJohnT on topic Re:How to right sequence run - pause -stop
Please Log in or Create an account to join the conversation.
27 Apr 2011 14:53 - 27 Apr 2011 15:11 #9401
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
i saw that. they show two pictures. i thought they BOTH show and as one is pressed
it fades out and the other is high-lighted. does one pic show a a time ?
also;
why i can't get his to work
give me error "can't do that(EMC_TASK_PLAN_RUN)in manual.
the axis rub button works then.
net prog-run pyvcp.prog-run == halui.program.run
it fades out and the other is high-lighted. does one pic show a a time ?
also;
why i can't get his to work
give me error "can't do that(EMC_TASK_PLAN_RUN)in manual.
the axis rub button works then.
net prog-run pyvcp.prog-run == halui.program.run
Last edit: 27 Apr 2011 15:11 by piasdom.
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds