Content Preview
Indexer_Finished
+5 VDC4 7k
5VDC Input
Internal Circuitry
Input Common+5 GND
TB060 Rev2 Installing and Setting Up a Haas Ind
exer
Overview
This document describes the procedures for connecting a Haas or similar indexer to a CNC7/CNC10/CNC1 1
M39/M400 control It will cover the connections to the indexer and modifying the M10 Rotary Clamp mac ro M10 which
typically controls the rotary clamp output will no w signal the indexer to start its program which wi ll be output 11 and it
will look at input 9 to know that the indexer has f inished its program A different input and output c an be used depending
on its availability but all relevant locations wher e that input and output are used in the following p rocedures will need to
be adjusted accordingly This document will also de scribe how to program an auxiliary button on the jog panel to perform
the indexing function
Connecting the Indexer
There are two signals that will need to be connecte d from the indexer to the Centroid control Indexer_Start and
Indexer_Finished Each signal will have two wires a ssociated with it The Indexer_Start signal will be a relayed output
controlled by the Centroid PLC That means that wha tever voltage e g +5VDC +12VDC +24VDC etc wil l need to be
connected from the indexer to the one side COM of the relay on the Centroid PLC while the other side of the relay is
connected to the Indexer_Start input as shown below
Centroid has developed lots of various PLC boards Some of them have a defined voltage for the inputs while others
have the capability of the retrofitter choosing the desired input voltage The following PLC boards ha ve a defined input
voltage circuit as shown below
PLC15/15 RTK2 RTK3 RTK4 SERVO3IO and DC3IO B
Internal Circuitry
Input Common
Indexer_Finished
Configurable Input
The following PLC boards have a configurable input circuit as shown below
PLCIO2 ALLIN1DC GPIO4D and OAK
The Indexer_Finished signal coming from the indexer is typically a relayed input If the PLC has a defined input voltage
the wire that is connected to the one side of the i ndexerΓ’s relayed output is connected to the Input C ommon on the PLC
while the wire that is connected to the other side of the relayed output is connected to Indexer_Finis hed input If the PLC
has a configurable input circuit and the +VDC is co nnected to the Input Common on the PLC then one si de of the
indexerΓ’s relayed output is connected to the Indexe r_Finished input and the other side of the relayed output is connected
to power supply's GND If the PLC has a configurab le input circuit and the power supply's GND is connected to the Input
Common on the PLC then one side of the indexerΓ’s r elayed output is connected to the Indexer_Finished input and the
other side of the relayed output is connected to +V DC
Creating/Modifying the Indexer Macro
The Centroid control already utilizes an M10 to clamp a rotary table This document will explain how t o modify or create a
custom M10 to be able to run an indexer The M101/x macro tells the Centroid control to wait until input x is closed Once
input x is closed the Centroid software will then continue with the remainder of the code The value of the delay timer
can also be adjusted If that value is too small t he indexer program may accidentally be canceled bef ore it completes
CNC7
1 From the main screen press CTRL+ALT+X at the sam e time to exit out of CNC7 and go into the DOS prompt
2 Type edit cnc7 m10 and press ENTER
3 Make sure the macro only contains the following l ines
M94/4 ; Request INP36 to turn on
M103/10 ; Start program action timer with a ten second dela y
M101/9 ; Wait for INP9 Indexer_Finished to close
M104 ; Cancel program action timer
M95/4 ; Request INP36 to turn off
4 Press ALT+F to bring down the File menu Highlight Save and press ENTER
5 Press ALT+F to bring down the File menu Highligh t Exit or Quit and press ENTER
CNC10
1 Press ALT+F6 at the same time to bring up a Linux command window
2 Type edit cnc10 m10 and press ENTER
3 Make sure the macro only contains the following l ines
M94/4 ; Request INP36 to turn on
M103/10 ; Start program action timer with a ten second dela y
M101/9 ; Wait for INP9 Indexer_Finished to close
M104 ; Cancel program action timer
M95/4 ; Request INP36 to turn off
4 Press ALT+F to bring down the File menu Highligh t Save and press ENTER or press F8 Save
5 Press ALT+F to bring down the File menu Highligh t Exit or Quit and press ENTER or press F10 Quit
CNC11
1 From the main screen press F7 Utility >F5 File O ps
2 By default it should be in the ncfiles directory Highlight [Up] and press ENTER
3 It should now be in the cncm directory Highlight mfunc10 mac and press F6 Edit
4 Make sure the macro only contains the following l ines
M94/4 ; Turn on M10 system variable
M103/10 ; Start program action timer with a ten second dela y
M101/9 ; Wait for INP9 Indexer_Finished to close
M104 ; Cancel program action timer
M95/4 ; Turn off M10 system variable
5 Press ALT+F to bring down the File menu Highligh t Save and press ENTER
6 Press ALT+F to bring down the File menu Highligh t Exit or Quit and press ENTER
Auxiliary Key Setup
If running CNC7 v8 22 or higher parameters 188 199 can be used to assign one of the auxiliary buttons on the jog panel
to run the M10 macro once the auxiliary button is p ressed For this example it is desired that the Aux1 button calls the
M10 macro Parameter 188 Aux1 parameter would be set to 1011 Please refer to the operator's manual for a more
detailed explanation of those parameters
Document History
Rev2 Created on 2016 03 29 by #270
Rev1 Created on 1999 04 15 by #000