Hello,
I am using the load module to run a winch until I hit an end stop at which point I need to switch channels on the load module and run the winch the other way until I hit another end stop and switch direction again.
The end stop switches are going to be digital inputs. The problem is that I cannot figure out how to monitor the digital inputs at the same time I have a channel open on the load module.
I know there is a create digital interrupt port. However, I cannot use port 3 on the sockets because those will be needed for analog inputs. So I need to figure out how to do this using regular digital inputs.
I have a hunch that it has something to do with threading and avoiding the use of the while loop. Any help would be appreciated as I am starting to run out of time in getting this implemented into our control system.
Thanks,
Jordan