NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC HAL Examples Toggle Flood with One Button

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Toggle Flood with One Button

Re:Toggle Flood with One Button 15 Июн 2011 04:37 #10531

  • BigJohnT
  • BigJohnT's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 5081
  • Thank you received: 102
  • Karma: 136
Not sure that I would use halui.program.is-idle for your power on/off as it is true even if the e-stop is active which means you can't turn the power on in that state. I would use halui.estop.is-activated with a not to invert the state of the pin as part of my and2.

John
The administrator has disabled public write access.

Re:Toggle Flood with One Button 15 Июн 2011 04:43 #10532

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
no biggie, i know it's correct in your working file or it wouldn't work :)
The administrator has disabled public write access.

Re:Toggle Flood with One Button 15 Июн 2011 04:55 #10533

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
BigJohnT wrote:
Not sure that I would use halui.program.is-idle for your power on/off as it is true even if the e-stop is active which means you can't turn the power on in that state. I would use halui.estop.is-activated with a not to invert the state of the pin as part of my and2.

John

cool. i'll try that.
The administrator has disabled public write access.

Re:Toggle Flood with One Button 15 Июн 2011 08:44 #10534

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
could i use toggle instead. not.0 slows emc a lot
and what about using iocontrol.0.user-request-enable
to change state with toggle ?
The administrator has disabled public write access.

Re:Toggle Flood with One Button 15 Июн 2011 12:37 #10540

  • BigJohnT
  • BigJohnT's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 5081
  • Thank you received: 102
  • Karma: 136
not should be just as fast as any other component, are you sure you have it coded correctly?

John
The administrator has disabled public write access.

Re:Toggle Flood with One Button 15 Июн 2011 14:14 #10544

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
i've tried it a number of time and each time the same thing.
but i don't think i understand what it is doing.
The administrator has disabled public write access.

Re:Toggle Flood with One Button 15 Июн 2011 14:24 #10547

  • BigJohnT
  • BigJohnT's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 5081
  • Thank you received: 102
  • Karma: 136
post your code

John
The administrator has disabled public write access.

Re:Toggle Flood with One Button 16 Июн 2011 04:58 #10573

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
i don't have anything with "not" in it as i stayed
away from it for that reason. when i mean "slowed emc",
i mean it takes about 10 sec for emc to start whereas usually
emc starts before the "emc start image" goes off.
but thanks
The administrator has disabled public write access.

Re:Toggle Flood with One Button 16 Июн 2011 08:15 #10580

  • BigJohnT
  • BigJohnT's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 5081
  • Thank you received: 102
  • Karma: 136
I have one slow computer and I can't see any difference in loading time with and without not being used, something else must have caused the slow loading time.

John
The administrator has disabled public write access.

Re:Toggle Flood with One Button 16 Июн 2011 08:28 #10581

  • piasdom
  • piasdom's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 537
  • Karma: 2
could it be just bad formatting of not ?
but if bad format, wouldn't i get an error msg ?
and i remember that the button worked, not as it
should be worked /w error msg.
position in file ?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 2.205 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.