I haven't experimented with this feature but where you declare the alarm triggers in FactoryTalk View, you can use an expression instead of just a straight tag. So if you have a bit that indicates if the machine is active/not_active, you can use that tag in a if..then..else statement that would use, or not use, the alarm trigger assigned to your faults that you are trying to disable.