finds.dev← search

// the find

rparak/BaR-Motion-Workshop

★ 25 · C · MIT · updated Nov 2024

Workshop focused on motion control, visualization, digital-twin and augmented reality.

A workshop project demonstrating motion control on B&R Automation hardware (X20CP1584 PLC + ACOPOSmicro drives) through three progressively modern approaches: raw ACP10, MpAxis/ACP10 hybrid, and full mappMotion. Comes with a Unity3D digital twin and AR overlay via OPC UA, plus a B&R Scene Viewer simulation. Aimed at automation engineers learning the B&R/mappTechnology stack.

Three versioned implementations showing the ACP10→mappMotion migration path is genuinely useful — you can see exactly what changes between each generation of B&R's motion API. The OPC UA client-server wiring in Unity3D (using the official OPC Foundation SDK DLLs bundled as plugins) is a working reference that's hard to find elsewhere. Including the Blender source files alongside the .obj exports means you can modify the 3D model without starting from scratch. The AR implementation using Vuforia image targets on physical SMC part labels is a practical, grounded use case rather than a toy demo.

Everything is pinned to mid-2020 versions (Unity 2020.1.8f1, Vuforia 8.3.8, Automation Studio 4.9.2) and hasn't been touched since late 2024 — the Unity and Vuforia versions are multiple major releases behind, and the Vuforia licensing model has changed significantly since 8.x. The OPC UA connection parameters (endpoint URL, security policy) are hardcoded in the Unity scripts with no configuration story, so adapting it to a different PLC IP or network means hunting through source. No error handling in the Unity OPC UA client — if the PLC is unreachable the app just hangs. The scope is deliberately narrow (single linear axis), which limits how much of what you learn here transfers to multi-axis or synchronized motion scenarios.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →