CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
LinkBack Thread Tools Search this Thread Display Modes
  #2797   Ban this user!
Old 02-20-2012, 11:40 AM
 
Join Date: Jan 2007
Location: USA
Posts: 24
robcap is on a distinguished road

Originally Posted by hoss2006 View Post
Yeah, the lag reported for the wireless ones is there with the wired one too.
The MPG doesn't work like a normal MPG where the faster you spin the handle the faster
the axis moves. They don't even have it set to the MPG mode, they have it set for step mode when using the MPG.
One click on the MPG wheel equals whatever is set for Cycle Jog Step.
If you spin too fast it easily overwhelms Mach.
I scrutinized their videos and if you look close you can see the lag as they spin the handle fast, they stop spinning
but the DRO keeps going a little bit.
I'd avoid this one if I were you.
Hoss

I was afraid of that. I have the ShuttleRU and it has the same lag issue, must be the usb driver or plugin limitation. Looks like one you have has a real rotary MPG? Why not open it up, if it has a real MPG you should be able to wire the dial directly to your breakout board.
__________________
FS: CNCFUSION Deluxe x3 kit NEW. -SOLD
Reply With Quote

  #2798   Ban this user!
Old 02-20-2012, 11:54 AM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 5,206
hoss2006 is on a distinguished road
Buy me a Beer?

I already have a real mpg wheel I used on the control panel before.
The main thing I was interested in was the handy little dro screen.
I might consider opening it up to do just like you said though, maybe hack their selector knob
too to actually switch between axis under mpg mode.
It does nothing in mpg mode now.
Thanks, Hoss
__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
Reply With Quote

  #2799   Ban this user!
Old 02-20-2012, 12:05 PM
 
Join Date: Aug 2010
Location: US
Posts: 305
Connor9220 is on a distinguished road

Originally Posted by hoss2006 View Post
Yeah, the lag reported for the wireless ones is there with the wired one too.
The MPG doesn't work like a normal MPG where the faster you spin the handle the faster
the axis moves. They don't even have it set to the MPG mode, they have it set for step mode when using the MPG.
One click on the MPG wheel equals whatever is set for Cycle Jog Step.
If you spin too fast it easily overwhelms Mach.
I scrutinized their videos and if you look close you can see the lag as they spin the handle fast, they stop spinning
but the DRO keeps going a little bit.
I'd avoid this one if I were you.
Hoss
Problem isn't the wireless/wired.. It's the fact that it's USB and thus, not real time. I built my own MPG for my Router... Basically I used a Hybrid approach (I Use EMC not Mach 3). The MPG itself is wired directly to the Parport pins for input. The rest of the unit is serial based via a USB serial port. This allows me to do Cycle Jogging, and the faster I spin the MPG the faster the machine moves. The serial link is used to send the buttons and receive updates from EMC for the onboard DRO-- Oh, and mine can do both mm and inch display! Mine is still in prototype stages and is kinda bulky. I plan to mount it in a nice small case similar to what they have theirs done in. I had also debated on using a hard wired E-Stop using 2 free wires in the cable or use software E-Stop. I decided on hard wired to the parport instead of relying on the serial to transmit the E-Stop command. The cable is a CAT-5 Ethernet cable. 2 wires for the MPG, 4 For USB (Including power and ground), Leaves 2 for the E-Stop. I'll have a shunt I can plug into the jack that will tie the E-Stop lines together in case I need to use the machine without the DRO.

Thanks, Billy
__________________
Inner Vision Development Corp. - http://www.ivdc.com
Website Design & Development. Shopping Carts, SEO and more!
Reply With Quote

  #2800   Ban this user!
Old 02-20-2012, 01:19 PM
 
Join Date: Feb 2010
Location: usa
Posts: 30
Signal9 is on a distinguished road

This is the one I got from Ebay and it uses the Serial port for its commands and USB for the power only.

New MACH3 CNC Electronic Hand Wheel Only For ModsMach3 Engraving Machine Pulser | eBay

It has no DRO display so its a apple vs orange comparison.
Reply With Quote

Sponsored Links
  #2801   Ban this user!
Old 02-20-2012, 02:06 PM
 
Join Date: Jun 2011
Location: United States
Posts: 239
rpovey is on a distinguished road

Originally Posted by Connor9220 View Post
Problem isn't the wireless/wired.. It's the fact that it's USB and thus, not real time. I built my own MPG for my Router... Basically I used a Hybrid approach (I Use EMC not Mach 3). The MPG itself is wired directly to the Parport pins for input. The rest of the unit is serial based via a USB serial port. This allows me to do Cycle Jogging, and the faster I spin the MPG the faster the machine moves. The serial link is used to send the buttons and receive updates from EMC for the onboard DRO-- Oh, and mine can do both mm and inch display! Mine is still in prototype stages and is kinda bulky. I plan to mount it in a nice small case similar to what they have theirs done in. I had also debated on using a hard wired E-Stop using 2 free wires in the cable or use software E-Stop. I decided on hard wired to the parport instead of relying on the serial to transmit the E-Stop command. The cable is a CAT-5 Ethernet cable. 2 wires for the MPG, 4 For USB (Including power and ground), Leaves 2 for the E-Stop. I'll have a shunt I can plug into the jack that will tie the E-Stop lines together in case I need to use the machine without the DRO.

Thanks, Billy
The issue is going to be the implementation of the Mach driver, any delay from the USB connection should be measurable in the uSec's.

Your not going to be able to turn the wheel fast enough to flood the connection, so it's likely backing up when the mach side driver drains them out of whatever queue they're being stuffed into, and converting them to step commands. I'd bet the authors took the easy way out and just convert the pulses to key presses, which in turn queue up and cause the lag.

You should be able to fix it with software, of course without the source code to the existing driver or documentation, it's probably more work than it's worth.
Reply With Quote

  #2802   Ban this user!
Old 02-20-2012, 02:43 PM
FannBlade's Avatar  
Join Date: Jun 2011
Location: USA
Posts: 344
FannBlade is on a distinguished road

Originally Posted by Signal9 View Post
This is the one I got from Ebay and it uses the Serial port for its commands and USB for the power only.

New MACH3 CNC Electronic Hand Wheel Only For ModsMach3 Engraving Machine Pulser | eBay

It has no DRO display so its a apple vs orange comparison.
Nice price on that unit. Does it work ok? Did Mach 3 recognize it?
Now I need to see if my MB has serial port.
__________________
My CNC build: http://www.cnczone.com/forums/genera...ml#post1059321
C-Constant
N-Nonworking
C-Contraption
Reply With Quote

  #2803   Ban this user!
Old 02-20-2012, 03:25 PM
 
Join Date: Feb 2006
Location: USA
Posts: 2,372
HimyKabibble is on a distinguished road

Originally Posted by rpovey View Post
The issue is going to be the implementation of the Mach driver, any delay from the USB connection should be measurable in the uSec's.

Your not going to be able to turn the wheel fast enough to flood the connection, so it's likely backing up when the mach side driver drains them out of whatever queue they're being stuffed into, and converting them to step commands. I'd bet the authors took the easy way out and just convert the pulses to key presses, which in turn queue up and cause the lag.

You should be able to fix it with software, of course without the source code to the existing driver or documentation, it's probably more work than it's worth.
"The issue is going to be the implementation of the Mach driver, any delay from the USB connection should be measurable in the uSec's." - Not true. USB operates on 1 mSec frames, and any particular data packet may well have to wait for the next frame. That gets the data to the hub on the PC, which is the fast part. Next, the Windows driver needs to service the huib, pick up the data, and notify the application that new data has arrived. That can EASILY take 10mSec or more, with spikes MUCH longer than that when the system is busy.

Bottom line is you simply can't sent quadrature signals across USB and expect a good result. There are two "right" ways to implement an MPG for Mach3:

1) Connect the MPG quadrature signals directly to the PC, or the motion controller, if you're using one. For the simplest "dumb" pendants, like my iMach Pro, this is really the only option. If you're using a motion controller, it is really best to connect the pendant directly to the motion controller, and let its processor perform the jog entirely internally. This is how the SmoothStepper, KFlop, and others operate - the motion controller does the jogging, and sends Mach3 position updates along the way.

2) Have the pendant monitor the MPG quadrature lines, and accumulate a count (effectively, a commanded position), based on the quadrature changes. Then, periodically (10 or more times/second), pass that count to Mach3. This is how good USB, serial, and ModBus pendants operate, and they will perform *almost* as well as one connected directly to the PC or motion controller.

Incredible that those guys would sell a pendant with only two digits right of the decimal point. It should be a trivial firmware change to fix that, so hopefully they will do so.

Regards,
Ray L.
Reply With Quote

  #2804   Ban this user!
Old 02-20-2012, 04:28 PM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 5,206
hoss2006 is on a distinguished road
Buy me a Beer?

Originally Posted by Signal9 View Post
This is the one I got from Ebay and it uses the Serial port for its commands and USB for the power only.

New MACH3 CNC Electronic Hand Wheel Only For ModsMach3 Engraving Machine Pulser | eBay

It has no DRO display so its a apple vs orange comparison.
Yeah I'll probably wind up doing something like that and run another cable
to connect the MPG and selector switch to the bob and keep the usb
for the DRO and other buttons.
The other buttons are still quite useful and can be reassigned.
Hoss
__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
Reply With Quote

  #2805   Ban this user!
Old 02-25-2012, 03:10 PM
 
Join Date: Apr 2007
Location: Canada
Posts: 24
LacL is on a distinguished road

Hi Hoss, I'm a long time lurker here and wanted to say Thank You for all you do. Every time I think I'm done with mods to my CNC, you come up with something new and think to myself I must have that.

When I upgraded my mobo and couldn't get the lpt card to work with my mpg, I decided to convert it to USB and wrote my own MACH plugin for it.

I used the sample code provided with the SDK and there are basically 2 modes you can run the mpg inputs as, incremental mode (step) or jog mode (MPG).

Incremental mode seems to use a buffer or queue so this is what is causing delays afaik. Never figured out how to make the engine read the queue faster. There's unfortunately no documentation on how all the MACH internals work that I could find so I was on my own to figure this stuff out.

Jog mode has no discernible delays and I can even move the table precisely in single steps if I run the mpg dial slowly. I hardly ever use it in incremental mode anymore as a result. The delays are definitely not caused by the USB comms rate.

Maybe you can ask these guys to implement a jog mode in addition to the incremental mode they seem to be using in their plugin. That should eliminate all delay issues. Adding decimal places to the display would require a firmware update though. I hope they had the foresight to implement a boot loader for that.
Reply With Quote

Sponsored Links
  #2806   Ban this user!
Old 02-25-2012, 07:35 PM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 5,206
hoss2006 is on a distinguished road
Buy me a Beer?

Thanks LacL,
Jog mode with this pendant doesn't do anything useful, each click on the MPG acts
like you just tapped the jog button on the keyboard.
Basically just like step mode except that in one direction it keeps jogging until you reverse the MPG.
Not of much use especially at rapid speed, it feels like a runaway.
They have work to do to make this really useful.
Hoss


__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
Reply With Quote

  #2807   Ban this user!
Old 02-25-2012, 07:50 PM
 
Join Date: Dec 2011
Location: USA
Posts: 10
wfbrown53 is on a distinguished road

Hoss, is your CNC setup with Mach3 using the parallel port to the controller or does it use some other communications protocol more up to date. I have Win7 64bit and am looking at controller options with Mach3 since the parallel port does not work with Mach3 and 64bit Win7.
Reply With Quote

  #2808   Ban this user!
Old 02-25-2012, 09:25 PM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 5,206
hoss2006 is on a distinguished road
Buy me a Beer?

Originally Posted by wfbrown53 View Post
Hoss, is your CNC setup with Mach3 using the parallel port to the controller or does it use some other communications protocol more up to date. I have Win7 64bit and am looking at controller options with Mach3 since the parallel port does not work with Mach3 and 64bit Win7.
Yes I'm using XP so parallel port support is no problem.
Win 7 64bit will need something like the smoothstepper which is USB.
Hoss
__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
Reply With Quote

Reply

Tags
hoss g0704




Currently Active Users Viewing This Thread: 7 (0 members and 7 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hoss's ZX45 hoss2006 Benchtop Machines 197 02-17-2011 06:30 PM
Hoss's G0704 hoss2006 Benchtop Machines 926 09-10-2010 01:40 AM
G0704 ordered!! mwood3 Benchtop Machines 48 08-17-2010 05:50 PM
G0704 problem pike3e Benchtop Machines 6 07-27-2010 04:33 AM




All times are GMT -5. The time now is 12:31 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361