Read S3, S4 and S5 pins via packet serial
-
- Posts: 4
- Joined: Mon Aug 17, 2020 2:19 am
Read S3, S4 and S5 pins via packet serial
I'm wondering if it is possible to read the current status (high or low) of the S3, S4 and S5 pins via packet serial communication.
Although command 90 (Read Status) contains flags for "S4 signal triggered" and "S5 signal triggered", this is not exactly the state of those pins, since it stays high until, e.g., the motor moved out of the limit, even though the switch itself might be low already.
Is there a way to access this information? Thanks!
Although command 90 (Read Status) contains flags for "S4 signal triggered" and "S5 signal triggered", this is not exactly the state of those pins, since it stays high until, e.g., the motor moved out of the limit, even though the switch itself might be low already.
Is there a way to access this information? Thanks!
- Basicmicro Support
- Posts: 1594
- Joined: Thu Feb 26, 2015 9:45 pm
Re: Read S3, S4 and S5 pins via packet serial
There is no way to read the current state of the signal pins. They have specific set functions and each function mode has different operation, but none will just read the physical state.