Hi!
I would like to ask you, how are you managing the alarms from Motion Control that has to be displayed in HMI. If we have two 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
I would like to ask you, how are you managing the alarms from Motion Control that has to be displayed in HMI. If we have two 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