uPLC Structured Text Compiler

Introduction to the ST to IL Converter

The ST to IL Converter is a specialized utility that bridges the gap between high-level programming and drive-level execution. It lets developers write control logic in Structured Text (ST) — a high-level, Pascal-like language — and automatically converts it into the Instruction List (IL) format required by our integrated drives.

This tool is ideal for users who need to implement complex mathematical algorithms, data handling, or conditional loops, which are often more efficiently managed via text-based coding than in graphical environments.

You can use this tool here: https://www.ni-lab.online/new_websmart/nilab_st_converter.php

How it Works with NILAB Starter

The converter is fully integrated into the NILAB development workflow, providing a flexible alternative to the Ladder Editor:

st_coverter_screen.jpg

Item
Code Development: write your control algorithms in the ST editor using standard syntax (IF-THEN-ELSE, CASE, FOR/WHILE loops, etc.).
Conversion: the tool parses the Structured Text and generates an optimized Instruction List (IL) file.
Integration: the resulting IL file is loaded into NILAB Starter, which compiles the code specifically for the integrated drive's architecture.
Deployment: using NILAB Starter, the compiled program is downloaded directly into the motor, ready for execution.

Key Advantages

Item
Flexible Programming: choose the best language for the task — use ST for complex logic and Ladder for sequential control.
Seamless Translation: automated conversion eliminates manual coding errors when moving from ST to IL.
Optimized Performance: the converter generates clean Instruction List code to ensure efficient execution within the drive's internal uPLC.
Unified Workflow: both the ST Converter and the Ladder Editor share the same deployment path via NILAB Starter, providing a consistent user experience.