Read S3, S4 and S5 pins via packet serial

General discussion of using Roboclaw motor controllers
Post Reply
falkoschindler
Posts: 4
Joined: Mon Aug 17, 2020 2:19 am
Read S3, S4 and S5 pins via packet serial

Post by falkoschindler »

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!
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Read S3, S4 and S5 pins via packet serial

Post by Basicmicro Support »

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.

Post Reply