classic ladder lube pump that only runs while machine is moving
- Becksvill
- Offline
- Elite Member
Less
More
- Posts: 186
- Thank you received: 86
31 May 2022 22:36 - 31 May 2022 22:39 #244315
by Becksvill
classic ladder lube pump that only runs while machine is moving was created by Becksvill
Hey guys
Just thought i would spend the time here and post up this lube pump classic ladder drawing. This is for my own future reference too lol. I keep forgetting the finer details of linuxcnc lol
This is made to go with the standard habor or chinese gear pump lube pumps you can buy that come standard on most machines
they need to be pulsed on for about 10 secs every 10-20 mins of operation
all my cnc mills and cnc lathe uses this type. plus this should work on the cnc router grease type that runs on air like the biesse or scm machines
anyway here we go
I am going to make this as simple as I can for those just learning
At the top left hand corner of the highlighted ladder program is a comparison function. you need to copy the Syntax exactly. Even tiny differences will cause it to fail. you can look up the classicladder docs if you want to see what they all do. But anyway back to the first comparision function.
The comparision function is linked to motion.current;vel pin with a signal(eg custom signal name bla bla bla) The little equation makes the comparison turn on when the machine is moving
The timer starts when that happens and resets itself making a 1 sec pulsing signal for the counter. This means that once the machine stops moving the timer stops counting up but holds the current value. once it moves again, it carries on counting up and then turns on lube pump
You should be able to just copy this exactly. Connect up your physical output pins (eg mesa card or PICO systems card) to classic ladder output number 1. Then you are good to go.
if you need help with classic ladder just let me know. i have both a lathe and mill running the toolchanger on classic ladder and it works great.
this coupled with custom Oword gcode files that you can call is all you need i think to do most things
Edit
the first timer TM0 has a value of 500 milisecs
the rest are just in secs i think so you can see the values on the screen
Regards
Andrew
Just thought i would spend the time here and post up this lube pump classic ladder drawing. This is for my own future reference too lol. I keep forgetting the finer details of linuxcnc lol
This is made to go with the standard habor or chinese gear pump lube pumps you can buy that come standard on most machines
they need to be pulsed on for about 10 secs every 10-20 mins of operation
all my cnc mills and cnc lathe uses this type. plus this should work on the cnc router grease type that runs on air like the biesse or scm machines
anyway here we go
I am going to make this as simple as I can for those just learning
At the top left hand corner of the highlighted ladder program is a comparison function. you need to copy the Syntax exactly. Even tiny differences will cause it to fail. you can look up the classicladder docs if you want to see what they all do. But anyway back to the first comparision function.
The comparision function is linked to motion.current;vel pin with a signal(eg custom signal name bla bla bla) The little equation makes the comparison turn on when the machine is moving
The timer starts when that happens and resets itself making a 1 sec pulsing signal for the counter. This means that once the machine stops moving the timer stops counting up but holds the current value. once it moves again, it carries on counting up and then turns on lube pump
You should be able to just copy this exactly. Connect up your physical output pins (eg mesa card or PICO systems card) to classic ladder output number 1. Then you are good to go.
if you need help with classic ladder just let me know. i have both a lathe and mill running the toolchanger on classic ladder and it works great.
this coupled with custom Oword gcode files that you can call is all you need i think to do most things
Edit
the first timer TM0 has a value of 500 milisecs
the rest are just in secs i think so you can see the values on the screen
Regards
Andrew
Attachments:
Last edit: 31 May 2022 22:39 by Becksvill.
The following user(s) said Thank You: tommylight, silopolis, spumco
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7760
- Thank you received: 2055
01 Jun 2022 01:32 #244337
by cmorley
Replied by cmorley on topic classic ladder lube pump that only runs while machine is moving
We should probably should add this to the official docs...
The following user(s) said Thank You: Becksvill
Please Log in or Create an account to join the conversation.
- Becksvill
- Offline
- Elite Member
Less
More
- Posts: 186
- Thank you received: 86
01 Jun 2022 07:07 #244346
by Becksvill
Replied by Becksvill on topic classic ladder lube pump that only runs while machine is moving
I make the cut!
Thanks for all your work on classic ladder Chris. You are awesome. I'm so glad we have a plc.
I just used it yesterday to interlock a tool unclamp button with the spindle so it can't drop the tool while running.
Classic ladder is so much easier than the other options.
I'm really hoping it makes it into future versions of Linuxcnc
Thanks for all your work on classic ladder Chris. You are awesome. I'm so glad we have a plc.
I just used it yesterday to interlock a tool unclamp button with the spindle so it can't drop the tool while running.
Classic ladder is so much easier than the other options.
I'm really hoping it makes it into future versions of Linuxcnc
Please Log in or Create an account to join the conversation.
- silopolis
- Offline
- Junior Member
Less
More
- Posts: 23
- Thank you received: 3
01 Jun 2022 10:01 #244356
by silopolis
Exactly my answer in ML !
Bookmarked it so I don't loose it
Replied by silopolis on topic classic ladder lube pump that only runs while machine is moving
We should probably should add this to the official docs...
Exactly my answer in ML !
Bookmarked it so I don't loose it
Please Log in or Create an account to join the conversation.
- silopolis
- Offline
- Junior Member
Less
More
- Posts: 23
- Thank you received: 3
01 Jun 2022 10:05 #244357
by silopolis
This would surely deserve a place in docs too !
Please share it so it can be added to the collection of examples in the future.
Thanks in advance
PS: shouldn't this thread be moved to CL part of this Forum ?
Replied by silopolis on topic classic ladder lube pump that only runs while machine is moving
I just used it yesterday to interlock a tool unclamp button with the spindle so it can't drop the tool while running.
This would surely deserve a place in docs too !
Please share it so it can be added to the collection of examples in the future.
Thanks in advance
PS: shouldn't this thread be moved to CL part of this Forum ?
Please Log in or Create an account to join the conversation.
- Becksvill
- Offline
- Elite Member
Less
More
- Posts: 186
- Thank you received: 86
28 Aug 2022 09:29 #250609
by Becksvill
Replied by Becksvill on topic classic ladder lube pump that only runs while machine is moving
Hey just saw this.
What Do you need to get it published in docs?
I can send whatever I need to.
Or can type something up if its that easy
What Do you need to get it published in docs?
I can send whatever I need to.
Or can type something up if its that easy
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7760
- Thank you received: 2055
28 Aug 2022 15:20 #250620
by cmorley
Replied by cmorley on topic classic ladder lube pump that only runs while machine is moving
Could you post the ladder programs to look at ?
Could you describe IF0 is for?
Could you describe IF0 is for?
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds