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, 09:29:01 AM
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
Mach SDK plugin questions and answers.
Faster DRO updates
Pages:
1
Go Down
« previous
next »
Author
Topic: Faster DRO updates (Read 438 times)
0 Members and 1 Guest are viewing this topic.
langosta39
Active Member
Offline
Posts: 13
Faster DRO updates
«
on:
December 02, 2011, 11:19:40 AM »
Via the Update() function (even the 40Hz Fast Update) it seems that the DRO is updated only at 10Hz. Is there a way to access faster DRO updates via the Engine or any of the other APIs? I looked over the SDK docs, but nothing is jumping out at me.
Thanks!
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Faster DRO updates
«
Reply #1 on:
December 02, 2011, 02:31:00 PM »
The screen refresh rate is fixed and doesn't depend on the engine frequency as far as I know.
Dan
Logged
langosta39
Active Member
Offline
Posts: 13
Re: Faster DRO updates
«
Reply #2 on:
December 02, 2011, 02:35:48 PM »
Yeah, that's what I thought, too. I should have been more clear...my goal isn't to update the onscreen DRO faster, but to get position data to my plugin faster. Using the GetDRO function it seems to pull the DRO values from the screen, or at least it pulls the DRO values from some data location that is updated at the same frequency as the screen. So, I was thinking that if there was some way to get X/Y position data from the Engine then I could check that at the FastUpdate rate (40Hz) or with my own asynchronous rate. So the question really is: can a plugin get X/Y position data from somewhere other than the GetDRO() function.
Thanks for your help!
Logged
Dan13
Active Member
Offline
Posts: 759
Re: Faster DRO updates
«
Reply #3 on:
December 02, 2011, 02:43:18 PM »
Someone else will have to address the plugin question as I am not an expert. What I do know is that Mach3's data transfer rate is 10Hz indeed, like you said.
Dan
Logged
langosta39
Active Member
Offline
Posts: 13
Re: Faster DRO updates
«
Reply #4 on:
December 02, 2011, 02:47:12 PM »
Thanks for your input anyway. Bring on the experts! : )
I'm hoping that internally the position is updated faster. It's doing something really fast since it is doing stepping at many kHz and the lowest core speed you can choose is 25kHz. After looking around the Engine API I don't see anything immediately apparent that will give me what I want. I could try to use the axis velocity and do dead reckoning for position then resync every 10Hz when the DROs are updated. That sounds possible, but I'm hoping to use something a bit more exact!
Thanks again
Logged
Steffen_Engel
Active Member
Offline
Posts: 29
Chattanooga, TN, USA
Re: Faster DRO updates
«
Reply #5 on:
December 03, 2011, 03:44:49 PM »
Hi,
I'm nearly shure, it doesn't update faster.
My tests showed, that the function to read DROs is just reading the actual position from the interface to the movement engine.
So the speed, the Trajectory interface is working, is the speed the DRO is updated. This depends on LPT/Smoothstepper or what ever you have to move the machine.
Steffen
Logged
langosta39
Active Member
Offline
Posts: 13
Re: Faster DRO updates
«
Reply #6 on:
December 06, 2011, 07:26:44 PM »
Thanks for your input. I decided to do a test, too, and I found out that wherever the GetDRO function pulls its data from is only updated at about 12Hz. I configured the HighSpeedUpdate to be 100Hz and then called GetDRO after which I logged the data. At 100Hz I would just get 9 of the same readings in a row, but the machine was smoothly jogging at the same time. If Mach is pulsing the parallel outputs it must know how many pulses its doing (since it is so darn precise), so it seems like I should be able to get at it. 12Hz is just a little too slow for a nice GUI update rate.
If anybody has any great ideas, please let me know, I'm willing to experiment.
Logged
Chaoticone
South Carolina, US
Administrator
Offline
Posts: 3,598
Precision Chaos
Re: Faster DRO updates
«
Reply #7 on:
December 07, 2011, 05:50:16 AM »
Any clues here?
http://www.machsupport.com/MachCustomizeWiki/index.php?title=The_G100/GREX_plugin_as_a_model_for_device_control
Brett
Logged
If you could see the things I have in my head, you would be laughing too.
www.precisionchaos1.com
My guard dog is not what you need to worry about!
langosta39
Active Member
Offline
Posts: 13
Re: Faster DRO updates
«
Reply #8 on:
December 07, 2011, 03:45:35 PM »
Thanks for the link.
After digesting that document I'd say that I can't directly get what I want because Mach really only gets an update from the motion driver (parallel port in the case) every 100ish milliseconds. But, I might be able to use the velocity data and do some interpolation to smooth out the GUI.
I appreciate your help!
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...