Structured Text IntelliSense, PLC project explorer, vehicle application integration, and ilc syntax check for IEC 61131-3 AGV and mobile-robot projects.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Editor support for IEC 61131-3 Structured Text in mobile-robot and AGV vehicle PLC projects.
Works with any .VAR-based PLC workspace — the extension reads your local project files only; nothing is uploaded.
Features
Structured Text — syntax highlighting, semantic colors, IntelliSense, hover, go-to-definition, find all references, document outline (including CASE states) for .ST, .POE, .TYP
PLC Project Explorer — tree view built from the .VAR manifest
Vehicle application — device tree, application file links, runtime symbol browser, ekOpenVaf in two modes (POE generation / full compile), status bar and Problems panel
ST syntax check — StToIlCmd (ST→POE), then ilc.exe -ps (prototypes + syntax check), with diagnostics on .ST lines
MAIN_FB call order — parses MAIN_FB.ST at runtime and lists the normal-operation FB call sequence
Requirements
VS Code or Cursor ^1.85
PLC compiler toolchain with ilc.exe and StToIlCmd.exe (paths auto-detected or configurable)
Optional: external VAF compiler executable for application builds
Getting started
Open your vehicle project workspace (folder containing PLC/ and a .VAR file).
Open an .ST file — the language server indexes types and symbols from your project.
Use the NMR ST Studio status bar menu for syntax check, application compile, and project views.
Configuration
Setting
Description
nmr-st-studio.varFile
Path to .VAR file (auto-detected)
nmr-st-studio.vafFile
Path to .vaf application file (auto-detected)
nmr-st-studio.edfFile
Path to .edf event file (auto-detected)
nmr-st-studio.plcRoot
PLC folder relative to workspace (default: PLC)
nmr-st-studio.ekOpenVafPath
Path to VAF compiler executable (default: C:\ekOpenVaf\ekOpenVaf.exe)
nmr-st-studio.ilcPath
Path to ilc.exe (auto-detected when empty)
nmr-st-studio.openpcsInstallPath
OpenPCS install folder with ITMake.exe (default: C:\Program Files (x86)\infoteam Software\OpenPCS2008)
nmr-st-studio.stToIlCmdPath
Path to StToIlCmd.exe (auto-detected when empty)
nmr-st-studio.openpcsManualPath
Path to compiler manual PDF
nmr-st-studio.syntaxCheckOnSave
Run syntax check on .ST save (default: true)
nmr-st-studio.syntaxCheckOnSaveDelayMs
Debounce delay in ms (default: 800)
nmr-st-studio.vafBuildProgressIntervalMs
Min. interval for ITMake Built files progress in VAF output (default: 2000)
nmr-st-studio.openpcsDevice
Controller device name for ilc (auto from RESOURCE.MAK when empty)
nmr-st-studio.openpcsResource
Resource name for ilc (auto from .VAR / xref.xml)
nmr-st-studio.useXref
Use xref.xml for cross-references
Commands
NMR ST Studio: Syntax Check (ilc.exe)
NMR ST Studio: Generate POE Files (ekOpenVaf explorer) — ekOpenVaf.exe <workspace> explorer (POE only, skip ITMake)