Results 1 to 8 of 8

Thread: Boost and sleep mode

  1. #1
    Registered
    Join Date
    Dec 2007
    Location
    Slovenia
    Posts
    3
    Downloads
    0
    Uploads
    0

    Boost and sleep mode

    I have a question about configuration EMC2
    Does EMC2 support sleep and boost mode during acceleration and brakeing for stepper motors?
    How is that done in EMC2????


  2. #2
    Registered
    Join Date
    Jun 2003
    Location
    Boalsburg PA
    Posts
    851
    Downloads
    0
    Uploads
    0
    I've never heard of sleep and boost mode. Are they hardware specific?


  3. #3
    Registered
    Join Date
    Dec 2007
    Location
    Slovenia
    Posts
    3
    Downloads
    0
    Uploads
    0
    Sleep mode reduces current to 25% nominal current when none of the stepper motors are moving, when accelerate or brake boost mode raise current for about 20%. This is done from the hardware but it has to get a signal from EMC when to raise or reduce the current.


  4. #4
    Registered
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    4
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by mr.praktik View Post
    Sleep mode reduces current to 25% nominal current when none of the stepper motors are moving, when accelerate or brake boost mode raise current for about 20%. This is done from the hardware but it has to get a signal from EMC when to raise or reduce the current.
    Hi mr.practik
    For Sleep Modus do following in your .hal File:
    linkpp "motion.motion-inpos parport.0.pin-17-out"

    For Boost try the following in .hal File:

    loadrt ddt count=6
    loadrt hypot count=2
    loadrt wcomp count=1

    addf ddt.0 servo-thread
    addf ddt.1 servo-thread
    addf ddt.2 servo-thread
    addf ddt.3 servo-thread
    addf hypot.0 servo-thread
    addf hypot.1 servo-thread
    addf wcomp.0 servo-thread

    # BOOST Signal erstellen
    newsig boost bit
    linksp boost => parport.0.pin-16-out

    newsig Xvel float
    linksp Xpos-cmd => ddt.0.in
    linkps ddt.0.out => Xvel
    newsig Yvel float
    linksp Ypos-cmd => ddt.1.in
    linkps ddt.1.out => Yvel
    newsig Zvel float
    linksp Zpos-cmd => ddt.2.in
    linkps ddt.2.out => Zvel

    newsig XYvel float #Signal X+Y
    linksp Xvel => hypot.0.in0
    linksp Yvel => hypot.0.in1
    linksp XYvel <= hypot.0.out

    newsig XYZvel float #Signal X+Y+Z
    linksp Zvel => hypot.1.in0
    linksp XYvel => hypot.1.in1
    linksp XYZvel <= hypot.1.out

    linksp XYZvel => wcomp.0.in
    linksp boost <= wcomp.0.out

    setp wcomp.0.min 0.1 #Boost from Steppacceleration
    setp wcomp.0.max 3 #Boost to Steppacceleration

    Hope this help You

    Hans


  • #5
    Registered
    Join Date
    Dec 2007
    Location
    Slovenia
    Posts
    3
    Downloads
    0
    Uploads
    0
    Thanks Hans, if this works I'll buy you a beer


  • #6
    Registered
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    4
    Downloads
    0
    Uploads
    0
    Hi
    No Problem
    It works for a lot off Users with 3D-Step Cards on Parallel Port.
    You dont find a better Software for your Stepper Actions

    Let me now if it works and which Stepper-Board you use...

    Regards
    Hans


  • #7
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1,193
    Downloads
    0
    Uploads
    0
    heh - do you want to hear something funny.. Martin Schöneck has been playing around with drawing hal schematics in eagle and converting them to hal files. You can read about it here..

    http://martinschoeneck.de/hal-write

    if you look at his hal schematic here
    http://home.arcor.de/froderick/hal-w...tin-config.png
    you can see he is doing a boost/sleep out of the printer port pins 16/17

    as always - there is more than one way to skin a cat.

    sam


  • #8
    Registered
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    4
    Downloads
    0
    Uploads
    0

    Thumbs up

    Nice Tool...thx for this Tip
    In the next time I play with it

    Hans


  • Similar Threads

    1. machine sleep mode
      By mcash3000 in forum Fanuc
      Replies: 1
      Last Post: 11-15-2006, 11:59 AM
    2. Sleep Command
      By howling60 in forum CamSoft Products
      Replies: 12
      Last Post: 03-02-2006, 10:27 AM
    3. TM 2 Spindle Speed Boost
      By Motivator-1 in forum Haas Mills
      Replies: 5
      Last Post: 02-16-2006, 12:09 AM
    4. Boost PC ATX Power Supplies to 24v..32v
      By ggg in forum General Electronics Discussion
      Replies: 3
      Last Post: 12-30-2005, 09:24 AM
    5. Sleep Vs. Ena#
      By FLUTE HEAD in forum Xylotex
      Replies: 1
      Last Post: 06-21-2005, 09:53 AM

    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.