r-t7 state diagram v1