Brother TC-225 Retrofit and Robot integration
30 May 2021 19:24 #210725
by timfaber
managed to get 90% of the tool change script to work, needs some timing adjustment and the "spindle homing". Will dive into that next weekend:laugh:
Replied by timfaber on topic Brother TC-225 Retrofit and Robot integration
I have "add spindle homing to LinuxCNC"on my to-do list. But I haven't done it yet.
Basically you need to set index-enable true, then rotate the spindle through index. That should be all that is required.
You can do the first step just by adding a "setp" command in the HAL file. The slightly more complicated part is ensuring that the spindle rotates through index (to reset the encoder counts) before the first orient command.
managed to get 90% of the tool change script to work, needs some timing adjustment and the "spindle homing". Will dive into that next weekend:laugh:
Please Log in or Create an account to join the conversation.
12 Jun 2021 18:10 #211878
by timfaber
Replied by timfaber on topic Brother TC-225 Retrofit and Robot integration
So I would like to connect a potentiometer to linuxcnc to control feed/rapid and spindle override. What's the best way to do this?
Will post an update about the progress of the machine pretty soon.
Will post an update about the progress of the machine pretty soon.
Please Log in or Create an account to join the conversation.
12 Jun 2021 21:19 #211894
by PCW
Replied by PCW on topic Brother TC-225 Retrofit and Robot integration
You can use 7I77 field inputs 1,2,3,4 as analog inputs to read a potentiometer
Please Log in or Create an account to join the conversation.
13 Jun 2021 10:22 #211927
by timfaber
Sorry forgot to mention I have the 7i97. There are no analog in pins on there unfortunately
Replied by timfaber on topic Brother TC-225 Retrofit and Robot integration
You can use 7I77 field inputs 1,2,3,4 as analog inputs to read a potentiometer
Sorry forgot to mention I have the 7i97. There are no analog in pins on there unfortunately
Please Log in or Create an account to join the conversation.
13 Jun 2021 13:31 #211934
by PCW
Replied by PCW on topic Brother TC-225 Retrofit and Robot integration
A 7I73 is a possibility if you are not using the sserial port expansion
Please Log in or Create an account to join the conversation.
15 Jun 2021 22:39 #212149
by andypugh
Replied by andypugh on topic Brother TC-225 Retrofit and Robot integration
If you were to swap the potentiometers for MPGs then things would be easier. There are potentiometer-format encoders readily available.
MPG encoders play better with other override sources than potentiometers too.
This sort of thing: www.ebay.co.uk/itm/152204137441
MPG encoders play better with other override sources than potentiometers too.
This sort of thing: www.ebay.co.uk/itm/152204137441
Please Log in or Create an account to join the conversation.
16 Jun 2021 03:00 #212166
by PCW
Replied by PCW on topic Brother TC-225 Retrofit and Robot integration
The 7I97 can have up to 4 hardware MPG encoder counters
Please Log in or Create an account to join the conversation.
18 Jun 2021 16:20 #212342
by timfaber
Replied by timfaber on topic Brother TC-225 Retrofit and Robot integration
Ah that's great. Will use mpg's then, thanks for the advice!
Please Log in or Create an account to join the conversation.
19 Jun 2021 18:24 #212432
by timfaber
Replied by timfaber on topic Brother TC-225 Retrofit and Robot integration
Now managed to get tapping working Next weird thing however is that the position error of the spindle index is larger the longer i've run the spindle in velocity mode. So say for example 5 seconds of spindle time is within the orient tollerance with a postion error of 0.4 now running the spindle for say one minute will result in a position error of 2 or so, not within the tollerance. And therefor won't do a toolchange.
Please Log in or Create an account to join the conversation.
19 Jun 2021 19:19 #212435
by timfaber
Replied by timfaber on topic Brother TC-225 Retrofit and Robot integration
Fixed that, turns out the pid settings where not so good
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.131 seconds