Features

Project Explorer

Navigate your CODESYS project structure

Project Explorer

The Project Explorer gives you a complete view of your CODESYS project structure directly in PLC Studio AI.

Overview

The Project Explorer shows your project hierarchy in a familiar tree structure:

📁 MyProject
├── 📁 Application
│   ├── 📄 PLC_PRG (PRG)
│   ├── 📦 FB_Motor (FB)
│   ├── 📦 FB_Pump (FB)
│   └── 📄 FC_Calculate (FC)
├── 📁 GVL
│   ├── 📋 GVL_Global
│   └── 📋 GVL_Parameters
└── 📁 DUT
    ├── 📐 ST_MotorData (STRUCT)
    └── 📐 E_State (ENUM)

Expanding and Collapsing

  • Click the arrow (▶) to expand a folder
  • Click again (▼) to collapse it
  • Double-click a folder to toggle

Opening Items

  • Single-click to select an item
  • Double-click to open it in the editor
  • Right-click for context menu options

Project Elements

POUs (Program Organization Units)

IconTypeDescription
📄 PRGProgramMain program blocks
📦 FBFunction BlockReusable blocks with state
📄 FCFunctionStateless functions

Data Types

IconTypeDescription
📐 STRUCTStructureCustom data structures
📐 ENUMEnumerationNamed value sets
📐 ALIASType AliasAlternative type names

Variables

IconTypeDescription
📋 GVLGlobal Variable ListProject-wide variables
📋 PersistentVarsPersistent VariablesRetain values after restart

Context Menu

Right-click any item for options:

OptionDescription
OpenOpen in editor
RenameRename the item
DeleteRemove from project
Copy PathCopy the full path
View in CODESYSFocus in CODESYS IDE

Rename and Delete operations are permanent and will be applied to your CODESYS project. Use with caution.

Search and Filter

Press Ctrl+P to open quick search:

  1. Type the name of what you're looking for
  2. Results filter as you type
  3. Press Enter to open the selected item

Filter by Type

Use the filter dropdown to show only:

  • All items
  • Programs only
  • Function Blocks only
  • Functions only
  • Data Types only
  • Variables only

Working with Multiple Items

Selection

  • Click to select a single item
  • Ctrl+Click to select multiple items
  • Shift+Click to select a range

Bulk Actions

With multiple items selected:

  • Open all in tabs
  • Compare two items
  • Export selected

Sync Status

The Project Explorer shows sync status with CODESYS:

IndicatorMeaning
🟢 GreenIn sync with CODESYS
🟡 YellowChanges pending
🔴 RedSync error

Manual Refresh

If the view seems out of date:

  1. Click the refresh button (🔄) in the toolbar
  2. Or press F5

Tips

Pin Frequently Used Items

Right-click → Pin to keep important items at the top of the explorer.

Use Keyboard Navigation

  • Arrow keys to navigate
  • Enter to open
  • Backspace to go up one level

Create New Items

Right-click a folder → New to create:

  • New Function Block
  • New Function
  • New Program
  • New GVL
  • New DUT

Limitations

The Project Explorer currently supports:

  • ✅ Structured Text POUs
  • ✅ GVLs and DUTs
  • ❌ Ladder/FBD/SFC (not supported)
  • ❌ Hardware configuration
  • ❌ Visualization elements

Next Steps

On this page