User Manual For - CONTROLLER/DATA RECORDER MultiCon CMC-99/141
Rounding
Rounds numerical values according to
Precision
parameter settings.
The
Rounding
parameter has options:
–
disabled
– rounding is not active. Numerical values are stored with maximal
precision. Only displaying is adjusted to
Precision
parameter settings,
–
standard
– numerical values are rounded down when digit on less valid position is in
range of <0,4>; numerical values are rounded up when digit on less valid position is
in range of <5,9>,
–
floor
– numerical values are rounded always down,
–
ceil
– numerical values are rounded always up,
Example of
Rounding
function effect:
Input value for Rounding function is
3.456789
shows results of all available
rounding options (horizontally) for all values of Precision parameter (vertically).
0
0.0
0.00
0.000
0.0000
standard
3
3.5
3.46
3.457
3.4568
floor
3
3.4
3.45
3.456
3.4567
ceil
4
3.5
3.46
3.457
3.4568
Tab.7.3
Example of
Rounding
function effect
Displaying
parameter block
The constant parameters of the
Displaying
block are:
–
Format
- the logical channel data formats, which are:
•
numeric
– value in this channel is displayed as a number,
•
binary
– only for values:
'0'
for a low state and
'1'
for a high state,
•
time
– value in this channel is displayed as time. The logical channel in the
time
Format
will always consider its value as a number of seconds and base on this
and settings in the
Time pattern
parameter, the logical channel will calculate
the value to be displayed,
–
Time pattern
– this parameter occurs only when the
Format
parameter is set as
time
; it allows the user to define the time pattern at his will. The only restrictions are
that higher units have to stand before lower units and different units have to be
separated with the colon character. It is allowed to create units which contain any
number of digits. When the user creates a pattern which is forbidden, the device will
detect it and set the pattern as default.
–
Precision
– this parameter occurs when the
Format
parameter is set as
numeric
or
time
, which specifies the precision to be displayed on the output value (see
–
Off-state text
– this parameter occurs when the
Format
parameter is set as
binary
,
when the input value is
≤ 0
the value is replaced by the text defined by the user,
the default settings text is:
OFF
,
–
On-state text
- this parameter occurs when the
Format
parameter is set as
binary
,
when the input value is
>0
the value is replaced by the text defined by the user,
the default settings text is:
ON
,
84