getmode, setmode

           
class getmode(Macro, _diffrac):
    """Get operation mode."""

class setmode(Macro, _diffrac):
    """Set operation mode.""" 
    
    param_def = [
       ['new_mode', Type.Integer, -1, "Mode to be set"]
    ]

p09/door/haso107d1.01 [9]: setmode 1
Now using bissector_vertical mode

p09/door/haso107d1.01 [10]: getmode
bissector_vertical



2019-11-13