Hello Guest it is October 16, 2021, 11:12:28 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 - TPS

1221
VB and the development of wizards / Re: Y axis manual input
« on: January 02, 2019, 03:07:33 PM »
ok sorry for the delay,

first question no Problem, new code:
Code: [Select]
Sub Main
'declare variables
Dim YPos As String
Dim YMinPos As Double
Dim YMaxPos As Double

'preset the variables
YMinPos = 1.0
YMaxPos = 50.0

'show the input Box
YPos = AskTextQuestion("Please enter Y Position (use . not , !): ")

'check that the entered value is numeric
If IsNumeric(YPos) Then
 'check the minimal value
 If CDbl(YPos) < YMinPos Then
    MsgBox ("entered value too low !")
    Exit Sub
 End If  
 'check the maximal value
 If CDbl(YPos) > YMaxPos Then
    MsgBox ("entered value too high !")
    Exit Sub
 End If  
 
Code "G0Y"+CStr(YPos)
Message "driving Y to: " & YPos
Else
MsgBox "Vaule you entered is not numeric!"
End If
End Sub
second question:
Quote
And I have a virtual num pad that appears when the F9 key is pressed, is there a way to wmulate the F9 in a script so that the keypad comes up automatically

here i am not sure what would be the Trigger for "comming up" of the Keyboard (maybe the script, witch asks for the YPos?),
and how to trigge the Keyboard?

TPS

BTW:witch virtual Keyboard do you use? maybe i can choose a copy and test?

1222
VB and the development of wizards / Re: Y axis manual input
« on: January 01, 2019, 12:43:27 PM »
ok then something like this might help:

Code: [Select]
Sub Main
Dim YPos As String
YPos = AskTextQuestion("Please enter Y Position (use . not , !): ")

If IsNumeric(YPos) Then
Code "G0Y"+CStr(YPos)
Message "driving Y to: " & YPos
Else
MsgBox "Vaule you entered is not numeric!"
End If
End Sub

1223
VB and the development of wizards / Re: Y axis manual input
« on: January 01, 2019, 12:29:03 PM »
load a GCode file.

for example

G0X10
G0X20
G0X30
G0X30
G0X40

enable Single BLK
than you only have to hit Start for every single line

1224
General Mach Discussion / Re: Mach3 Demo only reading 500 lines of code?
« on: December 31, 2018, 12:26:10 PM »
that is the Limitation of the demo Version, ho ever.

1226
General Mach Discussion / Re: set z-zero
« on: December 31, 2018, 03:04:20 AM »
Show us your script to set the TOP left Corner,
and we will find a solution to modify for the Bottom left Corner.

1227
FAQs / Re: Help with table coordinates.
« on: December 30, 2018, 12:22:45 PM »
i am sorry to turn the "i kwow soemthing better mode" on  ;)

but depending on your Picture "what is front",
your X and Y is swapped.

the same old rule:

Y+
 ´`
 |
 |---->X+
   ´`
    |
Point of view

and Y+ upwards.

have a look (next try):

https://www.youtube.com/watch?v=ZthXKWPxUqY

1228
Requests have been made to have the search function fixed and Artsoft knows about the problem.
It IS concerning that they don't even give a response.

Dear Brian,

When Artsoft does not reply on a major issue, it makes users  feel like the business is starting to forget who the customer is,
we would appreciate it, if you could just spend a minute or two with a response.

RICH
::) ::) ::)

1229
FAQs / Re: Help with table coordinates.
« on: December 30, 2018, 07:14:25 AM »
that is not "normal",

because all drawings have this orientation


 Y+
 |
 |-----X+

so you allways have to "rotate" in your head.

1230
FAQs / Re: Help with table coordinates.
« on: December 30, 2018, 07:03:19 AM »
if the left side off your Picture is the front side of your machine,
then y is backward, and z as well.