DC drive with reversing control/relay question

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
frijoli
Posts: 595
Joined: Tue Sep 12, 2017 10:03 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090099
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Outside Winston-Salem, NC
Contact:

DC drive with reversing control/relay question

Post by frijoli »

I have a DC drive KBMG-212d with isolation board for analog.
The way this drive functions is:
1. enable on
2. 0-10v+ signal on SIG terminal on the isolation board and motor goes forward
3. reverse the 0-10v polarity on SIG terminal and it runs in reverse.

So #1 and an analog goes forward. #1 and #3 plus analog goes reverse

My thoughts are:
1. connect Acorn relay 1 to short the enable pins for motor drive
2. nothing needs to be done to go forward except send an analog voltage to SIG
3. connect Acorn "spin reverse" output to a DPDT relay to swap the polarity of the analog signal

So my questions are: Where are the PLC controls to address the outputs so the G/M codes operate the motor properly and, how do you handle the spin forward if no "spin forward" signal is necessary for the drive without wasting a PLC output?

Hope that makes sense...

Clay
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/


DICKEYBIRD
Posts: 536
Joined: Sat Jul 08, 2017 7:38 am
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: n/a yet
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Collierville, TN USA

Re: DC drive with reversing control/relay question

Post by DICKEYBIRD »

Folks that know this stuff will probably want the manual to answer so I posted it for you. :) I just rigged my KBCC over the weekend but it's an older design. I just used the two Acorn relays to short the "S2" terminal to "S1" or "S3" for CW/CCW. I'll use the external relay module later for cutting oil, etc. Just want to run the spindle for now.
Attachments
kbmg_manual.pdf
(3.43 MiB) Downloaded 141 times
Milton in Collierville, TN

"Accuracy is the sum total of your compensating mistakes."


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

Re: DC drive with reversing control/relay question

Post by martyscncgarage »

This Dilemma is why I asked Centroid to consider using +/- 0-10VDC Spindle control on a future hardware revision of Acorn. Just like OAK and ALL IN ONE DC. ;)

Clay, I think you are on the right track.

Use another relay to open and close the enable circuit? Use the SPINDLE BRAKE RELEASE output to control it from Acorn. It should toggle on and off no matter which direction you are rollling. So your DPDT relay would be on output Spindle Reverse, as you mentioned, its already in forward in the normal state. You have to use the DPDT because the state must change together so you don't short Acorn's Analog outputs.

Since one of the relays on Acorn is NO, and you use your enable circuit on say Relay 2, program relay 2 as SPINDLE BRAKE RELEASE. It will close when you call for M3 or M5 (in theory). (If I read correctly the KB drive must have its enable circuit closed for it to operate)

Think this suggestion through before testing. I don't wanna be responsible for magic smoke rolling! :oops:
Sketch attached for a visual representation (Enable circuit not shown)
Good discussion...

Let's see if Scott or Keith concurs or has a better idea.....until they add the -/+ 0-10VDC feature to Acorn. :mrgreen:

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


frijoli
Posts: 595
Joined: Tue Sep 12, 2017 10:03 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090099
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Outside Winston-Salem, NC
Contact:

Re: DC drive with reversing control/relay question

Post by frijoli »

martyscncgarage wrote: Thu Nov 02, 2017 2:54 pm This Dilemma is why I asked Centroid to consider using +/- 0-10VDC Spindle control on a future hardware revision of Acorn. Just like OAK and ALL IN ONE DC. ;)

Clay, I think you are on the right track.

Use another relay to open and close the enable circuit? Use the SPINDLE BRAKE RELEASE output to control it from Acorn. It should toggle on and off no matter which direction you are rollling. So your DPDT relay would be on output Spindle Reverse, as you mentioned, its already in forward in the normal state. You have to use the DPDT because the state must change together so you don't short Acorn's Analog outputs.

Since one of the relays on Acorn is NO, and you use your enable circuit on say Relay 2, program relay 2 as SPINDLE BRAKE RELEASE. It will close when you call for M3 or M5 (in theory). (If I read correctly the KB drive must have its enable circuit closed for it to operate)

Think this suggestion through before testing. I don't wanna be responsible for magic smoke rolling! :oops:
Sketch attached for a visual representation (Enable circuit not shown)
Good discussion...

Let's see if Scott or Keith concurs or has a better idea.....until they add the -/+ 0-10VDC feature to Acorn. :mrgreen:

Marty
Sketch.jpg
Thanks Marty!
I actually meant to say "brake release". Good catch.
Your circuit is almost exactly how I wired it! The smoke is not magic... That's a mist.
One other thing I would really like to understand is how do you control the outputs/relays in the G/M code
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/


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

Re: DC drive with reversing control/relay question

Post by martyscncgarage »

M3 S1000= Spindle forward, turn 1000rpm
M4 S2000= Spindle reverse, turn 2000rpm

Once the spindle is running in the desired direction you can change the speed with the "S" word until:
M5=Spindle Off

Is that what you wanted to know?

Did you try the circuit and use the spindle brake release?

Pictures damnit! If I have to post videos, you guys gotta too! 8-)
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ


frijoli
Posts: 595
Joined: Tue Sep 12, 2017 10:03 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090099
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Outside Winston-Salem, NC
Contact:

Re: DC drive with reversing control/relay question

Post by frijoli »

LOL, everything is still on the bench for wiring. I only have about a half hour per day to mess with it right now.
I haven't tested it with the acorn yet.

As to the code, I understand the m, s, in the program file. I was trying to understand how m3 m4 m5 addresses the board output. I was assuming the "spindle reverse" in the acorn configuration program was tied to m4, but I didn't see anything that confirmed this.
For example if I change output 6 to "spin Reverse" does M4 now control that output?

I'll snap a photo tonight, but there ain't much to see. :D
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/


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

Re: DC drive with reversing control/relay question

Post by martyscncgarage »

frijoli wrote: Fri Nov 03, 2017 6:00 am LOL, everything is still on the bench for wiring. I only have about a half hour per day to mess with it right now.
I haven't tested it with the acorn yet.

As to the code, I understand the m, s, in the program file. I was trying to understand how m3 m4 m5 addresses the board output. I was assuming the "spindle reverse" in the acorn configuration program was tied to m4, but I didn't see anything that confirmed this.
For example if I change output 6 to "spin Reverse" does M4 now control that output?

I'll snap a photo tonight, but there ain't much to see. :D
Yes, as whichever output you use for spindle reverse will be controlled with M4, or the reverse button on VCP.
Test it for yourself with a meter. Set to DC, red lead to 24VDC on power supply, black lead to the assigned output. Off should be zero or near zero volts and on should show 24vdc.

You can also test analog spindle output and your relay rig this way. Without connecting to KB drive. But you must set min and max spindle speed in the Wizard first. Then call S words from min to max speeds and watch your meter.

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


Post Reply