Results 1 to 4 of 4

Thread: Start/Resume button

  1. #1
    Registered
    Join Date
    Nov 2010
    Location
    usa
    Posts
    2
    Downloads
    0
    Uploads
    0

    Cool Start/Resume button

    I have built two step motor type machines. Everything works well but i have to use either keyboard or mouse in order to run the program. I have placed the following lines in the custom .HAL file:

    net program-run => halui.program.run
    net program-run <= parport.0.pin-10-in

    Grounding pin 10 with a pusbutton produces the following error message:

    "cant do that (EMC-TASK-PLAN-RUN) in manual mode"

    How can I make this work? Also, can I use the same switch for >program-resume< ?

    Thanks for any information or suggestions!
    Best,
    Boje


  2. #2
    Registered
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    487
    Downloads
    0
    Uploads
    0
    I believe you must be in auto mode before run and stop will work.
    look here:
    halui


  3. #3
    Registered
    Join Date
    Nov 2010
    Location
    usa
    Posts
    2
    Downloads
    0
    Uploads
    0

    Question Stop/Resume Button

    Thank you for your suggestion. I still dont know how to put the macine in auto mode, exept clicking on the arrow or use the keyboard >R<.
    Could you give me an example line to put into HAL to do this. I dont have any IN pins left. Thank you..


  4. #4
    Registered
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    487
    Downloads
    0
    Uploads
    0
    I would think connect your in pin to halui.auto-mode and to a one-shot timer and the one shot timer to program run.

    so the input sets the mode to auto and starts the timer.
    then the timer times out and sets program run.


Similar Threads

  1. Need Help!- MACH 3 cycle start button
    By Rick7702 in forum Mach Mill
    Replies: 26
    Last Post: 05-21-2013, 06:49 PM
  2. External Cycle Start button
    By Jerry Shorter in forum LinuxCNC (formerly EMC2)
    Replies: 2
    Last Post: 06-07-2010, 02:59 PM
  3. Start macro with input button
    By geahr in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 09-17-2009, 10:52 AM
  4. Need Help!- Can spindle start when you hit the Z-axis button?
    By moldcore in forum Milltronics
    Replies: 2
    Last Post: 04-26-2009, 09:14 AM
  5. Cycle Start button
    By kaleem1 in forum Mach Software (ArtSoft software)
    Replies: 7
    Last Post: 12-24-2005, 03:05 PM

Tags for this Thread

Posting Permissions



About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.