Giter Site home page Giter Site logo

rparak / bar-motion-workshop Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 3.0 64.48 MB

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

License: MIT License

C 59.69% Standard ML 38.79% xBase 0.05% Genero Forms 0.01% C# 1.46%
motion-control hmi-visualization digital-twins plc unity3d vuforia simulation ansi-c opc-ua

bar-motion-workshop's Introduction

B&R Automation Workshop - Simple motion control with MappTechnology and PLCOpen

Requirements:

Software:

Automation Studio V 4.9.2.46, Scene Viewer V 4.1.0, Blender, Unity3D 2020.1.8f1, Vuforia 8.3.8 and later

Supported on the following operating systems:

Universal Windows Platform, Android
Software/Package Link
Blender https://www.blender.org/download/
Unity3D https://unity3d.com/get-unity/download/archive
Vuforia Engine https://developer.vuforia.com/downloads/sdk
Unity HDRI Pack https://assetstore.unity.com/packages/2d/textures-materials/sky/unity-hdri-pack-72511
B&R Automation https://www.br-automation.com/en/downloads/#categories=Software-1344987434933
SceneViewer B&R https://www.br-automation.com/en/downloads/software/simulation/br-scene-viewer/
Visual Studio https://visualstudio.microsoft.com/downloads/

Version 0:

Automation Runtime: C4.90 (PLC -> X20CP1584)
ACP10 ARNC0 (Motion): 5.12.2
mappView  : 5.12.1

Version 1:

Automation Runtime: C4.90 (PLC -> X20CP1584)
ACP10 ARNC0 (Motion): 5.12.2
MpAxis: 1.75.0
mappView  : 5.12.1

Version 2:

Automation Runtime: C4.90 (PLC -> X20CP1584)
mapp Motion: 5.12.2
mapp View  : 5.12.1
mapp Cockpit: 5.12.0

Project Description:

The workshop is focused on simple motion control using Mapp Technology and PLCOpen. The perfect combination of automation development solutions will be created by the additional connection of a visualization package (mappView) and software for digital/virtual twins (Scene Viewer).

The project is divided into several parts:

a) Version 0:

Simple motion control using PLCOpen libraries (MC_Power, MC_Home, etc.) The current version uses the package ACP10 for motion control without any mappMotion additional components. The functionality of the axis is tested using ACP10 Test Manager. The HMI visualization is controlled from the mappView.

Logical View:
[ AS Program   ] /Logical/axCtrl_T/
[ AS MappView  ] /Logical/mappView/
Physical View:
[ AS MappView  ] /Physical/X20CP1584/X20CP1584/mappView

b) Version 1:

The middle way, but very efficient and currently the most used. For motion control uses libraries like MpAxisBasic, MpAxisCyclicSet, etc., but it uses the ACP10 package as in the previous case. The functionality of the axis is tested using ACP10 Test Manager. The HMI visualization is controlled from the mappView.

Logical View:
[ AS Program   ] /Logical/axCtrl_T/
[ AS MappView  ] /Logical/mappView/
Physical View:
[ AS Mapp Axis ] /Physical/X20CP1584/X20CP1584/Motion/
[ AS MappView  ] /Physical/X20CP1584/X20CP1584/mappView/

c) Version 2:

The latest (newest) motion control with mappMotion using libraries like MpAxisBasic, etc. The functionality of the axis is tested using mappCockpit. The HMI visualization is controlled from the mappView.

Logical View:
[ AS Program   ] /Logical/axCtrl_T/
[ AS MappView  ] /Logical/mappView/
Physical View:
[ AS MappMotion  ] /Physical/X20CP1584/X20CP1584/mappMotion/
[ AS MappCockpit ] /Physical/X20CP1584/X20CP1584/mappCockpit/
[ AS MappView    ] /Physical/X20CP1584/X20CP1584/mappView/

d) Workshop_Template_Folder:

An empty project with necessarily installed versions (runtime, mappview package, etc.), and several files to create your own project (3D objects for SceneViewer digital twin, binding file, mappview theme, etc.)

Logical View:
[ AS Program   ] /Logical/axCtrl_T/

Workshop_Template_Folder:

Client-server communication via OPC UA, which is implemented in Unity3D (Server - B&R Automation PLC, Client - Unity3D). The application can be used for digital twins or augmented reality, both principles are in a folder.

Hardware Components:

Electric Switchboard/Motion Control:

Part Name Link
PLC system (X20CP1584) https://www.br-automation.com/en/products/plc-systems/x20-system/x20-cpus/x20cp1584/
ACOPOSmicro -> Inverter modules (80VD100PD.C000-01) https://www.br-automation.com/en/products/motion-control/acoposmicro/inverter-modules/80vd100pdc000-01/?noredirect=1

7th Axis (Linear Conveyor):

Part Name Link
LEJSH63NZA-800 https://www.smcusa.com/products/?id=126023&partNumber=LEJSH63NZA-800&type=Detail
LEFG40-S-800 https://www.smcusa.com/products/?id=139293&partNumber=LEFG40-S-800&type=Detail
8LVA synchronous motors (8LVA23.B1030D000-0) https://www.br-automation.com/en/products/motion-control/8lva-synchronous-motors/standard-motors/8lva23b1030d000-0/?noredirect=1

HMI Visualization:

MappView:

IP Address (Simulation/Real HW):

http://localhost:81/index.html?visuId=axis_control or http://PLC_ADDRESS:81/index.html?visuId=axis_control

MappCockpit (Exclusively for MappMotion control):

IP Address (Simulation/Real HW):

http://localhost:8084/mappCockpit or http://PLC_ADDRESS:8084/mappCockpit

Digital Twin:

Scene Viewer:

Unity3D:

Augmented Reality:

Additional information:

MappTechnology:

Link: https://www.br-automation.com/en/products/software/mapp-technology/

Link: https://www.youtube.com/watch?v=poufs5F3xB8

B&R Automation - Free Webinars (CZ):

Link: https://www.br-automation.com/cs/akademie/webinare/

B&R Automation - Academy:

Link: https://www.br-automation.com/en/academy/dates-and-registration/

Contact Info:

[email protected]

Citation (BibTex)

@misc{RomanParak_Unity3D,
  author = {Roman Parak},
  title = {A digital-twins in the field of industrial robotics integrated into the unity3d development platform},
  year = {2020-2021},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/rparak/Unity3D_Robotics_Overview}}
}

License

MIT

bar-motion-workshop's People

Contributors

rparak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.