triac changer tool
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
28 Oct 2018 09:14 #119543
by tommylight
Replied by tommylight on topic triac changer tool
From your post:
loadrt carousel pockets=10 dir=2 encoding=index
loadrt conv_float_s32
addf carousel.0 servo-thread
addf conv-float-s32.2 servo-thread
You have loaded only one single conv, but you are adding the third conv.
addf conv-float-s32.2 servo-thread
should be
addf conv-float-s32.0 servo-thread
on all the lines where it is used.
loadrt carousel pockets=10 dir=2 encoding=index
loadrt conv_float_s32
addf carousel.0 servo-thread
addf conv-float-s32.2 servo-thread
You have loaded only one single conv, but you are adding the third conv.
addf conv-float-s32.2 servo-thread
should be
addf conv-float-s32.0 servo-thread
on all the lines where it is used.
Please Log in or Create an account to join the conversation.
28 Oct 2018 10:58 #119545
by gmarconi2
Replied by gmarconi2 on topic triac changer tool
Ok right now I'm out but I just try.
I understood what you said tommy light thanks
Thanks also to andy pugh for the link to the docs.
These two lines must be changed:
in this way
it's correct
thanks to all gmarconi2
NB how do you support the forum I can contribute to the maintenance?
is there a paid support?
I understood what you said tommy light thanks
Thanks also to andy pugh for the link to the docs.
These two lines must be changed:
net car-pos-req motion.analog-out-00 conv-float-s32.2.in
net car-pos-s32 conv-float-s32.2.out carousel.0.pocket-number
in this way
net car-pos-req motion.analog-out-00 conv-float-s32.0.in
net car-pos-s32 conv-float-s32.0.out carousel.0.pocket-number
it's correct
thanks to all gmarconi2
NB how do you support the forum I can contribute to the maintenance?
is there a paid support?
Please Log in or Create an account to join the conversation.
28 Oct 2018 11:51 #119548
by andypugh
Replied by andypugh on topic triac changer tool
You only have one conv_float_s32 and that is called conv_float_s32.0
In the 4th line of the HAL you are trying to addf conv_float_s32.2.
(Which is what the error message says).
Either change the "count=" in the loadrt line, or use conf_float_s32.0 in that HAL file.
The reason that the sample config uses conv_float_s32.2 is that conv_float_s32.0 and conv_float_s32.1 are in use in other HAL files.
(Maybe I should have used 0 in that HAL file and 1 and 2 in the other files).
Change to .0 throughout your file.
In the 4th line of the HAL you are trying to addf conv_float_s32.2.
(Which is what the error message says).
Either change the "count=" in the loadrt line, or use conf_float_s32.0 in that HAL file.
The reason that the sample config uses conv_float_s32.2 is that conv_float_s32.0 and conv_float_s32.1 are in use in other HAL files.
(Maybe I should have used 0 in that HAL file and 1 and 2 in the other files).
Change to .0 throughout your file.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
28 Oct 2018 13:22 #119551
by tommylight
It is better if Andy replies to this, but as far as i know we all do this for free and most of us have full time jobs.
On the other side, i and some other members do retrofits or manufacture CNC machines so we get compensated for our work that way, too.
Thank you.
Replied by tommylight on topic triac changer tool
NB how do you support the forum I can contribute to the maintenance?
is there a paid support?
It is better if Andy replies to this, but as far as i know we all do this for free and most of us have full time jobs.
On the other side, i and some other members do retrofits or manufacture CNC machines so we get compensated for our work that way, too.
Thank you.
Please Log in or Create an account to join the conversation.
28 Oct 2018 14:30 #119554
by gmarconi2
Replied by gmarconi2 on topic triac changer tool
Well with the changes you suggested me axes and spindle work.
The toolchange procedure with MDI m6 tx command starts, moves x axis, then clearly stops with "error failed to move arm in" for lack of feedback.
Now my job is to connect input and output to the mesa 5i25 7i76 board, a connection I tried to do it, I expected high output in GPIO No. 17 TB6 board 7i76 with this connection in hal made in the toolchange_index.hal file.but by checking with the tester the signal remains low I had to do other things to connect outputs and inputs to the carousel function.
Greetings gmarconi2
The toolchange procedure with MDI m6 tx command starts, moves x axis, then clearly stops with "error failed to move arm in" for lack of feedback.
Now my job is to connect input and output to the mesa 5i25 7i76 board, a connection I tried to do it, I expected high output in GPIO No. 17 TB6 board 7i76 with this connection in hal made in the toolchange_index.hal file.
net car-fwd carousel.0.motor-fwd => hm2_5i25.0.7i76.0.0.output - 00
Greetings gmarconi2
Please Log in or Create an account to join the conversation.
29 Oct 2018 14:44 #119595
by andypugh
I think that some other folk here do retrofits commercially, but I don't, this is 100% a hobby for me.
There is no way to give money to the LinuxCNC project, mainly because nobody wants the hassle of deciding how to spend it
Replied by andypugh on topic triac changer tool
NB how do you support the forum I can contribute to the maintenance?
is there a paid support?
I think that some other folk here do retrofits commercially, but I don't, this is 100% a hobby for me.
There is no way to give money to the LinuxCNC project, mainly because nobody wants the hassle of deciding how to spend it
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
29 Oct 2018 20:32 #119620
by gmarconi2
Replied by gmarconi2 on topic triac changer tool
Ok so thank you very much for what you do in the forum and the help you gave me.
I'm using you tomorrow I hope to be useful to someone to solve his problems in the future.
Greetings to all gmarconi2
Sorry for my google english
I'm using you tomorrow I hope to be useful to someone to solve his problems in the future.
Greetings to all gmarconi2
Sorry for my google english
Please Log in or Create an account to join the conversation.
31 Oct 2018 22:52 #119734
by gmarconi2
Replied by gmarconi2 on topic triac changer tool
Someone could see if the comments on the hal file are correct.
Greetings gmarconi2
Warning: Spoiler!
loadrt carousel pockets=10 dir=2 encoding=index #ok
loadrt conv_float_s32 #ok
addf carousel.0 servo-thread #ok
addf conv-float-s32.0 servo-thread #ok
net car-enable motion.digital-out-00 carousel.0.enable => hm2_5i25.0.7i76.0.0.output-00 #this enables tool change is essential ??
net car-ready carousel.0.ready motion.digital-in-00 <= hm2_5i25.0.7i76.0.0.input-00 #true when the carousel is in position with right tool ? ?
net car-fwd carousel.0.motor-fwd => hm2_5i25.0.7i76.0.0.output-05 #carousel forward
net car-rev carousel.0.motor-rev => hm2_5i25.0.7i76.0.0.output-06 #carousel reverse
net car-pos-req motion.analog-out-00 conv-float-s32.0.in #this is managed by the carousel function ?
net car-pos-s32 conv-float-s32.0.out carousel.0.pocket-number #this is managed by the carousel function ?
net index carousel.0.sense-0 #of these i need help i did not understand what to do with it
net pulse carousel.0.sense-1 #of these i need help i did not understand what to do with it
net car-lock motion.digital-out-01 => hm2_5i25.0.7i76.0.0.output-01 #this is important or can i do without it ?
net car-locked motion.digital-in-01 <= hm2_5i25.0.7i76.0.0.input-01 #this is important or can i do without it ?
net arm-act motion.digital-out-02 => hm2_5i25.0.7i76.0.0.output-02 #this activates arm in position, but how does it return to rest ?
net arm-in motion.digital-in-02 <= hm2_5i25.0.7i76.0.0.input-02 #true arm in position under spindle ?
net arm-out motion.digital-in-04 <= hm2_5i25.0.7i76.0.0.input-04 #true arm in home position ?
net tool-release motion.digital-out-03 => hm2_5i25.0.7i76.0.0.output-03 #this activates rilascio e fissaggio utensile ?
net tool-released motion.digital-in-03 <= hm2_5i25.0.7i76.0.0.input-03 #true when empty tool change ?
net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared #of these i need help i did not understand what to do with it
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed #of these i need help i did not understand what to do with it
loadusr sim_pin carousel.0.jog-fwd carousel.0.jog-rev #this is important or can i do without it ?
loadrt conv_float_s32 #ok
addf carousel.0 servo-thread #ok
addf conv-float-s32.0 servo-thread #ok
net car-enable motion.digital-out-00 carousel.0.enable => hm2_5i25.0.7i76.0.0.output-00 #this enables tool change is essential ??
net car-ready carousel.0.ready motion.digital-in-00 <= hm2_5i25.0.7i76.0.0.input-00 #true when the carousel is in position with right tool ? ?
net car-fwd carousel.0.motor-fwd => hm2_5i25.0.7i76.0.0.output-05 #carousel forward
net car-rev carousel.0.motor-rev => hm2_5i25.0.7i76.0.0.output-06 #carousel reverse
net car-pos-req motion.analog-out-00 conv-float-s32.0.in #this is managed by the carousel function ?
net car-pos-s32 conv-float-s32.0.out carousel.0.pocket-number #this is managed by the carousel function ?
net index carousel.0.sense-0 #of these i need help i did not understand what to do with it
net pulse carousel.0.sense-1 #of these i need help i did not understand what to do with it
net car-lock motion.digital-out-01 => hm2_5i25.0.7i76.0.0.output-01 #this is important or can i do without it ?
net car-locked motion.digital-in-01 <= hm2_5i25.0.7i76.0.0.input-01 #this is important or can i do without it ?
net arm-act motion.digital-out-02 => hm2_5i25.0.7i76.0.0.output-02 #this activates arm in position, but how does it return to rest ?
net arm-in motion.digital-in-02 <= hm2_5i25.0.7i76.0.0.input-02 #true arm in position under spindle ?
net arm-out motion.digital-in-04 <= hm2_5i25.0.7i76.0.0.input-04 #true arm in home position ?
net tool-release motion.digital-out-03 => hm2_5i25.0.7i76.0.0.output-03 #this activates rilascio e fissaggio utensile ?
net tool-released motion.digital-in-03 <= hm2_5i25.0.7i76.0.0.input-03 #true when empty tool change ?
net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared #of these i need help i did not understand what to do with it
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed #of these i need help i did not understand what to do with it
loadusr sim_pin carousel.0.jog-fwd carousel.0.jog-rev #this is important or can i do without it ?
Greetings gmarconi2
Please Log in or Create an account to join the conversation.
31 Oct 2018 23:17 #119737
by andypugh
Replied by andypugh on topic triac changer tool
The comments are correct if, and only if, you have configured the physical inputs to match.
Please Log in or Create an account to join the conversation.
02 Nov 2018 19:32 #119843
by gmarconi2
Replied by gmarconi2 on topic triac changer tool
Please Log in or Create an account to join the conversation.
Time to create page: 0.233 seconds