H11L1 optocoupler — parametric simulator

input
coil(-) ── R116 ──+── R117 ──+──▶|── GND            (H11L1 LED)
                  │          └──|◀── D101 ── GND    (1N4148 · reverse protection)
                  └──|◀── D102 ── GND               (1N4752 · 33 V zener)

output
+5 V ── R132 ──+── out
               ├── C102 ── GND
               └──[open-collector]── GND   (closes when LED lit)

▶|  anode → cathode         |◀  cathode toward the junction

Points-open LED current ≈ (Vcoil − 1.2 V) / (R116 + R117). During the flyback the 33 V zener clamps the junction, so LED current ≈ (33 V − 1.2 V) / R117.