Welcome, Guest. Please login or register.
Did you miss your activation email?
February 13, 2012, 03:13:39 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Spindle open
Pages: 1   Go Down
Print
Author Topic: Spindle open  (Read 393 times)
0 Members and 1 Guest are viewing this topic.
peter81
Active Member

Offline Offline

Posts: 58


View Profile
« on: March 07, 2010, 03:54:22 PM »

Hello, can someone please help me with M3 macro. I want my spindle not to start if there is no tool in the spindle. I have a signal at input3 that indicates that the spindle is closed. Thanks.
« Last Edit: March 07, 2010, 04:02:37 PM by peter81 » Logged
Graham Waterworth
Administrator
*
Offline Offline

Posts: 1,655


West Yorkshire, England



View Profile WWW
« Reply #1 on: March 08, 2010, 07:21:15 AM »

You need something like this in your M3 macro

If IsActive(INPUT3) then
  Dospincw()
End If

Graham
« Last Edit: March 08, 2010, 05:16:25 PM by Graham Waterworth » Logged

G-Code is on the cutting edge

Autovalues Engineering, CNC machining specialists, Bradford, England
peter81
Active Member

Offline Offline

Posts: 58


View Profile
« Reply #2 on: March 08, 2010, 02:19:54 PM »

Thank you very much.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!