Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.

More
28 Jul 2017 11:55 #96612 by tecno
OK, now I have rewired and now my security relay is live.

Next problem, I have my safety mushroom switch connected to 7i73 and that is working internally
.
Question, how do I pass through the safety switch via 7i76E to my security relay JOKAB RT9
library.e.abb.com/public/6bb97cc64bcfedb...n05_SafetyRelays.pdf
Page 5:16

forum.linuxcnc.org/media/kunena/attachme...utputdrawingMesa.pdf

Some wiring and some code and how would that look like?

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

More
28 Jul 2017 12:32 #96613 by rodw
estop_latch component linuxcnc.org/docs/html/man/man9/estop_latch.9.html
Forum Example forum.linuxcnc.org/47-hal-examples/25861-external-e-stop
Big John's tutorial gnipsel.com/linuxcnc/configs/external-estop.html

It is possible to use multiple relays and chain them together. There is an example I posted somewhere but its embedded in my hal file you have a copy of.

Pins ok-out and fault-out can be used to trigger relays and indicator lights.
The following user(s) said Thank You: tecno

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

More
28 Jul 2017 12:37 #96614 by tecno
Thanks for the links Rod.

Just had some late lunch and got myself thinking that easy way out is just to hook up a wire, I have spare's already so I think I will go with that first and see if there is a need to hook up a latch component later on.
The following user(s) said Thank You: rodw

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

More
28 Jul 2017 12:56 #96615 by rodw
Lunch! Its past my bedtime 11:00pm
My Mushroom switch has 2 sets of contactors in it. (1 x NC and 1 x NO). 1 drops mains power to the stepper motor power supply. The other sends +24V to the fault-in input.

Great to see you are making progress.

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

More
28 Jul 2017 12:59 #96616 by tecno
Yea I know you guys down under go to bed early ;)

Looking forward to this endeavor to get all working.

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

More
28 Jul 2017 15:40 #96618 by tecno
So at last I have movement. I did add another switch to the E-stop and wired directly to the safety relay.

Now the 10K$ question, Z axis brake - how to handle this?

Long story short I have had issues earlier before LCNC with my knee running towards China in high speed when break is not activated.
The built in brake output is not what I want = pulsating like a madman = noisy and unpredictable.

So I would like to disengage the brake a few seconds after output 11 goes active and engage as soon as output goes non active or E-stop is activated. This way I think I will be safe all the time with no chance for Z axis to runaway.
Mill has a knee with largish X axis table that is quite heavy so the speed towards China is high with a big bang at the end of travel.

Any suggestions on how to solve this?

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

More
28 Jul 2017 18:17 #96623 by tecno
Can somebody help me to set correct axis parameter for motordrives.

www.europages.co.uk/SHENZHEN-XINLICHUAN-...uction%20Book~2.html

I have above servodrives and I can not find settings for pulse lenght/width ( maybe I am blind?)

2500rpm
2500 ppr encoders
5mm pitch ballscrew
1:2 belt reduction on X and Y
1:4 belt reduction on Z

I would be grateful to get some assistans with this.

Cheers
Bengt

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

More
28 Jul 2017 20:46 #96625 by rodw
Think in terms of the signal that turns the brake on and off as thats what you need to generate. I think that means there is an and2 in there between estop and a delayed output 11.

The delay can easily be added with the timedelay component on output 11
linuxcnc.org/docs/html/man/man9/timedelay.9.html

If you need to invert a signal, there is the invert component
linuxcnc.org/docs/2.4/html/man/man9/invert.9.html
But output 11 has a corresponding output-11-not signal that is already inverted for you.

Remember the estop signal also has a corresponding signal that is true if the machine is not in estop so you may not need the invert.. Spend some time with halshow and locate the desired signal first.

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

More
28 Jul 2017 22:02 #96628 by tecno
Slight misunderstanding me explaining badly. Nothing to be done with output 11 except monitoring what is going on there.
So another output XX that needs to act with a delay for x seconds to go true after 11 goes true and go false at the same time 11 goes false.

Sorry my swinglish ;)

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

More
29 Jul 2017 02:31 - 29 Jul 2017 02:31 #96636 by rodw
Your swinglish is better than my engswish!

I think its more like this (borrowing from your hal file and moving stuff so this makes sense). I don't think you need to worry about the estop signal as if its on, machine-is-enabled will be false
#untested, use at your own peril, fix my syntax errors

loadrt timedelay count=1, names=brake_delay
addf brake_delay servo_thread

# --- MACHINE-IS-ENABLED ---
net machine-is-enabled        <=  motion.motion-enabled
net machine-is-enabled => hm2_7i76e.0.7i76.0.0.output-11
# --- BRAKE ON 5 seconds after machine on , off with machine off ----------
setp brake_delay.on-delay 5.0
setp brake_delay.off-delay 0.0
net bdelay-in brake_delay.in <= machine-is-enabled
# brake is connected to output 14 so turn it on with delay.
net bdelay-out brake_delay.out => hm2_7i76e.0.7i76.0.0.output-14

In my later code, I've tried to use the names= syntax so that the code is more meaningful as I am up to and2.8 and I'm sure I have some that can be removed.
Last edit: 29 Jul 2017 02:31 by rodw.

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

Moderators: cmorley
Time to create page: 0.140 seconds
Powered by Kunena Forum