Brother TC-225 / TC-229 adventure!
- ihavenofish
- Offline
- Platinum Member
- Posts: 681
- Thank you received: 123
So, ill be askin a lot of questions soon!
The TC-225 uses analogue AC servos for the X, Y, Z and spindle. the tool changer uses a motor running a geneva mechanism to turn it in either direction with an encoder of some sort to report its position. aside from a few limit switches and sensors and a coolant pulp solenoid, there's literally nothing else to the machine.
so, being preemptive, i have a few questions on setting up the atc, spindle orientation, rigid tapping, etc.
1: when using an analogue ac servo for the spindle, does it run just like an axis servo? or does it run like a normal vfd with encoder only used to calculate speed, and not actual position?
the original control was quite sophisticated at saving non cutting time. the spindle would orient as it was retracting and move directly into the tool eject position with no pause. then, as the tool magazine spins, the table would move into its next XY position. finally, the z comes back down, picking up the new tool, and with no pause in z motion spins it up as it moves down to its commanded z position. in this way it could achieve a chip to chip time of under 3 seconds. i really want to try and make it behave like this under linuxcnc if its possible. im imagining if the atc and spindle were treated as coordinated axes, it should work. so any insight as to how this works, or if it works, would be appreciated much.
2: this machine requires two upper Z limits. one limit if for machining travel. lets call that "10 inches" (with zero being the lower limit). the second limit at 13 inches, is the position where the tool is released from the spindle. is it possible to set a soft limit at 10, and still have the machine travel past that to 13 to change tools, before hitting an e-stop hard limit?
thanks!
Please Log in or Create an account to join the conversation.
Both, typically. You switch between velocity control and position control as the mode changes.1: when using an analogue ac servo for the spindle, does it run just like an axis servo? or does it run like a normal vfd with encoder only used to calculate speed, and not actual position?
HAL diagram linked from here: wiki.linuxcnc.org/cgi-bin/wiki.pl?SpindleOrient
That should be possible. Issue the orient command, then make the move, then check if the spindle is oriented before moving on with the changethe spindle would orient as it was retracting and move directly into the tool eject position with no pause.
There probably is a way. It might not be 100% trivial to achieve,2: this machine requires two upper Z limits. one limit if for machining travel. lets call that "10 inches" (with zero being the lower limit). the second limit at 13 inches, is the position where the tool is released from the spindle. is it possible to set a soft limit at 10, and still have the machine travel past that to 13 to change tools, before hitting an e-stop hard limit?
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
- Posts: 681
- Thank you received: 123
for the z limits, we'll just have to see when we try it. hopefully it is as simple as disabling soft limits during the tool change - and relying on the hard stop switch if anything goes wrong.
Please Log in or Create an account to join the conversation.
- kornphlake79
- Offline
- Senior Member
- Posts: 55
- Thank you received: 10
How would you feel about using a pneumatic cylinder to move the limit switch out of the way during a tool change? I imagine when M6 is called an output would switch a solenoid valve that would cause the cylinder to swing the limit switch out of the way then the z axis could be raised beyond the normal z max height without an over-travel. The necessary configuration to activate the cylinder might be equal to the amount of configuration needed to temporarily ignore the limit switch, but like I said if it doesn't work you can see something not working.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
- Posts: 681
- Thank you received: 123
if you did not use soft limits though, and used the actual triggers, your idea could work. but i don't like the air and the idea of a switch that moves for repeatability reasons. but, it gives me the thought that you could use a "switch" to swap between 2 different limit switches.
that's definitely a possible way of doing things. i've never used linuxcnc without soft limits though, so i'm not sure if there would be any road blocks.
thanks
Please Log in or Create an account to join the conversation.
How would you feel about using a pneumatic cylinder to move the limit switch out of the way during a tool change?
So, you need to generate a signal in HAL to operate a GPIO to drive a cylinder. Which cost money.
Or, you could just use a HAL "and2" component to block the limit switch signal in HAL. Saving a GPIO pin, and the cylinder.
In short, I think your idea is daft
Please Log in or Create an account to join the conversation.
G53 Z0 W0 moves you to the top of normal Z-travel.
G53 W-3 gives you the extra movement into the protected zone.
You would have a normal home-limit switch at the top of Z, but would mask it in HAL (as described above) as part of the tool-change sequence.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
- Posts: 681
- Thank you received: 123
hmm
Please Log in or Create an account to join the conversation.
the only hitch to that i think is that the z cants stop at the top of the cutting travel. it needs to go smooth to the tool release position. no pause.
G53 G0 Z0 W-3
Would go all the way in one move, but might exceed the joint velocity limit. (Because the system doesn't know that both moves are going to the same joint).
The two moves _might_ get blended.
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
- Posts: 681
- Thank you received: 123
Please Log in or Create an account to join the conversation.