Padovani LE-200 Retrofit
22 Jan 2022 08:15 - 22 Jan 2022 08:24 #232731
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
The lathe has mechanical handwheels which, when pressed, are directly connected to the ball screw.
Is there a configuration possible in linuxcnc where I can deactivate the axis drives while the machine is still switched on in order to move the axes manually in the meantime.
So for example to probe, zeroing, and then program start.
regarding the mesa cards
7i92 I have already there
additionally a 7i77 would actually cover the need for IOs for the machine.
available seems to be only the version with sinking outputs anyway, I have to wire the relays accordingly.
could apparently acquire the last 7i77 with sourcing outputs
so it will be a 7i77 sourcing
Is there a configuration possible in linuxcnc where I can deactivate the axis drives while the machine is still switched on in order to move the axes manually in the meantime.
So for example to probe, zeroing, and then program start.
regarding the mesa cards
7i92 I have already there
additionally a 7i77 would actually cover the need for IOs for the machine.
could apparently acquire the last 7i77 with sourcing outputs
so it will be a 7i77 sourcing
Last edit: 22 Jan 2022 08:24 by DoWerna.
Please Log in or Create an account to join the conversation.
23 Jan 2022 15:43 #232885
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
I made a small test setup to test a possible manual operation.
7i92 drives a stepper with encoder, the encoder gives feedback directly to linuxcnc.
So a closed loop setup.
Haven't found a way to turn off the servo driver without the axis going into ferror when you move the servo too far.
Only possibility I found is to turn off the machine.
The dro still works.
However, with the machine turned off, I obviously have no spindle and no coolant.
Search has also found only one topic.
www.forum.linuxcnc.org/38-general-linuxc...manual-combo-machine
7i92 drives a stepper with encoder, the encoder gives feedback directly to linuxcnc.
So a closed loop setup.
Haven't found a way to turn off the servo driver without the axis going into ferror when you move the servo too far.
Only possibility I found is to turn off the machine.
The dro still works.
However, with the machine turned off, I obviously have no spindle and no coolant.
Search has also found only one topic.
www.forum.linuxcnc.org/38-general-linuxc...manual-combo-machine
Attachments:
Please Log in or Create an account to join the conversation.
24 Jan 2022 08:56 - 24 Jan 2022 08:57 #232927
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
yesterday I wrote a small Hal logic.
a hal pin that disables the drive.
the falling edge from the same pin turns the machine off, to prevent the machine from moving back to the last given position.
With ferror set high everything worked as intended.
Then wanted to assign different ferrors with mux2 depending on the machine state.
Unfortunately, the ferror is read directly from the ini and is not available as hal pin.
So I can not change the ferror on the fly
Translated with www.DeepL.com/Translator (free version)
a hal pin that disables the drive.
the falling edge from the same pin turns the machine off, to prevent the machine from moving back to the last given position.
With ferror set high everything worked as intended.
Then wanted to assign different ferrors with mux2 depending on the machine state.
Unfortunately, the ferror is read directly from the ini and is not available as hal pin.
So I can not change the ferror on the fly
Translated with www.DeepL.com/Translator (free version)
Last edit: 24 Jan 2022 08:57 by DoWerna.
Please Log in or Create an account to join the conversation.
24 Jan 2022 12:18 #232953
by dgarrett
Replied by dgarrett on topic Padovani LE-200 Retrofit
>Unfortunately, the ferror is read directly from the
>ini and is not available as hal pin.
>So I can not change the ferror on the fly
linuxcnc.org/docs/html/man/man1/milltask.1.html
>ini and is not available as hal pin.
>So I can not change the ferror on the fly
linuxcnc.org/docs/html/man/man1/milltask.1.html
Please Log in or Create an account to join the conversation.
24 Jan 2022 18:52 #232997
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
oha I have to take a look at that,
thanks!
thanks!
Please Log in or Create an account to join the conversation.
24 Jan 2022 22:18 #233018
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
Thank you, that was the decisive tip.
I have now got it working.
I have now got it working.
Please Log in or Create an account to join the conversation.
25 Jan 2022 21:14 #233107
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
This is how I have now implemented the manual mode in the test setup
For the simplicity of it, I used the pin of the cooling to activate it.
net coolant-flood <= iocontrol.0.coolant-flood
net coolant-flood not.1.in
net coolant-flood edge.0.in
net coolant-flood mux2.0.sel
net coolant-flood.not not.1.out
net coolant-flood.not and2.0.in1
net x-enableand and2.0.in0 joint.0.amp-enable-out
net x-enable <= and2.0.out
setp mux2.0.in0 1
setp mux2.0.in1 1000
(postgui) net mux2out ini.0.min_ferror mux2.0.out
setp edge.0.in-edge true
net shut-off edge.0.out halui.machine.off
For the simplicity of it, I used the pin of the cooling to activate it.
net coolant-flood <= iocontrol.0.coolant-flood
net coolant-flood not.1.in
net coolant-flood edge.0.in
net coolant-flood mux2.0.sel
net coolant-flood.not not.1.out
net coolant-flood.not and2.0.in1
net x-enableand and2.0.in0 joint.0.amp-enable-out
net x-enable <= and2.0.out
setp mux2.0.in0 1
setp mux2.0.in1 1000
(postgui) net mux2out ini.0.min_ferror mux2.0.out
setp edge.0.in-edge true
net shut-off edge.0.out halui.machine.off
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
27 Jan 2022 17:51 #233290
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
Please Log in or Create an account to join the conversation.
29 Jan 2022 22:46 - 29 Jan 2022 22:48 #233495
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
have set up a small keyboard matrix.
on P1
with a small Matrix-PCB
strangely it does not output the rows correctly
when i bridge button r0c0 on the board key.r1c0 is set high
button r6c0 outputs key r0c0.
have checked all the wiring, should be correct
this applies to the complete row.
so everything one row offset.
hal:
setp hm2_7i92.0.gpio.017.is_output true
setp hm2_7i92.0.gpio.018.is_output true
setp hm2_7i92.0.gpio.019.is_output true
setp hm2_7i92.0.gpio.020.is_output true
setp hm2_7i92.0.gpio.021.is_output true
setp hm2_7i92.0.gpio.022.is_output true
setp hm2_7i92.0.gpio.023.is_output true
#matrix out
net matrix_panel.row_00_sig-out matrix_panel.row-00-out => hm2_7i92.0.gpio.017.out
net matrix_panel.row_01_sig-out matrix_panel.row-01-out => hm2_7i92.0.gpio.018.out
net matrix_panel.row_02_sig-out matrix_panel.row-02-out => hm2_7i92.0.gpio.019.out
net matrix_panel.row_03_sig-out matrix_panel.row-03-out => hm2_7i92.0.gpio.020.out
net matrix_panel.row_04_sig-out matrix_panel.row-04-out => hm2_7i92.0.gpio.021.out
net matrix_panel.row_05_sig-out matrix_panel.row-05-out => hm2_7i92.0.gpio.022.out
net matrix_panel.row_06_sig-out matrix_panel.row-06-out => hm2_7i92.0.gpio.023.out
#matrix in
net matrix_panel.col_00_sig-in matrix_panel.col-00-in <= hm2_7i92.0.gpio.024.in
net matrix_panel.col_01_sig-in matrix_panel.col-01-in <= hm2_7i92.0.gpio.025.in
net matrix_panel.col_02_sig-in matrix_panel.col-02-in <= hm2_7i92.0.gpio.026.in
net matrix_panel.col_03_sig-in matrix_panel.col-03-in <= hm2_7i92.0.gpio.027.in
net matrix_panel.col_04_sig-in matrix_panel.col-04-in <= hm2_7i92.0.gpio.028.in
net matrix_panel.col_05_sig-in matrix_panel.col-05-in <= hm2_7i92.0.gpio.029.in
net matrix_panel.col_06_sig-in matrix_panel.col-06-in <= hm2_7i92.0.gpio.030.in
on P1
with a small Matrix-PCB
strangely it does not output the rows correctly
when i bridge button r0c0 on the board key.r1c0 is set high
button r6c0 outputs key r0c0.
have checked all the wiring, should be correct
this applies to the complete row.
so everything one row offset.
hal:
setp hm2_7i92.0.gpio.017.is_output true
setp hm2_7i92.0.gpio.018.is_output true
setp hm2_7i92.0.gpio.019.is_output true
setp hm2_7i92.0.gpio.020.is_output true
setp hm2_7i92.0.gpio.021.is_output true
setp hm2_7i92.0.gpio.022.is_output true
setp hm2_7i92.0.gpio.023.is_output true
#matrix out
net matrix_panel.row_00_sig-out matrix_panel.row-00-out => hm2_7i92.0.gpio.017.out
net matrix_panel.row_01_sig-out matrix_panel.row-01-out => hm2_7i92.0.gpio.018.out
net matrix_panel.row_02_sig-out matrix_panel.row-02-out => hm2_7i92.0.gpio.019.out
net matrix_panel.row_03_sig-out matrix_panel.row-03-out => hm2_7i92.0.gpio.020.out
net matrix_panel.row_04_sig-out matrix_panel.row-04-out => hm2_7i92.0.gpio.021.out
net matrix_panel.row_05_sig-out matrix_panel.row-05-out => hm2_7i92.0.gpio.022.out
net matrix_panel.row_06_sig-out matrix_panel.row-06-out => hm2_7i92.0.gpio.023.out
#matrix in
net matrix_panel.col_00_sig-in matrix_panel.col-00-in <= hm2_7i92.0.gpio.024.in
net matrix_panel.col_01_sig-in matrix_panel.col-01-in <= hm2_7i92.0.gpio.025.in
net matrix_panel.col_02_sig-in matrix_panel.col-02-in <= hm2_7i92.0.gpio.026.in
net matrix_panel.col_03_sig-in matrix_panel.col-03-in <= hm2_7i92.0.gpio.027.in
net matrix_panel.col_04_sig-in matrix_panel.col-04-in <= hm2_7i92.0.gpio.028.in
net matrix_panel.col_05_sig-in matrix_panel.col-05-in <= hm2_7i92.0.gpio.029.in
net matrix_panel.col_06_sig-in matrix_panel.col-06-in <= hm2_7i92.0.gpio.030.in
Attachments:
Last edit: 29 Jan 2022 22:48 by DoWerna.
Please Log in or Create an account to join the conversation.
30 Jan 2022 08:09 - 30 Jan 2022 08:57 #233523
by DoWerna
Replied by DoWerna on topic Padovani LE-200 Retrofit
Attachments:
Last edit: 30 Jan 2022 08:57 by DoWerna.
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.139 seconds