- Posts: 19311
- Thank you received: 4655
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
mooser wrote: Now, lets say I want to turn on a single output pin, line an enabled signal just straight on/off?
I thought maybe setp hm2_5i25.0.gpio.01 1
but that would be too simple
Please Log in or Create an account to join the conversation.
andypugh wrote:
mooser wrote: Now, lets say I want to turn on a single output pin, line an enabled signal just straight on/off?
I thought maybe setp hm2_5i25.0.gpio.01 1
but that would be too simple
If that is the pin name, that is exactly what you would do. Except that I think that GPIO-01 is allocated to stepgen.04.step. it should work for gpio.00 on physical pin 1 though.
You might also need:
setp hm2_5i25.0.gpio.00.is-output 1
(That will be in the parameter list, not the pin list).
The documentation for Hostmot2 is here, though it could do with some improvements in the formatting.
linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html
You probably only care about the GPIO and stepgen sections.
Do you know what the desired frequency is for the charge-pump circuit on the C11G?
Please Log in or Create an account to join the conversation.
mooser wrote: 12.5khz for the chargepump
Please Log in or Create an account to join the conversation.
andypugh wrote:
Code:#set the stepgen on pin 14 to velocity mode
Please Log in or Create an account to join the conversation.