omron — STATE real-valued function

STATE real-valued function STATE real-valued function Syntax STATE (select) Function Return a value that provides information about the robot system state. Usage Considerations The STATE function returns information for the robot selected by the task executing the function. Parameter select Real value, variable, or expression (interpreted as an integer) that selects the category of state information returned. The information categories are listed below. For details on a category, click the category name to view its description.

Robot State (select=1) System Settings Current manual control mode (select=3) Hardware status (select=4) Settings of controller switches on the SmartController EX (select=5) Trajectory generator execution rate (select=13) Number of robot selected by the pendant (select=8) Robot Motion Information Current or previous robot motion (select=2) Status of Real-time path-modification facility (alter mode) for current motion= (select=6 and select= 7) Time until completion of robot motion (select=9) Percentage of current motion completed (select=10) Acceleration profile (select=11) eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 498