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, 11:47:54 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
thc in macropump
Pages:
1
Go Down
« previous
next »
Author
Topic: thc in macropump (Read 491 times)
0 Members and 2 Guests are viewing this topic.
moorea21
Active Member
Offline
Posts: 88
thc in macropump
«
on:
September 27, 2010, 11:46:07 AM »
Hi,
I'm using my Z axis to drive a dispensing pump (as in my previous posts.) The pump's pressure (ie whether the Z axis advances or not) will be regulated by a logic on/off signal from a strain gauge/amp/comparator circuit. The circuit appears to work fine as a spice model, parts are on order for the circuit itself, so all's well there, barring signal to noise ratio problems.
I'm hoping to run a macropump to control this using DTHC. So the macro will keep the dispensing pump at optimum pressure whenever mach is running, by doing a 'THC down' whenever the pressure drops off a bit.
Trouble is, beyond defining this as rather fluffy pseudocode, I'm unclear about what the code might look like. I don't want to confuse myself further by looking at the wrong macros for inspiration.
Can anyone suggest a bit of code that already exists that might do some/all of what I need? My code understanding is not fantastic, but hopefully I could see how it works. Then me/my friend who enjoys programming/ can put something together that does the job!
Thanks,
Richard B
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: thc in macropump
«
Reply #1 on:
September 27, 2010, 09:09:50 PM »
You might want to look at the Mach THC plugin.
(;-) TP
Logged
moorea21
Active Member
Offline
Posts: 88
Re: thc in macropump
«
Reply #2 on:
September 28, 2010, 02:42:07 AM »
If you mean the one by Brian Barker, I believe this is for analogue inputs. Mine is digital input, and I was under the impression that Mach 3 already has DTHC built in, so wouldn't need a plugin. Do you know where any code for running THC exists?
Something like
(-macropump-)
If Mach on then
If sensor input = 1 then THC down
Else if tool change macro is running then THC up
Else if do nothing
End
This is just pseudo code sketch.
Does something like this exist in useable form?
Not sure where to look!
Rich B
Logged
BR549
Active Member
Offline
Posts: 2,555
Re: thc in macropump
«
Reply #3 on:
September 28, 2010, 08:35:04 PM »
I think you should be able to just map the 2 signals as inputs directly to the thcup and thcdown functions in config. Maybe NO code needed
Just a thought, (;-) TP
Logged
moorea21
Active Member
Offline
Posts: 88
Re: thc in macropump
«
Reply #4 on:
September 29, 2010, 04:37:02 AM »
That's what I was starting to think, then I thought 'can it really be that simple?' I could dummy up a logic on/off signal, set it all up, and see...
Will keep you posted
Rich B
Logged
Pages:
1
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...