Debounce and Base-Thread Help Needed

More
6 years 9 months ago #155853 by tommylight

Clive S wrote:

bbsr_5a wrote: Dont use to many
SPACE Lines and also Comment lines #
from 2.8 update to 2.9 id id run in Problems on this issue
someone told me this
i removed this lines to a min at 2lines to the next and Wonders disapeard
Remember the planer does run to this files on regular bases this might interfear the system at Speed cuting


Is this true? As I like to add add a few spaces and ### In my files as I find then easier to read.

This is the IO.hal file on some of my configs, no issues.
##########################################################################
############### EDIT BELOW THIS LINE for 7i96 ############################
##########################################################################
# Change the pins to corespond to inputs from THC or BOB for UP and DOWN signals
# For negative inputs use the omited part
#
#net MoveDown hm2_7i96.0.gpio.034.in => or2.0.in0
#
#net MoveUp hm2_7i96.0.gpio.035.in => or2.0.in1 mux2.1.sel
#
# Change the pins to corespond to Z-Home limit swith and ARCOK input from THC or BOB
# For negative inputs use the omited part
#
#net FloatSwitch hm2_7i96.0.gpio.036.in => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
#
#net ArcOK hm2_7i96.0.gpio.037.in => or2.4.in1 xor2.1.in1 oneshot.2.in
#
# Change the pin number to corespond to where your "spindle on" or relay is connected for starting the torch.
#
#net TorchOn => and2.3.out hm2_7i96.0.gpio.038.out oneshot.1.in not.2.in
##########################################################################
################################ EOF #####################################
##########################################################################

##########################################################################
############### EDIT BELOW THIS LINE for 7i76E ############################
##########################################################################
# Change the pins to corespond to inputs from THC or BOB for UP and DOWN signals
# For negative inputs use the omited part
#
#net MoveDown hm2_7i76e.0.7i76.0.0.input-00 => or2.0.in0
#
#net MoveUp hm2_7i76e.0.7i76.0.0.input-01 => or2.0.in1 mux2.1.sel
#
# Change the pins to corespond to Z-Home limit swith and ARCOK input from THC or BOB
# For negative inputs use the omited part
#
#net FloatSwitch hm2_7i76e.0.7i76.0.0.input-02 => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
#
#net ArcOK hm2_7i76e.0.7i76.0.0.input-03 => or2.4.in1 xor2.1.in1 oneshot.2.in
#
# Change the pin number to corespond to where your "spindle on" or relay is connected for starting the torch.
#
#net TorchOn => and2.3.out hm2_7i76e.0.7i76.0.0.output-00 oneshot.1.in not.2.in
##########################################################################
################################ EOF #####################################
##########################################################################


##########################################################################
############### EDIT BELOW THIS LINE for 7i77 ############################
##########################################################################
# Change the pins to corespond to inputs from THC or BOB for UP and DOWN signals
# For negative inputs use the omited part
#
net MoveDown torchud.move-down => or2.0.in0
#
net MoveUp torchud.move-up => or2.0.in1 mux2.1.sel
#
# Change the pins to corespond to Z-Home limit swith and ARCOK input from THC or BOB
# For negative inputs use the omited part
#
net FloatSwitch hm2_5i25.0.7i77.0.0.input-02 => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
#
net ArcOK torchud.arc-ok => or2.4.in1 xor2.1.in1 oneshot.2.in
#
# Change the pin number to corespond to where your "spindle on" or relay is connected for starting the torch.
#
net TorchOn => and2.3.out hm2_5i25.0.7i77.0.0.output-00 oneshot.1.in not.2.in
##########################################################################
################################ EOF #####################################
##########################################################################
The following user(s) said Thank You: Clive S

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

More
6 years 9 months ago #155863 by Clive S
Exactly B)
The following user(s) said Thank You: tommylight

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

More
6 years 8 months ago #156586 by andypugh

bbsr_5a wrote: Remember the planer does run to this files on regular bases this might interfear the system at Speed cuting


This is not true. The HAL file is parsed exactly once at system startup. It is used to move all the HAL pin pointers to the right places in the shared memory section. From that point on the HAL file is never used again.

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

Time to create page: 0.254 seconds
Powered by Kunena Forum