How to Alarm history in Mapp view running PPc2100 Linux OS

Hi All,

couldn’t be able to store the alarm in alarm history Mappview running @ PPC2100 ,

Operating System: Linux,

Please help on this

Hi Veeresh,
In order to use MpAlarmXCore and MpAlarmXHistory in mapp View, you need to do the following:

  1. Add the configurations (B&R Online Help) for MpAlarmXCore and MpAlarmXHistory in the mapp Services package under your processor in the Configuration View.

  2. Configure any alarms in the MpAlarmXCore configuration.

  3. In mapp View, if you are trying to use the AlarmList and AlarmHistory widgets, you will need to add the MpServer library. To do this, go to the Logical View > Libraries, double-click the “B&R Libraries” in the toolbox, and select “MpServer”. This will add it to your used libraries.


  4. Navigate to your mapp View Alarms page and add the AlarmHistory widget. Bind it to your MpAlarmXHistory MpLink.


  5. Add and configure as many AlarmHistoryItems as you would like to monitor.


Please follow up with any questions or further issues you may have.

Alarm History not saved in linux OS-ppc2100.docx (204.9 KB)

Hi ,
All above already done.

In simulation its working fine but in pc its alarm history did not come.

I have one doubt, how to mention file name in our Automation studio created in linux OS.

This is the right path?

fyr


Hello,

If I understand correctly, the issue is that you can only access the Automation Runtime file system using File devices in a CPU configuration.

One possible solution would be to use an FTP server on Linux. You can create a file device that represents this FTP server using the DevLink FUB.

The easiest way to start (especially if you want to get something working) is to just use the default file device with Name USER and path USER_PATH. This will point to the User partition and works in both simulation and a real target. In simulation, files will be stored in your project’s Temp directory. On a real target, they will end up on the F:\ partition.

How does Linux factor into this test? If you are working with file devices on a PPC2100, then I assume the PC has Automation Runtime installed, which means that you can access files within the AR file system. In this case, “/home/” doesn’t point anywhere; you need to reference everything from the User partition. Do you mean that you have Automation Studio installed into a Linux OS and you’re trying to run ARSim from Linux? This is not officially supported (Automation Studio is only supported in Windows) so while this may be possible somehow, I imagine you could run into weird issues (like files not being where they’re expected to be).

Dear @marcusbnr,

In relation to your question

How does Linux factor into this test?

please take a look at this thread. It seems like both threads refer to the same PPC2100 device and configuration.

Hope this clarifies a few things…

Thank you and Best Regards,
AK