Basic use of QCX Calculator
The calculator funtion in QCX can be a challange to use but there is a short description on how to do basic calculations and to set up basic programs.
In the Calculator there are 2 options:
Edit and
Program View (see 2)
When browsing in the hierarchy the
EDIT function have to be active / selected to be able to do anything.
When in
EDIT mode and selecting a calculator point (blue dot) then the option to either: edit the calculator point, create a new point or delete the point becomes active.
When activating the
PROGRAM VIEW and also
EDIT the option to either create new programs or edit the existing becomes active.
To go in and out of
Program view it just needs to be activated and de-activated.
To save any changes or work – click
EDIT!
To view and edit a Calculator point´: Browse in the hierarchy to the right point (will have a blue dot)
Make sure
Edit is active
Select the point and select the
edit point function
The program used for the point can be seen to the right.
When selecting any of the inputs a menu comes up to the right with a option to either change the link or put in a constant.
Make a new calculator point
Browse to the location in the hierarchy where the new point should be placed.
Select “New point” in the point menu
Give it a name
Select the program needed for the point
Click OK
Now the new point is shown to the right of the hierarchy and by clicking on the individual lines either a constant or a link can be connected to the point. When selecting as link a browser window comes up so it is possible to find the right data for the calculation.
How to make a new program
Select
Program view and then
Edit mode
Now select “
Add new Program”
A new window opens:
Now in the Output variables: define the name of the end product for the program: f.inst. LSFCalculated, or SIMcalc.
IN Input Variables: define the names of the Input parameters needed: f.inst. if LFS needs to calculated there need to be input of: Ca, Al, Si, Fe
It is a good idea to write down the formular of interest so it is easier to break down the formular into modules.
Both the Input and the Output have to be defined before they can be used in the programming.
In this example the LSF will be calculated.
Output and input is defined in the example below.
A local output for the interim result is dragged and dropped into the blank area and given a name.
The formular for LSF is this:
LSF= 100*CaO / 2,8*SiO2+1,8*Al2O3+0,65*Fe2O3
The formular will be divided into two steps in the calculator above and below the division:
The MUL_REAL (multiplication of Real values) is dragged and dropped onto the line between the output and the input.
Then IN1 is given the value 100 and the IN2 is set with Ca as input.
This means: 100*Ca
Now the base of the formular is created:
Si * 2,8
+
Al*1,8
+
Fe*0,65
= LSF_Base
LSFstep_wise / LSF_Base = LSFCalculation
Test it in debug (upper left corner)
to make sure the program runs correct.
Click save to exit the program editor
Give the program a new name and version number
NOW – the program is NOT saved until edit is clicked in the calculator!!!!!!!!!!!!
Now the new program can be seen in the program view window and is ready to use.