Author Topic: S7-1200 How to manage MC alarms.  (Read 839 times)

Grzesiuk93

  • Newbie
  • *
  • Posts: 1
    • View Profile
S7-1200 How to manage MC alarms.
« on: February 06, 2019, 04:06:00 AM »
Hello :)
I would like to ask you, what is the best method to manage the alarms from Motion Control that has to be displayed in HMI. If we have a couple of drives (one FC per drive), and we use Motion Control blocks separately for each one, we write ID and INFO error to corresponding Words of Global Data Blocks for that axis. However, comparing these Words to specific alarm's code (for example if "Axis_1".MC_Power_Error_ID = 16#8000 AND ...INFO = 16#0001 then we set the bit that will trigger HMI alarm) seems to be a little exhausting to compare at least half of the alarms list and surely its not flexible and readable. So the question is - what is the best practice to gather the alarms of integrated Motion blocks and put the corresponding alarm message to HMI? I would be grateful for any tips.

Phrog30

  • Guest
Re: S7-1200 How to manage MC alarms.
« Reply #1 on: February 06, 2019, 06:29:20 AM »
I wouldn't say mapping to alarm triggers is exhausting. Running a marathon is exhausting.

How do you currently display alarms in AHMI? AHMI really doesn't have a native alarm system. It doesn't have a tag database either. So, your options are widely different compared to FT, Ignition, Wonderware, etc. At some point, you need to get things to a common database. To me, it's just easier to do that in the PLC.  I don't use Siemens, but with Rockwell you can bang code in Excel and then paste in. Is there anything like that in Siemens?