Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 02:37:04 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
z axis driven pump: pressure regulation /logic input question
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: z axis driven pump: pressure regulation /logic input question (Read 903 times)
0 Members and 1 Guest are viewing this topic.
moorea21
Active Member
Offline
Posts: 88
z axis driven pump: pressure regulation /logic input question
«
on:
July 24, 2010, 09:08:55 AM »
Hi,
I have a plotter that uses incremental movement of the 'z' axis to drive a material deposition pump. (Another axis (A) causes a small piston to oscillate and print the material onto a flat surface.) I had originally wanted to use the spindle drive for driving the pump, but my ncPod controller does not do spindle control, apparently.
There is a slight problem with pressure regulation, which I intend to solve by fitting a load cell, with circuitry to generate a logic 1 when the pressure falls below a predetermined value, and logic 0 when pressure is satisfactory. I hope to use the logic 1 signal to start the pump (ie cause the z axis to step), and logic 0 to shut it off again, thereby achieving pressure regulation.
Is there a way in Mach 3 to start/stop an individual axis in response to a logic input? It might be a bit like giving an Estop signal to just the one axis.
Does anyone know if Mach can do this? Or should I think about putting an Arduino on the machine to control the z axis seperately to Mach 3? Bear in mind that the z axis s not being used to position anything, just to provide pump presssure. The actual printing is done by the A axis, which must remain under mach control.
Any ideas?
Rich
Logged
moorea21
Active Member
Offline
Posts: 88
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #1 on:
July 24, 2010, 11:30:54 AM »
I've just thought:-
If I write a VB module that works like:-
Do until input1 =0 'ie do until the pressure reaches minimum value, triggering logic1 from pressure sensor circuit
G01 Z(Z+1) ' ie increment Z (pump) until correct pressure is reached
can I call it in the Gcode and have it run in the background for as long as the machine is on? I'm sure the syntax is way off; this is just really to describe how it might function.
I haven't used VB with Mach before, in fact I only started to learn VB about 2 weeks ago, so if someone could tell me if I'm on the right track or not, that would be great
Thanks,
Richard B
Logged
moorea21
Active Member
Offline
Posts: 88
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #2 on:
July 24, 2010, 11:34:56 AM »
I seem to have mistyped; should be:
Do until input1 =0 'ie do until the pressure reaches minimum value, triggering logic 0 from pressure sensor circuit
G01 Z(Z+1) ' ie increment Z (pump)
that's better!
Logged
Tweakie.CNC
Active Member
Offline
Posts: 3,258
Super Kitty.
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #3 on:
July 25, 2010, 11:20:43 AM »
Richard,
You are on the right lines.
The Macro Pump runs in the background and could control the functions you require with your VB code.
Here is one link but there are many if you do a search
http://www.machsupport.com/forum/index.php/topic,13576.0.html
Tweakie.
Logged
Success consists of going from failure to failure without loss of enthusiasm. Winston Churchill.
Hood
Active Member
Online
Posts: 17,352
Carnoustie, Scotland
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #4 on:
July 25, 2010, 04:49:54 PM »
I am not sure if this will work as I dont think you will be able to switch an axis on and off whilst other axis are running.
You could possibly do it by having the move in each line of your code but having a physical relay controlling whether the axis actually gets the steps or not. That would then maybe lead to other problems in that that axis motion would be taken into consideration by Mach when doing a move.
The best solution may be to externally drive the axis somehow by using the macropump to switch on/off a pulse generator.
Hood
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #5 on:
July 25, 2010, 08:31:15 PM »
another option might be, to swap out your Z axis stepper, with some kind of straight motor, with on/off control, have your load cell trigger the Motor on, and off.
another option (depending on how much money you want to do), you could just set an Air Pressure cylinder and set the pressure for that cylinder to what you need your compressor would keep that amount. you could user your current pressure cell to drive the on/off of the solinoid that would open close your piston to push your stuff.
you could use other options as well, analog devices with modbus, or other things like PoKeys, etc., I guess it all depends on if you makeing money with the machine or not.
I think cutting on/off the Z axis while mach thinks it is running, your going to run into accel/decel probs..
scott
Logged
Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Hood
Active Member
Online
Posts: 17,352
Carnoustie, Scotland
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #6 on:
July 26, 2010, 02:24:02 AM »
Quote from: poppabear on July 25, 2010, 08:31:15 PM
I think cutting on/off the Z axis while mach thinks it is running, your going to run into accel/decel probs..
scott
Scott, yes that was my concern doing it that way, you would have to have the feed set so that switching on.off the pulse didnt stall the stepper which in turn would impact on the other axis.
Hood
Logged
Tweakie.CNC
Active Member
Offline
Posts: 3,258
Super Kitty.
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #7 on:
July 26, 2010, 03:33:59 AM »
Rich,
I made the assumption that your plotter Z axis is just 'pen up' / 'pen down' and operates the pump from one of these two conditions - is this the case ?
Tweakie.
Logged
Success consists of going from failure to failure without loss of enthusiasm. Winston Churchill.
stirling
Global Moderator
Offline
Posts: 1,190
UK
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #8 on:
July 26, 2010, 05:20:13 AM »
If I understand correctly - you want the Z to be driven at some fixed rate under the control of your logic signal and independantly of the "commanded" axes.
A possible way of doing this is to use Mach's THC. If your logic signal is wired to THC down (say) then as long as your signal is active Z will move down and will stop when your signal goes inactive - completely independantly of X and Y motion.
You will of course need to modify your screen set to include the THC control.
Ian
Logged
kf2qd
Active Member
Offline
Posts: 118
Re: z axis driven pump: pressure regulation /logic input question
«
Reply #9 on:
July 26, 2010, 08:38:15 AM »
Sounds like you just need an output on/off.
If i understand correctly - you are extrududing some material - you need to extrude at some pressure. It sounds like you need to have a signal for extrude on/off and then let the pressure control be part of the extruder and don't worry about it being an axis. Axis's are for motin in the X Y & Z planes. Is the extrusion amount in any way deopendent upon what Z & Y are doing, or are they supposed to be programmed so that they are moving at the proper speed so you get the correct deposition?
Otherwise you are going to have to always be moving Z in large enough moves so that it can provide enough volume to exceed the pressure which would be better done with just on/off control.
Logged
Pages:
1
2
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...