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

More
29 Aug 2017 16:21 #98155 by tecno
OK, was not aware of M9 behavior.

Coolant is On/Off switch

Oil-pump is push button is momentary (built in lamp).

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

More
29 Aug 2017 16:48 #98156 by Todd Zuercher
Most machines i've worked with run the oiler system automatically for X number of seconds for every Y number of seconds of machine movement. This isn't very hard to implement, and if you still want to you could still have your button run the pump when ever you press it. If you want to control it with a custom M code that is also very simple, but you have to remember to insert them into your G-code files at appropriate places.

The simplest solution is just to connect your button output to an or2 input, and the other or2 input to what ever you decide to use for automated control of the pump, then the or2 out to the pumps input pin.

If you search there are a number of discussions and solutions to this subject. There are also some example configs with lube cycles, including one using ClassicLadder to control the lube pump.
The following user(s) said Thank You: tecno

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

More
29 Aug 2017 17:06 #98158 by tecno

File Attachment:

File Name: combimill_...8-29.hal
File Size:19 KB


Have been playing around a bit with my XOR and now I have coolant functioning as I want it.

Either via GUI/G-code or my front panel switch.

Will play around with lubrication/oiler to get it functional as well.
Attachments:

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

More
29 Aug 2017 17:34 #98159 by tecno
So now I have the lubrication working as well.
Still 2 sensors to be implemented = oil level and oil pressure.

Also I got my Renishaw probes working yesterday = TS27R and MP10 so now I will have to see how to implement these.

Time to relax and be done for today.

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

More
30 Aug 2017 11:06 #98188 by tecno
So I have now been tuning and now all scaling is OK, encoders active.

Running AXIS now, how can I add RPM meter to see/verify that spindle encoder is working OK?

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

More
30 Aug 2017 11:19 #98189 by rodw
I don't think LinuxCNC has any concept of RPM. Its all about velocity. You can watch this in the joints and combined in motion using hal watch.

I had a cheap eBay strobe style tachometer which I found very useful in the beginning..

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

More
30 Aug 2017 11:39 #98192 by tecno
A tach does not verify spindle encoder function, I have one and rpm is close to commanded.

Need to verify index pulse on spindle to be 100%sure it can handle threading.

Something like this linuxcnc.org/docs/2.7/html/gui/images/gs2_panel.png but this is for a specific VFD.

Maybe it is time to move over to gmoccapy, if I recall this type of rpm meter is included.

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

More
30 Aug 2017 11:46 #98193 by rodw
Sorry. Plasmas don't have spindles!

THere will be a pin in motion that you can watch
linuxcnc.org/docs/html/man/man9/motion.9.html

motion.spindle-speed-out looks promising

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

More
30 Aug 2017 11:55 - 30 Aug 2017 12:03 #98194 by Clive S
Last edit: 30 Aug 2017 12:03 by Clive S.

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

More
30 Aug 2017 12:14 #98196 by tecno
Hmmm

How to 'connect' as I do not have that specific VFD, need to have spindle index pulse as reference.

# display the rpm based on freq * rpm per hz
loadrt mult2
addf mult2.0 servo-thread
setp mult2.0.in1 28.75
net cypher_speed mult2.0.in0 <= spindle-vfd.frequency-out
net speed_out pyvcp.spindle_rpm <= mult2.0.out

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

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