Hello Guest it is March 29, 2024, 01:20:33 AM

Author Topic: Brian's Emco Compact 5 Retro  (Read 98726 times)

0 Members and 1 Guest are viewing this topic.

Offline fdos

*
  •  326 326
    • View Profile
Re: Brian's Emco Compact 5 Retro
« Reply #10 on: July 10, 2006, 12:35:22 PM »

This one has no sensors on the tool changer :( I was shocked! an open loop tool changer is just a little scary  :

Brian.   Yep the C5 toolchanger is very open loop.   The way it locks is even weirder!   It reverses against the pawl, and holds it there with the motor reversed, I think at reduced current.   It's a very special motor which allows this abuse.

I still reckon my gangtooled version is much faster tool to tool.

Wayne...
Re: Brian's Emco Compact 5 Retro
« Reply #11 on: July 10, 2006, 01:13:00 PM »
Thank you guys :) I was going to build the pick ups for the toolchanger with Prox switches  or micro switches... The more I think of it I the more I like the micro switch Idea :) I have worked on many full sized CNC lathes in the past and this is how it was  done...  Thank you for your help!
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Brian's Emco Compact 5 Retro
« Reply #12 on: July 10, 2006, 03:29:25 PM »
Good day Brian,

We have meet at the two CNC Workshops in Cameron Illinois,  8) and I am the individual who designed a tool changer for the Compact 5 and now that you are planning the retrofit of your compact 5, I want to know if you want the design drawings.  We discussed the programming of this turret and I still will need your assistance to make it work.

My Conversion used Servos, and I Plan a Stepper motor is to be added to power my newly designed 6/8 position tool turret.  I can send you the turret design drawings that I used as a starting point for the design.  I used it on a converted MAXIMAT 8.   My system uses 300 in/oz max servos, Sound Logics COMBO interface board, 2 Gecko 320 servo drives, a Gecko 210 Stepper motor drive,  Miniark Motor Controller, and mach 3.

I would ask that you do not release the plans to the public as I am seriously planning to market the turret.  You can contact me offline.
Re: Brian's Emco Compact 5 Retro
« Reply #13 on: July 10, 2006, 06:52:11 PM »
Hi Brian

Your new CNC Lathe looks to be in very good condition.  Where did you pick it up from?  I have noticed that allot of Schools have these types of Lathes.  I plan to follow your thread as I would someday like to either convert or purchase something similar.  Keep up the good work.  Take lots of pictures.  All the best

Regards
Bill
Re: Brian's Emco Compact 5 Retro
« Reply #14 on: July 10, 2006, 07:50:23 PM »
Hi Brian,

I don't have one of these changers. Just adding a module in the ModIO for Bengt and another user.

It looks like from the photos that Bengt has taken that you could add the sensors like on his changer.

Cheers,


Hello Peter,
This one has no sensors on the tool changer :( I was shocked! an open loop tool changer is just a little scary  :o

Could you tell me where your optics are on you changer?

thanks
Brian
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com
Re: Brian's Emco Compact 5 Retro
« Reply #15 on: July 10, 2006, 09:29:29 PM »
Peter if there is anything that I can do to help with the Mach3 side of it I am here :)
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Brian's Emco Compact 5 Retro
« Reply #16 on: July 10, 2006, 10:04:53 PM »
Peter if there is anything that I can do to help with the Mach3 side of it I am here :)

Hi Brian,

Thanks for the offer. At the moment things are OK. I am usingthe same Modbus interface I used on the Mazak Lathe Toolchanger. John Prentice wrote the MacroPump script for that, and it should work for the Emco toolchanger module as well. There might also be some info on it in the Wiki.

I have included the Register set used for the toolchanger with a brief description of their use. Effectively, you just  set the new tool number in a register, change the value in the 'Count' register to initiate the change. Another input register is monitored until it's value is the same as the output count register's value. When the values are the same the toolchange has completed. Then check the status register incase there was a problem with the change.

There is also a "current tool" register that can be read to find out what the cureent tool position is in the changer. Anyway, have a look at the include below.

BTW, it would be good if we could come up with a "Standard" toolchanger interfave for Mach3. It would make things easier in the future.

Cheers,

Peter.


********************************************************************************
The ModIO will read the 2 optical switches and drive the Motor direction Relay.

I presume when the relay is off, it is driving the motor in reverse to lock the
turret.

Also do you have an indicative measure of the time it take the Turret to rotate
360 degrees.
I need to know this for safety time-outs .

The EMCO changer has 2 inputs, a turret home switch and a Turret position
switch. The home switch indicates that the turret is lined up with tool position
one locked. This switch will activate whenever the turret passes position 1.

The other switch the turret position switch input is the input from 6 turret
position switches in parallel. If any one of the 6 switches are activate then
this input will be active. Therefore, this input doesn't indicate what tool
position we are at, just that the "Next" tool position has been reached. There it
is necessary to keep track of where the changer is relative to the home
position (Tool 1)

The changer will work as follows;

On startup or after an error occurs we assume we are lost. When the first
toolchange request comes in, the changer will rotate until it sees the home
switch input go active. When it sees this it knows where it is, tool 1, and can
then move to the requested position.

There is also a timeout. If the home switch is not found within the configurable
timeout, an error is assumed to have occured, and the changer stops.

When a tool change is requested and the current position is known, the changer
rotates the turret counting the number of times the position input goes active
until the desired tool position is reached.

There are also 6 outputs used as position indicators, plus a status indicator
output. The position indicators will illuminate when the turret is at the
indicators position. That is, indicator 2 will illuminate when tool position 2
is reached.

The status indicator will illuminate whenever the tool changer is activated.
It will extinguish when the change operation has completed. If an error has
occured and the change is aborted, the indicator will flash until the next
valid operation has completed.

Once the desired position is reached, the motor forward relay is de-energised
and the motor reverses, locking the turret into the desired position.

Note, the position switches on the turret are positioned to be activated once
the turret has passed the tool location. The reversing of the motor rotates the
turret back to lock into the tool position.

There is also a manual change input switch. When activated, the turret will jog
to the next tool position. 


Modbus Interface
================

The Emco changer interfaces by a number of Modnus registers as defined below. A
number of the registes are configuration registers and are used to initially
configure the changer. There are also a set of registers that are then used to
control the changer during normal operation.

Config registers
----------------
register 150 Turret Config

This config register is used to enable the EMCO toolchager module. To turn ON
the module, bit 1 needs to be cleared. Therefore 0x00FD should be written to
register 150 to enable the changer.


register 151 Change Delay timeout HI BYTE
register 152 Change Delay timeout LO BYTE

These 2 registers make a 16 bit timeout which if it expires will abort the change
and error. If you set the time out registers 151 and 152 to 0x10 and 00x0, you
will get a time out ofapproximately 30 seconds. each bit in the hi register 151
is worth about 2 seconds. With the default value of 0xFF and 0xFF the timeout
is over 500 seconds


register 153 Reverse Delay timeout  HI BYTE
register 154 Reverse Delay timeout LO BYTE

These 2 registers define the time delay between between turning off the forward
relay and indicating that the toolchange has completed. THis delay is to allow
the changer enough time to lock the turret. With the default value of 0xFF and
0xFF the timeout is turned off.


Output Registeres
-----------------
register 1100 Requested Tool

This register contains the tool positon for the next tool change. If this
register contains 0 when the tool change is requezsted, a dummy tool change
occurs. This is a good way to synchronise the Tool Change Counter 1101 output
rgister and the Tool changed count 1201 input register.



register 1101  Tool Change Counter

This register is used to initiate a tool chage operation. Whenever this register
value is changed a tool change occurs. Therefore to change a tool position, the
position to chage to is first written into register 1100, then the contents of
register 1101 are changed. It is best to increment it as this helps debugging.


Input Registeres
-----------------
register 1200 Current Tool

This register contains the current tool positon If this register contains 0
it indicates that the tool changer is "lost"


register 1201  Tool Changed Count

This register is used to determine when a tool chage operation is complete. This
is indicated by this register having the save value as register Tool Change
Counter 1101.

To perform a toolchange, the value of 1101 is changed to initiate the change.
When the change is complete, register 1201 will contain the same value that was
written to 1101.


register 1202  Tool Change Error Code

This register is used to determine the state of the last change request. If the
change was completed with an error, this register will contain 0x0000, otherwise
it will contain an error code.


register 1203  Tool Change Mode

This register contains the changers internal state as the change is occuring. It
is only used for debugging purposes.


Changer Operation
=================

To use the changer, the module must first be enabled by writing 0x02 to register
150.

Initially register 1100 should be written with 0x0000. Then, write0x0001 to
register 1101 to perform a dummy change.

Then to perform a tool change, write the new tool position to register 1100, then
increment register 1101. Register 1201 is then checked until it changes to
the same value of





*******************************************************************************/
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com
Re: Brian's Emco Compact 5 Retro
« Reply #17 on: July 10, 2006, 10:58:39 PM »
I am thinking about doing this in a plugin... I could make a dialog that would do about any toolchanger :) I hope to started that after I get the project that I am working on now done :(

This is going to be a good year!
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Brian's Emco Compact 5 Retro
« Reply #18 on: July 11, 2006, 08:47:52 AM »
Brian,

I have a new board that has built in most of the electronics hardware you would need for a project like this.  Saving lots of bucks, time, and making it pretty simple to do (Isn’t this mach is about?).   This I the board bengt used http://www.cnc4pc.com/Multifunction_CNC_Board.htm.  He was one of “beta” testers. 

If you would like to consider using it in this project I would gladly send one for testing.  This is new board I can use all the feedback I can get.   I also have a bidirectional breakout board for the second parallel port and inexpensive optical sensors that could also send and you will find very useful reading the index pulse, home positions of the axes and tool turret. 

I have Hardinge HC lathe that I converted and use it mostly for testing.  I run the 8 post tool turret with a macro that you help me with.  I added an index pulse on the turret for homing on start up and a sensor on the turret lock.  So the machine will not start until the turret is securely locked. 

With that setup I run an automatic bar feeder and still have enough inputs to read back the encoder’s position of the axes servos.

Please confirm if you want to consider testing this board.

Arturo Duncan
http://cnc4pc.com

Offline John S

*
  •  111 111
  • Nottingham England
    • View Profile
Re: Brian's Emco Compact 5 Retro
« Reply #19 on: July 11, 2006, 08:59:27 AM »
I am thinking about doing this in a plugin... I could make a dialog that would do about any toolchanger :) I hope to started that after I get the project that I am working on now done :(

This is going to be a good year!
Brian

Once the craps out the way :D

How about this for an off the shelf toolchanger ?


The bore is a thru bore with keyway, just right for accepting a backplate for tools.
Ignore the chuck it's just posed there for show as a 4th axis on a small mill.

John S.