Go to documentation repository
You can use programming with the help of scripts if Axxon PSIM interface settings of objects or Macros capabilities aren’t enough to implement any operating scenario of Axxon PSIM. For more details about interactions between objects, see the table below.
There are two options for writing scripts in Axxon PSIM:
In the embedded programming language. You can use the Program system object of the Programming tab—see The Program object. Programming using the embedded language of Axxon PSIM.
Both options work, but the Program object is deprecated and is no longer developed. We recommend using the Script object and the JScript language to write scripts.
This guide had the following information:
The scripts use:
the Core, MsgObject, Event objects and their embedded methods described in Description of the object model in Axxon PSIM.
Axxon PSIM functionality is based on logical interactions between objects. General information on methods of setting logical interactions:
Method of setting logical interaction | Description | Implementation | Example |
Setting panels of system objects | Basic configuration of interaction between system objects | Implemented using functionality of system objects—see Axxon PSIM configuration and setup | Configuring video display from the Camera in the Monitor interface window |
Macro | Configuration of simple interactions between objects if basic object settings are insufficient | Implemented using the Macro object—see Creating and using macros | Enabling actuator (relay) when sensor is closed |
Program | Configuration of complex interactions between objects if functionality of the Macro object is insufficient | Implemented using the Program object as the code in the embedded programming language of Axxon PSIM—see The Program object. Programming using the embedded language of Axxon PSIM | Return PTZ cameras to their original position and take a photo every 15 minutes |
Script | Implemented using the Script object as JScript code—see The Script object. Programming using the JScript language |