Hello Guest it is October 01, 2020, 08:01:28 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 - mike^3

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »
91
Mach Screens / Re: How to make a popup when a button is selected?
« on: March 23, 2014, 04:32:31 PM »
Hey Ger21 would this work for an auto tool home and seat to tool 1?

 Sub Main()

Code "G53 G0 X0 Z0"

ActivateSignal(OUTPUT1)  'Raise Turret
Code "G4 P0.5"
While IsMoving ()       
Wend
DoButton(25)     
While IsMoving ()       
Wend

DeActivateSignal(OUTPUT1)  'Drop Turret

SetCurrentTool(1)
Code "G90"
End Sub     

92
Mach Screens / Re: How to make a popup when a button is selected?
« on: March 23, 2014, 10:52:13 AM »
Hrmm, still doesnt work...I can get the OK on the box, but not the cancel...when I press of, it just starts homing.

Can we write a script that just ...

Activate output 1
pause for 0.5seconds
Home A axis
wait for homing to end,
then deactivate output 1
change tool changer dro to 1

Can this be done?

93
Mach Screens / Re: How to make a popup when a button is selected?
« on: March 22, 2014, 11:02:00 PM »
k one sec ;)

94
Mach Screens / Re: How to make a popup when a button is selected?
« on: March 22, 2014, 10:46:50 PM »
nope doesnt work... its compile error :(

95
Mach Screens / Re: How to make a popup when a button is selected?
« on: March 22, 2014, 10:39:47 PM »
Thanks! Let me try that real quick :)

96
Mach Screens / Re: How to make a popup when a button is selected?
« on: March 22, 2014, 06:56:04 PM »
Can you have a command prompt with an ok or cancel in the dialog box? So I can cancel out of it instead of continuing the homing...?

97
Mach Screens / Re: How to make a popup when a button is selected?
« on: March 22, 2014, 05:15:15 PM »
DoButton(24) seems to home just the Z, what the number for A axis?

98
Mach Screens / Re: How to make a popup when a button is selected?
« on: March 22, 2014, 04:53:07 PM »
Thanks, but I think I have a problem...the button I put was to home A. Can I put the Home A macro in the VB script after the msg box?

I would like to press the Home A button, have the msg pop up, click ok, then run the homing cycle for A.

Thanks ger!

99
Mach Screens / How to make a popup when a button is selected?
« on: March 22, 2014, 04:41:08 PM »
Hello,

Can anyone help me make an onscreen button pop up a message? Once you hit OK then the box will disappear?

I just need the VB script to say "Make sure Turret UP button is pressed before homing turret!"

Thank you!

Mike

100
 Huh

Hello Everyone!

I am an need of a button to home my tool changer to a limit switch.

The steps are as follows:

1. Activate output 1 (lift turret)
2. Run A axis until it sees the home switch,
3. Do the double touch off for setting home.
4. Change the A position DRO to 0
5. Change the current tool DRO to tool 1 or "1"
6. Deactivate output 1 (drop turret)

This is a custom home macro for when and if the tool turret ever misses steps, or misaligns...Having this will allow the operator to easily reset the turret to tool one incase a crash during tool change, or a mechanical hiccup.

I REALLY APPRECIATE ANY HELP! I will be posting the completed screen sets to the forum.

P.S. this is for an 8 position servo/stepper driven cnc lathe with an air valve that lifts, and servo/stepper that indexes to a degree (tool position) then locks and continues the program...

Thanks

Mike Wink

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »