How do I make the drive start immediately after power up or fault reset?

In M300 Series and C2000 Series, set Pr.02-35 = 1

With those settings, the drive does not wait for a rising flank but starts according to the signal level.
Exception: Due to compliance with safety requirements and safety certification, the drive will still wait for a rising flank after STO reset before starting the motor