Re: [Emc-users] Possible pncconf error?

2016-09-27 Thread Gene Heskett
On Tuesday 27 September 2016 00:38:04 Dewey Garrett wrote:

> > check_config: ERROR
> >  (Using identity kinematics: trivkins)
> >  [JOINT_1]MIN_LIMIT > [AXIS_Z]MIN_LIMIT (-200.0 > -1e99)
> >  [JOINT_1]MAX_LIMIT < [AXIS_Z]MAX_LIMIT (800.0 < 1e99)
>
> I believe this is due to a bug in pncconf dating from its
> conversion for joints_axes.  For XZ lathe configs, an [AXIS_Y]
> section was created instead of the required [AXIS_Z].  With no
> valid [AXIS_Z] section, system default values for MIN_LIMIT,
> MAX_LIMIT are used leading to an error when the config is
> checked by check_config() in the linuxcnc script that looks
> for inconsistencies in joints/axes limits for machines using
> known identity kinematics (trivkins)..
>
> I pushed a fix to the master branch (lightly tested):
>
> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commitdiff;h=a055cb10e
>8d12595c9a004e299fe8a36fdad0b17

So I'll get that as soon as the buildbot makes it? Good. In the meantime 
I fixed mine by editing the init and putting a Z where the Y was.  Then 
it yelled about my maxvels and step timings.  But its running enough to 
exercise this BoB's pins.  Which was/is the point at this stage. :)

I put the saddle back on yesterday, fitting a full length brass bar for a 
front gib. If the unworn and somewhat rougher finish behind the front 
V-way can be believed, the bed is worn about 5 thou nearest the chuck.  
Assuming I did not get all the paint off the bottom of the front lip, I 
can feel an extra pound or so's drag down toward the tailstock, so I 
think its as good as its going to get in my remaining lifetime. And 
installed the x screw temporarily. I need to get it out of the way again 
after I mark it to cut to length, and install a bit of plastic to fill 
the 1/8" gap at the rear of the opening below the screw in the saddle 
where my swag on length of thin alu needed there to block swarf access 
from the bottom should an air hose blow some that direction. I already 
have the top of the crossfeed covered with a much more substantial 1/8" 
plate.

And while it is out again, put a couple flats on the shaft where the 
pulleys setscrews can mark it up without the marks wrecking the pulley 
bore when its taken apart again.  And drill and tap to install those 
setscrews in the hub I made.  Then all I'll need is the correct legth 
belt, and the mechanical part of the x ball screw drive is done. I can 
finally actually see some progress.  Hooray & all that. :)

Thanks Dewey.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Possible pncconf error?

2016-09-26 Thread Dewey Garrett

> check_config: ERROR
>  (Using identity kinematics: trivkins)
>  [JOINT_1]MIN_LIMIT > [AXIS_Z]MIN_LIMIT (-200.0 > -1e99)
>  [JOINT_1]MAX_LIMIT < [AXIS_Z]MAX_LIMIT (800.0 < 1e99)

I believe this is due to a bug in pncconf dating from its
conversion for joints_axes.  For XZ lathe configs, an [AXIS_Y]
section was created instead of the required [AXIS_Z].  With no
valid [AXIS_Z] section, system default values for MIN_LIMIT,
MAX_LIMIT are used leading to an error when the config is
checked by check_config() in the linuxcnc script that looks
for inconsistencies in joints/axes limits for machines using
known identity kinematics (trivkins)..

I pushed a fix to the master branch (lightly tested):

http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commitdiff;h=a055cb10e8d12595c9a004e299fe8a36fdad0b17
-- 
Dewey Garrett


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Possible pncconf error?

2016-09-26 Thread Gene Heskett
On Monday 26 September 2016 22:49:15 Gene Heskett wrote:

> Greetings all;
>
> I gave up on trying to just copy my TLM's config over to the Sheldons
> computer, mainly because I've not yet installed home switches and
> such.
>
> But I need to be able to exercise this BoB, and find all my signals if
> I can. Something I haven't had a lot of luck finding because mach uses
> totally different parport pin assignments.  But the board still has 17
> available pins, 11 outs and 5 in's, so I figure if I tickle it and
> watch with a scope, I ought to be able to find them, right?
>
> So I fired up pncconf and built me a bare bones config based on metric
> measurements. It has one pwmgen for feeding the vfd. Only one
> direction ATM, but I can sort that by grabbing pin 17 at some point.
> NBD to me.
>
> However, when I attempt to run this config, I get konsole messages:
> =
> check_config: ERROR
>   (Using identity kinematics: trivkins)
>   [JOINT_1]MIN_LIMIT > [AXIS_Z]MIN_LIMIT (-200.0 > -1e99)
>   [JOINT_1]MAX_LIMIT < [AXIS_Z]MAX_LIMIT (800.0 < 1e99)
>
> check_config validation failed
> LinuxCNC terminated with an error.  You can find more information in
> the log:
> /home/gene/linuxcnc_debug.txt (its empty)
> and
> /home/gene/linuxcnc_print.txt (the usual blather that is zero
> info) 
> So I fired up geany and added what I think are sane limits in both
> axis's, and theres an entry in each axis AND each joint (seems one
> ought to sufficient, and I suppose once I check the syntax, and add it
> to this hal file, the other copy can be removed).
>
> Zero difference.
>
> Fire up geany to look at the syntax used to bring that data into hal.
>
> No such critter, totally missing from the pncconf generated hal file. 
> So hal presumes everything is -1e99 from the message above.
>
> I think this is a pncconf bug. Can we call the Orkin Man? :-)
>
No, not an obvious one at least. TLM's config does not contain that 
either.  And it works, works well.  So big old dummy did something 
wrong.  Anybody got a clue-bat?

Thanks all.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users