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, 12:21:20 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
Mach with Brains, smart enough for closed loop?
Pages:
«
1
2
Go Down
« previous
next »
Author
Topic: Mach with Brains, smart enough for closed loop? (Read 3906 times)
0 Members and 2 Guests are viewing this topic.
CUTMORE
Active Member
Offline
Posts: 52
Re: Mach with Brains, smart enough for closed loop?
«
Reply #10 on:
October 10, 2007, 06:01:22 AM »
So If I am correct, and I think this is what Joe said He is working on, You could have a brain comparing your encoders to the g53 position also in the brain specify your following error allowance, and if it is exceeded trigger an e-stop? Wow, now I am getting ahead of my self But.. then maybe instead of an e-stop, you could do a modified adaptive feedrate!
Do you need the rogers board to interface with encoders or just a 2nd bi-directional parallel port?
Thanks for any replies,
Cutmore
Logged
Hood
Active Member
Offline
Posts: 17,368
Carnoustie, Scotland
Re: Mach with Brains, smart enough for closed loop?
«
Reply #11 on:
October 10, 2007, 01:42:44 PM »
Not sure on the adaptive feedrate, Brian or Art would have to answer that one but yes it should be easy enough to look at the DROs and compare. A simple formula to compare your DROs and see if they differ by a set amount then if they do press the Reset button.
I think you can imput encoders through a parallel port so dont think you really need the board from Ron if that is all you are doing.
Hood
Logged
rcrabb
Active Member
Offline
Posts: 154
Re: Mach with Brains, smart enough for closed loop?
«
Reply #12 on:
October 10, 2007, 08:06:59 PM »
I would think the question is how fast is the brains logic. Will it compare positions and stop the axis fast enough to save the part. I would think yes. Second question is can a reliable encoder be setup on a second parralel port. I would think yes again. About the feed rate. I would ask why change the feedrate if your axis position is off. I would think at that point you would want to stop and rehome sence your never going to get the position error back. Just my two cents.
Logged
Ryan
Jeff_Birt
Active Member
Offline
Posts: 809
Re: Mach with Brains, smart enough for closed loop?
«
Reply #13 on:
October 10, 2007, 10:57:36 PM »
Writing closed loop code is more complicated than how fast the Brain might or LPT might be. When you are comparing fast signals its not only important to be able to read them fast but you have to read them consistently (meaning the same time delay between each loop, i.e. hard real time). You are always dealing with signals after the fact, that is after the event already occurred. If your LPT (your encoder signals) latches with a different/inconsistent time delay and/or the DRO signals have an inconsistent time of update than the information garnered would not be very accurate. As I understand it Mach runs in a quasi hard real time, using a hardware timer on the mobo. This works great 99.999% of the time, but things can decide to grab large amounts of processor time (like stupid QuickTime services) and then Mach can/will loose steps. EMC works differently, they use a Real Time kernel extension that gives EMC top billing over everything else.
With external stepper/servo controllers (Galil, NCpod, G100) you get the best of both worlds. You have a hardware driver whose only job is to control the motor (the loop is closed in the drivers) and that leaves the whole PC available to Mach to calculate the next moves to be taken, update the display, and monitor the keyboard (etc).
Logged
Happy machining , Jeff Birt
Check out
www.soigeneris.com
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...