EnableEvents
Function - Enable or disable the production of events for binding (Service Engine to Runtime Service variable exchange).
Inputs
Input |
Data type |
Description |
EN |
BOOL |
TRUE to enable events / FALSE to disable events. |
Outputs
Output |
Data type |
Description |
ENO |
BOOL |
Echo of EN input. |
Remarks
Production is enabled when the application starts. The first production will be operated after the first cycle. So to disable events since the beginning, you must call EnableEvents (FALSE) in the very first cycle.
In LD language, the input rung (EN) enables the event production, and the output rung keeps the state of the input rung.
ST Language
ENO := EnableEvents (EN);
FBD Language
LD Language
Events are enables if EN is TRUE.
ENO has the same value as EN.
EnableEvents |
IEC 61131-3 Automation platform > Programming - Reference guide > Advanced operations > EnableEvents |
Created with the Personal Edition of HelpNDoc: Effortlessly Edit and Export Markdown Documents