Hello Guest it is September 30, 2023, 06:15:59 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.

Topics - wyb_506

Pages: 1
General Mach Discussion / how to get Z position while moving
« on: July 06, 2012, 01:21:52 AM »
code "G53 Z60"
while ismoving()
 if active(input4) then --like a prob
  z=GetoemDRO(802)  ---get Z current position( also I try getdro(2))
 end if
I want to get the a Z position while Z is moving, but finally I always get the last stop position  Z=60, why?
thank you!!

General Mach Discussion / Load NC file Error. ask for help!
« on: June 19, 2012, 07:22:05 PM »
I define a function in a microfiles named M15 ,
and I use TxM15 to change my tool,also I define a funtion in changing tool:
    MyZ = GetOemDro(802)
   If MyZ >55 Then
   code "g01 f1500"
   code "g53 z"&toolup
    msgbox " fail to release tool, press any key to continue"
   End If
but I find when I load a new nc file , the screen display all the lines,when to TxM15, then messagebox displayed and stop
please tell me why and how to avoid the error thank you

General Mach Discussion / Need help,can you help me thank you
« on: February 02, 2012, 02:47:59 AM »
when I turn the XYZ speed and accelerate speed up to a value,the movement will appear intermittently, I can see  the stop and movement. but I don't know how to adjust my parameters

as the topic
if anybody know how to set up? thank you!

VB and the development of wizards / Want help for VBS in Mach3
« on: July 06, 2011, 03:36:49 AM »
I want to implament a function: wait user input name and password, so I write a code like follow:
Sub Main ()
    Begin Dialog DialogName1 60, 60, 160, 70, "ASC - Hello"
        TEXT 10, 10, 28, 12, "Name and password:"
        TEXTBOX 42, 10, 108, 12, .strName
        TEXTBOX 42, 24, 108, 12, .strPass
        OKBUTTON 42, 54, 40, 12
    End Dialog
    Dim Dlg1 As DialogName1
    Dialog Dlg1
End Sub

for the password ,I know Textbox in VB can support a property named "Passwordchar" , when I use VB and other program language, I write TextBox1.PasswordChar="*",
it will be work ,but in Mach3 VBS I don't know where can I write this code
thank you!!!

as the topic :

thank you!

hello All:
I am now developing a machine controlled by mach3, when X,Y or Z move above limit position, Mach3 will always on emergency status, until I power off the machine, and move the X Y or Z by hand to leave the limit position, and then power on the machine.
my question is : when my user use my machine, I don't want him to move the X Y or Z, so I want to solve this question by the following steps:
1 Limit stop
2 I click a button in mach3 to do
   a) shield limit signal
   b) drive X Y or Z move to a safe postion
   c) active limit signal
3  machine is ok

so the techic is how to shield the limit signal in mach3 in VB ( I don't want user to change the config/ Ports and Pins),he need only click a button

One on one phone support. / How to But Mach3
« on: May 23, 2011, 01:51:21 AM »
I Come From China, and our company are now developing a new CNC machine, also we finally find that Mach3 is a quite good controll software.
So we want to buy license ffor our machine to sell.
we now using a usb controll card bought from China for test.
But I dnot know who can i contact to to buy Mach3?

as the title
Because we will sell our product with Mach3, so we want change the application tiltle  into our own's
also we want hide the menu of mach3 for safety reason
I search all the way, but I found nothing
if any body know how to do these in VBS

I want to sell our machine to the end user, this machine uses Mach3 as control system, a question is :
it is easy to change a parameter for the end user,  while a mistaken can cause damage, so I want to only show the set up screen to our technic stuff, he can change the parameters by entering a password, but the controls in the screen will be invalid if he has no the pass word.
if any body can help me thank you~~~~~ ;D

Pages: 1