Limit Switch Troubles - HAL Debounce

More
6 years 6 months ago - 6 years 6 months ago #166001 by andypugh

jay.perez1 wrote: but the concepts of 'Groups' and 'Channels' are something I haven't run into before


I made them up on the spot to try to explain the setup. Clearly I chose badly if it isn't obvious what I meant.


I copied the code you provided in your last response and get two error messages when starting LCNC
./6040.hal:129: Pin 'axis.0.neg−lim−sw−in' does not exist


Somehow, somewhere, something has swapped the minus sign - for em-dashes − in that code. This might be my fault for using my Mac to reply. So, swap all the dashes for minus-signs.


./6040.hal:130: Pin 'axis.0.home-sw-in' was already linked to signal 'all-limit-home'


It looks like you have already linked the home switches earlier in the HAL file. You need to remove the lines that begin "net all-limit-home"
Last edit: 6 years 6 months ago by andypugh.

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

Time to create page: 0.134 seconds
Powered by Kunena Forum