The Xentara C++ Control Engine v1.0.1
User Manual
CPP Control
See also
Skills, I/O Components in the Xentara user manual

The Xentara CPP Control is a type of Xentara I/O Component.

Configuration Parameters

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.

Accessing Control

See also
Accessing Xentara Elements in the Xentara user manual

Control have the following members:

Attributes
executionStateThe execution state of a control instance.
executionTimeThe execution time represents the last execution time of a control instance.
errorThis attribute holds the error code for a control instance. If no error occurred, this attribute will remain empty.
Events
executedThis event is raised whenever the control instance has been executed, signaling the completion of a control operation.
executionErrorThis event is raised when an error occurs during the execution of a control instance, allowing for error handling mechanisms to be triggered.
executionOkThis event is raised when the control instance has executed successfully, confirming that the operation was completed without any issues.
Tasks
stepThis task executes a single step in the control instance, allowing for precise control of the system.