Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The MACRO object sends events presented in the table.   Procedure is started when the corresponding event appears.

...

Event

Description

ParametersParameter descriptions

"RUN"

Action is performed

src_sender<>

The name of the computer on which the macro was executed.

Note. The value of this parameter is displayed in the Add. info column of the Event viewer in viewer in real time. When Axxon PSIM is restarted and event log records are loaded from the database, this information is not displayed in the interface, but remains in the database.

user_id<>

The identifier of the user who executed the macro.

Note. The value of this parameter together with the user name is displayed in the Add. info column of the Event viewer in viewer in real time. When Axxon PSIM is restarted and event log records are loaded from the database, this information is not displayed in the interface, but remains in the database.

Operator format to describe actions with the macros is:

...

Commandcommand description

Parameters

Description

"RUN" – perform action

-

-

"SETUP" – set parameters for macro

name<>

Object name.

flags<>

Flags.

state<>

Object state.

hidden<>

«Hidden» flag.

local<>

 «Local» flag.


Properties of the MACRO object are shown in the table.

Properties of the MACRO object

Description of properties

ID<>

Object ID.

PARENT_ID<>

Parent object ID.


The MACRO object can be in the following states:

State of the MACRO object

Description

"NORM"

Normal.


Examples of using events and reaction of the MACRO object:

...