- Posts: 5712
- Thank you received: 0
plasmac error
5 years 6 months ago #204686
by phillc54
Replied by phillc54 on topic plasmac error
Something like below, changing pin names and delay to suit:
linuxcnc.org/docs/devel/html/man/man9/dbounce.9.html
Code:
loadrt dbounce names=db_z_pos_lim
addf db_z_pos_lim servo thread
setp db_z_pos_lim.delay 3
net z_pos_lim_raw hm2_7i96.0.gpio.000.in => db_z_pos_limit.in
net z_pos_lim db_z_pos_lim.out => joint.3.pos-lim-sw-in
linuxcnc.org/docs/devel/html/man/man9/dbounce.9.html
Please Log in to join the conversation.
5 years 6 months ago #204687
by motal2004
Replied by motal2004 on topic plasmac error
Would this me in my connection hal file Or the regular hal file?
Please Log in to join the conversation.
5 years 6 months ago #204689
by phillc54
Replied by phillc54 on topic plasmac error
probably in your regular hal file, there will be existing connections there you need to break.
Please Log in to join the conversation.
5 years 6 months ago #204692
by motal2004
Replied by motal2004 on topic plasmac error
the breaks sound like fun times
Please Log in to join the conversation.
5 years 6 months ago #204702
by motal2004
Replied by motal2004 on topic plasmac error
any one willing to help me here with the dbounce i tried and keep getting error, here is my hal file
please and thank you
Attachment not found
please and thank you
Please Log in to join the conversation.
5 years 6 months ago #204703
by phillc54
Replied by phillc54 on topic plasmac error
What is the error message?
Please Log in to join the conversation.
5 years 6 months ago #204705
by phillc54
Replied by phillc54 on topic plasmac error
Try this:
Code:
# --- MAX-HOME-Z ---
#net max-home-z <= hm2_7i96.0.gpio.037.in_not
#net max-home-z <= hm2_7i96.0.gpio.037.in
loadrt dbounce names=db_max-home-z
addf db_max-home-z servo-thread
setp db_max-home-z.delay 3
net max-home-z_raw hm2_7i96.0.gpio.037.in => db_max-home-z.in
net max-home-z <= db_max-home-z.out
Please Log in to join the conversation.
5 years 6 months ago #204792
by motal2004
Replied by motal2004 on topic plasmac error
i get this error
hm2/hm2_7i96.0: IO Pin 050 (P1-25): IOPort
hm2/hm2_7i96.0: registered
HAL: ERROR: bad position: 0
twopass: Error in file ./m6.hal:
addf failed
Shutting down and cleaning up LinuxCNC...
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/cnc/linuxcnc_debug.txt
and
/home/cnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
hm2/hm2_7i96.0: IO Pin 050 (P1-25): IOPort
hm2/hm2_7i96.0: registered
HAL: ERROR: bad position: 0
twopass: Error in file ./m6.hal:
addf failed
Shutting down and cleaning up LinuxCNC...
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/cnc/linuxcnc_debug.txt
and
/home/cnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
Please Log in to join the conversation.
5 years 6 months ago #204794
by PCW
Replied by PCW on topic plasmac error
addf db_max-home-z servo thread
should probably be
addf db_max-home-z servo-thread
should probably be
addf db_max-home-z servo-thread
Please Log in to join the conversation.
5 years 6 months ago #204796
by motal2004
Replied by motal2004 on topic plasmac error
[strike]that work. linuxcnc complies and opens up. Now i get this error
joint 3 on limit switch error
emc/task/taskintf.cc 947: Error on joint 3, command number 166
/usr/lib/python2.7/dist-packages/gmoccapy/notification.py:168: GtkWarning: Invalid icon size 48
self.popup.show()[strike][/strike][/strike]
i had a typo in my hal file
joint 3 on limit switch error
emc/task/taskintf.cc 947: Error on joint 3, command number 166
/usr/lib/python2.7/dist-packages/gmoccapy/notification.py:168: GtkWarning: Invalid icon size 48
self.popup.show()[strike][/strike][/strike]
i had a typo in my hal file
Please Log in to join the conversation.
Time to create page: 0.207 seconds
