Ether 1616 controlled Stepper

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

mick41zxr
Posts: 181
Joined: Thu May 17, 2018 8:19 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Ether 1616 controlled Stepper

Post by mick41zxr »

Quick post,
Still very much a work in progress. However proof of concept for using the Ether1616 to control a stepper motor.
This is intended to replace the stepper on the A-Axis I currently use for the tool changer

Regards,
Michael
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: Ether 1616 controlled Stepper

Post by Muzzer »

Interesting. Given that the outputs are relays, how do you control the angle of movement? I assume you have something reasonably intelligent downwind of the relays to interpret the signals and convert them to motion eg an Arduino, then send it basic commands such as "increment carousel" etc? I'd love to know more, as I plan something similar for my Ether1616 and ATC at some stage.
mick41zxr
Posts: 181
Joined: Thu May 17, 2018 8:19 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Ether 1616 controlled Stepper

Post by mick41zxr »

I am using a Velocio Ace PLC. It has an inbuilt stepper control & inexpensive. You can see it on the top left of the panel.
It is setup using 4 output bits from the Ether 1616 to control position, 4 bit grey code for 16 positions.
Then an enable/initiate bit to trigger movement once the desired position has been registered.
The PLC will then send an output to indicate when move is complete.
I have not got it 100% yet but will post up the logic when done.
mick41zxr
Posts: 181
Joined: Thu May 17, 2018 8:19 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Ether 1616 controlled Stepper

Post by mick41zxr »

From the font of the machine with code running.
Need to work of acceleration & deceleration as quite a bit of jerk in the motor movement.
martyscncgarage
Posts: 9914
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: Ether 1616 controlled Stepper

Post by martyscncgarage »

mick41zxr wrote: Sun Jan 12, 2020 6:11 am From the font of the machine with code running.
Need to work of acceleration & deceleration as quite a bit of jerk in the motor movement.
Just use the Centroid axis driven PLC. You need a proximity sensor to tell the control where tool one is. Let CNC12 do it all. When you home the machine, CNC12 will search for tool 1 and home to it and set it.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
mick41zxr
Posts: 181
Joined: Thu May 17, 2018 8:19 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Ether 1616 controlled Stepper

Post by mick41zxr »

Marty,
That is basically what I have. I am using the ACE plc to generate the step & direction signals where Acorn tells the motor to rotate via 4 bit gray code.
martyscncgarage
Posts: 9914
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: Ether 1616 controlled Stepper

Post by martyscncgarage »

mick41zxr wrote: Sun Jan 12, 2020 5:57 pm Marty,
That is basically what I have. I am using the ACE plc to generate the step & direction signals where Acorn tells the motor to rotate via 4 bit gray code.
OK, so you are saving the 4th axis for well...a 4th axis? :)
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
mick41zxr
Posts: 181
Joined: Thu May 17, 2018 8:19 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Ether 1616 controlled Stepper

Post by mick41zxr »

Hopefully one day, I had the system running off A axis quite well. There was also the challenge to see if I could do It.
martyscncgarage
Posts: 9914
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: Ether 1616 controlled Stepper

Post by martyscncgarage »

The other option is if you can put one sensor on tool 1 and then another sensor to COUNT tools as they pass, the control could work that way as well.
On my Emcoturn 140, I used a Geckodrive G216 to drive a stepper motor AS a motor, which is a cool feature.

Just rambling thoughts for you...It is cool you got it running on a PLC.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
mick41zxr
Posts: 181
Joined: Thu May 17, 2018 8:19 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Ether 1616 controlled Stepper

Post by mick41zxr »

Marty do you have details or link on your Emcoturn setup. All info is usefull, as the idea is to make the process as reliable as possible.
Thanks
Post Reply