Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Examples of scripts with Captions  Example of a script with BacNet Next page


Formats

Format of events procedure for the System restart service object:

OnEvent("SSS_WATCHDOG","_id_","_event_")

Operator format to describe actions with the System restart service:

DoReact("SSS_WATCHDOG","_id_","_command_" [,"_parameters_"]);

Format of events procedure for the Failover service object:

OnEvent("FAILOVER","_id_","_event_")

Operator format to describe actions with the Failover service:

DoReact("FAILOVER","_id_","_command_" [,"_parameters_"]);

Example

Examples of using events and reactions of the System restart service object:

Activate the third camera on monitor 5 when restarting the module.

OnEvent("SSS_WATCHDOG","1"," RESTART_PROCESS")
{
    DoReact("MONITOR", "5", " ACTIVATE_CAM", "CAM<3>")
}


  • No labels