# Python Examples

A matching set of examples is supplied on the device under `~/Desktop/synergy_python/examples/`.

```{admonition} Stop the PLC first
:class: danger

Every example in this section assumes the PLC or the OpenPLC Runtime is stopped. See [Sharing the Hardware](../../shared-hardware-rules.md).
```

| Example | Modules used |
|---|---|
| [Blink a discrete output](blink-discrete-output.md) | Any discrete output module |
| [Read every channel on a module](read-every-channel.md) | SLM-AI-8-V |
| [Bar-graph level indicator](bar-graph-level-indicator.md) | SLM-AI-8-V, SLM-DCO-15P |
| [Thermocouple logging](thermocouple-logging.md) | SLM-THM-4 |
| [Broken thermocouple detection](broken-thermocouple-detection.md) | SLM-THM-4 |
| [Hardware watchdog](watchdog.md) | Any |
| [Reading the toggle switch](toggle-switch.md) | Any discrete output module |
| [Publishing to an HMI over Modbus](modbus-hmi.md) | SLM-AI-8-V, SLM-AO-8-V |
