- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Q re. motion. function (output from pncconf)
Q re. motion. function (output from pncconf)
- 1:1
- Offline
- Premium Member
- Posts: 84
- Thank you received: 0
setp hm2_5i22.0.gpio.050.is_output true
net enable => hm2_5i22.0.gpio.050.out
net enable => motion.motion-enabled
hmmmm,
The motion.9 manual page says motion-enabled is an input
Seems to me motion.motion-enabled as an input is expecting a value has been wired to a physical output than expects an input (to output) ... Ha ha, oh dear - the confusion! . At least the arrows seem to be indicate what I mean.
How does this work ? (it appears to work in the actual hardware)
Kind regards,
nick
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
- Posts: 17882
- Thank you received: 4772
the 7I37 isolated output switches are on when their logic input is low.
To make the internal hal signals be active high (true=on) the output should have the invert-output flag set true
Please Log in or Create an account to join the conversation.
- 1:1
- Offline
- Premium Member
- Posts: 84
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
- Posts: 7762
- Thank you received: 2047
if you look carefully somewhere there will be a pin driving the enable signal
Please Log in or Create an account to join the conversation.
- 1:1
- Offline
- Premium Member
- Posts: 84
- Thank you received: 0
searched for the string " enable" (with the space in front)
Please Log in or Create an account to join the conversation.
- 1:1
- Offline
- Premium Member
- Posts: 84
- Thank you received: 0
theres no pin driving it
found another glitch also - see the attached screen capture then look into the HAL file - you'll see both drive enable pins have been sent to the same I/O (and that opendrain issue which you know about already)
I'm trying to nut out a drive enable issue in case you're wondering why I had two outputs there
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
- Posts: 7762
- Thank you received: 2047
The two signals being on the same pin number is an issue without a simple answer.
maybe i should have separate enable output signals for each axis available....
Please post your pncconf file. archive (zip) it first. I'm off to bed will look at it in morning.
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
- Posts: 1776
- Thank you received: 292
net enable is Amplifier enable in pncconf
works fine here , so you may need to invert the output to suit
Please Log in or Create an account to join the conversation.
- 1:1
- Offline
- Premium Member
- Posts: 84
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- 1:1
- Offline
- Premium Member
- Posts: 84
- Thank you received: 0
what exactly is your problem ? , Amplifier Enable pin selection ?
net enable is Amplifier enable in pncconf
works fine here , so you may need to invert the output to suit
The problem is that it appears pncconf has wired two inputs to nothing ...
I was using it to help learn to write my own hal but now I don't know what to do
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Q re. motion. function (output from pncconf)