Toolchanger
- Nondepietjes
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
25 Apr 2017 08:44 #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
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
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23323
- Thank you received: 4948
25 Apr 2017 16:44 #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?
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 or Create an account to join the conversation.
- Nondepietjes
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
26 Apr 2017 06:08 - 26 Apr 2017 06:38 #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?
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?
Last edit: 26 Apr 2017 06:38 by Nondepietjes.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23323
- Thank you received: 4948
26 Apr 2017 15:05 - 26 Apr 2017 15:06 #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.
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.
Last edit: 26 Apr 2017 15:06 by andypugh.
Please Log in or Create an account to join the conversation.
- Nondepietjes
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
27 Apr 2017 06:12 #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 or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23323
- Thank you received: 4948
27 Apr 2017 08:13 #92184
by andypugh
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.
Replied by andypugh on topic Toolchanger
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 or Create an account to join the conversation.
Time to create page: 0.066 seconds