iol-hat:faq:solenoids
Q: I attached an IO-Link solenoid to the IOL HAT, but on switching, the communication fails
Errors like this one appear before failure:
[16:37:36 ERROR] PL: Got status error, REG_Status=0x00
A: The solenoid is causing transients on L+
Some solenoids do not have a proper free-wheeling diode which causes spikes on L+.
To solve this, do these steps either singly or in combination:
- Use the parameter
-b(e.g.-b 2) to increase the blanking time. This makes the error detection more tolerant to voltage surges. - Connect a capacitor in parallel to
L+andGND(e.g. 10µF). This will buffer the spikes. - If possible, connect a free-wheeling diode to the coil.
iol-hat/faq/solenoids.txt · Last modified: by anla
