def Import_script_after(): set_analog_inputrange(0, 0) set_analog_inputrange(1, 0) set_analog_outputdomain(0, 0) set_analog_outputdomain(1, 0) set_tool_voltage(24) set_runstate_outputs([]) set_payload(0.0) set_gravity([0.0, 0.0, 9.82]) while True: $ 0 "Robot Program" $ 1 "MoveJ" $ 2 "Waypoint_1" movej([-0.5263706597088378, -1.8182878349727298, -1.8120234982472114, -1.3619128328552264, 3.214885380931556, -0.27251695975573664], a=1.3962634015954636, v=1.0471975511965976) set_digital_out(8,False) sleep(1.0) set_digital_out(9,True) $ 4 "Waypoint_2" movej([-0.8560998108900053, -1.7976119215251396, -1.7847397963745542, -1.410065160905723, 3.2146832909469674, -0.27251695975573664], a=1.3962634015954636, v=1.0471975511965976) set_digital_out(8,True) sleep(2.0) set_digital_out(9,False) end end