Wiring of servo spindle - MESA 7i76E

More
4 years 5 months ago - 4 years 5 months ago #243623 by deus
I just came across another issue regarding the emergency stop for the spindle server.

I have the emergency stop loop on a dedicated 24V DC power supply. The 24V DC that goes to the Servo Drive comes from a dedicated MESA power supply.

I believe that means that I would need to use a relay that is controlled by the emergency stop loop to switch the MESA 24V line (which is going to the emergency stop input of the servo drive)? Is this correct - there is no other/simpler way?

I don't need any recommendation only try to get an understanding. image missing /media/kunena/emoticons/wink.png
Last edit: 4 years 5 months ago by deus.

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #243631 by PCW
To incude LinucCNC in the EStop control loop,
you could drive a relay from a 7I76E output

The relay can switch the EStop loop 24V

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago - 4 years 4 months ago #244451 by deus
This was very helpful thank you and I got the emergency control loop linked with mesa now.

I have two questions remaining:

1. My spindle takes an input 24 V signal at the emergency stop port to go into an emergency stop mode.
My question is as I am cutting at the same time the power via my emergency stop loop and a contactor to the spindle this emergency stop input at the drive becomes a little pointless?
Do you agree? Why is it there in the first place?

2. Finally, how would I use the Warn Output, Speed Reach, Zero Speed output signals from the servo driver in my mesa system/linux cnc software?

Sorry I believe that these are some very basic questions but it is hard to find the answers in any manuals.

Cheers
Last edit: 4 years 4 months ago by deus.

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #244455 by spumco
1. It's there because the drive manufacturer has no idea what estop scheme, if any, is being created by the machine builder.  The drive manufacturer adds an internal 'estop' or 'safe-torque-off' type function to make it easier for the machine builder to integrate.

In some cases it is preferable to stop a device by cutting the bus power but leaving the control/logic power enabled.  In others, you want a controlled stop where the device or controller will use main bus power to slow the spindle/motor as fast as possible and then turn off.  It's up to the machine builder/integrator (you) to determine what you want to happen under difference circumstances, and what regulations you're obliged to follow in your jurisdiction regarding safety-type systems.

You might consider using the spindle drive's internal 'estop' function as a secondary 'spindle-inhibit'.  If you want to work on the machine with the spindle disabled you don't necessarily want to estop it and lose offsets.  If you had a manual switch not connected to LCNC which killed the drive but didn't shut everything down, you could use that when reaching in the machine (or even changing a tool) without the 'nuclear-option' estop.

2. I assume those are programmable digital outputs from the drive.  It's up to you what you want to do with them, but if you are running the spindle/drive open loop (no encoder signal to mesa/LCNC), you could connect those outputs to mesa inputs.  Then connect the mesa inputs in HAL to:

- motion.spindle.0.at-speed (stops machine from moving until spindle is at speed.  Probably want some sort of RPM tolerance window, there are plenty of examples of actual working configs on the forum) 

- zero speed could be connected to a power draw-bar enable function.  i.e. a manual button is pressed, but the drawbar can't activate unless the zero-speed input is also active.

- not sure what Warn Output does.  Would need to read the manual before speculating on how/if to use it in LCNC.
The following user(s) said Thank You: tommylight, HogWild

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #244491 by deus
To clarify - I have a solid state relay (NO) now and basically need a signal from LinuxCNC to my MESA output pin hm2_7i76e.0.0.output-07 (which should de-energise if there is a fault in LinuxCNC to switch my emergency circuit).
What would be this signal be called in LinuxCNC?

Also as a second question why doesn't LinuxCNC have a pin hm2_7i76e.0.0.output-07_not basically inverting a signal to the output pin (similar to the input pins).

Does this makes sense?

Thank you!

PS: I Incorporated in the hal file already the e-stop_latch which works well but I believe that is not what you meant.

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #244492 by deus
Thank you spumco - that all makes sense. Thank you for taking the time to reply.
I think I will leave the emergency port for the servo out for now as I am happy with my current estop latch.
Down the line when I gained a little more experience and know what is useful and what is not I might use this emergency input at the servo drive.

Please Log in or Create an account to join the conversation.

Time to create page: 0.456 seconds
Powered by Kunena Forum