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 28, 2012, 02:40:22 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
Brains Development
can i make an axis move?
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: can i make an axis move? (Read 3239 times)
0 Members and 1 Guest are viewing this topic.
matttargett4
Active Member
Offline
Posts: 78
can i make an axis move?
«
on:
December 27, 2008, 01:07:54 PM »
hi all,
ive been looking at the list of options for lobe termination to try to find an option that will move an axis and i cant find it, it may be obvious so i thought i would ask the people who know, if it cant be done could i do it with a macro pump or vb script, forgive me im not too familiar with them since ihave concentrated on brains up to now.
Thanks in advance
matt
Logged
Overloaded
Global Moderator
Offline
Posts: 3,073
Re: can i make an axis move?
«
Reply #1 on:
December 27, 2008, 01:23:10 PM »
HI Matt,
You can terminate a Brain with a Button Press that can move an axis...like "Homing" an axis or "Go to Safe Z".
I know little about it but you might need to give more specific information about what you are wanting to do.
Regards,
RC
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
matttargett4
Active Member
Offline
Posts: 78
Re: can i make an axis move?
«
Reply #2 on:
December 27, 2008, 05:12:46 PM »
ok so a few more details,
i was looking to make an axis move with a proportional response to an input, ideally id like to implement a pid loop with adjustable gain through dros, that part is no trouble since i can read oem dros into a lobe and write the pid loop into the function box which gives me an output value but i cant work out how to make the axis move in response to this value, i would be a start if it were just one way for posative and the other for negative rather than a proportional response.
not sure if you have any ideas?
thanks
matt
Logged
Overloaded
Global Moderator
Offline
Posts: 3,073
Re: can i make an axis move?
«
Reply #3 on:
December 27, 2008, 05:25:37 PM »
I'm certain the additional details will help but I'm afraid its a bit over my head.
There are others here that can help I'm sure.
PoppaBear is great with this stuff. Did you see his Brains tutorial in the Members Docs. section ?
Wish you good luck,
RC
Logged
"I haven't failed. I've just found 10,000 ways that won't work." Edison
"You cannot help men permanently by doing for them what they could and should do for themselves."
Abe Lincoln
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: can i make an axis move?
«
Reply #4 on:
December 27, 2008, 07:40:17 PM »
The question in my mind would be this: Would you be be pulling in the Current Axis DRO position then using that as a base input value, run it through the equation of your PID, then add that value as a positive of negative value and have the axis move to that adjusted position??
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/
matttargett4
Active Member
Offline
Posts: 78
Re: can i make an axis move?
«
Reply #5 on:
December 28, 2008, 02:11:27 AM »
yes thats what im looking to do or a variation on it!
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: can i make an axis move?
«
Reply #6 on:
December 28, 2008, 01:36:43 PM »
you will need to post up here your PID equation, plus your dead band if you have one, also the scaling factor that your PID is controlling over.
How your PID value is coming in? i.e. on Analog input over the modbus?
is this something like a Plazma machine in where you are constantly changing the Z ht., depending on the Arc Current as the machine tavels?
Need some operational details to see if you want can be done this way or not.
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/
matttargett4
Active Member
Offline
Posts: 78
Re: can i make an axis move?
«
Reply #7 on:
December 28, 2008, 02:53:51 PM »
yes this is for a plasma z axis
the anaologue input is coming in from a pokeys device on modbus address 125
not bothered to work out the exact scaling factors yet, i was messing about to see if it could be done, i simlply have a pot connected at the mo to try to make a simple program that will make the axis respond to the pot position forgetting the pid loop for a minute
i have been trying bits and pieces it currently does this relyably
reads the value (Mod 125)
divides by 5
writes it to userdro 1001
Compares user dro1001 to user dro1002 (user entered value in the mach screen)
Here is where i stumble
I have tried writing this value to the z position dro but it wont seem to let me, any user dro is ok but not z position
ive also tried setting a crude threshold value and jogging the axis one way or the other depending on the value relative to the threshold, this works ok until a program is running then the g code seems to over rule it
ive also tried feeding this back into the thc up and down inputs, i can make the led slight but again has no affect on the axis, maybe there is some other criteria i must satisfy for these inputs to work, conicedently what do i do if i want to trigger an input from a brain, i guess i must enable it in the ports/pin window, is that it or do i have to specify a port or pin?
im in the process of trying to get the brain to write g code to move the axis through a macro - simple if the value is above the threshold then write one code and another if it is below the threshold but need to brush up on my scripting etc first.
Id be interested to see how you could do it, clearly reading the forum you are very capable with brains so i thank you for your help
matt
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
Offline
Posts: 1,707
Briceville, TN, USA
Re: can i make an axis move?
«
Reply #8 on:
December 29, 2008, 12:04:44 AM »
Matt,
if your are running G Code you cannot Jog Mach3...... and that is that..............
BUT!!!
You DO have another option, you can have a standard Analog Motor drive your Tourch offset ht. (you can still have an overall Z axis move the entire head up and down, but have a DC motor move the tourch it self up and down by a screw or somthing. You can then have your PID loop control the up/down of the tourch by your current sensor, Purhaps putting a "Slider Resistor" on the tourch so that you can have a resistance to reference for start ht. then have the pid adjust off of that or something according to the current amount.
NOTE: The Update Loop of Mach is 1/10th of a second, you would probably have better luck having something with a faster scan time adjust your PID like a PLC.
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/
vmax549
Guest
Re: can i make an axis move?
«
Reply #9 on:
January 03, 2009, 11:51:16 PM »
HIYA SCOTT, I thought mach could adjust z on the fly as a plasma mode?
Just a thought, (;-) TP
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...