| 
            
            
               
                 | 
                 
 
Calculated Driver Configuration Section
 
 
 
 
 
The information in this document applies to latest revision.
  
This driver is made by the module Calculated.dll
  
It is necessary to create only one unit to make calculations on all scada points
  
Step 1: 
Creation of the new Calculated unit
1	-	Select the menu: Configure\Configure Units
  
2	-	Press button New
  
3	-	Fill in the edit field Name: CALC
  
4	-	Select Type Calculated, flag Unit Enabled and press Configure button
  
5	-	Fill in Recalculate interval. 
6	-	Press button Apply and wait that the Apply button returns active and then press Exit
  
7	-	Restart monitor.exe
  
  
Step 2: 
Create new calculated sample points
8	-	Select the menu: Configure\Configure Sample Points
  
9	-	Press button "New...", to create new sample points
  
 
8 
 | 
 
9 
 | 
 
 
Step 3: 
Edit file script.c in C:\scada\project\scripts with ANSI C language.
  
Error messages of the interpreted code and printf output is redirected to monitor.exe console window.
  
  
Examples:
  
Extract a bit from a variable  example here and rename script.c
  
Calculate PID  example here and rename script.c
  
Celsius to Fahrenheit  example here and rename script.c
  
                 | 
               
             
			 
           | 
         
       
     |