Page 4 of 5 FirstFirst ... 2345 LastLast
  1. #31
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Last Activity: 7 Hours Ago Has been a member for 9-10 years. Has a total post count of 1,837. Received thanks 192 times, giving thanks to others 5 times.
    The Fault ouput is Open Collector, so provided there's not an issue with wires being connected wrongly, then you can connect it directly.
    If noise is an issue, or the possibility of wires being connected wrongly, then having an opto would likely be beneficial.

  2. The Fault output on the EM806 (i guess that's what you mean by the Alarm output) is a floating optoisolated transistor. You could do it two ways:

    1. Flt+ to PIC Vcc, Flt- to the input pin and a 1k resistor from input to PIC ground. Input will go low on fault; or

    2. Flt+ to PIC input, Flt- to PIC ground, 4k7 resistor from PIC Input to PIC VCC. Input goes high on fault.

  3. #33
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Last Activity: 7 Hours Ago Has been a member for 9-10 years. Has a total post count of 1,837. Received thanks 192 times, giving thanks to others 5 times.
    Wouldn't using an internal pull up be just as easy?

  4. #34
    dsc's Avatar
    Lives in Lincoln, United Kingdom. Last Activity: 1 Day Ago Has been a member for 5-6 years. Has a total post count of 248. Received thanks 1 times, giving thanks to others 9 times.
    Looking at the diagram in the manual again, I thought that if I use R = 4.7k, the PIC pin will see 5V when the FLT output is disabled, and 0V when the FLT output is enabled. With nothing passing through the FLT optotransistor in the EM806 ie. with no fault, the PIC pin should see 5VDC on the input, if the FLT optotransistor is enabled, it would pass current down to 0VDC, thus bringing the PIC pin down to 0VDC. Or am I missing something?

    Regards,
    T.

    Click image for larger version. 

Name:	EM806_FLT_2.png 
Views:	438 
Size:	61.6 KB 
ID:	11686

  5. #35
    m_c's Avatar
    Lives in East Lothian, United Kingdom. Last Activity: 7 Hours Ago Has been a member for 9-10 years. Has a total post count of 1,837. Received thanks 192 times, giving thanks to others 5 times.
    That'll work fine.

  6. Quote Originally Posted by dsc View Post
    Looking at the diagram in the manual again, I thought that if I use R = 4.7k, the PIC pin will see 5V when the FLT output is disabled, and 0V when the FLT output is enabled. With nothing passing through the FLT optotransistor in the EM806 ie. with no fault, the PIC pin should see 5VDC on the input, if the FLT optotransistor is enabled, it would pass current down to 0VDC, thus bringing the PIC pin down to 0VDC. Or am I missing something?

    Regards,
    T.
    That was my option 2 and will work fine, but if you read page 3 of the manual you'll see it says that the output is low impedance in normal operation and goes high when there's a fault, i.e. the logic is reversed. The reason for this is if you put the pullup at the controller end and the cable gets broken or disconnected you get a fault condition.

    @m_c you could use internal weak pull_up but needs to be turned on in s/w and is only 10k so more susceptible to noise in this environment. Indeed on reflection I'd probably use a 1k external pull_up for just that reason.
    Last edited by irving2008; 24-02-2014 at 06:35 AM.

  7. #37
    Hey guys,

    I know this thread is a little old but it's about he only decent thing that comes up when I searched "AM882 alarm wiring". I just registered to post this update.

    This is just an FYI how mine worked. I have 2 motors on one axis and I didn't want the driver to sense something that would put it in to alarm and stop one motor while the other kept going. Hope that makes sense. I wanted that if one driver went into alarm that the others would stop.

    Turned out really simple. In the software set the alarm to go "LOW". Run the E-Stop though as many switches as you need then end at the "ALM +" of the first drive then "ALM -" to the "ALM +" of the next and so on. After the last drive "ALM -" goes back to the control board "GND" and that's it. Job done. If any drive goes into alarm, the circuit is broken and E-Stop is activated.

    Happy Days

  8. The Following User Says Thank You to joel0407 For This Useful Post:


  9. #38
    Hi Joe and welcome to the forum. There are a lot of people on here that use the AM882 drives and the later model EM806 both are very good drives and for a gantry machine a must, because like you have pointed out the alarm feature
    ..Clive
    The more you know, The better you know, How little you know

  10. #39
    I just thought the beginning of the thread got a bit complicated with using relays and the such. I don't know if the op had used a different control board or something and it had me a little confused. I know how to use a transistor and a relay but couldn't work out the alarm port on the AM882.

    I expected it to be simple open circuit and closed circuit when alarming or not. What threw me off the most was putting a multi-meter across the terminals didn't show continuity or only a few millivolts on DC. I figured there wasn't enough voltage to do any damage so I just give it a go running a jumper from the E-Stop on my Parallel Breakout board, "ALM +" then "ALM -" back to the GND on my break out board. What do you know it worked then I found it also worked jumping them all together so all good..

    Happy Days

    Joel

  11. #40
    Quote Originally Posted by joel0407 View Post
    Happy Days

    Joel
    Thanks for taking the time to share Joel, I'm sure some will find your info usefull.

    Good luck and welcome to the forum !
    .Me

Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. Need to slow down a signal due to Safe Torque Off alarm
    By corkcnc in forum General Electronics
    Replies: 0
    Last Post: 04-06-2014, 11:35 PM
  2. AM882 Alarm Circuit
    By Wobblycogs in forum General Electronics
    Replies: 8
    Last Post: 28-03-2014, 06:06 PM
  3. Output direct to machine
    By picyman in forum Vectric
    Replies: 4
    Last Post: 16-02-2014, 11:04 PM
  4. Leadshine website and AM882
    By EddyCurrent in forum General Electronics
    Replies: 7
    Last Post: 01-10-2013, 08:18 PM
  5. HPGL driver output
    By 2006Nobull in forum Computer Software
    Replies: 6
    Last Post: 07-10-2012, 08:49 PM

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
  •