This tutorial shows how to use B&R "Mapp View" Technology Package to implement a simple visualization project as described in Automation Studio online help:
Follow the steps below (some pics link to YouTube) or just download the complete release with Automation Studio project included.
- To run Mapp View on a real PLC a license '1TGMPVIEW.00-01' is required !
- A '1TGMPBRCLNT.10-01' is required for a B&R- Client
- A '1TGMPCLIENT.10-01' is required for a 3rd party client.
We will use a B&R "ArSim" simulated plc so there is no license required.
we will use the following layout:
- insert a layout file and give an id to it
- add an area 'AreaMain', heigth=600px, width=700px
- add an area 'AreaNavigation', heigth=600px, width=100px, left=700
- insert 'Navigation.content" into 'AreaContents'
- insert 'Page1' and add 'Page1Content' to it
- insert 'Page2' and add 'Page2Content' to it
- give content a 'Name'
- config contents heigth and width (600px x 700px)
- insert a 'Label' widget with text 'Speed'
- insert a 'Radial Gauge' widget
- give content a 'Name'
- config contents heigth and width (600px x 700px)
- insert a 'Label' widget with text 'Temperature'
- insert a 'Numeric Output' widget
- give content a 'Name'
- config contents heigth and width (600px x 100px)
- insert a 'Navigation Bar' widget which will be a container for buttons
- insert two 'Navigation Button' widgets.
- set 'layoutId' and 'pageId'
- set page contents 'refId' to 'AreaMain' and navigation content to 'AreaNavigation'
- set background colours to Areas
- config Navigation Buttons e.g. set text and 'pageId'
- insert visualisation to folder 'mappView'
- set 'Visualisation id' to 'FirstVisu'
- set 'StartPage' ('Page1')
- add 'Page1' and 'Page2' to ''
- insert program and initialize two variables 'Speed' and 'Temperature'
- declare variables
- active OPC UA server in CPU configuration
- insert OPC UA 'Default View'
- enable PLC variables visible as OPC UA variables
- insert binding to folder 'mappView' in Configuration View
- give binding an id and use this id in Visualization's configuration
- connect variables and widgets ( = binding )
- compile and deploy project
- open browser and navigate to 'http://127.0.0.1:81/index.html?visuId=FirstVisu'