omron — STATE real-valued function

STATE real-valued function When select is 20 through 27, the function returns detailed information on the planned execution time of the current motion (or the previously executed motion if the robot is stopped). Note, unlike STATE(9) that returns the remaining motion execution time corrected for the monitor speed setting, the values returned by STATE(20) through STATE(27) are the planned values and are not affected by the setting of the monitor speed value. The values returned by these functions (in units of seconds) are: When select = 30, the function returns the state of the Front Panel power light. The possible values returned by this function are:

eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 505 Value Interpretation (select = 19) 0 Not a MOVEF/MOVESF motion. 1 Depart segment of MOVEF/MOVESF 2 Horizontal segment of MOVEF/MOVESF 3 Final segment of MOVEF/MOVESF select Information returned 20 Acceleration ramp up time 21 Constant acceleration time 22 Acceleration ramp down time 23 Constant velocity time 24 Deceleration ramp up time 25 Constant deceleration time 26 Deceleration ramp down time 27 Total motion time (sum of STATE(20) through STATE(26)) Value Interpretation (select = 30) 0 Light is off.