Why does the “Program State” light blink red?
**This happens if you have some code violation. Examples of this include modifying restricted registers, incorrect initialization, getting stuck in infinite loops, or failing to communicate with the Master processor frequently enough (through the Putdata command). The Master processor will hold the User processor in reset.
If you are programming a Full-size Robot Controller it is very easy to get more specific information about the code violation which caused the error. To do this you must have installed the Dashboard Viewer application, available from our web site.
To determine the nature of your error, follow these steps:
- Start Dashboard Viewer and select the appropriate COM port.
- Connect a serial cable from that COM port on your PC to the DASHBOARD port on your Operator Interface.
- Make sure that your Operator Interface and Robot Controller are powered up and linked via radio or tether.
- Set the “OI/RC” jumper located between the DASHBOARD port and PORT 1 to “RC”.
- Read the USER VIOLATION at the bottom of the Dashboard Viewer window.
Now you have a hint at the direction to take in debugging your code.
Because the Dashboard Viewer only works with the Full-size Robot Control System, you cannot use these steps to determine the error code on a Mini RC.**