Skip to content
Seunghoon Jung
Go back

No-Code Workcell Virtual Commissioning & Control Platform

Oct 2025 – Present · Codeflex Co., Ltd.

In manufacturing, the data formats of mechanical design (CAD), control design (PLC) and plant operation don’t match, so every design change means moving the data over by hand. This project is part of the No-Code Manufacturing Innovation Ecosystem program (equipment control / robotics – PLC-based equipment control track). Its goal is a round-trip engineering (RTE) workflow built on a workcell digital twin, where design → simulation → operation → back to design runs as a loop.

main

Goals

Overview

I worked on two different tracks within the same project.

TrackProjectWhat it does
WebPLCStudio (plc-app)Screens for PLC conversion, mapping, simulation sequence generation and PLC reverse generation (Next.js)
Webplc-app-backendParser, Gemini integration, deterministic code generation and validation API (NestJS)
DesktopAgentBuilderDesign-time tool for configuring the virtual workcell and data services (PySide6/QML)
DesktopWorkcellAgentRuntime app that monitors the configured workcell in real time (PySide6/QML)
DesktopFIStudioTool for the OPC UA server/client and the tag linker (PySide6/QML) [Check: how to describe its role]

Web-based services

The web side implements a four-step pipeline that links PLC code with robot models. Each step picks up the result of the previous one.

  1. Convert — turn PLC source (ST etc.) into IEC 61131-3 PLCopen XML
  2. AI Mapping — analyze PLC + URDF (+ an operating scenario) with Gemini to produce a mapping between joints/actuators and PLC variables
  3. AI Sim Program — build a digital-twin motion sequence from the mapping and replay it in a 3D viewer
  4. PLC Gen — reverse-generate PLC ST code from the mapping and sequence (Siemens SCL / Mitsubishi ST) and compare it with the original as a round trip
PLCStudio 1 PLCStudio 2 PLCStudio 3

Design notes

Standalone QML apps

These are used directly on the shop floor, so I built them as desktop apps rather than web apps. All three share the same QML structure (MVVM, multiple languages, themes).

Separating UI and logic

All three apps use QML for the screens and Python for the logic. Mixing widgets and logic in PySide6 alone gets tangled as screens grow, so I wanted to separate the layers the way a layered web architecture does.

LayerRoleWeb equivalent
QML ViewDraws the screen, forwards user inputFrontend components
ViewModel (Python)Exposes screen state, handles user actionsController / store
Service (Python)The real logic: OPC UA, DB, URDF parsing, etc.Service / domain layer

The Python side knows nothing about the screen; it only exposes state through Property and Signal. (The example below is a new, simplified sketch that shows the structure — it is not code from the actual project.)

# viewmodels/status_viewmodel.py
from PySide6.QtCore import QObject, Property, Signal, Slot
from PySide6.QtQml import QmlElement

QML_IMPORT_NAME = "pyobjects"
QML_IMPORT_MAJOR_VERSION = 1


@QmlElement
class StatusViewModel(QObject):
    runningChanged = Signal()

    def __init__(self):
        super().__init__()
        self._running = False

    @Property(bool, notify=runningChanged)
    def running(self):
        return self._running

    @Slot()
    def toggle(self):
        self._running = not self._running   # a Service call in real code
        self.runningChanged.emit()

QML only binds to that state and holds no logic of its own.

import pyobjects 1.0

StatusViewModel { id: vm }

Button {
    text: vm.running ? "Stop" : "Start"
    onClicked: vm.toggle()
}

This way the screens can change freely in QML, and the logic can be tested in Python without any UI.

AgentBuilder — design time

AgentBuilder 1 AgentBuilder 2 AgentBuilder 3

WorkcellAgent — runtime monitoring

WorkcellAgent 1 WorkcellAgent 2 WorkcellAgent 3

FIStudio

FIStudio 1 FIStudio 2 FIStudio 3

Share this post:

Previous Post
DAS3D: 3D Gas Leak Simulation & Sensor Placement Optimization