~/talk

Python & Programmable Logic Controllers - A Step by Step Guide

Talkat PyCon India 2020 · 2020-10-02..10-05· [embedded-and-hardware, iot]
links:none on file
slides:none on file

A small AutomationDirect P1-540 PLC runs ladder logic that blinks a three‑color traffic light; two variables blink interval millisecond and blink color are exposed as modbus registers (holding registers 0 and 1). A laptop at 192.168.1.8 talks Ethernet to 192.168.1.9 using pi-modbus-tcp (pip install) to read value 1 (red), write 2 (yellow) and change 1000ms → 500ms → 2000ms; the demo works end‑to‑end.

AI-written summary · about

  1. 0:00Introduction to PLC
  2. 1:07How PLC works
  3. 4:32Speaker introduction
  4. 7:58PLC setup tutorial
  5. 13:28Modbus protocol basics
  6. 17:49Python interaction demo
  7. 21:55Programming and limits
  8. 26:13Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.