Skip to content
AddHunt
VS Code extensions

ControlForge Structured Text

VS Code extension for IEC 61131-3 Structured Text

Open source

  • Open source
  • Licence: MIT

In short

ControlForge Structured Text is an open-source VS Code extension that adds IEC 61131-3 Structured Text support, with syntax highlighting, code completion, validation and snippets. It is for engineers writing PLC and edge device programs who want modern editor features.

What you get

  • IEC 61131-3 Structured Text syntax highlighting
  • Completion for keywords, types and variables
  • Function block output IntelliSense
  • Real-time syntax validation
  • Snippets for common PLC patterns

The details

ControlForge Structured Text brings the tooling that software developers take for granted to industrial control programming. The extension adds language support for IEC 61131-3 Structured Text to VS Code, so PLC programs and function blocks can be written with the same editor features used for other languages.

Features

  • Syntax highlighting that covers the IEC 61131-3 language with color-coded constructs
  • Context-aware completion for keywords, data types and variables
  • IntelliSense for function block outputs, such as a timer's Q output or a counter's current value
  • Built-in syntax validation with real-time error detection
  • Snippets for common PLC patterns and industrial automation constructs

Getting it

The extension can be installed from the VS Code Marketplace, opened directly in VS Code, or added with a single code --install-extension command. The site includes an interactive demo with a sample program using timers, counters and motor control logic, along with documentation, best practices, a roadmap and a changelog.

ControlForge Systems builds the extension to give automation engineers current development tools while keeping to the standards of control systems. The source code is on GitHub under the MIT license, where issues can also be reported.

Alternatives to ControlForge Structured Text

Questions

What language does the extension support?

IEC 61131-3 Structured Text, which is used for PLC and industrial automation programming.

How is it installed?

From the VS Code Marketplace, or from a terminal with code --install-extension ControlForgeSystems.controlforge-structured-text.

More like this