Set sequence of machine state