Movement Speed

Movement Speed

Postby Norcott » 09 Feb 2016, 11:57

Hi

I see there is a command in API to query speed but what is the default speed and unit, e.g. 500mm/s ??

Also, there is an option to set acceleration/deceleration, what range of speeds does this create and is this adaptive for the actual distance to travel?

This is an example call:

cnc.SendMovePosEx(posFrom, posTo, speed, True, True)

where speed might be 500.00 what?

Ted
Norcott
 
Posts: 16
Joined: 21 Dec 2015, 16:32
Controller: Mk2/4

Re: Movement Speed

Postby Support » 11 Feb 2016, 15:16

Units for speed are mm/min
Speeds, accelerations are configured trough .setting file which is included with the rest of the files (.dll, .var etc..) into your API project folder. You also include .exe file of PlanetCNC controller software so that you can configure these settings.
Support
 
Posts: 2609
Joined: 07 Apr 2014, 17:39
Controller: Many controllers

Re: Movement Speed

Postby Norcott » 11 Feb 2016, 15:20

Hi

Thanks for reply, this seems VERY slow, 500mm/min? So, what is the maximum than can be applied, also, what about the acceleration/deceleration ratios?


Regards

Ted
Norcott
 
Posts: 16
Joined: 21 Dec 2015, 16:32
Controller: Mk2/4

Re: Movement Speed

Postby Support » 11 Feb 2016, 15:37

This speed is set trough settings. API then itself scrapes parameters from settings file.
Support
 
Posts: 2609
Joined: 07 Apr 2014, 17:39
Controller: Many controllers

Re: Movement Speed

Postby Norcott » 11 Feb 2016, 15:40

Yes, quite aware of that but what is maximum value, I want to move this much faster @ around 500mm/s.

Thanks
Norcott
 
Posts: 16
Joined: 21 Dec 2015, 16:32
Controller: Mk2/4

Re: Movement Speed

Postby Norcott » 12 Feb 2016, 14:12

Support wrote:This speed is set trough settings. API then itself scrapes parameters from settings file.



To clarify, if using the API only to communicate and using the SendMovePosEx command, the speed parameter is used?

Don't understand what you're saying here: "API then itself scrapes parameters from settings file"


Ted
Norcott
 
Posts: 16
Joined: 21 Dec 2015, 16:32
Controller: Mk2/4

Re: Movement Speed

Postby Norcott » 15 Feb 2016, 13:08

Hi

If using the API it doesn't use a "Setup" file?? The speed is set through the respective API call.

Sorry, but you have not answered my question.

Thanks

Ted
Norcott
 
Posts: 16
Joined: 21 Dec 2015, 16:32
Controller: Mk2/4

Re: Movement Speed

Postby Support » 15 Feb 2016, 15:46

You should use .settings file.

SendMovePosEx command uses value of the Speed argument. Value inserted for this argument will be used when executing this command.
Support
 
Posts: 2609
Joined: 07 Apr 2014, 17:39
Controller: Many controllers

Re: Movement Speed

Postby Norcott » 15 Feb 2016, 15:48

I will use my own settings repository as part of .NET program.

Question still not answered concerning a) MAX and b) Acceleration/deceleration factors.

Regards

Ted
Norcott
 
Posts: 16
Joined: 21 Dec 2015, 16:32
Controller: Mk2/4

Re: Movement Speed

Postby Support » 15 Feb 2016, 15:51

Max and acceleration, deceleration values are used from setting configuration.
You start CNCUSB controller software (CNCUSB controller.exe) to configure settings such as SPU, Max and acceleration, deceleration values.
Support
 
Posts: 2609
Joined: 07 Apr 2014, 17:39
Controller: Many controllers


Return to API



Who is online

Users browsing this forum: No registered users and 1 guest