ESP32 Mini PLC — Interactive Demo

Try the PLC in your browser — no hardware needed. The real device shows this same page.

1. Choose a Sample Program

    2. Live I/O — click the IN buttons to test

    IN1–IN4 simulate your push buttons / sensors / float switches. Force buttons: A=auto (logic controls output), 0=force OFF, 1=force ON. W1–W4 are virtual web switches (control from a phone).

    3. Output Logic (this is what each sample configures)

    Conditions read top to bottom: first condition starts the rung, each next one is combined with AND (series contact) or OR (parallel branch). NO = normally open, NC = normally closed (inverted).
    Modes: Direct output follows rung · TON on-delay timer · TOF off-delay timer · Toggle push-button flip-flop · Latch rung sets the output, the Reset condition clears it (reset wins).
    In this demo every change works instantly. On the real PLC press "Save & Apply".

    4. Time Switches (DS3231 RTC) — T1–T4

    Demo clock: --:--:--
    Each switch is ON between its start and end time every day (end before start spans midnight, e.g. 18:30 → 06:00). Use T1–T4 as a condition source in any rung above. Tip: jump the demo clock to just before the ON time and watch the output switch by itself.
    Loaded