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! > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-23-2009, 01:36 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road
pncconf: servo configuration program wishlist wanted

Greeting.
I have been working on a configuration program for servo / hardware stepper machines.
It is based on / similar to, stepconf. Bit of a write up here:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Pncconf

It requires a Mesa card (for now at least) for the servo / stepper signals and can use parallel ports for general I / O. It's far from finished but can configure some basic machines (as far as I have tested it). It's only available in the development version of EMC.

But what I want to know is what users liked / disliked with stepconf and or think is important for a servo configuration program to cover.
Now stepconf was made to be a basic configurator of software stepper machines and pncconf is made for much more complicated servo and or stepper machines so pncconf will be more complicated to use.
AS pncconf was based from stepconf it uses the same 'wizard' approach as a user interface, so if you didn't like that...

Pncconf will make using custom HAL file easier to integrate.
One of the main objectives is to eliminate the need to tweak the auto configured files for the majority of situations. Making it possible to reload a configuration change a couple of things and resave without having to go back and fix all the tweaks again.
Anyone interested in helping with testing or developing I would be interested in hearing from. This is really my first program with Python so certainly could be improved on.

Chris M
Reply With Quote

  #2   Ban this user!
Old 08-24-2009, 04:43 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Hi Chris, that looks awesome !!!

Personally I am building another machine and intend to use a 7i43 so this is great news.

Stepconf was great for step/dir systems and I used it for my current (first) machine, I can't really think of anything I didn't like about it, simple and quick to setup a relatively simple machine. Easily saved config files have got me out of hot water a couple of times with dead hard disk drives.

As for a true closed loop servo setup, the PID tuning function you mention would be terrific, I tuned my current machine by "feel" and while it worked I am sure the ability to graph the commanded position and actual position over a move would make tuning a breeze.

I am happy to use my new machine as a guinea pig but please be aware that I am still building the thing and will probably be a couple of months at least away from having anything moving, if you still need testers in a couple of months then I will put my hand up.

Cheers.

Russell.
Reply With Quote

  #3   Ban this user!
Old 08-24-2009, 09:55 AM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Chris,

It is looking pretty good in the documentation. I have a few servos (but no drives yet). I am interested in testing it out after I finish a few of my many projects.

I have been working on an H-bridge design based on Samco's work and I would most likely use a 7i43. But it will be at least a couple of months before I am ready to begin testing. I have to finish my current router first.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #4   Ban this user!
Old 08-24-2009, 01:19 PM
 
Join Date: Oct 2008
Location: USA
Posts: 78
DonnieET is on a distinguished road

Chris

I have a Hurco knee mill with a 5I23 and the 7i33 and 7I37. That I need to udate from 2.2.8 to 2.3.2. I still need to set backlash comp and a few other details. would that be a good test. I'm new to CNC and Linux.

Donnie
Reply With Quote

  #5   Ban this user!
Old 08-24-2009, 09:25 PM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

Well I'm glad for the positive response. Pncconf is not finished, it's in alpha stage-meaning that not all the features work and the ones that do probably have bugs in them. Thats one reason to test, the other one is I would like to know if it's intuitive enough, yet still allows the user to make a pretty sophisticated configuration .
Pncconf is not available in EMC 2.3.x, it's only available with the development version 'master' and must be built from source code. Whick means you must commit some time to learning how to do that.look here:
http://wiki.linuxcnc.org/cgi-bin/emc...04_from_source
Right now. unless you like to tinker and don't mind dealing with buggy programs, you'll have to wait. Hopefully when you guys are ready so will pncconf!
If your adventurous , download the source try it and let me know what you think.
I have not tested it with the Mesa 7i43 or 5i22 as I don't have one.
DonnieTE I will have to add the mesa 5i23 to pncconf before you could use it.

Chris M
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-25-2009, 05:06 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Hi Chris, I will try to drop a few hints to the lady of the house that a 7i43 would make a perfect fathers day gift

I also intend to use HID devices with EMC, as in here :

http://www.franksworkshop.com.au/EMC...mp/hidcomp.htm

Mainly for I/O and leave the mesa card mainly for PWM generation and encoder's, but I guess there will also be some I/O on the MESA.

My question is will Pncconf affect anything I do with HID devices or vice versa ? Sorry if this is an obvious question, my EMC setup experience is limited to stepconf as I haven't needed to go any further...yet.

Anyway I am willing to give it a go, I can produce power stages easily enough and have a few servo's sitting in a drawer so this will give me something to do, I just need to get hold of a card...I will let you know how I go.

Cheers.

Russell.
Reply With Quote

  #7   Ban this user!
Old 08-25-2009, 06:30 PM
 
Join Date: May 2006
Location: UK
Posts: 85
kudos is on a distinguished road

hi chris
nice work on the servo wizard
what is ment by single sensor on spindle feedback type? quad and none at pritty self explaining

maybe a ? help next to things like dac output scale, encoder lines per rev, maybe quick formula or 1 sentence explaining the option input for quick dirty ref (i know ppl should read manual but maybe a welcome addon? more polishing the surface than anything maybe)

also is there away to make wizard try find parallel ports when use have more than 1? this is where ppl seem to fall over when they have to find there 2nd port by gussing games or using the command line.

keep up grate work looks good ill check it out on git when i get 5mins.
Reply With Quote

  #8   Ban this user!
Old 08-25-2009, 07:32 PM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

Russell
I see no immediate reason pncconf could not be made to work with hid devices. Yo can add the Hal loadusr command in pncconf and connect signals in a custom HAL file. The only thing that comes to mind is if pncconf already connects to signals that you want to but I don't think that will be a big deal to fix.

Kudos

single sensor is a 1ppr encoder (basically an index). It's not recommended but possible.
the page you are quoting from is a little different now.
Actually there are (will be) help pages for all the pages. just click help on the bottom left.
As for the second parport I could make pncconf display a terminal and automatically do the command line search.

Ya I have to check in (push) my latest changes soon too. Pncconf may be a little broken right now in master. (but won't hurt to play with it)
one thing to note, if you want to try any of the axis tests you must have a system link to the mesa firmware as per the manual (under hostmot2) pncconf looks for firmware under lib/firmware/hm2-trunk
Reply With Quote

  #9   Ban this user!
Old 08-25-2009, 08:03 PM
 
Join Date: May 2006
Location: UK
Posts: 85
kudos is on a distinguished road

well be afew days before my next load of mesa cards get over the pond to us just sorting out load of other hardware too
but once i get PC stuff together ill give it a check out etc keep up the grate work
Reply With Quote

  #10   Ban this user!
Old 08-26-2009, 07:16 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Sounds like a plan, I will get started on some kind of test board to mount a servo/H Bridge and 7i43 on since my next machine will be a while away, it would be nice to get a head start on the electronics.

Cheers.

Russell.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-12-2012, 04:44 AM
 
Join Date: Jul 2009
Location: NL
Posts: 133
CaptainVee is on a distinguished road

Trying to work out how to use it for steppers, specifically to drive my 4th axis at a constant speed.

I tried pncconf in my virtual machine/simulator but did not find the option for stepper set up. I looked in to the manual but also came up blank. Am I missing something?

I am also puzzled by the "mesa" card. I use the lpt port and have no clue how to make the configuration for it.

Oh, if I can not use pncconf to make my 4th axis spin, just let me know so I can focus on other options
__________________
Sven
http://www.puresven.com/?q=building-cnc-router
Reply With Quote

  #12   Ban this user!
Old 04-13-2012, 12:31 AM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

PNCconf is used for Mesa card based machines. stepper or servo
If you wish to to use the parallel port to make step pulses the you must use stepconf.

I think that is what you meant.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Edgecam wishlist inflateable EdgeCam 14 03-12-2009 09:50 PM
Opinions wanted: Granite milling machine configuration. Swiss Linear and Rotary Motion 9 05-27-2008 07:41 AM
3 axis mill with pluto-servo configuration help need visky LinuxCNC (formerly EMC2) 0 02-28-2008 12:23 PM
R7D-AP02H Servo driver CN1 and CN2 pin configuration? Thinh VN Servo Motors and Drives 4 07-31-2007 08:11 PM
Program splitting not wanted RJSheets Mastercam 4 10-16-2006 05:06 PM




All times are GMT -5. The time now is 05:11 AM.





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