EFILive Home Page | Downloads | Support Forum
Home
Up
 

 

 

Scaled value

Units
The real world units that this scale code represents. (Descriptive only).

Factor
The multiplication factor that is applied.

Offset
The offset is added to the product of the factor and the raw byte (after and inverting or reversing has been applied).

Clicking on the ellipses (button with three dots on it) will invoke the scale code editor - you can select a predefined scaling formula and click on OK to copy the scaling formula's details into the current attribute.

Display
These two fields define the upper and lower chart axis values. They also define the gauge display range for the virtual dashboard.

If the display minimum is the same value as the display maximum then these fields are ignored.

Alarm
The alarm minimum and maximum determine the acceptable operating range of the attribute. The "Aldl (F7)" tab page uses these two values to calculate the %Low and %High values for the attribute. The dashboard also displays gauges in alternative colors when their attributes exceed alarm values.

Minimum/maximum 
Click on the button to automatically calculate the minimum and maximum values based on the number of bits, factor and offset.

Reverse
If this box is checked then prior to multiplying it with the factor, the raw value is subtracted from its theoretical maximum. Its theoretical maximum is (2^bits)-1 where bits is the raw value's number of bits.

Raw Byte

Reversed

0
255
1
254
2
253
3
252
...
...
252
3
253
2
254
1
255
0

Raw Word

Reversed

0
65,535
1
65,534
2
65,533
3
65,532
...
...
65,532
3
65,533
2
65,534
1
65,535
0

Invert
If this box is checked then prior to multiplying it with the factor, the raw value is converted into its reciprocal. The reciprocal is calculated by dividing 1 by the raw byte value+1.

Raw Byte

Inverted

0
1.000000
1
0.500000
2
0.333333
3
0.250000
...
...
252
0.003953
253
0.003937
254
0.003922
255
0.003906

Raw Word

Inverted

0
1.000000
1
0.500000
2
0.333333
3
0.250000
...
...
65,532
0.000015
65,533
0.000015
65,534
0.000015
65,535
0.000015
 

Signed
If this box is checked then prior to multiplying it with the factor, the raw value is converted into its signed representation.

Raw Byte

Signed

0

0

1
1
2
2
3
3
...
...
252
-4
253
-3
254
-2
255
-1

Raw Word

Signed

0

0

1
1
2
2
3
3
...
...
65,532
-4
65,533
-3
65,534
-2
65,535
-1
 

Hex
If this box is checked the value is displayed in hexadecimal. The hexadecimal display is only visible in the ALDL attributes tab page.

Raw Byte

Hex

0
$00
1
$01
2
$02
3
$03
...
 
252
$FC
253
$FD
254
$FE
255
$FF

Raw Word

Hex

0
$0000
1
$0001
2
$0002
3
$0003
...
 
65,532
$FFFC
65,533
$FFFD
65,534
$FFFE
65,535
$FFFF
 

Text
When the attribute is displayed as a "dashboard light" one of these three text descriptions will be displayed when the value:

  1. is below the alarm minimum.
  2. is between the alarm minimum and the alarm maximum inclusive
  3. is above the alarm maximum.

If at least one of these three values contains any text then the text will be displayed on the virtual dashboard in preference to the actual data value.

If ALL three of these values are blank then the actual data value will be displayed on the virtual dashboard .


Copyright 1998-2006 EFILive Limited