Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:20:37 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Third party software and hardware support forums.
| |-+  SmoothStepper USB (Moderator: Warp9TD)
| | |-+  Change speed while jogging
Pages: 1   Go Down
Print
Author Topic: Change speed while jogging  (Read 428 times)
0 Members and 1 Guest are viewing this topic.
Userli
Active Member

Offline Offline

Posts: 4


View Profile
« on: March 04, 2011, 12:40:22 PM »

Hi,

I developed a USB pendant, which allows to change the jogging speed by changing the MaxVelocity setting, while jogging. This works fine with the printer port driver but the SS only starts jogging with the initial speed and then continues at that speed, ignoring the changes.

Does anybody know, how to fix this?

Code:
Start jogging:
      Engine->Axis[ joyAxis].Dec = false;
      Engine->Axis[ joyAxis].Jogging = true;
      Code("DOJOG");

Change speed:
   Engine->Axis[ joyAxis].MaxVelocity =  newSpeedVal;

The code is called from within myHighspeedUpdate .

Frank.
Logged
Userli
Active Member

Offline Offline

Posts: 4


View Profile
« Reply #1 on: March 04, 2011, 04:18:35 PM »

Hi,

I'll answer myself in case somebody else has the same problem. A google search for code("ENDJOG") brought up that yahoo thread

http://groups.yahoo.com/group/mach1mach2cnc/message/80261

where Art explains how to do this.

Frank.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!