...

Function Tool

Import and declare the tool function:

from robot_library import Tool

tool = Tool()

SetTool:

tool.SetTool(‘tool_name’)

  • tool_name: is the name of the tool

MoveTo

tool.MoveTo(pos = int)

moveTo is used for tool where the servo option is selected. this function move the servo in the tool to the given position.

  • pos: End position of the tool

State

tool.State(state = String)

state is used for tools where the relay option is selected in the settings. State will turn the tool on or off.

  • state: tool state “HIGH” or “LOW”
Shopping Cart
Scroll to Top
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.