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

More
9 years 2 months ago #96863 by rodw
Actually, you may not need the Select8 if you set the Mux8 input values to be the gear ratio
Your high/low speed could be done with a mux2 to select between 1 and 2 (or 1 and 0.5)
So then all you would need to do is to mult2 (multiply) the two outputs together and you would have the correct result.

Note my example converts from a float to a S32 to use with select8 which requires a different type as input.

Please Log in to join the conversation.

More
9 years 2 months ago #96864 by andypugh
You could use a Mux16 with one of the bits set by the motor speed.

But my custom comp does a bit more internally.

Please Log in to join the conversation.

More
9 years 2 months ago #96865 by tecno
First step is to get my AC servos to run perfect, as you have seen there are error messages I can't wrap my head around.

Please Log in to join the conversation.

More
9 years 2 months ago #96902 by tecno
How do I connect following?

# --- ESTOP-EXT ---
net estop-ext <= hm2_7i76e.0.7i73.0.1.input-23

# --- DOUT-00 --- Warning Light RED
net dout-00 hm2_7i76e.0.7i76.0.0.output-0


How to make the red light flashing?

Please Log in to join the conversation.

More
9 years 2 months ago #96912 by Todd Zuercher
This has been covered before here.
forum.linuxcnc.org/24-hal-components/321...ed-amber-green#85342

If you just want the red light to flash when the e-stop input is on, this should work.
Code:
loadrt and2 count=1 loadrt siggen num_chan=1 addf and2.0 servo-thread addf siggen.0.update servo-thread # --- ESTOP-EXT --- net estop-ext <= hm2_7i76e.0.7i73.0.1.input-23 # --- DOUT-00 --- Warning Light RED setp siggen.0.frequency 1 net estop-exe => and2.0.in0 #You may need to use the hm2_7i76e.0.7i73.0.1.input-23-not version of your e-stop input if light behavior is opposite of what you need. net flash <= siggen.0.clock => and2.0.in1 net dout-00 <= and2.0.out => hm2_7i76e.0.7i76.0.0.output-0

You can also make the red light do different things in different situations, if you want to.

Please Log in to join the conversation.

More
9 years 2 months ago #96929 by rodw
I'm very grateful for Todd's help on the warning lights shown in the video I posted on the thread he shared. I incorporated the warning lights with BigJohn's Run/Step Hold/Resume buttons from this thread forum.linuxcnc.org/47-hal-examples/13201...-hold-resume-buttons

I have shared with you my hal file that contains this previously but the example in my build thread which is linked into the example above is nicely documented.

Please Log in to join the conversation.

More
9 years 2 months ago #96934 by tecno
I took Todds code from kink below and it works.
forum.linuxcnc.org/24-hal-components/321...ed-amber-green#85342

But, I am having 7i73 output issues 10-16 with nothing happening on those. Outputs to my my frontpanel with 6pcs 24V lights but I cannot get these to light up. setp hm2_7i76e.0.7i73.0.1.output-12 TRUE should light up but no. Using DMM the monitor voltage Output to GND = nothing.

By the way, when viewing pins I now can see that my limit switch inputs appears to work OK, so go figure what happen earlier when nothing was working.

I have to check all my connections on 7i73 again and see what I have connected wrong and RTFM again and try to understand all.

Please Log in to join the conversation.

More
9 years 2 months ago #96937 by rodw
PCW alluded to it in an earlier post but the 7i73 outputs are 3.3 volt not 24 volts. Check the manual. Simplest fix would be to drive those lights from 7i76e outputs but if that is not feasible, maybe you can use some opto isolators triggered by the 7i73 to switch 24 volts to them.

Please Log in to join the conversation.

More
9 years 2 months ago #96943 by andypugh

tecno wrote: But, I am having 7i73 output issues 10-16 with nothing happening on those. Outputs to my my frontpanel with 6pcs 24V lights but I cannot get these to light up. setp hm2_7i76e.0.7i73.0.1.output-12 TRUE should light up but no. Using DMM the monitor voltage Output to GND = nothing.


7i73 outputs are 3.3V. As I mentioned in another thread, the ULN2003 is useful in these situations.
se.rs-online.com/web/p/darlington-transistors/6868209/

Please Log in to join the conversation.

More
9 years 2 months ago #96944 by tecno
Yes I know that, have FET's but with nothing connected to outputs DMM shows nothing.

Please Log in to join the conversation.

Time to create page: 0.107 seconds
Powered by Kunena Forum