BSc Engineering Diploma Thesis
Industry 4.0 & OPC UA
Completed 2026

Implementation of OPC UA Communication and Web-Based Visualization (WebVisu) in CODESYS for Point Table Control of a Delta Robot

Faculty of Mechanical Engineering, Politechnika Wrocławska | Supervisor: dr inż. Michał Banaś

Defended 2026
Bosch Rexroth ctrlX & CODESYS
DELTA Robot Automation System
Engineering Objective & Problem Statement

In traditional laboratory and production workflows on the Delta robot workstation, modifying pick-and-place point-table values directly inside the ctrlX PLC Engineering environment required disconnecting, editing array data, reconnecting, and downloading changes—slowing iterative testing and making it harder to correlate numeric array indices with physical robot behavior.

This thesis designed and implemented a supervisory interface architecture combining a browser-based CODESYS WebVisu Human-Machine Interface (HMI) and an IEC 62541 OPC UA communication channel on Bosch Rexroth ctrlX CORE/DRIVE hardware. The core engineering principle separates motion parametrization from deterministic motion execution: operators and external OPC UA clients can inspect, select, and prepare point-table updates, while the PLC retains strict validation and safety authority over the active motion sequence.

System Architecture & Technical Implementation

1. Point-Table Architecture & WebVisu Binding

The Codian 3-axis parallel kinematic Delta robot operates inside an enclosed safety cell equipped with Bosch Rexroth ctrlX DRIVE servo modules and an NCT-20-AL pneumatic suction gripper. Rather than continuous manual trajectory coding, pick-and-place cycles reference indexed BYTE arrays (WFPickPlaceL and WFPickPlaceS) dimensioned from index 0 to 150 (151 addresses).

Three-Variable Live-Edit Buffer
  • i_selected : INT := 0; — Captures the row index selected by the operator in the WebVisu table widget via the [INDEX] property.
  • byNewValue : BYTE; — Temporary buffer storing the candidate numerical value entered via the HMI Numpad dialog prior to commitment.
  • i_test_var : INT; — Diagnostic heartbeat marker set to 10 upon button execution to verify that the Structured Text routine triggered.

2. IEC 61131-3 Structured Text (ST) Supervision Logic

To prevent unvalidated external writes from bypassing PLC safety states or array bounds, changes prepared in WebVisu or over OPC UA are committed through a supervised Structured Text execution pattern:

// Direct WebVisu OnMouseClick ST execution action:
i_test_var := 10;
WFPickPlaceL[i_selected] := byNewValue;

// Extended communication supervision pattern with bounds validation:
IF xOpcUaSessionActive AND WriteRequest THEN
    IF (i_selected >= 0) AND (i_selected <= 150) THEN
        WFPickPlaceL[i_selected] := byNewValue;
        i_test_var := 10;
        xWriteAccepted := TRUE;
        xWriteRejected := FALSE;
    ELSE
        xWriteAccepted := FALSE;
        xWriteRejected := TRUE;
    END_IF;
END_IF;

3. Secure OPC UA Server & UaExpert Client Integration

The Bosch Rexroth ctrlX CORE controller was configured as an IEC 62541 OPC UA Server exposing the symbolic PLC namespace (GVL_SubPrograms) to Unified Automation UaExpert over opc.tcp://192.168.71.10:4840.

Cryptographic Security

Configured with Basic256Sha256 security policy in Sign & Encrypt mode, X.509 client-server certificate trust management on ctrlX OS, and authenticated user sessions.

Semantic Address Space

Published typed nodes (WFPickPlaceL, i_selected) for real-time subscription monitoring and online write verification without stopping the PLC runtime.

Testing Results & Future Work

Verified Live-Edit Workflow

Targeting & Preparation: Validated 1-to-1 row selection in WebVisu and UaExpert Data Access View, confirming accurate pointer updates in i_selected and numeric buffering in byNewValue.

Online Commitment: Confirmed live array updates (such as writing value 88 into WFPickPlaceL during online execution) reflected instantaneously across ctrlX PLC Engineering, WebVisu, and UaExpert without a full project download.

Proposals for Future Work

  • Custom OPC UA Client Application: Build a dedicated operator client that abstracts endpoint discovery, X.509 certificate handling, and raw NodeIds behind a streamlined UI.
  • Role-Based Access & Undo Buffering: Add multi-tier operator permissions and side-by-side comparison of old vs. new point-table arrays with rollback capability.
  • End-Effector Optimization: Reduce moving mass on the suction gripper interface to improve part retention under high-acceleration Delta transfers.
Thesis Details
Institution
Politechnika Wrocławska
Faculty
Mechanical Engineering (W10)
Supervisor
dr inż. Michał Banaś
Status
Defended & Completed (2026)
Technologies Used
CODESYS & WebVisu HMI
IEC 61131-3 Structured Text (ST)
OPC UA (IEC 62541)
Bosch Rexroth ctrlX CORE & DRIVE
Unified Automation UaExpert
Codian 3-Axis Delta Robot
System Specifications
3-DOF
Cartesian Parallel Kinematics (X, Y, Z)
151 Bytes
Indexed Point-Table Array (0..150)
Basic256Sha256
Sign & Encrypt OPC UA Security
Interested in Automation?

Want to discuss industrial automation, PLC/OPC UA integration, or software engineering opportunities?

Get in Touch