The outputs have no electricity when power fails.

USB communications that does not work points to improper grounding of AC 24 V operating voltage (connection ⏊ must be grounded).