DCC-EX / Support-Planning

DCC++EX Repo to hold project planning documentation and processes
1 stars 1 forks source link

short circuit. #685

Open fire-bot opened 1 month ago

fire-bot commented 1 month ago

Sent by psiver@alice.it (psiver@alice.it). Created by fire.


I would like to know what to do to disable the voltage on the track in case of a short circuit.
Thanks Giuseppe Sivero.

Ash-4 commented 1 month ago

The normal overcurrent protection will check to see if the short has been resolved and automatically re-apply power. You can see how this works by viewing the serial monitor. If you want power off, there is a newer EXRAIL command in devel branch which can be used to do that. This example shows how to do that for Track A, with lines added to myAutomation.h.

ONOVERLOAD(A)
    SET_POWER(A, OFF)
DONE