Anyone know how to trigger an alarm if the connection to the OPC server fails? Ignition is connected to a Kepserver installation, but occasionally the connection fails until the system is restarted. That’s a whole other issue, but I’d like to have something in place so that I know that the connection has failed as soon as it goes down.
You can subscribe to Server/ServerStatus/CurrentTime and put a Bad Quality alarm on it.
Hmmm, I tried that but it didn’t seem to work. I assumed it was because the quality code itself is supposed to come from the OPC server, so if the OPC server can’t say “this is bad quality” then Ignition didn’t know. Ignition just reports ‘Not Connected’, not ‘Bad Quality’. Have you tried this?
I think what you’re seeing is a Bad_NotConnected quality, which should trigger a bad quality alarm.
Ah, so it does. I think perhaps I didn’t leave the connection down long enough before the alarm was generated or something.
Thanks for the help, Kevin,