CALL gm.eps.get (task, prev.state, eps.state)

 

Function

This subroutine returns the current or previous state of the main equipment processing state model.

Input Parameters

task

Task number for the task of interest (i.e., not the task index).

prev.state

Boolean TRUE to request the previous state, or FALSE to request the current state.

Output Parameter

eps.state

The previous or current state, values are:

-1

Unknown

0

 Running

1

Teach

2

 Pause

3

Idle

Details

See the standard AIM routine cu.set.mode( ) described in the AIM Customizer's Reference Guide for more information.

File: GEMENG.SQU

Related Routines

cu.set.mode