Hello Guest it is April 25, 2024, 03:29:06 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Userli

Pages: 1
1
General Mach Discussion / Re: Auto-height-compensation possible?
« on: July 05, 2011, 05:58:33 AM »
Hi,

when Marc told me about this I thought that would be easy to do in Mach and so I told him, that I would look into it.

My first try was to simply change the reference system (G54 etc.) according to the height profile. This apparently is not looked at during a move.
My 2nd try was to directly modify the trajectory buffer's Z position. This somehow works but this way I redo some work, which the engine does anyhow:
The engine must keep somewhere what the destination coordinates are and fill the trajectory buffer accordingly.
Changing those coordinates' Z part as a function of XY position seems to me the easiest way to achieve the height compensation.
However, looking through the headers I couldn't figure out, where this would be stored.
Does anybody know if this is accessible from within a plugin?

Cheers, Frank.

2
SmoothStepper USB / Re: Change speed while jogging
« 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.

3
SmoothStepper USB / Change speed while jogging
« 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.

4
Mach SDK plugin questions and answers. / RPM to Mach via USB
« on: November 17, 2010, 05:28:25 AM »
Hi,

I'm currently building an interface for encoders, calipers and an index sensor to get their signals into Mach via USB CDC.
Whilst the encoder part works quite well now, I'm somehow stuck on getting the index signal into Mach to show the RPMs.
On the interface I can preprocess the index signals up to the real RPM information and would be able to output the data at any stage.
However, I can't figure out, where (meaning into which SDK variable) to feed this in.

Does anybody now?

Cheers, Frank.

Pages: 1