- Posts: 175
- Thank you received: 0
PlasmaC Fiber laser 1Kw head height control + auto focuas
how about limit switch
to which pin it go.. quad A and B ?
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
To any pin that is not used as and stepgen or PWM or encoder.taloot wrote: how about limit switch
to which pin it go.. quad A and B ?
All of them can be used as inputs or outputs, just set them in hal, like so:
Please Log in to join the conversation.
That is, special _input_ functions can always be used as GPIO
(of course you cannot use the encoder if A or B are used for GPIO)
Please Log in to join the conversation.
and the GPIO pin number is represent the FPGA numbertommylight wrote:
To any pin that is not used as and stepgen or PWM or encoder.taloot wrote: how about limit switch
to which pin it go.. quad A and B ?
All of them can be used as inputs or outputs, just set them in hal, like so:ORCode:# --- DOUT-00 --- setp [HMOT](CARD0).gpio.005.is_output true #net dout-00 => [HMOT](CARD0).gpio.005.out net plasmac:float-switch => [HMOT](CARD0).gpio.005.out #setp [HMOT](CARD0).gpio.005.invert_output trueThose are just examples, edit them to suit what you need.Code:# --- PROBE-IN --- #net probe-in <= [HMOT](CARD0).gpio.003.in_not
in your example u use 3 and 5 ... this number is I\O number (FPGA PIN number)
in my firmware that PCW make... i will use the NONE labled pin
which is 1 3 13 18 20 30
Please Log in to join the conversation.
as inputs, these map into:
So 10 inputs are available as GPIO inputs for limit switches etc
Please Log in to join the conversation.
everything works OK... thanks for the big help..
but now i have an issue... and its the last one
the focus i use 4th axis setup
it works ok if i jog it.
but i cant sent the axis to specific command potion without having joint following error
its because the qtpy sent the exact location to the axis.. which generate this error...not ramp to it
so how can i send axis to specific location using halcmd
i cant find solution for this
i want to send a command like in MDI..
i know that from halui i can do it... but is it valid while program is running?
also plasmac probe twice.. how can i make it once
Please Log in to join the conversation.
I don't think it is valid.taloot wrote: so how can i send axis to specific location using halcmd
i cant find solution for this
i want to send a command like in MDI..
i know that from halui i can do it... but is it valid while program is running?
You may be able to achieve this with a HAL component that utilises external offsets.
linuxcnc.org/docs/2.8/html/motion/external-offsets.html
It probes twice if it senses the probe before it has reached Probe Height set in the Config Panel. You could increase Probe Height until you finf the value that suits your machine and material.also plasmac probe twice.. how can i make it once
Please Log in to join the conversation.
is there any command allow me to test the head follower aka thc
without running programe
Please Log in to join the conversation.
Please Log in to join the conversation.
by mistake i burn one of the fpga pin.. for encoder A,, but B still ok.. can i use B line instead of Ataloot wrote: i rework the capacitance sensing
is there any command allow me to test the head follower aka thc
without running programe
Please Log in to join the conversation.
