C# KM_CoordMotion

Moderators: TomKerekes, dynomotion

Post Reply
magergar
Posts: 3
Joined: Wed May 02, 2018 10:38 pm

C# KM_CoordMotion

Post by magergar » Mon May 07, 2018 7:59 pm

I'm trying to perform motion with CM.StraightFeed and CM.ArcFeed
what I can't understand is how the feedrate parameter is working, what are the units?
I have modified the MotionParamters like this:
CM.MotionParams.CountsPerInchX = (double)(10000 / 0.615);//This is the number of pulse for 1inch
CM.MotionParams.CountsPerInchY = (double)(10000 / 0.615);
CM.MotionParams.CountsPerInchZ = (double)(10000 / 0.615);
I think it affects right?

what I need to know is how to control the speed of the movement.

User avatar
TomKerekes
Posts: 2677
Joined: Mon Dec 04, 2017 1:49 am

Re: C# KM_CoordMotion

Post by TomKerekes » Mon May 07, 2018 8:20 pm

Hi magergar,

The feedrate is specified in Inches per second.

That assumes you have set the resolution correctly as you have shown.

There are also MotionParams.MaxVelX etc parameters that will limit the Feedrate. Those are also in inches per second.

HTH
Regards,

Tom Kerekes
Dynomotion, Inc.

Post Reply