. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Clive S View Post
    Why should a pause require a restart as you should just be able to do a resume with no problems. A pause is generally a controlled stop as apposed to an emergency stop which always requires a rehome etc.
    Sorry I should have said UNPAUSE. I award stepper motors a speed at which I can start or stop them without losing steps. Once beyond that speed pausing and unpausing become interesting. It's tricky keeping everyone in synch. I have written it twice, once in Z80 assembler and once in C.
    Last edited by Robin Hewitt; 22-08-2016 at 10:53 AM. Reason: missing gerund

  2. #2
    Quote Originally Posted by Robin Hewitt View Post
    Sorry I should have said UNPAUSE. I award stepper motors a speed at which I can start or stop them without losing steps. Once beyond that speed pausing and unpausing become interesting. It's tricky keeping everyone in synch. I have written it twice, once in Z80 assembler and once in C.
    I had forgotten that you write your own control code and don't use Mach or Linuxcnc
    ..Clive
    The more you know, The better you know, How little you know

  3. #3
    Quote Originally Posted by Clive S View Post
    I had forgotten that you write your own control code and don't use Mach or Linuxcnc
    That was unexpected. I thought the only person who listened to me was my wife, one word out of place and her jaw starts to flap.

  4. #4
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 12 Hours Ago Has been a member for 9-10 years. Has a total post count of 1,740. Received thanks 297 times, giving thanks to others 11 times.
    Editing a post because of a missing gerund was pretty unexpected!

    But back to topic - in an emergency (about to smash cutter into clamp, body part in imminent danger...) you want the machine to stop with 100% certainty and as quickly as possible. So you won't trust motion controller firmware, cutting power to driver power supply probably won't stop the machine immediately as you need to wait for output caps to discharge, and removing driver enable might not brake motors. Could cut power to drivers on output side of PSU but need chunky and reliable relay as you are switching high DC currents (possible contact welding?) and still lose braking. Could put something (TTL gates? Another relay?) in line with step signals - four of them, in my case.

    This is getting a bit silly! In my case, the Pilz device sends e-stop to CSMIO (manual says this has very fast response) and cuts mains to driver PSU (via secondary relay). These use high-reliability n/o Pilz contacts. I am also using the auxiliary n/c contact (not high-reliability) to switch the enable signal. This is for convenience as the drivers are effectively active-low on the enable input so I need to put +5V on them to disable. So, I have two not-absolutely-reliable stopping mechanisms but which are independent so one should work when needed with cutting driver power as a slower-acting backup, but not clear at the moment if I shall get motor braking. Safety is such a compromise...

  5. #5
    In my experience cutting power to the power supply does not make the machine run on more than a few m/s before the caps run out of juice
    ..Clive
    The more you know, The better you know, How little you know

  6. #6
    Quote Originally Posted by Neale View Post
    Safety is such a compromise...
    One of your primary E-Stop circuits should reliably control the spindle and effect an E-Stop with braking (if available) using it's controller. ;-)
    You think that's too expensive? You're not a Model Engineer are you? :D

  7. #7
    Neale's Avatar
    Lives in Plymouth, United Kingdom. Last Activity: 12 Hours Ago Has been a member for 9-10 years. Has a total post count of 1,740. Received thanks 297 times, giving thanks to others 11 times.
    The Huanyang VFD is controlled by the CSMIO and I have been assuming that this will stop on e-stop although I have not checked this. However, I do have a primary Pilz contact going spare and I could wire the VFD run signal via that for belt-and-braces. I have more-or-less finished the control box, apart from some small odds and ends, but the machine isn't quite at the same state. Once I have limit and e-stop switches fitted and wired, I shall be going through the safety functionality that I have. For example, I haven't yet checked the VFD braking characteristics and tuned things like deceleration.

    When I say that safety is a compromise this is, obviously, I hope, tongue-in-cheek but we do have to be sensible about this. I am building a hobby machine for a home workshop, and not expecting idiot bystanders to wander by and poke fingers in it. However, I am also moving from the mark 1 built from MDF which is just about strong enough to stand up to its own weight(*) but would self-destruct in the case of any foul-up, to the mark 2 which is all welded steel, including gantry, and could do itself and anyone in its path serious damage. So, for example, accessible e-stops and limit switches all round, but no "open door" detector for the control box. Just trying to steer a sensible course between extremes.

    (*) I exaggerate - in fact, it is not quite strong enough to stand up to its own weight...
    Last edited by Neale; 22-08-2016 at 05:19 PM.

  8. #8
    Quote Originally Posted by Neale View Post
    (*) I exaggerate - in fact, it is not quite strong enough to stand up to its own weight...
    I hope to start a steel gantry build soon - I hope it will stand up to my weight, but I am not light.

    Serious question - does anybody use braking resistors on VFD's ?

    Cheers,

    Rob

  9. #9
    Quote Originally Posted by Neale View Post
    The Huanyang VFD is controlled by the CSMIO and I have been assuming
    My Siemens VFDs have Stop and E-Stop wired inputs, it's this input and not a peripheral device which should be relied upon to implement the E-Stop.
    Most good E-Stop switches have at least two circuits to facilitate direct control of the nastiest component of a machine, if it's all nasty then it usually operates a mains cut off but for most lathes and mills killing the spindle removes the most risk, the motor cannot start while the wired E-Stop to the VFD is active.
    You think that's too expensive? You're not a Model Engineer are you? :D

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to wire the enable pin on a stepper drive?
    By cncJim in forum General Electronics
    Replies: 8
    Last Post: 01-01-2016, 05:10 PM
  2. How do I wire a stepper driver to a stepper motor?
    By swood1 in forum Stepper & Servo Motors
    Replies: 7
    Last Post: 21-09-2014, 05:40 PM
  3. Replies: 1
    Last Post: 16-03-2014, 07:29 PM
  4. best stepper driver???????
    By Ross77 in forum Motor Drivers & Controllers
    Replies: 37
    Last Post: 21-04-2013, 05:05 PM
  5. Boxford 125TCL Stepper Specs required.!!
    By JAZZCNC in forum Boxford Lathes
    Replies: 7
    Last Post: 01-02-2013, 01:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •