7i96 step + or -, + other question
01 Dec 2019 20:45 #151694
by PCW
Replied by PCW on topic 7i96 step + or -, + other question
Did you run halcmd show all?
There is no need to guess at pin names
There is no need to guess at pin names
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
01 Dec 2019 20:51 #151695
by Leon82
ill try it
Replied by Leon82 on topic 7i96 step + or -, + other question
i did show pin.Did you run halcmd show all?
There is no need to guess at pin names
ill try it
Please Log in or Create an account to join the conversation.
01 Dec 2019 21:04 #151696
by PCW
Replied by PCW on topic 7i96 step + or -, + other question
show pin should show the spindle pin names
Note that these names have changed recently to allow multiple spindles
so depending on the exact LinuxCNC version you have, the spindle
control pins exported by LinuxCNCs motion component may differ
Note that these names have changed recently to allow multiple spindles
so depending on the exact LinuxCNC version you have, the spindle
control pins exported by LinuxCNCs motion component may differ
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
01 Dec 2019 21:05 - 01 Dec 2019 21:06 #151697
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
this looks like it
19 bit OUT FALSE spindle.0.forward
after i did halcmd: show pin spindle.0.
and i got all the spindle params
19 bit OUT FALSE spindle.0.forward
after i did halcmd: show pin spindle.0.
and i got all the spindle params
Last edit: 01 Dec 2019 21:06 by Leon82.
Please Log in or Create an account to join the conversation.
01 Dec 2019 21:12 - 01 Dec 2019 21:13 #151698
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
i also cheated a little bit
and found the signal link from a pnconf i played with
after combining them i think its working.
the led illuminated when i hit cw
net spindle-cw <= spindle.0.forward
net spindle-cw => hm2_7i96.0.ssr.00.out-00
so you have to send the signal to the pin then the pin to the output ?
and found the signal link from a pnconf i played with
after combining them i think its working.
the led illuminated when i hit cw
net spindle-cw <= spindle.0.forward
net spindle-cw => hm2_7i96.0.ssr.00.out-00
so you have to send the signal to the pin then the pin to the output ?
Last edit: 01 Dec 2019 21:13 by Leon82.
Please Log in or Create an account to join the conversation.
02 Dec 2019 00:03 #151712
by PCW
Replied by PCW on topic 7i96 step + or -, + other question
Basically you connect output pins to one or more input pins with a signal
net some_net_name some_output_pin some_input_pin1 some_input_pin2
which is identical to
net some_net_name some_output_pin
net some_net_name some_input_pin1
net some_net_name some_input_pin2
I think of net names as being like wires (with arbitrary names) so the above connections
could be done with a different signal name
net blue_wire some_output_pin
net blue_wire some_input_pin1
net blue_wire some_input_pin2
the => and <= are just for human readability
net some_net_name some_output_pin some_input_pin1 some_input_pin2
which is identical to
net some_net_name some_output_pin
net some_net_name some_input_pin1
net some_net_name some_input_pin2
I think of net names as being like wires (with arbitrary names) so the above connections
could be done with a different signal name
net blue_wire some_output_pin
net blue_wire some_input_pin1
net blue_wire some_input_pin2
the => and <= are just for human readability
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
02 Dec 2019 00:09 #151713
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
Thank you.
I played with the Hal command some more and set the coolant up.
I played with the Hal command some more and set the coolant up.
Please Log in or Create an account to join the conversation.
02 Dec 2019 13:49 #151744
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
Is it safe to close this relay with the outputs or should I use a smaller 5v relay to close this one?
www.mscdirect.com/product/details/54045950
www.mscdirect.com/product/details/54045950
Please Log in or Create an account to join the conversation.
02 Dec 2019 14:07 - 02 Dec 2019 14:08 #151746
by PCW
Replied by PCW on topic 7i96 step + or -, + other question
You can drive much larger relays/contactors/solenoid valves with the 7I96 outputs,
since they can switch 2 Amps, but you _must_ include a flyback diode across the
relay coil.
The flyback diode is installed with the cathode (band end) to + side of the relay coil
Check that the flyback diode is connected correctly by powering the relay
directly from your power supply (a reversed diode will cause a short and is
likely to damage the 7I96 output)
since they can switch 2 Amps, but you _must_ include a flyback diode across the
relay coil.
The flyback diode is installed with the cathode (band end) to + side of the relay coil
Check that the flyback diode is connected correctly by powering the relay
directly from your power supply (a reversed diode will cause a short and is
likely to damage the 7I96 output)
Last edit: 02 Dec 2019 14:08 by PCW.
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
02 Dec 2019 14:21 #151748
by Leon82
Ok thanks.
Replied by Leon82 on topic 7i96 step + or -, + other question
You can drive much larger relays/contactors/solenoid valves with the 7I96 outputs,
since they can switch 2 Amps, but you _must_ include a flyback diode across the
relay coil.
The flyback diode is installed with the cathode (band end) to + side of the relay coil
Check that the flyback diode is connected correctly by powering the relay
directly from your power supply (a reversed diode will cause a short and is
likely to damage the 7I96 output)
Ok thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.073 seconds