FLOWBENCH

# the FLOWBENCH commands are design to control the TIMPELMAN head
# flow rigs

#####################################################################
#      
#      return_variable
#      
#         return_variable is the label of an INTEGER variable which
#         will contain the value of the position manager response to
#         the last command issued.  The last command issued will be
#         any command which gets an error return from the position
#         manager or the last command in the list.  Any negative
#         response from the position manager will result in the
#         "failure_path" being taken.  For either success or failure,
#         the return variable will contain the position manager response
#         for the last command issued.
#   
#         If no return variable is required, the field is optional, 
#         except for the case where a 'value' field is used.  Then
#         the return variable field should be filled with a dash '-'.   
#      
#      value
#      
#         The value field can be a constant, variable label, or 
#         computed expression.  It is assumed that the units of
#         the value sent to the position manager are to be [mm].        
#   
#   There may be up to 16 @FLOWBENCH commands per test mode
#
#
#   device   -   is one of the following
#
#      VALVE_OPENER
#      TURNING_TABLE
#      FRAME_DRIVE
#      BLOWER
#      
#      
#      
#   command  -     is one of the following
#   
#      INIT
#      SET_REF
#      MOVE_POSITIVE_LIMIT
#      MOVE_NEGATIVE_LIMIT
#      FIRST_STEP
#      NEXT_STEP
#      MOVE_TO_STEP,
#      MOVE_TO_ABSOLUTE
#      MOVE_TO_RELATIVE
#      STOP_MOVEMENT
#      STOP_BLOWER,
#      START_BLOWER,
#      RETRY_BLOWER,
#      RESET_FREQUENCY,
#      RESET_PM,



@FLOWBENCH
   #device        command        return variable    value(optional)
   VALVE_OPENER   SET_REF        retn
   VALVE_OPENER   MOVE_RELATIVE  retn_valve         10[mm]