Skip to main content
Version: 5.4

Script trigger

The script trigger triggers a data transfer if the CheckTrigger method returns true. In the script trigger, the programmer can define input parameters that must be set here, in the connection configuration (with value or template variable). They can not be filled dynamically at runtime. If the script trigger requires dynamic values, these must be determined in the trigger itself (e.g. with OpcAccess.Read). Script triggers can also be used with variables in templates and transferred to instances. Attention: No values can be output in the initialization area. The parameters are reset there before the transfer. Conversion from the OPC Router 3.x can be carried out including variables and values.

Script trigger

The individual properties are:

ScriptTrigger script being executed.
Script parametersInput parameters defined in the script. All parameters must be provided with a value or a template variable.