UniInt End User


Event=‘trigger_tag_name’ event_condition



Download 1.93 Mb.
Page16/79
Date29.09.2022
Size1.93 Mb.
#59623
1   ...   12   13   14   15   16   17   18   19   ...   79
UniInt Interface User Manual
PI BASemAPI
Event=‘trigger_tag_name’ event_condition
The trigger tag name must be in single quotes. For example,
Event=‘Sinuoid’ Anychange
will trigger on any event to the PI Tag sinusoid as long as the next event is different than the last event. The initial event is read from the snapshot. Depending on the interface, developer-specific event conditions may be configurable. The tag name must be surrounded by the single quote and there can be no text between the second or closing single quote and the trigger keyword.
The keywords in the following table can be used to specify trigger conditions.

Event Condition

Description

Anychange

Trigger on any change as long as the value of the current event is different than the value of the previous event. System digital states also trigger events. For example, an event will be triggered on a value change from 0 to “Bad Input,” and an event will be triggered on a value change from “Bad Input” to 0.

Increment

Trigger on any increase in value. System digital states do not trigger events. For example, an event will be triggered on a value change from 0 to 1, but an event will not be triggered on a value change from “Pt Created” to 0. Likewise, an event will not be triggered on a value change from 0 to “Bad Input.”

Decrement

Trigger on any decrease in value. System digital states do not trigger events. For example, an event will be triggered on a value change from 1 to 0, but an event will not be triggered on a value change from “Pt Created” to 0. Likewise, an event will not be triggered on a value change from 0 to “Bad Input.”

Nonzero

Trigger on any non-zero value. Events are not triggered when a system digital state is written to the trigger tag. For example, an event is triggered on a value change from “Pt Created” to 1, but an is not triggered on a value change from 1 to “bad input.”

Download 1.93 Mb.

Share with your friends:
1   ...   12   13   14   15   16   17   18   19   ...   79




The database is protected by copyright ©ininet.org 2024
send message

    Main page