- Thank you received: 0
problem with Spindle forward & reverse output
- markd
- Topic Author
- New Member
-
VFD TECO JNEV-201-H1
Attachment not found
Please Log in to join the conversation.
linuxcnc.org/docs/2.7/html/gui/axis.html#_manual_control
JT
Please Log in to join the conversation.
- markd
- Topic Author
- New Member
-
- Thank you received: 0
As you can see I have much to learn.
Please Log in to join the conversation.
markd wrote: Is this in the INI file in my machine directory?
Yes.
JT
Please Log in to join the conversation.
- markd
- Topic Author
- New Member
-
- Thank you received: 0
I apologize for my lack of knowledge but I have not found a solution in the manuals so far.
Please Log in to join the conversation.
the axis direction buttons are already connected , axis is configured internally.
you appear to be sending the spindle enable out through a second 7i77 (.0.1.spinena) rather than the default .0.0
and using a different gpio to the Spindle direction
i.e net spindle-ccw => hm2_5i25.0.7i77.0.0.spindir
if your spindle enable is correct then for the default direction output opto the line would be
net spindle-ccw => hm2_5i25.0.7i77.0.1.spindir
your outputing to a gpio pin
if the relay is not switching you may need to invert the pin , if your using the opto direction output , it's probably the way it's wired
the spindle pins are connected here: ,
net spindle-cw <= motion.spindle-forward
net spindle-ccw <= motion.spindle-reverse
as your gpio pins are connected as :
net spindle-ccw hm2_5i25.0.7i77.0.0.output-15
then this is correct , however your not enabing the correct channel
some entrys you have as i assume correct as .0.0. others for the same channel as 0.1.
have you hand edited and slipped in a few typo's perhaps
Please Log in to join the conversation.
markd wrote: OK I looked at the INI file again but can't see how I would connect the axis spindle direction buttons to the hal spindle-cw which is connected to output 14 of the 7i77 already. If I try to connect the button to spindle-cw I get an error that the pin is already assigned.
I apologize for my lack of knowledge but I have not found a solution in the manuals so far.
I'm sorry sometimers must have crept in not the ini but the hal file. Here is my hal file to get the reverse button to show up in Axis. If Axis sees the motion.spindle-reverse it shows the reverse button. Same for the fwd button
JT
Please Log in to join the conversation.
- markd
- Topic Author
- New Member
-
- Thank you received: 0
I am a little confused as the only hand editing I have done so far is for the estop chain and the output 14 & 15 everything else was created by PNCconf.
Is the problem that all of the references to 7i77.0.1. for a second board?
Please Log in to join the conversation.
and the analog section (+-10V outputs and enables)
The digital section will have a 7i77.0.0 in the name and the analog section will have 7i77.0.1 in the name
Please Log in to join the conversation.
