Module faulted status, how to check from inside

I created a module. the automation engineer wants a way to detect if my module is faulted from within his HMI stuff, not checking the Module Status page. Is there a way to detect module status or to raise an alarm when a module faults or an event or something?

In the gateway scope, you can call system.util.getModules to get a dataset with all your modules and their status on the gateway:

1 Like