CAD CAM EDM DRO - Yahoo Group Archive

Re: EMC stg2mod.o and problem with homing

Posted by Asim Khan
on 2003-10-03 02:45:34 UTC
!! !! AT HOME POSITION AXIS POSITION COUNTERS DONOT TURN EXACT 0.0000
EVEN WHEN THE POSITION DISPLAY IS SET TO MACHINE !! !! !!

Hi group!
Due to problem in emc developer installation i was unable to install
it on a P-I system. The developer install was causing the
installation to process hang when it tried to install the kernel
source files. I had changed cd drives but no better results!

Since i was unable to install developer from the CD so ,To experiment
a shortcut method to fix the homing
and index pulse detection problem i copied the newstgmod.o from
a fixed system to this P-I machine. I ran the system, the system
is able to detect index pulse and can stop and turn green but the
only trouble now i am having is that at home positions the axis
counters donot turn an exact 0.0000 but instead they give some offset
like X 0.0206 Y0.0345 Z 0.430. moreover these offset values are
sometimes different when i re-home axes. although you can see the
HOME_OFFSET value in my ini are set to 0.0
One more problem i had noticed was this that: when i set the
HOME_OFFSET to some other value than zero like 1.0 then axis donot
travel the offset distance after touching the home switch.

Please tell me what might be the problem with my setup? I already
have another machine which had emc developer installed from the same
cd but it is runing without any this homing offset problem. I had made
changes in rhe newstg.c source file as directed by paul to enable
index pulse latching. I had copied the newstgmod.o file from this OK
system to the machine which is having this offset trouble.

My System:
EMC
ServotoGo Model -II card
P-1 computer
Install using BDI-2.16
Encoder resolution = 2500
Pitch of ball screws = 10


following are the ini setting:

[AXIS_0]

TYPE = LINEAR
UNITS = 0.03937007874016
HOME = 0.000
MAX_VELOCITY = 5.000
P = 60.000
I = 1.000
D = 0.000
FF0 = 0.000
FF1 = 0.900
FF2 = 0.000
BACKLASH = 0.000
BIAS = 0.000
MAX_ERROR = 0.000
DEADBAND = 0.000
CYCLE_TIME = 0.001000
INPUT_SCALE = -25000 0
OUTPUT_SCALE = 1.000 0.000
MIN_LIMIT = -40.0
MAX_LIMIT = 40.0
MIN_OUTPUT = -10
MAX_OUTPUT = 10
FERROR = 1.000
MIN_FERROR = 0.010
HOMING_VEL = 0.5
HOME_OFFSET = 0.0
ENABLE_POLARITY = 0
MIN_LIMIT_SWITCH_POLARITY = 0
MAX_LIMIT_SWITCH_POLARITY = 0
HOME_SWITCH_POLARITY = 0
HOMING_POLARITY = 0
JOGGING_POLARITY = 1
FAULT_POLARITY = 0
; Parameters for Inland Motor BMHS-0701 X 20
TORQUE_UNITS = OZ_IN
ARMATURE_RESISTANCE = 1.10
ARMATURE_INDUCTANCE = 0.0120
BACK_EMF_CONSTANT = 0.0254
ROTOR_INERTIA = 0.0104
DAMPING_FRICTION_COEFFICIENT = 0.083
SHAFT_OFFSET = 0
REVS_PER_UNIT = 10
; Parameters for generic amplifier
AMPLIFIER_GAIN = 1
MAX_OUTPUT_CURRENT = 10
LOAD_RESISTANCE = 1
; parameters for generic encoder
;COUNTS_PER_REV = 4096
COUNTS_PER_REV = 2500


best regards

Asim




--- In CAD_CAM_EDM_DRO@yahoogroups.com, Paul <no.spam27@n...> wrote:
>
> Hi Asim
>
> Never heard of TortoiseCVS... A quick google reveals it is a MS
Windows
> frontend. Using a MS box to check out the sources is one path to
trouble as
> you may find the line terminations get altered - MS uses LF/CR,
whilst Linux
> uses just a single CR at the end of each line.
>
> IF you can connect the EMC computer to the internet, you'll find
the command
> line just as easy to use. Failing that, just ask, and I (or someone
else) can
> email a tarball over..
>
> Regards, Paul.
>
>
> On Wednesday 24 September 2003 6:26 pm, Asim Khan wrote:
> > PROBLEM WITH SOURCEFORGE EMC AND RCSLIB DOWNLOAD
> > Hi Paul and group!
> > I had downloaded the TortoiseCVS (a CVS client software)
reccomended
> > at sourceforge web site.
>
> > but unable to download rcslib and emc please help!
> > isnt there any easy method than this to my EMC homing problem?
> > best regards
>
>
> --
> irc channel for EMC users at irc.freenode.org
> /join #emc
> and chat to other users (not many there yet).

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