
18 / 27
5.1.3.
Programming Example 1 (Using HyView):
Changing the actual tank height (10.000 m [33.000 ft]).
To the probe (cable) length L
2
(9.000 m [29.500 ft]) configured by the manufacturer, and saving the new parameter.
Step
Operation
Entered data / value
1
Open the “Device Setup” window for that device in
HyView
The program will read and display the device settings
2
Select “Measurement configuration”
3
Click on "Zero-level dist." (Zero-Level Distance)
The data in the field: 10.000 [m] ([33.000 [ft])
4
Enter the new value
9.000 [m] (29.500 [ft])
5
Press the button labeled “Send” in the lower right row of the window to download the new
value to the device
6
Press the “X” close button to exit the device settings window
Programming Example 2 (Using HyView
):
Setting custom scale:
Select the “Level” measurement mode as the current loop output parameter to set the scale from the bottom of the tank.
Set the current range from 4
…
20 mA with 22 mA as error signal.
Select the appropriate minimum and maximum values for the measurement scale.
Step
Operation
Entered data / value
1
Open the “Device Setup” window for that device in
HyView
The program will read and display the device settings
2
Select “Measurement
configuration
3
Within the “Measurement mode PV” section, select the new setting value (Level) from the drop
-down
list
This field will read “Level”
4
Select “Outputs”
5
Select “Error indication …” drop
-down list.
The field will say “Hold”
6
Select “New setting” from the drop
-down list
The
field will say “22 mA”
7
Select the data field named “Assignment of 4 mA
-
PV”
.
The field will say
“0.000 [m]”
(
“0.000 [
ft
]”
)
8
Enter the new value.
This gives the level corresponding to a minimum output of 4 mA.
The field will say
“1
.
000 [m]”
(
“
3.300 [ft
]”
)
9
Select the data field named “Assignment of 20 mA
-
PV”
The field will say
“6
.
000 [m]”
(
“20 [ft]”
) (default: 6.000 [m])
10
Switch to 8,600 m.
This gives the level corresponding to the maximum output of 20 mA (and sets the maximum output to
the upper limit of the dead zone).
The field will say
“8
.
600 [m]”
(
“
28,2 [ft
]”
)
11
Press the button labeled “Send” in the lower right row of the window to download the new values to
the device.
12
Press the “X” close button to exit the device settings window
.
Creating a volume table
–
(HyView OC-table (OCT))
A conversion table has to be created using HyView to measure volume.
The volume values in the table are assigned to the measured levels. For asymmetrical and irregularly shaped containers, the accuracy of the volume measurement
depends on the number of pairs of values associated. The maximum number of pairs is 20. The volume is determined by linear interpolation between two value
pairs. The conversion table is usually used for volume measurement, but can also be used for weight or flow measurement.
The following example shows five-point programming.
Here's how to create a user-defined "level-to-volume" conversion table (using HyView).
Step
Operation
Entered data / selected value
1
Open the “Device Setup” window for the device in
HyView.
2
Go to “Application” and select “Calculation system”
.
Metric (EU), Imperial (US), Optional
Unit
3
Select length (Engineering Unit).
m (ft)
4
Go to
“Me
a
surement configuration”
and select volume from the
“Measurement mode (PV source)” list.
Volume
5
Select the volume unit in
“Volume Units”
.
m³ (ft³)
6
Go to
“Measuring distances”
Enter the tank height into
“Zero
-
level dist.” (
click in the field and enter the value).
6.00 m (20 ft)
7
Go to “Probe length” and enter s value for probe length
5.80 m (19 ft)
8
Go to the “Minimum (P5)” field and enter the dead zone value (forbidden dist
ance)
0.40 m (1.3 ft)
9
Press the button labeled “Send” in the lower right row of the window to download the new values to the device
.
Please wait while the download process
is complete
10
Go to
“OC
-
Table”
Fill in the table called “OCT list” with the
appropriate values.
A maximum of 20 points can be entered. Each level and volume point must be entered.
Each subsequent point must be larger than the previous one.
New lines
can be created by pressing Ctrl + Insert, or by selecting “Add new item” in the r
ight mouse button popup menu.
Lines can be deleted by pressing Ctrl + D.
See the following table
(Table 2)
11
To download the spreadsheet to your device, press the “Send” button on the right side of the tab (OC
-
table) below the “Get”
button.