The four control types shown in the illustration are presented in the same order as the SLSliderTur options in the source code. Each type provides a different way for the operator to select a value and a different visual presentation on the screen.
01
Mac Trackbar
−10
−5
0
5
10
Mactrackbar is the first SLIDER type in the source code. It uses a classic trackbar-style appearance and presents value selection on a compact linear scale.
Use: Screens where operators need to select a specific analog value quickly, screen space is limited, or a classic trackbar appearance is preferred.
02
3-Position Rocker Switch
Switchrocker3way has a switching mechanism
similar to a wall-mounted light switch used in homes. However, instead
of two positions, this control offers three distinct positions:
upper, middle, and lower. Each position can represent a different selection
or a different value to be written to the controller.
Use:
Three-stage speed selection, pump or fan operating levels,
capacity selection, operating modes, and applications where the operator
needs to choose between three different commands or values.
03
Slider
Slider is a linear control type that allows
continuous value selection within a defined minimum and maximum
value range. In terms of operating principle, it is similar to
the Mactrackbar control: the operator moves
the thumb along the linear scale to select the desired value, which is
then written to the controller. The main difference between Slider
and Mactrackbar lies not so much in their operating principle as in their
visual design and how the value is presented to the user.
Scale:
The slider can include a scale and ticks indicating the value range.
The thumb is not limited to just a few predefined points; it can be
moved within the defined minimum and maximum range to select intermediate
values as well.
Relationship with Mactrackbar:
Slider and Mactrackbar use similar linear
sliding mechanisms for value selection. Slider implements
this approach with a different visual design and scale presentation.
The two controls can therefore be considered different visual
representations of the same type of continuous value selection.
Use:
Operator adjustment of continuous variables such as speed, flow rate,
pressure, temperature setpoint, valve position, analog output, and
motor speed.
04
Selection Slider
Switchslider is a control type that uses
a linear slider appearance and allows the user to select among the
VALUE_POINT_COLLECTION values defined by the user.
The slider thumb moves between the defined selection points and writes
the selected point's value to the controller.
VALUE_POINT_COLLECTION:
Each selection point has ItemValue and
ItemText properties. For example, a point can be
defined with ItemValue = 50 and
ItemText = "Medium". When the operator moves the
slider to that point, the value 50 is selected, and
the text Medium is displayed to describe the selection.
Use:
Control screens requiring selection among predefined operating stages,
speed levels, pump or fan stages, operating modes, valve positions,
or specific values.