Time Based Teach Path 1Ch
Time Based Teach Path 1Ch periodically writes the input data to a file according to the configured number of teach operations. This means that the values are not written sequentially for each period, but the values of a new period are compared with the existing values. The period can be defined by the input values Start Period and Stop Period (boolean signals are required). According to the teach mode, each value is overwritten or retained, so that the result is a taught input signal that can later be used as a reference signal for the Time Based Envelope 1Ch algorithm, for example.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
It is recommended that you do not use Time Based Teach Path 1Ch at the same time as Time Based Envelope 1Ch due to competing file access. Instead, the reference signal should be learned first and only then should an evaluation with Time Based Envelope 1Ch be performed.
Configuration Options
- Teach mode: Mode for teaching. Defines according to which criteria the values will be compared (Minimum, Maximum or Mean). In case of Mean a weighted average is calculated, in order to ensure that the values of a later period do not have an increasing weight regarding the total result.
- Number of Teaches: Amount of cycles the teach process should be stopped after automatically. If set to 0 the teaching is processed continuously.
- Involve Existing File: If the checkbox is checked and a file with data already exists, the values of the existing file will be included in the teach process. Otherwise the existing file will be ignored and overwritten.
- File Path: Path to the data file.
- Negate Start Period: If the checkbox is checked the Boolean input signal of the Start Period is negated.
- Negate Stop Period: If the checkbox is checked the Boolean input signal of the Stop Period is negated.
Output Values
- Executing Teach: Shows if the teaching is active (time range between start and stop flag).
- Written Values: Shows the total amount of written values during the teach process. Not to be confused with the amount of values in File, which are overwritten each teach cycle.
- Values in File: Shows the amount of values which are written currently into the file (after one cycle the value will be constant).
- Current Teach Cycles: Shows the amount of teach cycles within the file.
Standard HMI Controls
For the Time Based Teach Path 1Ch algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The TimeBasedTeachPath Control visualizes the output values Written Values, Values in File and Current Teach Cycles.
2. The Table Control or Multivalue Control visualizes all output values: Written Values, Values in File, Current Teach Cycles.
Alternatively, customer-specific HMI controls can be mapped in the Time Based Teach Path 1Ch algorithm using the Mapping Wizard.