_R-STS01mightyZAP Servo Tester Shield Manual_ENG_V1.2 19D5
IR-STS01 Servo Tester Shield Manual V.1.1
27
6.9. Example - Alarm LED
Setting LED Alarm indicator by AlarmLed()
Select [Example] - [MightyZap] - [UNO]or[LEO]–[ServoTester_ AlarmLed]
.
Tester.Mightyzap.alarmLed(int ID_NUM)/Parameter Read
• Function : Servo motor LED read
• Parameter
- ID_NUM : Servo motor ID
Tester.Mightyzap.alarmLed(int ID_NUM,Int Alarm)/Parameter Write
• Function : Servo motor LED write
• Parameter
- ID_NUM : Servo motor ID
- Alarm : Servo motor Alarm LED 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
alarmLed()
- When Error occurs, LED will be ON if bit is set at 1. (1=enable /
0=disable)
Example shows flickering LED operation and low bit has a priority
when different errors occur at the same time.
After error condition is resolved, alarm will be inactivated after 2
sec and return to normal status.