Hello Guest it is March 28, 2024, 10:48:05 AM

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 - freeze-tec

Pages: 1
1
VB and the development of wizards / Detect button pressed
« on: April 09, 2008, 09:55:54 AM »
Hi to all of you,

Is it possible with VB to detect whether or not a button is pressed?
I am writing a routine for manual parting on my lathe

What I want it to do is the following:

When I press the arrow up key the parting move starts (at feedrate in the -X direction)
This should go on as long as I keep the arrow up key pressed

When I release the arrow up key, the parting move should stop, and backoff a little bit (to clear the workpiece)
How can I detect if the arrow up key is depressed in VB?
(I cannot find anything on this topic on the forum)

Any help is appreciated

Jan

2
General Mach Discussion / Re: Code wanders off?
« on: March 27, 2008, 10:11:43 AM »
I will post the code tonight when I get home.
But in my case it always happened between 2 G01 moves. It does not always happen on the same line of code, but randomly (but sofar always between two G01 moves)

Jan

3
General Mach Discussion / Re: Code wanders off?
« on: March 27, 2008, 09:02:23 AM »
Hi,

The same thing happens to me.
Over the weekend 1 made 200 parts, and sometimes the program just does not follow the the programmed path.
It just moves in a total different way in the middle of the part.
On the toolpath display on the PC also the wrong direction is indicated, which means it must be a software problem

Jan

Pages: 1