Related Products
All IP encoders
Can I make IVA rule toggle relay to follow alarm using Alarm Task Script?
Copy/Paste the selection below to your alarm task editor and save.
This script will make your encoder to toggle relay 1 only when IVA rule #1 alarm is active.
// Set TempState to monostable mode, 5 seconds
OperationMode monostable := { High(50) };
TempState(1) := monostable;
if (VCARule(1,1)) then TempState(1) :=true;
if (TempState(1)) then Relay(1) :=true else Relay(1) :=false;