spindle orient M19 Fanuc motor
14 Jan 2022 19:07 #231788
by Rafal1231
spindle orient M19 Fanuc motor was created by Rafal1231
Hello.
I have a problem with the M19.
wants the relay to be turned on after entering the M19 command. the spindle will then move to the appropriate position. and to cancel with M3 or M4.
I typed in .hal
net spindle.0.orient => hm2_7i76e.0.7i77.0.0.output-01
linuxcnc is starting. but M19 command doesn't work.
something to change in the ini file?
whether to use the entire m19 loop?
I have a problem with the M19.
wants the relay to be turned on after entering the M19 command. the spindle will then move to the appropriate position. and to cancel with M3 or M4.
I typed in .hal
net spindle.0.orient => hm2_7i76e.0.7i77.0.0.output-01
linuxcnc is starting. but M19 command doesn't work.
something to change in the ini file?
whether to use the entire m19 loop?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6218
15 Jan 2022 08:03 #231871
by tommylight
Replied by tommylight on topic spindle orient M19 Fanuc motor
Does the spindle drive have "spindle orient" and "spindle oriented" input and output?
There is the "orient" component written by AndyP that can do all that in LinuxCNC if the spindle drive does not have the above mentioned pins, so it does require spindle feedback into LinuxCNC and an orient sensor on the spindle.
Double checking the above info is advisable.
There is the "orient" component written by AndyP that can do all that in LinuxCNC if the spindle drive does not have the above mentioned pins, so it does require spindle feedback into LinuxCNC and an orient sensor on the spindle.
Double checking the above info is advisable.
Please Log in or Create an account to join the conversation.
15 Jan 2022 17:35 #231903
by Michael
Replied by Michael on topic spindle orient M19 Fanuc motor
In your setup currently does spiendle.0.orient go high when you try to use the code?
I did not have luck running a simple M19 command to trigger orient. You will need to use M19 R0 Q10 to trigger it most likely.
I did not have luck running a simple M19 command to trigger orient. You will need to use M19 R0 Q10 to trigger it most likely.
Please Log in or Create an account to join the conversation.
15 Jan 2022 17:41 #231904
by Rafal1231
Replied by Rafal1231 on topic spindle orient M19 Fanuc motor
I retrofit bridgeport 412 interact .
Fanuc engine and VFD remained in the machine.
The VFD signal in
- ready (enable)
-cw (M3)
-ccw (M4)
- 0-10 VDC rotational speed
- orient spindle (M19)
signal out
orietation is completion
-alarm
-speed arrival
spindle servo motor has an encoder signal A signal B and index
signals want to be used in linuxcnc also for rifling G33.1
I want to orient the spindle via m19 and original VFD. not using linuxcnc. Is it possible ?
m19 needs a tool for automatic tool change
Fanuc engine and VFD remained in the machine.
The VFD signal in
- ready (enable)
-cw (M3)
-ccw (M4)
- 0-10 VDC rotational speed
- orient spindle (M19)
signal out
orietation is completion
-alarm
-speed arrival
spindle servo motor has an encoder signal A signal B and index
signals want to be used in linuxcnc also for rifling G33.1
I want to orient the spindle via m19 and original VFD. not using linuxcnc. Is it possible ?
m19 needs a tool for automatic tool change
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6218
15 Jan 2022 17:45 #231905
by tommylight
Replied by tommylight on topic spindle orient M19 Fanuc motor
Did you try this?You will need to use M19 R0 Q10 to trigger it most likely.
Please Log in or Create an account to join the conversation.
15 Jan 2022 18:18 #231906
by Rafal1231
Replied by Rafal1231 on topic spindle orient M19 Fanuc motor
I did not try.
I only used the M19.
you don't need to add anything to the ini file?
I only used the M19.
you don't need to add anything to the ini file?
Please Log in or Create an account to join the conversation.
15 Jan 2022 18:48 #231909
by Rafal1231
Replied by Rafal1231 on topic spindle orient M19 Fanuc motor
thank you it works
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6218
16 Jan 2022 12:13 #232006
by tommylight
Replied by tommylight on topic spindle orient M19 Fanuc motor
How?
Please Log in or Create an account to join the conversation.
16 Jan 2022 13:28 #232013
by Rafal1231
Replied by Rafal1231 on topic spindle orient M19 Fanuc motor
in file castom.hal
net spindle-orient <= spindle.0.orient
net spindle-orient => hm2_7i76e.0.7i76.0.0.output_01
works after command M19 R0 or M19 R0 Q10
M19 alone is not enough
I need to change the hal file so that after m19 spindle-enable was active.
you have files the configurations automatic tool change umbrella warehouse ?
[PYTHON]: TOPLEVEL.PATH_APPEND.
remap M6 ?
net spindle-orient <= spindle.0.orient
net spindle-orient => hm2_7i76e.0.7i76.0.0.output_01
works after command M19 R0 or M19 R0 Q10
M19 alone is not enough
I need to change the hal file so that after m19 spindle-enable was active.
you have files the configurations automatic tool change umbrella warehouse ?
[PYTHON]: TOPLEVEL.PATH_APPEND.
remap M6 ?
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6218
16 Jan 2022 14:55 #232018
by tommylight
Replied by tommylight on topic spindle orient M19 Fanuc motor
Here is a config with an "umbrella" tool changer, but it is not finished, i could not find the finished config as most probably i left the USB with it on the machine when i was working on it, several years back.
forum.linuxcnc.org/30-cnc-machines/33529...ofit?start=20#145655
forum.linuxcnc.org/30-cnc-machines/33529...ofit?start=20#145655
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.226 seconds