Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Edison on August 11, 2008, 11:58:00 AM
-
In the macros, how to shield the Cycle Start £¿
In the macros, how to set up regularly interrupted£¿
In the macros, what functions can be applied£¿
What is the meaning of this function ¡°IsMoving()¡±£¿
Thanks!
Edison
-
Edison - You appear to have some (to us) special characters on your keyboard which make your message a little difficult to understand.
However -
Your first two queries I do not understand - how to "shield" cycle start
and how to set up "regularly interrupted"
In the macros, you can write any function. The Macros are in Visual Basic and there is a link with Mach 3, so many of the functions performed by Mach 3 can be recalled in Visual Basic. There is a list.
"Is moving" means If an Axis is moving - and the full instruction "Whilst Is moving" and "Wend" - means while an axis is moving wait until it has finished, then move on to the next line.
If you can expian your first queries, we will try and sort them out.
-
Oh£¬I'm sorry brought you troubles, my English is very bad. Hoped that you can be able to understand¡£ o(¡É_¡É)o
1¡¢If Auto Tool Changer is checked then the M6Start/M6End macros will be called but Cycle Start does not need to be pressed at any stage, I want to let the Cycle Start invalid¡£
2¡¢How to use Timer interruption in the macros??
3¡¢The mach3 have some possession function. e.g. GetSelectedTool() ,SetCurrentTool(). Can you introduce more??
Thanks!
Edison
-
Edison, have a look at the wiki. Support tab at the top of this page, Mach Wiki. You will find list of all things you need there I'm pretty sure.
Brett
-
Not 100% sure what you are asking but I will try and reply
1. You can choose to wait for a start after a toolchange, the options are on the general config page.
2. If you put the following in your macro the macro will halt for 4 seconds before continuing to the next line.
Code "G4P4"
While IsMoving()
Wend
3, As Brett has said the wiki may help, also looking through other macros will let you see others.
Hood
-
I see, Thanks!