Solid state simulating relay logic