_R-STS01mightyZAP Servo Tester Shield Manual_ENG_V1.2 19D5

IR-STS01 Servo Tester Shield Manual V.1.1
28
6.10. Example - AlarmShutdown
Example for alarm shutdown(power cut off when error occurs) using AlarmShutdown() command.
Select [Example] - [MightyZap] - [UNO] or [LEO]–[ServoTester_ AlarmShutdown]
Tester.Mightyzap.alarmShutdown(int ID_NUM)/Parameter Read
Function : Servo motor alram shutdown read
Parameter
- ID_NUM : Servo motor ID
Tester.Mightyzap.alarmShutdown(int ID_NUM,Int Alarm)/Parameter Write
Function : Servo motor alram shutdown write
Parameter
- ID_NUM : Servo motor ID
- Alarm : Servo motor Alarm Shutdown setting
Error Bit
RESERVED 7
Instruction Error 6
Overload Error 5
Checksum Error 4
Range Error 3
Stroke Limit Error 1
Input Voltage Error 0
alarmShutdown()
When error occurs, power will be off(servo shutdown) to protect
servo motor. Setting bit as 1, this function will be enabled.
(1=enable / 0=disable)
After alarm shutdown setting using alarmShutdown() function,
make an error condition on purpose using other command which
may make an error.