i tried to change P5 to P1 and change the p paramater in g31 but it doesnt seem to work so i wil try to use a relay hopfully it wil work this way.
Thanks