Rework on Anybus state machine