Re: [Emc-users] G-code remaping

2012-09-01 Thread Viesturs Lācis
2012/8/28 Todd Zuercher zuerc...@embarqmail.com: When you say the positions should match, is matching just in local coordinates (including offsets) good enough or does it have to be machine coordinates that match (the latter really wouldn't be much use). If the local

Re: [Emc-users] G-code remaping

2012-09-01 Thread Andy Pugh
On 1 Sep 2012, at 09:00, Viesturs Lācis viesturs.la...@gmail.com wrote: sample_hold_float-out = sum2-in0 axis.2.joint-pos-cmd = sum2-in1 sum2-out = swapkins.offset I would have Offset as a read-only pin and have it handled in the kins module rather than in HAL logic.

Re: [Emc-users] G-code remaping

2012-09-01 Thread Viesturs Lācis
2012/9/1 Andy Pugh bodge...@gmail.com: On 1 Sep 2012, at 09:00, Viesturs Lācis viesturs.la...@gmail.com wrote: sample_hold_float-out = sum2-in0 axis.2.joint-pos-cmd = sum2-in1 sum2-out = swapkins.offset I would have Offset as a read-only pin and have it handled in the kins module rather

Re: [Emc-users] G-code remaping

2012-09-01 Thread John Kasunich
On Sat, Sep 1, 2012, at 04:00 AM, Viesturs Lācis wrote: (lots of snippage) Few more things in HAL are needed to link joint[8] to Z movements. There is sample_hold HAL component. I see that it has s_32 inputs and outputs, so You will need to change them to float - open the source file in

Re: [Emc-users] G-code remaping

2012-08-30 Thread andy pugh
On 30 August 2012 04:02, Todd Zuercher zuerc...@embarqmail.com wrote: Sure that would be a good way, but the cam program our company uses doesn't allow end user modifications of the posts (Enroute). Have you tried looking at the postprocessor files in a text editor? it might not be difficult.

Re: [Emc-users] G-code remaping

2012-08-30 Thread Todd Zuercher
Yes, I have and there is nothing readable there just compiled code. - Original Message - On 30 August 2012 04:02, Todd Zuercher zuerc...@embarqmail.com wrote: Sure that would be a good way, but the cam program our company uses doesn't allow end user modifications of the posts

Re: [Emc-users] G-code remaping

2012-08-29 Thread Stuart Stevenson
Wouldn't it be better to modify the post to output the code exactly as you want it? On Aug 28, 2012 8:45 AM, andy pugh bodge...@gmail.com wrote: On 28 August 2012 02:30, Todd Zuercher zuerc...@embarqmail.com wrote: Just curious what does the tran in tran.pos- mean anyway? Translation

Re: [Emc-users] G-code remaping

2012-08-29 Thread Todd Zuercher
Sure that would be a good way, but the cam program our company uses doesn't allow end user modifications of the posts (Enroute). Stupid propitiatory compiled code for the posts is way beyond my hacking ability, and I am not going pay the ridiculous fee they want to write one for me. -

Re: [Emc-users] G-code remaping

2012-08-28 Thread Viesturs Lācis
2012/8/28 Todd Zuercher zuerc...@embarqmail.com: I am very new to this, so please pardon the dumb questions. Do I add these if/else commands in both the forward and inverse kinematics sections of the new kins.c? I think that You will need them in both - inverse and

Re: [Emc-users] G-code remaping

2012-08-27 Thread Todd Zuercher
The script I have is actually an old Dos EXE that was written for us a long long time ago. I do not have the source code for it nor do I know who the author was. - Original Message - Am 27.08.2012 um 03:18 schrieb Todd Zuercher: This thread lately about g-code remapping, has brought

Re: [Emc-users] G-code remaping

2012-08-27 Thread Todd Zuercher
I am very new to this, so please pardon the dumb questions. Do I add these if/else commands in both the forward and inverse kinematics sections of the new kins.c? Is there any problems with having the tran.pos-z tied to both the joint[2] in one line and joint[8] in the else line (or do both of

[Emc-users] G-code remaping

2012-08-26 Thread Todd Zuercher
This thread lately about g-code remapping, has brought back to mind a problem I have, that I've just been working around. But maybe someone might have a better way. We have some 4 axis routers (XYZW) that are used for wood carving. Mostly they are used to carve two of something at the same

Re: [Emc-users] G-code remaping

2012-08-26 Thread Michael Haberler
Am 27.08.2012 um 03:18 schrieb Todd Zuercher: This thread lately about g-code remapping, has brought back to mind a problem I have, that I've just been working around. But maybe someone might have a better way. We have some 4 axis routers (XYZW) that are used for wood carving. Mostly they