background image

26 

 

Addendum B 

Listing of Provided Macros 

 

The following 

macros

 

are provided with the InTurn™ system. The numbering in some cases mimics 

standard ‘M’ codes except they are 4000 series. Some are grouped into logical On/Off pairs 
separated by 10.  
 
  Macro 

 

Function 

 

 

  

  M4000 

Disable 4

th

 axis Drive 

  M4001 

Enable 4

th

 axis Drive 

  M4002 

Home 4

th

 axis 

  M4003 

Spindle ON Clockwise Rotation 

  M4004 

Spindle ON Counter Clockwise 

  M4005 

Spindle OFF  

  M4006 

SET target RPM (use ‘P’ parameter) 

    M4007 

SET target SFM (use ‘P’ parameter)  (SMM for Metric users) 

 
Pair 
  M4008 

LOCK Spindle 

  M4018 

UNLOCK Spindle 

 
  M4010 

Select LATHE Mode 

  M4011 

Select INDEX mode 

  M4013 

Select SetSpeed Mode 

    M4014 

Select AutoSpeed Mode 

    M4015 

Spindle OFF 

    M4019 

SET follow Axis to Y 

    M4020 

SET follow Axis to Z 

    M4444       Initialization 

–turns off spindle, disabled drive, displays AutoSpeed params 

 
Note: many of these macros do nothing except call 

other ‘named’ macros which are also provided. 

‘Named’ macros have descriptive names instead of the cryptic ‘M’ designations, but they cannot be 
run by the CNC system.  
 
MACH3 treats named macros differently than traditional CNC ‘M’ macros and there are technical 
reasons that it is preferable to use them. Leave all named macros in the 

same folder with the ‘M’ 

macros

. Named macros typically start with ‘4

th

’ and would appear as this example: 

“4thSpindleONccw.m1s”. 
 

 

 

Содержание 4th Axis Mill/Turn Motor Control System

Страница 1: ...High Speed DSS Additional Serial Port optional Smooth RPM Ramping On Screen Parameter Entry Separate External Power Matched Interface Board 400khz Differential Signals Integrated Swapaxis function Di...

Страница 2: ...ler to combo board 19 Connect wires to Your Servo Drive 19 Connect wires to Your Break Out Board 19 A Axis STEP color choice and Pin number choice by User 19 A Axis DIRection 19 Connect wires to a 5 V...

Страница 3: ...B 26 Listing of Provided Macros 26 Addendum C 27 Definitions 27 CNC Terminology 27 Computer Terminology 27 InTurn Terminology 28 MACH Terminology 29 Servo Motor Terminology 30 Signals and Hardware Ter...

Страница 4: ...very significant achievement to bring some of those capabilities to an existing benchtop of full size CNC mill for under US 5 000 Mill Turn requires the 4th axis to have the capability to spin continu...

Страница 5: ...d selecting the InTurn profile 2 Create a shortcut that starts Mach3 while automatically using the InTurn profile To create a Shortcut follow these steps A Using a RIGHT click and hold drag the file C...

Страница 6: ...that appear after unzipping the file In the end you need to have New macros from InTurn_Macros into the directory Mach3 macros InTurn Note Mach has a special macro named HiddenScript m1s which contai...

Страница 7: ...simple things to make a difference and every little bit really does count Stella McCartney Screen Bitmaps from InTurn_Bitmaps into Mach3 Bitmaps MillBitmaps Note after copying the files into the above...

Страница 8: ...may be different than shown Windows will find and install the drivers then be happy with the new USB device To determine which COM number the driver created use the following steps Make sure MACH3 is...

Страница 9: ...tor Choose Brain Control from the drop down list Find InTurn4thAxis date brn on that list and click on it to highlight it If that name does not show up on the list the file is probably in the wrong pl...

Страница 10: ...Configuration screen accessed from the Config drop down on the main MACH screen Add M4444 to the end of whatever is in the Initialization String Note Mach will only run one M code in this String so i...

Страница 11: ...and that will only happen if the correct sequence is followed in the startup In the explanation below COM8 is used as an example for clarity but remember that your number may be different It is impor...

Страница 12: ...your system Do not reset them to match this image Those are not associated with the InTurn Controller Note Do not change your Kernel Speed to match the image It is also unrelated to the InTurn Contro...

Страница 13: ...ch3 Restart Mach3 Test ModBus Communication with the InTurn Controller With MACH3 closed Power up the InTurn Controller Start Mach3 be sure to use the InTurn Profile Click Function Cfg s and choose Se...

Страница 14: ...14...

Страница 15: ...ervo Enable for drives with this feature _____ OUTPUT 17 Out High PC Proportional Control industrial drives only _____ OUTPUT 12 Out High TL1 Torque Limit industrial drives only _____ OUTPUT 20 Out Lo...

Страница 16: ...Turn capabilities the InTurn brings with it The controller s spindle control macros work with the Controller which in turn controls MACH in order to coordinate the movement of the cutting tools with t...

Страница 17: ...17...

Страница 18: ...ght when the shutter hole passes the sensor Note there are two types of sensors Those intended for more than 5V operation feature a Solid State Relay on the switched side This is a small black 6 pin c...

Страница 19: ...DIR should be in a separate shielded cable This is especially important with 24V industrial drive electronics NOTE Operation of the high power 24V signals in the same cable as differential signals wil...

Страница 20: ...r supply These are the red and the black wire next to it You can take power from pins on your BOB if the BOB can supply at least 150mA You can use a separate filtered and regulated 5Volt DC supply In...

Страница 21: ...by additional gearing in back of the head For the 4th axis this is the extra belt and idler setup If your 4th axis does not have the double reduction setup enter the Main ration again here Drive Mult...

Страница 22: ...ettings if you click on the SEND to InTurn checkbox Note New releases are provided in the same type of Distribution Packs as the original that you have installed using this manual The only difference...

Страница 23: ...ting tool into a workpiece that has not reached its target speed As of version 32 of the firmware the user supplied operating parameters max RPM encoder res etc are collected on screen by a comprehens...

Страница 24: ...will begin to turn slowly if the step signal is connected to the drive during this test Turning the Spindle switch OFF or leaving E stop mode will stop the spindle immediately and normal operation wil...

Страница 25: ...25...

Страница 26: ...indle M4010 Select LATHE Mode M4011 Select INDEX mode M4013 Select SetSpeed Mode M4014 Select AutoSpeed Mode M4015 Spindle OFF M4019 SET follow Axis to Y M4020 SET follow Axis to Z M4444 Initializatio...

Страница 27: ...ogy Computer Terminology Configure A potentially scary term that actually describes something every single person does every day Configuring a machine is the simply act of entering information telling...

Страница 28: ...signals ModBus only defines the language not the method by which is it transmitted This is an important distinction to remember See M Code under CNC Terminology Further description under Signals and H...

Страница 29: ...nnected to pins A purpose of configuration is to tell MACH which pin is used for each signal Occasionally a signal may be needed that does not come in over a wire but is instead emulated by some inter...

Страница 30: ...puter requires an Analog to Digital converter or A D for short Analog Signals Like a digital signal analog represents the values using voltage but unlike digital where you only have high and low analo...

Страница 31: ...also uses the Term INPUT xx and OUTPUT xx as the names for additional signals When referring to a physical pin or a numbered physical terminal the words input and output refer to the DIRECTION that th...

Страница 32: ...st personal computer Because all manufacturers followed that standard any parallel port printer can be simply plugged into any parallel port sometimes mistakenly called a printer port Single Ended Sig...

Отзывы: