PLC programming reference — ladder logic, structured text, function blocks, and IEC 61131-3 standards. Use when writing PLC programs, debugging rungs, or reviewing automation logic.
Quick-reference skill for PLC programming concepts, IEC 61131-3 languages, common instruction sets, and troubleshooting patterns.
introscripts/script.sh intro
Overview of PLC architecture — CPU, I/O modules, scan cycle, memory areas.
languagesscripts/script.sh languages
IEC 61131-3 programming languages: Ladder Diagram (LD), Structured Text (ST), Function Block Diagram (FBD), Instruction List (IL), Sequential Function Chart (SFC).
instructionsscripts/script.sh instructions
Common PLC instructions — contacts, coils, timers (TON/TOF/TP), counters (CTU/CTD), math, comparison, move.
datatypesscripts/script.sh datatypes
IEC 61131-3 data types: BOOL, INT, DINT, REAL, STRING, TIME, arrays, structs.
faultsscripts/script.sh faults
Common PLC fault codes and troubleshooting steps — CPU faults, I/O faults, communication errors.
protocolsscripts/script.sh protocols
Industrial communication protocols — Modbus RTU/TCP, EtherNet/IP, Profinet, DeviceNet, OPC UA.
examplesscripts/script.sh examples
Example programs: motor start/stop, traffic light sequence, tank level control, conveyor interlock.
checklistscripts/script.sh checklist
Pre-commissioning checklist — wiring, grounding, I/O mapping, safety circuit verification.
helpscripts/script.sh help
versionscripts/script.sh version
| Variable | Description |
|---|---|
PLC_DIR | Data directory (default: ~/.plc/) |
Powered by BytesAgain | bytesagain.com | [email protected]