Skip to content
Back to skills

Plc

ASecurity

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.

  • 12 stars
  • 0 votes
  • 34 copies
  • 227 views
  • Added September 7, 2026
code-qualitygobashdebugginggit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add bytesagain/ai-skills --skill plc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-plc/badge)](https://www.skillsdirectory.com/skills/bytesagain-plc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "plc"
version: "1.0.0"
description: "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."
author: "BytesAgain"
homepage: "https://bytesagain.com"
source: "https://github.com/bytesagain/ai-skills"
tags: [plc, industrial, automation, ladder-logic, iec-61131, structured-text]
category: "industrial"
---

# PLC — Programmable Logic Controller Reference

Quick-reference skill for PLC programming concepts, IEC 61131-3 languages, common instruction sets, and troubleshooting patterns.

## When to Use

- Writing or reviewing ladder logic programs
- Debugging PLC faults and I/O issues
- Choosing between Structured Text, Function Block, or Ladder
- Looking up IEC 61131-3 data types and timer/counter instructions
- Setting up communication protocols (Modbus, EtherNet/IP, Profinet)

## Commands

### `intro`

```bash
scripts/script.sh intro
```

Overview of PLC architecture — CPU, I/O modules, scan cycle, memory areas.

### `languages`

```bash
scripts/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).

### `instructions`

```bash
scripts/script.sh instructions
```

Common PLC instructions — contacts, coils, timers (TON/TOF/TP), counters (CTU/CTD), math, comparison, move.

### `datatypes`

```bash
scripts/script.sh datatypes
```

IEC 61131-3 data types: BOOL, INT, DINT, REAL, STRING, TIME, arrays, structs.

### `faults`

```bash
scripts/script.sh faults
```

Common PLC fault codes and troubleshooting steps — CPU faults, I/O faults, communication errors.

### `protocols`

```bash
scripts/script.sh protocols
```

Industrial communication protocols — Modbus RTU/TCP, EtherNet/IP, Profinet, DeviceNet, OPC UA.

### `examples`

```bash
scripts/script.sh examples
```

Example programs: motor start/stop, traffic light sequence, tank level control, conveyor interlock.

### `checklist`

```bash
scripts/script.sh checklist
```

Pre-commissioning checklist — wiring, grounding, I/O mapping, safety circuit verification.

### `help`

```bash
scripts/script.sh help
```

### `version`

```bash
scripts/script.sh version
```

## Configuration

| Variable | Description |
|----------|-------------|
| `PLC_DIR` | Data directory (default: ~/.plc/) |

---

*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*

Files in this skill

  • SKILL.md2.5 KB
  • scripts/script.sh11.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.