. .
  1. #1
    Hi,

    I'd just like to quickly double check that my proposed Leadshine AM882 driver alarm circuit for is ok.

    Click image for larger version. 

Name:	2k.png 
Views:	680 
Size:	17.6 KB 
ID:	11932

    I looked at the manual last night and I've worried myself that I'm misunderstood it. The typical configuration diagram in the Leadshine manual shows a 2k ohm resistor on the ALM+ feed:

    Click image for larger version. 

Name:	typical.png 
Views:	606 
Size:	48.1 KB 
ID:	11933

    I think this resistor is simply there as a current limiter - if it was absent when the alarm went off you'd have a short to ground. Since I have the relay coil in the circuit I think this will have the same effect but I'm not 100% sure (as you can probably tell I'm new to electronics).

    Reading the Wikipedia page on open collectors it looks like I have the coil in an unusual place. I think you would normally place the coil before the alarms (e.g. in the positive leg of the circuit) is that right?

    Cheers

  2. #2
    My electronics is a little rusty so wait for confirmation but I think you might damage the driver doing this.

    The 2k resistor is there to pull the line high when the phototransistor is off. When it's on, the phototransistor pulls the voltage down to near ground potential.

    Without knowing the spec for the phototransistor and relay I can't tell whether the phototransistor is robust enough to cope with the loads a relay would impose. With a 2K resistor there will be around 12 milliamps flowing when the photodiode is conducting. I think the relay would be much more than this and there will also be voltage spikes from the inductance of the coil.

    Again, wait for confirmation but I don't think you need a relay - just use the leadshine circuit.

  3. #3
    Cheers, some additional info. The manual isn't completely clear for the alarm connectors but I would read it as it can handle 30V at 100mA:

    Click image for larger version. 

Name:	alm_spec.png 
Views:	272 
Size:	10.1 KB 
ID:	11934

    The relay coil requires 24V @ 20mA to activate.

    I could use the Leadshine circuit but that would have it running at the 5V the BOB supplies and I was hoping to get the voltage a bit higher to help avoid interference.

  4. #4
    I don't have a resistor and it works fine, the relay has a built in diode across the coil to prevent back emf, as you say the relay is usually connected before the alarms and that's how mine is wired.
    You can also use the ProTuner software to make the alarms normally closed and put them in series but I've just let mine as normally open.

    also there's this

    http://www.mycncuk.com/forums/motor-...html#post40604
    Last edited by EddyCurrent; 28-03-2014 at 01:26 PM.
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

  5. #5
    Sounds like it will be fine then, you definitely don't need the 2k resistor which would limit the current to a maximum of 12ma - too little to activate the relay.

  6. #6
    Brilliant, thanks guys.

  7. #7
    I'm sure that there is something wrong with that Leadshine circuit. The "R" for the alarm circuit should not be 0 for the 5V case. That would short out the 5V supply when the alarm went off, followed by the demise of the opto-isolator microseconds later. What you should use as a pull-up will depend on what is in the block on the left. Personally, I would put the 24V relay where R sits, connect alarm outputs in parallel, and corresponding terminals to 24V ground, but it's 6 of one and half-a-dozen of the other and the other suggestions would work fine.
    Last edited by Neale; 28-03-2014 at 01:55 PM.

  8. Not sure why you want the relay, its one more thing to go wrong. The FAULT input on a PMDX is already pulled up internally so just wire all ALM+ to Fault and ALM- to GND on J13. The ALM outputs are already opto-isolated so the additional isolation of the relay is superfluous.



    Quote Originally Posted by Neale View Post
    I'm sure that there is something wrong with that Leadshine circuit. The "R" for the alarm circuit should not be 0 for the 5V case. That would short out the 5V supply when the alarm went off, followed by the demise of the opto-isolator microseconds later. What you should use as a pull-up will depend on what is in the block on the left. Personally, I would put the 24V relay where R sits, connect alarm outputs in parallel, and corresponding terminals to 24V ground, but it's 6 of one and half-a-dozen of the other and the other suggestions would work fine.
    You're right, and Leadshine have changed the manual as in the other thread referenced the Leadshine circuit shown there (and copied here) R only applies to the opto-inputs not the output... its not labelled 'R', though I agree its potentially misleading.

  9. #9
    The relay is there so that I can run the majority of the alarm circuit at 24V rather than the 5V the fault input on the PMDX is pulled up to, my understanding was that would provide more resilience to noise.

    On the PMDX the fault and e-stop inputs are sampled together which to my mind means double the risk of noise causing a false e-stop (the manual doesn't say but I'm assuming they are OR'ed together).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Wiring up the Alarm output on Leadshine AM882
    By Shinobiwan in forum Motor Drivers & Controllers
    Replies: 42
    Last Post: 01-08-2017, 02:07 AM
  2. 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
  3. -10V to 10v circuit
    By vre in forum General Electronics
    Replies: 17
    Last Post: 15-01-2014, 12:15 AM
  4. Problem with AM882 drivers !..... or it could just be me !
    By Buba b in forum Motor Drivers & Controllers
    Replies: 10
    Last Post: 03-04-2013, 09:28 AM
  5. E-STOP Circuit - will this cause any problems?
    By birchy in forum General Electronics
    Replies: 34
    Last Post: 18-12-2012, 04:35 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
  •