Orchestrating PD, non-fusing and fusing test sequences
One table, three test types
The 500 ms monitoring loop
Automatic mode from reference files
A snippet from the implementation
Straight from the example as deployed on the Raspberry PLC 19R — copy it freely:
def select_base(base):
"""Energize only the relay of the chosen base (the rest stay open)."""
for name, relay in BASE_RELAY.items():
rpiplc.pin_mode(relay, rpiplc.OUTPUT)
state = rpiplc.HIGH if name == base else rpiplc.LOW
rpiplc.digital_write(relay, state)The full example is a complete program — wiring header, setup and main loop — ready to adapt to your application.
Frequently asked questions
Why is the blown threshold 50% of the setpoint?
A constant-current supply keeps current at the setpoint while the circuit conducts. When the element melts, current collapses toward zero; 50% is far below any normal fluctuation, so the criterion never false-triggers.
How are different fuse holders selected?
Each holder size (10x38, 14x51, 22x58, NH) is wired through its own PLC relay. The sequence energizes exactly one relay before powering up, so the wrong base can never be in circuit.
Can the sequence abort mid-test?
Yes. The interlock check runs before every sample, and any trip — e-stop, microfuse, supply flag — cuts the output and returns an ABORTED verdict with the reason, which lands in the report.