How to configure buttons on 5MP7251 mobil panel?

For a new project under AS6.5, I have a mobil panel 5MP7251.101P. I need to use the physical keys.

The mobil panel will point a mapp view server running on a 5PPC200_AL18_000 cpu.

The mobil panel will be under Windows 10 OS. I don’t see any mapping file available for OPC.

Hi Eric, and welcome to the Community!

The way I’ve handled this in the past is to create a VC4 visualization that’s just used to map the buttons (keys). You can create a key for each button, and use those keys to set datapoints (process variables). This will run in the background even though you’re actually using mappView for the display.

There might be a different method available in AS6, but that is how I’ve usually mapped the push buttons on the AP5000 panels, and I believe the same method can apply to the mobile panels.

Hi Marcus, Hi Community,

Many thanks for your help.

We are going to try that. I have asked also the B&R support in France to see if there is a better solution.

Best regards.

You’re welcome, please keep us updated when you have a solution!

Hello Eric,

If the project relies exclusively on MappView, I have previously employed this technique with an MP7140:

Retrieving an Event via MappView, such as clientSystem.event.KeyDown / Up:

  • Key presses and releases can be captured dynamically:

The server/info page may serve as a diagnostic aid to verify the output of each key:

Here is an example of an eventbinding designed to manipulate an OPC UA variable (“PageUp” for “V+” key) :

In such usecase, please note it is imperative to implement a reset mechanism for the keys in case the communication between the mobile panel and the mappView server is lost, thereby preventing an infinite axis jog. This can be achieved by monitoring a variable such as clientInfo.isValid System Variables.

Below are the factory-default key assignments:


Please note that not all keys are functional by default. Modifying the KCM file Key Configuration may allow for additional key assignments, though I have not yet had the opportunity to test this myself (yet).

Best regards

Rémi