Hello Troy,
Excellent news, time to make some parts?
-Brad Murru
Nope. That fixed it,works as expected now.
Thanks,
Troy
[url]http://www.homecncstuff.elementfx.com/[/url]
Hello Troy,
Excellent news, time to make some parts?
-Brad Murru
Can you change the Zero Buttons before i try to make parts?
I just know if i try to run it the way it works now that i will surely crash or break some tools.
Troy
[url]http://www.homecncstuff.elementfx.com/[/url]
Hold on... I just remembered. When ever i leave the Main page and return to Main page, I must re run my Init C program. Upon returning to Main page you can see the axis enable LEDs turn off then back on again.
Troy
[url]http://www.homecncstuff.elementfx.com/[/url]
You run your init program because the DRO numbers were scaling oddly, right?
I wonder if you do not have the counts per inch in the settings screen set to match your .c file?
I think the enable LED flashes as you get to that page because it is making sure everything is working. It is not actually disabling the axis, I think there is just a little lag before the controls start refreshing again.
Because of te settings page weirdness, unless you have made modifications to the layout ;try replacing your site folder with this one::
"You run your init program because the DRO numbers were scaling oddly, right?"
No. When i first start WebNC i run Init, MDI a G20 and Reference axes. After doing this, if i leave Main page and return, then one thing that is lost is the G20 and also maybe the Reference cant really tell as the Units of machine appears to be mm.
"Because of te settings page weirdness, unless you have made modifications to the layout ;try replacing your site folder with this one:: "
I have made modifications to the Main page to display Command Position DROs and Encoder Position DROs. Just to clarify, i done this after the above issue.
Ill replace folder with the new one you attached and let you know.
Troy
[url]http://www.homecncstuff.elementfx.com/[/url]
Hello Troy,
OK, let me know.
I cannot see where the interpreter's modal buffer would be cleared out that would be killing your G20..
Unfortunately, I cannot give you my current build until the origin changes I gave Tom are released...
-Brad Murry
Brad,
I replaced my site folder with yours then set the Init button to my C program. And when i click Init button i get a File not found error. I tried a couple different C programs from same folder (429z) and same problem, File Not Found. One thing i noticed is that your directory is 429x where mine is 429z.
Troy
[url]http://www.homecncstuff.elementfx.com/[/url]
Hello Troy,
Hmm, that is odd.
I just tested mine, using ::
Run Program Init 1 0 C:\KMotion429x\C Programs\KStep\InitKStep3Axis.c
And no probs.
What thread are you using ?
-Brad Murry
Brad,
Its Thread 1 Var0.
Troy
[url]http://www.homecncstuff.elementfx.com/[/url]
Brad,Brad,
When adding trying to add a C program to a new button in the settings page, the "Browse for file" button does not work, but if i type the file address in the block, that is accepted.
BTW I have a new clue to this if you haven't resolved it already. It seems to have to do with hiding/showing the browse button. For example on the settings page if I switch a Command type to "Set Bit" then the file browse button disappears (as it should). But then if I switch the type back to "Run Program" then the Browse button re-appears - but doesn't work. In fact none of the Browse buttons work anymore. Going back to the Main Page and back to the Setting page fixes things.
I wouldn't mind trying to fix this - if I knew where to look :} Where is the logic for hiding/showing controls at?
Thanks
TK
TK
http://dynomotion.com
Hello Tom,
Wierd, I did not get the usual alert when sombody replies to post..... just stumbled here today.
If you look at the HTML page in question (Settings.html) at the top is some javascript to call a method that will inject the proper controls into divs with special names.
So, there is no real hiding of the controls, but if an html control does not have a proper class or id it will just be at the mercy of styles/cdd
Brad Murry