Hello Guest it is April 23, 2024, 07:49:44 PM

Author Topic: Writing a macro  (Read 2520 times)

0 Members and 1 Guest are viewing this topic.

Writing a macro
« on: August 28, 2008, 04:27:59 PM »
Iam really new at this cnc technology I need help in writing a macro so I can turn my spindle motor on right now its connect to a relay which stays on .Or is there another way to control this

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Writing a macro
« Reply #1 on: August 28, 2008, 04:53:43 PM »
Set up the OutPuts you want to use on the Spindle page in Ports and Pins, then aasign the Port and Pins you want to use for these OutPuts on the OutPuts page of Ports and Pins. Your spindle will turn on from code when you command a M3 or M4 and will stop with a M5. Also pressing the Spindle button will turn the spindle on if you want to start it manually.
Hood