Status for Output

Hi is there any status, what i can use for an output that should activate when engine is running?

Just do it like that:
image

Or u can use the variable “engine state”. 0=off; 1=cranking; 2=running

Thx for answer, i run this setup, my problem is that my steeringpump need to much amps so i will try the variable.