|
The Xentara C++ Control Engine v1.0.1
User Manual
|
The Xentara CPP Control is a type of Xentara I/O Component.
You can configure parameters in the Xentara model file, which will be used during the control's initialization and execution. These parameters allow you to define key settings, such as proportional gain, threshold levels, or other control-specific values, ensuring flexibility and adaptability without hardcoding them. During initialization, the control instance accesses these parameters to customize its behavior based on the provided configuration.
Additionally, you can reference to Xentara datapoints as part of the configuration, allowing your control to interact with real-time data during execution. In the initialization process, these configured values and any references to Xentara elements, such as datapoints, should be accessed and stored. It enables you to utilize them throughout the control's execution process. This approach ensures that control modules remain adaptable to various operational scenarios, offering a streamlined method for integrating both static and dynamic configuration values.
Control have the following members:
| executionState | The execution state of a control instance. |
| executionTime | The execution time represents the last execution time of a control instance. |
| error | This attribute holds the error code for a control instance. If no error occurred, this attribute will remain empty. |
| executed | This event is raised whenever the control instance has been executed, signaling the completion of a control operation. |
| executionError | This event is raised when an error occurs during the execution of a control instance, allowing for error handling mechanisms to be triggered. |
| executionOk | This event is raised when the control instance has executed successfully, confirming that the operation was completed without any issues. |
| step | This task executes a single step in the control instance, allowing for precise control of the system. |