ATC Spindle Proximity Switches

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

ATC Spindle Proximity Switches

Post by cbb1962 »

I have gotten far enough with my build to do some testing around the ATC. My machine has a simple linear rack mount. During my testing, I discovered that I am not getting any input from the "tool present proximity switch" or the "clamp/unclamp proximity switch" both of these switches are inside the spindle. The switches are 24VDC.
Spindle Prox Switches.JPG
The spindle is a 6HP Chinese water-cooled ATC BT30 Spindle. It is a model number SDS110-30-24Z-4.5 I can't find a manual anywhere but these spindles are still for sale through Alibaba.

I may not understand what these sensors are supposed to do, but I should see something - either when I insert a tool or eject one. I don't show anything in the I/O screen for these inputs in Acorn.

Does anyone have any recommendations - other than buying a new spindle?
Clint in NW Arkansas

The more I learn, the more I realize I don't know...


martyscncgarage
Community Expert
Posts: 9949
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ATC Spindle Proximity Switches

Post by martyscncgarage »

Probably not an NPN proximity sensor. Is it a proximity switch or a hall effect sensor? (Need a magnet to trip it)
You can't see the signal state change in the diagnostic scren? Alt+i
Is there an LED on the sensor that changes state?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Re: ATC Spindle Proximity Switches

Post by cbb1962 »

martyscncgarage wrote: Wed Nov 06, 2019 9:52 pm Probably not an NPN proximity sensor. Is it a proximity switch or a hall effect sensor? (Need a magnet to trip it)
Is there a way to tell what type of sensor it is? I don't have any documentation on the spindle. I have it wired: Blue to 0VDC, Brown to +24VDC, Black to Acorn.
martyscncgarage wrote: Wed Nov 06, 2019 9:52 pm You can't see the signal state change in the diagnostic screen? Alt+i
Is there an LED on the sensor that changes state?
No change of state in Alt +i, I haven't seen any type of LED, I don't even know where the sensor is. I assume it is inside the spindle.
Clint in NW Arkansas

The more I learn, the more I realize I don't know...


HoY
Posts: 18
Joined: Wed Oct 23, 2019 12:22 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Fort McMurray, Alberta

Re: ATC Spindle Proximity Switches

Post by HoY »

Its nearly the same spindle as I have, except it looks like they put a different label on it. give it the 24v it needs, and test the output with a meter. signal line should be neutral. Mine worked with my Ethernet smooth stepper setup because it used NPN, but the acorn sends +24v out from its inputs (PNP).


martyscncgarage
Community Expert
Posts: 9949
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ATC Spindle Proximity Switches

Post by martyscncgarage »

HoY wrote: Thu Nov 07, 2019 9:23 am Its nearly the same spindle as I have, except it looks like they put a different label on it. give it the 24v it needs, and test the output with a meter. signal line should be neutral. Mine worked with my Ethernet smooth stepper setup because it used NPN, but the acorn sends +24v out from its inputs (PNP).
If the sensor SENDS voltage when its activated it is PNP (Think P=Positive)
If the sensor GROUNDS when it is activated it is NPN (Think N=Negative)

Acorn needs to have its input sunk to ground. So you need NPN

My hunch is that his sensor is PNP (Providing 24VDC on the black wire when actuated) that won't work.
He could convert it using one of the opto isolated relay boards. They sell them 2 channel and 4 channel

https://www.amazon.com/dp/B00LW2G7V6/re ... XDbYPXVGFD
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


martyscncgarage
Community Expert
Posts: 9949
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ATC Spindle Proximity Switches

Post by martyscncgarage »

Put a meter on the black wire (red probe) and blue wire (black probe) with 24VDC supplying power to the switch, what do you read?
Can you actuate the sensor (clamp/unclamp) the drawbar?

My guess is when actuated, the sensor provides 24VDC which will not work with Acorn's inputs

Did you not get documentation with the spindle?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Re: ATC Spindle Proximity Switches

Post by cbb1962 »

I will test later today. This info is what I was looking for!
Clint in NW Arkansas

The more I learn, the more I realize I don't know...


cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Re: ATC Spindle Proximity Switches

Post by cbb1962 »

I had a 2-channel board and was able to get it configured and have signals coming into Acorn now!

Thanks!

Now for my next snag, more testing. When my M6 macro calls the M15 macro it unclamps the tool as expected:

Code: Select all

;------------------------------------------------------------------------------
; Filename: mfunc15.mac
; Description: Tool unclamp macro
; Notes:
; Requires: 
;
; Inputs:
; ToolIsUnclamped IS INP5
;
; Outputs:
; ToolUnclamp IS OUT6
;------------------------------------------------------------------------------

IF #50010                        ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching

N100                             ;Insert your code between N100 and N1000  

M94 /15                          ;Turn on ToolUnclamp request
IF (#9402 != 0) THEN GOTO 200
G4 P3                            ;Wait 3 seconds
GOTO 1000

N200
M101 /70012                      ;Wait until tool is unclamped

N1000                            ;End of Macro
When it calls the M16 it doesn't do anything:

Code: Select all

;------------------------------------------------------------------------------
; Filename: mfunc16.mac
; Description: Tool clamp macro
; Notes:
; Requires: 
;
; Outputs:
; ToolUnclamp IS OUT6
;------------------------------------------------------------------------------

IF #50010                        ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching

N100                             ;Insert your code between N100 and N1000  

M95 /15                          ;Turn on ToolUnclamp request

N1000                            ;End of Macro
If I run an MDI command M94/15 it unclamps the tool and I can see this in the alt+i screen.
If I run M95/15 I see nothing in the alt+i.

What am I missing?
Clint in NW Arkansas

The more I learn, the more I realize I don't know...


martyscncgarage
Community Expert
Posts: 9949
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ATC Spindle Proximity Switches

Post by martyscncgarage »

Awesome Clint.
this is a router with linear rack mounted tools?
Sorry, Macros and PLC are my weak point.
Can you take a picture of the machine and the ATC and post for reference here? And how you expect the M6 macro to work?
Maybe Marc or Tom can lend a hand if not one of the boys from Centroid.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


tblough
Community Expert
Posts: 3529
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: ATC Spindle Proximity Switches

Post by tblough »

What's your PLC code for SV_M94_M95_15?
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.


Post Reply