Need help with Collet closure output

More
25 Jul 2019 02:35 #140493 by remartinez
Good evening,
I have PathPilot V2.2.4 running with Mesa board 5i25 and 7176. I am trying to get the Collet closer output working but I have not had success. As you can see below that I have tried different outputs. If i change to anything else besides what is currently active (gpio -012) I get an error of "not found". Can some please help me out trying to figure this out.





# collet closer
#
#net dout-02 motion.digital-out-02 => parport.0.pin-09-out
# P3 pin 9 gpio 012
setp hm2_[HOSTMOT2](BOARD).0.gpio.012.is_output 1
setp hm2_[HOSTMOT2](BOARD).0.gpio.012.is_opendrain 0
setp hm2_[HOSTMOT2](BOARD).0.gpio.012.out 0
#net dout-02 motion.digital-out-02 => hm2_[HOSTMOT2](BOARD).0.gpio.012.out

#
# P3 pin 9 gpio 012
#setp hm2_[HOSTMOT2](BOARD).0.7i76.0.0.OUTPUT-01.is_output 1
#setp hm2_[HOSTMOT2](BOARD).0.7i76.0.0.OUTPUT-012.is_opendrain 0
#setp hm2_[HOSTMOT2](BOARD).0.7i76.0.0.OUTPUT-012.out 0
#net machine-ok-raw hm2_[HOSTMOT2](BOARD).0.7i76.0.0.input-00 => machine-ok-db.in


Thank you,
Raul

Please Log in or Create an account to join the conversation.

More
25 Jul 2019 05:02 - 25 Jul 2019 05:06 #140501 by PCW
1. if you have a 7I76, you probably do not want to touch _any_ GPIO pins
so delete any statement that refers to GPIO pins

2. You cannot set the mode of 7I76 field I/O
(you cannot use the is_output etc parameters, these only apply to GPIO)

3. Your field input pin name looks valid but none of the output names are valid
hm2_[HOSTMOT2](BOARD).0.7i76.0.0.output-14 would be a valid output name.
Notice that all hal names are case sensitive
Last edit: 25 Jul 2019 05:06 by PCW.

Please Log in or Create an account to join the conversation.

More
25 Jul 2019 23:14 #140588 by remartinez
PCW,

Thank you for the explanation. I now have the output working.

Thanks again,
Raul

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.063 seconds
Powered by Kunena Forum