Toolchanger

More
9 years 6 months ago #92037 by Nondepietjes
Toolchanger was created by Nondepietjes
Hi,

I'm doing a retrofit of a lathe CNC machine and i'm using a 7i77 mesa card.
now my problem is that i have a toolturrent. everything of the machine is done exept this.
has anybody an idea how to program this?

Many thanks

Attachment not found

Please Log in to join the conversation.

More
9 years 6 months ago #92078 by andypugh
Replied by andypugh on topic Toolchanger
Hmm, quite a sequence there.

You will need to program something to handle the same sequence of operations. The sequence could be written in Classic Ladder, G-code or C. Are you familiar with any of those?

Please Log in to join the conversation.

More
9 years 6 months ago #92119 by Nondepietjes
Replied by Nondepietjes on topic Toolchanger
I'm familiar with Classic ladder, but i think not enough.

i have 3 outputs:

CW and CCW turning of motor and one for the elektromagnet

than i have 5 inputs of the encoder: bit1, bit2, bit3, bit 4 and the strobe.
than two inputs for two sensors.

and I want to connect every tool with a button.

Between the red lines is one sequence, the toolturrent rotats than one position.

how do i start on this, or is there not enough information?

Please Log in to join the conversation.

More
9 years 6 months ago #92152 by andypugh
Replied by andypugh on topic Toolchanger
The tool numbers are straight binary with a strobe bit.

I don't know enough about Ladder to advise on it.

If I was doing it I would use a G-code routine to handle the unlock-move-unlock sequence and the carousel HAL component to choose motion directions and to interpret the sensors.

Please Log in to join the conversation.

More
9 years 6 months ago #92180 by Nondepietjes
Replied by Nondepietjes on topic Toolchanger
And do you mayby have any examples of this? i think i'm going to try whit G-code

Please Log in to join the conversation.

More
9 years 6 months ago #92184 by andypugh
Replied by andypugh on topic Toolchanger

Nondepietjes wrote: And do you mayby have any examples of this? i think i'm going to try whit G-code


There is a sample config that does this, sim/axis/vismach/vmc_toolchanger

Look at the two python files (you can probably use them unmodified) and the REMAP= in the INI file. The .ngc routine runs a sequence of digital outputs and waiting for digital inputs. Note the timeout handling...

You might also want to look a the sim/axis/lathe_fanucy config, that uses a slightly different remap to give lathe-style toolchanges (T-word only) with separate wear-offsets.

Please Log in to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum