Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Posted by
Jon Elson
on 2003-10-05 23:07:01 UTC
Asim Khan wrote:
Now, that is real strange. I suppose it may have something to do with the
fact that it registers the index pulse from the encoder on the fly, then
has to decelerate to a safe stop. You might try turning the homing velocity
down and see if the divergence is smaller. But, actually, why should it
matter? What is important is that the homed position be repeatable.
You can always do a X0 Y0 Z0 in MDI mode to get to zero. If that proves
to be repeatable, then I would not worry about it.
If it is NOT repeatable, then there may be a problem in the STG driver
routines. One thing you do have to do is calculate a homing velocity such
that only one encoder tick can happen during each servo update cycle.
If you have 25,000 counts/inch, and the update cycle is 1000 Hz, then you
can only move at 1 inch every 25 seconds when homing, with the
STG card (I think) the way the code is written. I think the STG hardware
allows the encoder count to be frozen or set to zero, depending on the
setting of a control bit, when the encoder count is seen. But, I don't
think it works that way in the software. I think the driver looks for the
index bit seen flag to be set, and then either sets the counter to zero, or
just reads the counter as soon as it noticed the flag. You might look at
the code to see how the index is searched for.
Jon
>>Of course. The actual position is never what you ask for, justOH! So it is ONLY when homing that you have these large differences?
>>
>>
>within some
>
>
>>acceptable error bound.
>>
>>
>>
>but in case of joging the axis in manual or running the machine in
>mdi mode the actual position error i can see on position counters in
>the range of +/- .0001 mm. then why the homing positions get offsets
>of some greater values?
>
>
Now, that is real strange. I suppose it may have something to do with the
fact that it registers the index pulse from the encoder on the fly, then
has to decelerate to a safe stop. You might try turning the homing velocity
down and see if the divergence is smaller. But, actually, why should it
matter? What is important is that the homed position be repeatable.
You can always do a X0 Y0 Z0 in MDI mode to get to zero. If that proves
to be repeatable, then I would not worry about it.
If it is NOT repeatable, then there may be a problem in the STG driver
routines. One thing you do have to do is calculate a homing velocity such
that only one encoder tick can happen during each servo update cycle.
If you have 25,000 counts/inch, and the update cycle is 1000 Hz, then you
can only move at 1 inch every 25 seconds when homing, with the
STG card (I think) the way the code is written. I think the STG hardware
allows the encoder count to be frozen or set to zero, depending on the
setting of a control bit, when the encoder count is seen. But, I don't
think it works that way in the software. I think the driver looks for the
index bit seen flag to be set, and then either sets the counter to zero, or
just reads the counter as soon as it noticed the flag. You might look at
the code to see how the index is searched for.
Jon
Discussion Thread
Asim Khan
2003-09-15 06:07:54 UTC
EMC stg2mod.o and problem with homing
Jon Elson
2003-09-15 09:50:57 UTC
Re: [CAD_CAM_EDM_DRO] EMC stg2mod.o and problem with homing
Leslie M. Watts
2003-09-15 10:52:41 UTC
RE: [CAD_CAM_EDM_DRO] EMC stg2mod.o and problem with homing
Asim Khan
2003-09-16 07:54:12 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-09-16 10:05:58 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Leslie M. Watts
2003-09-17 05:39:59 UTC
RE: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-22 08:21:19 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-09-22 11:08:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Leslie M. Watts
2003-09-22 13:11:18 UTC
RE: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Paul
2003-09-22 14:55:33 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-24 05:16:25 UTC
Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-24 06:17:30 UTC
Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-24 10:26:30 UTC
Re: EMC stg2mod.o and problem with homing
Paul
2003-09-24 12:57:42 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-25 00:32:33 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-09-25 10:03:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-25 22:37:04 UTC
Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-09-25 22:41:57 UTC
Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-03 02:45:34 UTC
Re: EMC stg2mod.o and problem with homing
Ray Henry
2003-10-03 05:25:05 UTC
Re: Re: EMC stg2mod.o and problem with homing
Paul
2003-10-03 10:16:02 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-10-03 10:50:13 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-05 22:33:15 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-10-05 23:07:01 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-12 08:34:30 UTC
Re: EMC stg2mod.o and problem with homing
Jon Elson
2003-10-12 17:52:32 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-13 23:42:53 UTC
Fanuc 11M system, Drip Feed/DNC mode Configuration help needed
Asim Khan
2003-10-16 08:13:01 UTC
Re: EMC stg2mod.o and problem with homing
Leslie M. Watts
2003-10-16 16:02:31 UTC
RE: [CAD_CAM_EDM_DRO] Re: EMC stg2mod.o and problem with homing
Asim Khan
2003-10-18 09:24:56 UTC
Re: EMC stg2mod.o and problem with homing