Discussion

Left ArrowBack to discussions page
ModernDaveModernDave Posts: 8 Apprentice
I would like for my robot to deactivate its active IO whenever it crashes.

The robot and the IO will both shut off during a crash. But when i power the robot back on- the grinder/sander also activates while still making contact with the piece it was sanding/grinding, and can cause damage. 

Best Answer

  • matthewd92matthewd92 Posts: 812 Handy
    Accepted Answer
    Go to the IO setup on the Installation tab and set the outputs to be low when not running.  This will drop the output signals anytime the robot program stops executing, pause, stop, protective stop, etc.  You will need to handle getting the outputs back running again.  We usually do this by calling a flag in the main program and then use a thread to set the state of the output based on the state of that flag.  That way when the program stops the output turns off and when the program resumes we just set it to whatever state it should be.

Comments

Sign In or Register to comment.
Left ArrowBack to discussions page