Section Timer 1 Ch
The Section Timer 1Ch calculates the timespan the input is in range of each configured section. It can be configured with the amount of sections and the borders of each section. Each section is defined with lower border (greater than or equal to) and upper border (less than). The following sections lower border is set by the previous upper border. Values that are less than the minimal border are stored in the first array element. Values that are greater than or equal to the maximal border are stored in the last array element.
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.
Configuration options
- Num Sections: This is the number of sections.
- First Lower Border: This is the lower border of the first section.
- Upper Border 00, Upper Border 01, ..., Upper Border n0: These are the upper borders of all sections.
- Enable Display Names: Enable Section Display Names. This configuration is visible hidden in the property window.
- Section Display Names: Display names of the individual sections. This configuration is hidden in the Property window and is used for the HMI.
Output values
- Section: specifies the section of the last input value. If the input value is less than the First Lower Border, the return value is zero. If the input value is in the interval [First Lower Border, Upper Border 00), the return value is one, for the interval [Upper Border 00, UpperBorder 01) it is two, etc. If the input value is greater than the last specified limit Upper Border 0n, the return value is NumSections+1.
- Array of Timespans: total time during which the input value was sorted into each section.
Standard HMI Controls
For the Section Timer 1Ch algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The SectionTimer control visualizes the input value Array of Timespans and the configuration options First Lower Border and Upper Border.
2. The PieChart control visualizes the input value Array of Timespans and the configuration options First Lower Border and Upper Border.
Alternatively, customer-specific HMI controls can be mapped in the Section Timer 1Ch algorithm using the Mapping Wizard.