Solo: Confused about SetPinFunctions and S2 ... S5 Modes and Firmware 4.1.33
Posted: Tue May 28, 2019 7:13 am
Hello everybody,
we just went from 4.1.29 to 4.1.33. The "Limit Switches" or E-Stop are no longer working as before. Reading the Datasheet and User Guide leaves me in utter confusion . The Device is a RoboClaw Solo 30A, packet serial, communication is over USB only.
I have a linear movement with two limit switches, one at each end, connected in serial to S3 (according to the Datasheet. I already deduced that S3 in SetPinFunctions is NOT the S3 pin at the physical device.
With 4.1.29 i used SetPinFunctions to set S4 mode to SIGTYPE_LIMIT. Then the motor stopped if one of the switches was hit --> OK
This no longer works with 4.1.33.
In the Motion Studio i see an S2 function, but S2 is a serial data pin
I also see an S3 function, which, when set to Limit Switch (both) no longer works with 4.1.33
The User guide and Motion Studio seem to suggest that i can set S2 to E-Stop also. But SetPinFunctions supports S3, S4 and S5, but not S2.
Suspicion: S2 in User Guide and Motion Studio is really S3 in SetPinFunctions and S3 is really S4. S5 is for the second motor and not used in the SOLO.
Still, how do i use S3 as a limit switch just like in 4.1.29 And what exactly is the difference between the Limit Switch function and the E-Stop? Both stop the Motor.
Best Regards,
Christof
we just went from 4.1.29 to 4.1.33. The "Limit Switches" or E-Stop are no longer working as before. Reading the Datasheet and User Guide leaves me in utter confusion . The Device is a RoboClaw Solo 30A, packet serial, communication is over USB only.
I have a linear movement with two limit switches, one at each end, connected in serial to S3 (according to the Datasheet. I already deduced that S3 in SetPinFunctions is NOT the S3 pin at the physical device.
With 4.1.29 i used SetPinFunctions to set S4 mode to SIGTYPE_LIMIT. Then the motor stopped if one of the switches was hit --> OK
This no longer works with 4.1.33.
In the Motion Studio i see an S2 function, but S2 is a serial data pin
I also see an S3 function, which, when set to Limit Switch (both) no longer works with 4.1.33
The User guide and Motion Studio seem to suggest that i can set S2 to E-Stop also. But SetPinFunctions supports S3, S4 and S5, but not S2.
Suspicion: S2 in User Guide and Motion Studio is really S3 in SetPinFunctions and S3 is really S4. S5 is for the second motor and not used in the SOLO.
Still, how do i use S3 as a limit switch just like in 4.1.29 And what exactly is the difference between the Limit Switch function and the E-Stop? Both stop the Motor.
Best Regards,
Christof