Skip to content

hilch/mapp-motion-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with B&R "Mapp Motion"

License: CC0-1.0

This tutorial shows how to use B&R "Mapp Motion" Technology Package to implement a single axis project. Follow the steps below (some pics link to YouTube) or just download the complete release with Automation Studio project included.

*To run Mapp Motion on a real PLC/axis a license '1TGMPAXIS.00-01' is required !

We will use a B&R "ETA410.0100-132" training "cube".

ETA410

The ETA uses an ACOPOS P3 and some additional X20 IO. A switch connected to both IO card and Trigger 1 input is also added.

ETA410 topology


1. Install Technology Package Mapp Motion 5.5

install mapp motion

2. Create a new project with a running CPU

(nothing special e.g. as you are used to)

new project

3. Insert a Mapp Motion Single Axis Configuration

open Configuration View and add a Single Axis Configuration file. All required libraries will be added automatically.

04

4. Insert an ACOPOS P3 in Physical View

  1. insert ACOPOS and set correct node number
  2. set DC bus voltage to 24V due to ETA limitations
  3. set encoder to "Endat"
  4. apply mapp Single axis to hardware

05

5. Insert Mapp Cockpit

Mapp Cockpit is based on Mapp View Technology (but there is no license required).

  1. Open Project/Change Runtime Version and set Mapp View and Mapp Cockpit to V5.5
  2. use SAFE file system and add an user partition (F-drive)
  3. add a file device where Mapp Cockpit can store trace data.
  4. activate OPC-Ua as Mapp Cockpit

06

6. Commissioning with Mapp Cockpit

open browser and navigate to

http://<IPADDRESS or HOSTNAME>:81/index.html?visuId=mappCockpit

e.g.

http://192.168.0.10:81/index.html?visuId=mappCockpit

or

http://localhost:81/index.html?visuId=mappCockpit

  1. autotune speed controller
  2. autotune position controller
  3. switch axis on
  4. start homing
  5. perform some movements to determine correct axis settings
  6. save the axis settings to permanent memory

07

7. Upload the axis settings from target to Automation Studio project

  1. use Online/Compare/Automation Components to upload the Mapp Single Axis configuration
  2. use Online/Compare/Hardware to upload controller settings
  3. Transfer project with uploaded configuration to target again

08

8. Insert MpAxisBasic Function Block

Just copy the code from GUID a85aaaa7-f087-4977-b4ef-f4bbb1e069bb (Automation Help 4.5.2.10)

09

9. Test the axis with MpAxisBasic

  1. set variable "AxisParameters"
  2. Power
  3. Home
  4. MoveAdditive

10

10. Trace Velocity and Lag Error with mapp Cockpit

11

About

How To Use B&R mapp motion to implement a single axis project

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors