Re: [Emc-users] Halcmd says module not loaded

2014-05-29 Thread Leonardo Marsaglia
2014-05-29 9:07 GMT-03:00 Stuart Stevenson : > Does your calculator not have the option of calculating in radians? Yes it does. I found that the mistake was not to take enough decimal places to do the calculations. What I'm doing is pure conversion from polar to cartesian coordinates. If I take

Re: [Emc-users] Halcmd says module not loaded

2014-05-29 Thread Leonardo Marsaglia
2014-05-29 6:34 GMT-03:00 andy pugh : > The relationship between follower radius and cam lift / profile is > properly complicated. > The master cams you have may well have been made assuming a specific > follower radius. If the master follower, the grinding wheel and the > engine-as-installed foll

Re: [Emc-users] Halcmd says module not loaded

2014-05-29 Thread Stuart Stevenson
Does your calculator not have the option of calculating in radians? On Thu, May 29, 2014 at 1:00 AM, Leonardo Marsaglia < leonardomarsagli...@gmail.com> wrote: > Well, checking again my calculations I can ensure that I'm getting a little > difference between what the component calculates and wha

Re: [Emc-users] Halcmd says module not loaded

2014-05-29 Thread andy pugh
On 29 May 2014 02:34, Leonardo Marsaglia wrote: > My question is, if I can sense the linear movement with an LVDT with an > accuracy of 0.001 mm for 0.1° of turn for the lobe, I have a difference in > the contact point when I try to calculet it. The relationship between follower radius and cam l

Re: [Emc-users] Halcmd says module not loaded

2014-05-28 Thread Leonardo Marsaglia
Well, checking again my calculations I can ensure that I'm getting a little difference between what the component calculates and what I calculate with a calculator. The difference is of 0.026 wich is almost nothing, but I would like to reduce it a little more. I'm using dobule floating point varia

Re: [Emc-users] Halcmd says module not loaded

2014-05-28 Thread Leonardo Marsaglia
2014-05-28 21:11 GMT-03:00 andy pugh : > Ah, yes, that old problem. That should have been the first thing I > thought of, I have been bitten by the same thing enough times. > In fact "comp" probably ought enforce the component and file names > being the same. > I sure going to remember that from

Re: [Emc-users] Halcmd says module not loaded

2014-05-28 Thread andy pugh
On 29 May 2014 00:57, Leonardo Marsaglia wrote: > The > problem got solved when I used the same name for the file and for the > component declaration. Ah, yes, that old problem. That should have been the first thing I thought of, I have been bitten by the same thing enough times. In fact "comp" p

Re: [Emc-users] Halcmd says module not loaded

2014-05-28 Thread Leonardo Marsaglia
2014-05-28 8:19 GMT-03:00 andy pugh : > Does your module setup routine get as far as returning "success"? > Hello Andy, I don't know if I understand your que stion quite well, but as fas as I tested it, it worked ok, even with the error that throwed at the setup. The problem got solved when I use

Re: [Emc-users] Halcmd says module not loaded

2014-05-28 Thread andy pugh
On 28 May 2014 02:39, Leonardo Marsaglia wrote: > The problem is that when I inser that module, or another simple module that > I've made to calculate trig functions, I get the message: > > :1: module 'whatever' not loaded Does your module setup routine get as far as returning "success"? Are yo

Re: [Emc-users] Halcmd says module not loaded

2014-05-28 Thread Sebastian Kuzminsky
On 05/28/2014 12:28 AM, Leonardo Marsaglia wrote: > Hello Sebastian, > > I'm trying to make a component to add an offset to the X axis of a > grinder to compensate the radius of the wheel and then grind lobes with > the shape previously generated and loaded into that component. I would do all tha

Re: [Emc-users] Halcmd says module not loaded

2014-05-27 Thread Leonardo Marsaglia
*This is the source file of my component:component compensacion_leva "Suma un offset al eje seleccionado para generar un perfil de leva";pin in unsigned spin-pos "Posicion del husillo en base al encoder del mismo";pin in bit disable "Habiliacion del componente";pin in float pos-in "Posicion que ent

Re: [Emc-users] Halcmd says module not loaded

2014-05-27 Thread Leonardo Marsaglia
Hello Sebastian, I'm trying to make a component to add an offset to the X axis of a grinder to compensate the radius of the wheel and then grind lobes with the shape previously generated and loaded into that component. For that I need to do some trigonometric calculations inside the component. T

Re: [Emc-users] Halcmd says module not loaded

2014-05-27 Thread Sebastian Kuzminsky
On 05/27/2014 07:39 PM, Leonardo Marsaglia wrote: > Hello to all. > > I'm in the process of compiling a module to do some calculations for > machining lobes like the one Andy did a while ago. > > The problem is that when I inser that module, or another simple module that > I've made to calculate

[Emc-users] Halcmd says module not loaded

2014-05-27 Thread Leonardo Marsaglia
Hello to all. I'm in the process of compiling a module to do some calculations for machining lobes like the one Andy did a while ago. The problem is that when I inser that module, or another simple module that I've made to calculate trig functions, I get the message: :1: module 'whatever' not lo