MMC:CFG_1.0::
# MMC : RAPID PROGRAMMING RULES (HIRULE) FOR CLASS RLEXE
# $Revision: 1.1 $

MMC_REAL_ROUTINE:
# -name	        Name of RAPID/ReaL routine eg. movel    (MAN)			
# -default_     Default parameter struct(15)		(OPT)
#  struct       Array position -> PGM's fix (max) parameter no
#               0   -> Optional parameter not present
#               1   -> Required/Optional parameter present
#               1-4 -> Optional alternative parameter present
#               eg. 0,1,1,0,1,0,1,0 for movel
# -last_struct  Last used parameter struct(15)		(OPT)
#               (cfg-file -> Not used
#                HIRULE   -> Update)
# ************* Translation to local language ************************
#     		-> None

#-name stopmove
#-name startmove
-name stop	  -default_struct 0
-name waittime    -default_struct 0,1
-name waituntil   -default_struct 0,1,0,0
-name waitdi      -default_struct 1,1,0,0
-name waitdo      -default_struct 1,1,0,0

MMC_INST_NOT_REUSING_PREV_OPT_ARG:
#               Instructions with optional parameters/
#               Skip previous used optional parameter
#               in actual instruction.
# -name	        Name of RAPID/ReaL routine		(MAN)
#               eg. movel
# -param_nr	Parameter struct no			(MAN)
#               (PGM's fix (max) parameter no)

-name stop	-param_nr 1
-name waittime	-param_nr 1
-name waituntil	-param_nr 1,3,4
-name  waitdi	-param_nr 3,4
-name  waitdo	-param_nr 3,4

MMC_REAL_PARAM:
# -name	        Name of RAPID/ReaL routine_parameter	(MAN)
#               eg. movel_topoint
# -name_rule    Parameter name rule			(MAN)
#       NONE -> No rule means unexpanded placeholders
#       SEQ  -> Use sequence name rule as defined by       *)
#               - method hirule_robtarget
#       CUR  -> Use current name as defined by      
#               - method hirule_tooldata
#               - method hirule_wobjdata
#       LAST -> Use last programmed name or value          *)
#               Attribute -def_name -> Default name or value
#       DEF  -> Use default name or value as defined by
#               attribute -def_name
# -method       Reference to predefined method		(OPT)
#               -method hirule_robtarget
#               -method hirule_tooldata
#               -method hirule_wobjdata
# -def_name     The name or value for the rule LAST/DEF	(OPT)
#               *) HIRULE update
# ************* Below attributes not supported yet *******************
# -max_value    Max. value for data type num		(OPT)
#               (or alias of num)
# -min_value    Min. value for data type num		(OPT)
# -measure      Measurement unit for non-composite	(OPT)
#               data type eg. mm, s
# ************* Translation to local language ************************
#     		-> -def_name xxxx (if applicable)

-name waituntil_maxtime 	-name_rule LAST -def_name 60
-name waituntil_timeflag  	-name_rule LAST

-name waitdi_value 		-name_rule DEF  -def_name 1
-name waitdi_maxtime 		-name_rule LAST -def_name 60
-name waitdi_timeflag  		-name_rule LAST

-name waitdo_value 		-name_rule DEF  -def_name 1
-name waitdo_maxtime 		-name_rule LAST -def_name 60
-name waitdo_timeflag  		-name_rule LAST

MMC_NO_NOREGAIN:
#               Instructions with not allowed NOREGAIN
#               
# -name	        Name of RAPID/ReaL routine		(MAN)
#               eg. movec

-name startmove


MMC_REAL_DATATYPE:
# -name	        Name of RAPID/ReaL data type		(MAN)
#               eg. robtarget
# -def_name     Default base data name eg. tool		(MAN)
# -value_rule   Value rule for new data			(MAN)
#   NONE     -> "Clear" value (0, "", FALSE)
#               No initialize value for non-value data type
#   CUR      -> Use current value as defined by
#               - method hirule_robtarget
#   DEF      -> Use default value defined by attribute
#               -use_value
# -method       Reference to predefined method          (OPT)
#               - method hirule_robtarget
# -use_value    The default value for the rule DEF	(OPT)
# -object_type  Default data object type		(MAN)
#   CONST    -> Constant
#   VAR      -> Variable
#   PERS     -> Persistent variable
#   REC_COMP -> Record component (not supported yet)
# ************* Below attributes not supported yet ******************
# -max_value    Max. value for data type num		(OPT)
#               (or alias of num)
# -min_value    Min. value for data type num		(OPT)
# -measure      Measurement unit for non-composite	(OPT)
#               data type eg. mm, s
# ************* Translation to local language ************************
#     		-> -def_name xxxx (if applicable)

