Home
FreeSCADA User Manual
Contents
1. usr local bin mysql u root helge db EOF delete from property data where timestamp CLEANDATE optimize table property data EOF http www raditex se 39 RADITEX AB CONTROL 2004 10 11 40 Oct 11 14 45 2004 Part III Operation Al Chapter 9 Process Viewer When an entire site has been configured the process screens may get very extensive Figure 9 1 show a how it may turn out There are a lot of vreten Site Alarms Statistics compro L Panna B Panna Global site status Global alarm state Fig 9 1 FSGUI Complete Process Screen objects and components to keep track of and to assist the site operator with this task FSGUI provides a 43 RADITEX AB CONTROL 2004 10 11 number of features for system control and supervision The alarm utilites helps the operator to quickly discover and locate sources of malfunction in the system and the alarm logs provides valuable information on long term operation and performance for different hardware and software entities in the system Chapter 11 describes the alarm utilities in detail The statistics utilities is crucial in the process of monitoring and fine tuning the control rules of a site In chapter 12 the details of the statistics utility are described The event log utility provides a comfortable and easy to use activity log with which an overview of the work and changes that has been made on the site Next chapter c
2. ipio The ipio module supplies four DIO s four relays and four DAC s interface localhost port localhost is the internet address of the ipio module and port is the command port of the module default 8 id relay1 4 The ipio relays are accessable through the device id s relayl relay2 etc diol 4 The ipio digital input output are accessable through the device id s diol dio2 etc dacl 4 The ipio DAC s are accessable through the device id s dacl dac2 etc fecfc34 Festo FEC FC 34 I O and relay module interface hostaddr hostaddr is the internet address of the Festo module id relay1 8 The relays are accessible through the device id s relayl relay2 etc dil 8 The digital input are accessible through the device id s dil di2 etc dol 8 The digital output are accessible through the device id s dol do2 etc snmptemp Temperature sensors on SNMP compatible temperature hub interface hostaddr hostaddr is the internet address of the temperature hub id temp1 8 The temperature sensors are accessed via the device id s templ temp2 etc numsensors The numsensors device id tells how many temperture devices that is connected to the temperature hub Table 5 1 Device interface and id formats 18 Oct 11 14 45 2004 RADITEX AB CONTROL serial code ds1820 The ds1820 module supplies temperature sensors interface num num is the number of the serial port
3. The Event Log window is opened from the Administration Event Log menu in the FSGUI main window Too add new event log entries the Write in the log window is used which is open with the button with the same name 45 RADITEX AB CONTROL 2004 10 11 Write in the log Log a new event 2002 08 1 3 12 00 2002 0831 3 12 05 Created demosite databases and added myself in contact person list Fig 10 2 FSGUI Add New Log Event Entry Event Log ml 96 Event lag view 4 August gt 4 2002 p 2002 08 19 12 00 00 2002 08 19 12 05 00 by rob id 1 Mon s Thu Fri 53 Created demosite databases and added myself in contact person list Select log for user rob A Write in the log Remove log entry Fig 10 3 FSGUI Event Log with entry 46 Oct 11 14 45 2004 Chapter 11 Alarms One of the main purposes of FSGUI is provide a convienent and effective way to supervise the FreeSCADA system A very important aspect of the supervision functionality is the alarm system If something goes wrong it s important that information of the malfunction quickly reaches the site operator FreeSCADA supports serveral ways of alarm notification such as e mail sms fax etc 11 1 Alarm notification The process viewer in FSGUI is also a way of alarm notification When a device failes to operate properly the FreeSCADA system triggers an alarm FSGUI continually check the Free
4. Inspection periodicity months Service date Measurement unit Maximum value Minimum value Fig 8 3 FSGUI Set Device Type The Set device type window and the Administrative info windows may also be opened through the 36 Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 administration device list window which is opened with the Administative info menu option in the Con figure menu in the view editor window see figure 7 4 Administrative information Device id localhost ds1820 0 1200000025483B10 localhost ds1820 0 3000000024C84410 localhost ds1820 0 CE00000025B24C10 localhost ds1820 0 090000002547FE10 localhost pci7250 output0 localhost pci 250foutput 1 localhost pci 250 output2 localhost pciz250 output 3 localhost pcib208v output localhost pciB208v output 1 localhost pciB208v output 2 localhast pcib208v output 3 lacalbastiniolloralhost1234S5trala0 4_ 1 Edit info for selected device Set type for selected device Fig 8 4 FSGUI Set Device Type 8 3 Reports The FreeSCADA system includes a report generator which at scheduled times automatically generates a report with system status and property history data The content of the report is configurable as well as the times when they should be generated and delivered The report system is divided in two parts A report is specified by a name delivery method recipient and a report type A repo
5. RADITEX AB CONTROL Component settings Orientation Left Position X 114 3 NOE 3 Size width zo 4 Height ao 3 Property Device property 77 Browse properties Apply Close Fig 7 24 FSGUI Component settings 2004 10 11 The Browse Properties button open the property browser window in which a property may be selected When a property is selected in this window and the Ok button is click the field in the property frame is replaced by the selected property and the name of the device it s associated with In order to save the changes in the FreeSCADA Database click on the Apply button Propbrowser Device Property GTA 1 temperature GTA 2 temperature GTA 3 temperature GTA 4 temperature relay5 relay relayb relay relay4 relay relay3 output relay2 output relay1 output text text dao dac AT Ok Cancel Fig 7 25 FSGUI Property browser After these step are performed the component is connected to the FreeSCADA system and will be auto matically updated in order to reflect property s value and state 34 Oct 11 14 45 2004 Chapter 8 Adminstative Information Besides hardware control and process view information the FreeSCADA Database also holds administative information of system In FSGUI administrative information about the site and the individual components may be specifi
6. Sessions menu in the FSGUI main window Which currently is a MySQL database 13 RADITEX AB CONTROL 2004 10 11 4 2 Contact Person Records When a new site has been created and a session to this site has been established the next thing to do is to add contact persons entries for every person that will work with the site By doing this everyone that makes changes or other work on the FreeSCADA site can use the Event log utitlity This gives a quick and easy way of overviewing the work that has been done on the site Person info s x Persons Name Username Role Company Address Work Phone Phone Home Phone E mail Robert Johansson rob DEVELOPER Raditex AB Sickla Alle 7 131 086949270 0733748769 031654062 rob raditex se Add a person Close Fig 4 2 FSGUI Contact Person list The Contact Person window which is invoked via the Contact Person option in the Administration menu on the main application window By clicking the Add a person button the window below will appear After the information has been fill in click the Ok button and a new person entry will appear in the contact person list 14 Oct 11 14 45 2004 RADITEX AB CONTROL http www raditex se Person info Add a person Username rob Name Robert Johansson Company fRaditexAB 7 Street address Sickla Ale7 Postal code 13134 Town 7 State 1 C
7. 37 112 8 dac1 Log continuity dace localhost ipio 132 168 37 112 8 dac2 7 EN II 27 Active Yes Device Property temperature New Save Delete dummy dummy intl relay2 relay relay3 relay relay4 relay diol dio dio2 dio dio3 dio dio4 dio dac dac a Fig 5 2 FSGUI Device and Property window property page When adding a new property the are six things to specify First the device associated the property must be selected in the device list to the left Next there are five fields to fill in name type log interval log precision and log continuity Use table 5 1 to lookup the correct name and type data for the device type you are working with The log interval field specifies the time interval in seconds between every logging of the property value in the history database The log precision field specifies the precision of the property value The log continuity fields specifies how many measurements that can be skipped in the history database if the differences are smaller than the precision delta The fifth tab in the Configure Devices and Properties window Delete device of property can be used to remove devices and properties See figure 5 3 It s also possible to delete devices and properties from the other pages 20 Oct 11 14 45 2004 RADITEX AB CONTROL Device Property Delete device or property Device relay4 d
8. 51 I Statistics Windows a 2er ee 52 I Statistics Windows raw data listing 53 I Manual Operation Boolean 55 I Manual Operation Percentage ee 55 Oct 11 14 45 2004 List of Tables 5 1 Device interface and id formats 2 oaa a a a 5 2 Device interface and id formats continue 0000 a 5 3 Property definitions se eos eee be bee a eee ee vii RADITEX AB CONTROL 2004 10 11 viii Oct 11 14 45 2004 Part I Basics Chapter 1 Introduktion This user manual for FreeSCACA covers configuration of a site and supervision and control of a site using the FreeSCADA Graphical User Interface fsgui This document assume that the FreeSCADA system is installed and running This is automatically ensured when installing the FreeSCADA distribution of FreeBSD In order to manually install the FreeSCADA system please consult the FreeSCADA Technical Documentation 1 1 FreeSCADA Graphical User Interface FreeSCADA is a open source SCADA system which takes advantage of the performance and cost efficiency of modern PC technology The FreeSCADA system is controlled and supervised with the FreeSCADA Graphical User Interface FSGUI From this application everything in the FreeSCADA system can be configured and maintained In this user manual for FreeSCADA all these topics will be explained 1 2 Network
9. Property dac temperature temperature temperature temperature temperature GTA tomnaratura a il Cancel Fig 8 7 FSGUI Report Type Add Section window 2004 10 11 The content of a module is generated by modules which are connected to different sets of properties Using the TemperturePlot module on a set of temperature properties results in a temperature plot with these properties to be included in the report using that particular report type There are several modules to choose between and each of them presents statistics for the properties associated with it in a different way By combining modules with the interesting properties in a FreeSCADA site very informative report may be generated includeing run time statisics with histograms diagrams of the property values etc When adding a secton to a report type the Add Report Section button is used The Add Report Section window then appears and module and a set of properties can be selected Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 8 4 Database Cleanup One problem with collecting vast amount of data is that there will be vast amount of data This will soner or later fill upp your storage medium Therefor it is whise to cleanup the database with a regulary intervall This script coule be paced in a cronjob or in FreeBSD in a file sutch as etc periodic weekly 600 clean_fs_datbase bin sh CLEANDATE date j v 2m Y m d000000
10. Sek Sea SE WS 32 1 Air Cooler Component 4 4 dew 43 vd RR X YR G4 49 REESE 32 I Air Warmer Component 32 I Burner Component 4 4 4 22 00 a O6 000 4 de mom E RO eS 32 I Water Heater Component cc 32 Pump Component a amaa A A 32 I Compressor Component 32 I Pipe Component e ead a 44 2 2 pow ee ue e eee aaa ee 32 RADITEX AB CONTROL 2004 10 11 7 14 7 15 7 16 7 17 7 18 7 19 7 20 7 21 7 22 7 23 7 24 7 25 8 1 8 2 8 3 8 4 8 5 8 6 8 7 9 1 9 2 10 1 10 2 10 3 11 1 11 2 11 3 11 4 11 5 11 6 12 1 12 2 12 3 13 1 13 2 vi FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU FSGU I Directed Pipe Component 32 I Water heat exchanger Component o ooa e 33 Damper Component 4 e ta ee 33 I Temperature Sensor 33 I Old Temperature Sensor Component 33 I Analog Temperature Sensor Component 33 I Auto valve aa 140 ER RR x WO Roe EAR RAR EE RU UR e Oe ERA a dd 33 I Percentage valves macciu 0 om Fem XL RUSO A VOR EURO OS OE E 33 L
11. Strategy FreeSCADA uses TCP networking as communication layer and so do the graphical user interface In two ways accually First the FSGUI application uses a TCP IP protocol to communicate with the FreSCADA Database which in turn the underlaying FreeSCADA system connected to and second via the X Window System This network stategy makes it possible to connect a locally executing FSGUI application to remote FreeSCADA systems or let the window of a remotely executing FSGUI pop up on your local screen 1 3 FreeSCADA terminology With the FreeSCADA system comes a more or less new terminology and concepts which we must take a minute or two to get familiar with before we continue A complete running FreeSCADA system is called a site which consist of a populated database and a whole bunch of applications which in one way or another connects to this database It s FSGUI s task to setup and maintain this database To every piece of hardware in the physical installation that the system will run on one must associate a device object in the database in order for the FreeSCADA system to know what hardware is available Further every device is associated with properties which defines how the device hardware will be used and a way to access it The FreeSCADA database also contains the complete definition of the control conditions and regulation parameters etc of the system that is to be controlled This includes control scripts control even
12. of Month Day of Week EN x Description test Clear fields Add control variable Save changes Fig 6 3 FSGUI Add Control Variable A control variable is defined by the following attributes a name a scope a type a value a start time pattern a end time pattern a description and a reference to a control script A usual the name is for convenience The scope can be either LOCAL or GLOBAL which means that the variable is accessable from the associated control script only or for all control script respectively The value contains the value of the variable and this may be changed by the control script The type field can be one of INTEGER DOUBLE and STRING and defines the data type of the variable The start time and end time patterns defines an interval in which the variable is active By combining control variables with the same name but different interval a variable can take different values at different times http www raditex se 25 RADITEX AB CONTROL 2004 10 11 6 4 Control Relations Control relations are added modified and deleted with the fourth tab Control relations see figure 6 4 in the Configure script and variables window Control relation provides a way to define a complicated relation between two variables in a simple and flexible way If for example a control parameter depends in a complicated way on a physical variable then a control rel
13. which the ds1820 i e 0 and 1 represent dev cuaa0 and dev cuaal respectively id The unique DS1820 device serial number of the temperature sensor i e 1200000025AB3B10 pci7250 The pci7250 module supplies eight relays and digital inputs interface num num is the number of the pci7250 card i e 0 and 1 represents dev pci72500 and dev pci72501 respectively id nume 1 7 Specifices which relay or digital input on the card the device is accociated with pci6208v The pci6208v module supplies eight DAC s interface num num is the number of the pci6208v card i e 0 and 1 represents dev pci6208v0 and dev pci6208v1 respectively id nume 1 7 Specifices which DAC on the card the device is accociated with Table 5 2 Device interface and id formats continue 5 2 Properties 2004 10 11 A property is a logical object associated with a device Different device modules provides different properties The ds1820 module for example provides a property which is called temperature This is a property which can be read but not written In table 5 2 there is a complete list of which properties the different driver modules provide Device module Property Data type R W Description ipio relay Integer R W Relays 0 is opened not 0 is closed dio Integer R W Digital input output On if 1 Off if 0 dac Double R W Digital analog converter value
14. 0 0 10 0 pci7250 input Integer R The digital input On if 1 off if 0 output Integer W The relays 0 is opened not 0 is closed pci6208v output Double R W The digital to analog converter value 0 0 10 0 input Integer R Digital inputs On if 1 off if 0 ds1820 temperature Double R Tempererature fecfc34 relay Integer R W Relays 0 is opened not 0 is closed di Integer R W Digital input On if 1 Off if 0 do Integer R W Digital input On if 1 Off if 0 snmptemp temperature Double R Tempererature numsensors Integer R Numbers of sensors connected to the hub Table 5 3 Property definitions The properties are added and modified with the second page in the Devices and Properties window Property See figure 5 2 http www raditex se 19 RADITEX AB CONTROL 2004 10 11 Configure devices and properties Device Property Delete device or property Device Device id pe Name GT 1 localhost ds1820 0 6000000025840110 relay1 localhost ipio 132 168 37 112 8 relay1 DOUBLE relay2 localhast ipio 192 168 37 112 8 relay2 relay3 localhost ipio 132 168 37 112 8 relay3 Ll Value 28 1126 relay4 localhast ipio 192 168 37 112 8 relay4 diol localhost ipio 192 168 37 112 8 dio1 Log interval 10 dio2 localhost ipio 132 168 37 112 8 dio2 dio3 localhost ipio 132 168 37 112 8 dio3 Log precision 0 1 dio4 localhost ipio 192 168 37 112 8 dio4 dac localhost ipio 132 168
15. 00 Info Administrative info Operate Statistics Alarms Global site status Fig 11 2 FSGUI A Process View with the component popup menu In order to show the alarms for a collection of components a set of components first must be selected In the process viewer components can be selected by clicking on them with the left mouse button while the control key Ctrl on the keybord is pressed Keep clicking on components until all components of interrest are high lighted Any number of components in a view can be selected in this way The Alarms Show alarms for the selected objects menu option in the processes view window see figure 11 3 brings up the alarm log window with the selected components Finally by using the Alarms Show alarms for objects in current view menu option in the process view window the alarm log is opened with the alarms of all components in the current process view 48 Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 Example Site Alarms Statistics Show alarms for objects in current view Show alarms for selected objects Show global alarms Global site status Fig 11 3 FSGUI A Process View with the alarm menu 11 3 Alarm Log Window In the alarm log windows there are three types of alarms unacknowledged acknowledged but not verified and acknowledged and verified These are represented in the alarm list with the colors red yellow a
16. FreeSCADA User Manual Robert Johansson Raditex AB http www raditex se October 11 2004 RADITEX AB CONTROL 2004 10 11 i Oct 11 14 45 2004 Contents I Basics 1 Introduktion 1 1 FreeSCADA Graphical User Interface nn 1 2 Network Strategy xo 2252444 RR A A OE PUR AE fera eds 1 3 FreeSCADA terminology noed au ERE Pora EET ewa PEPA EEES 2 Getting Started 2 1 Starting ESQU sed A Roda XXE ER g a 232 Exiting ug eae aa ee ala EP eee SS eR 3 Sessions and Preferenses SESSIONS 4797 9 4 4 odore REDE eee UR a eee E s x 4 05 4 M oS RE 3 2 Open sessions s amp x oem RA Ron dom NOR RR Ro Omen or SU An RE dd 3 9 Close sessions 2 e c 4 4 4 0 4 ew a EEA b Ree eoe voc Ro do SA odes 34 Preferenses a0 soo boe om Ro ee E RO daa a VO eee dor RES II Configuration 4 Site configuration Al Create d few Site a oad daa Xe x PRESE ee ewe ee eee ee ate eS 4 2 Contact Person Records 5 Hardware configuration b Devices 4 ko d aaa nn wad AR Pee eee BES E DD ee oe 0 2 Properties s o 2 2442494 Dee qox OEM EARS EDS a a A Let eta 6 Control configuration 6 1 SGPiS s 44 4444 33 ER DDG Oe eed 4 doc 4 QoE EAD 3 dod Re Ree RS 6 2 Control Events an au c ann a a Re Re SERRA 3 RUE EE E ee BEES Ded eS 0 39 Control Variables a a r
17. I On Offvalv s xoxo pee e n don ep Oe a elec RB hd bee d 33 I Text Label Components seccade 24422 cene x 3 309 9 RA 33 I Component 34 I Property browser cerrara RE Xe VO Miete ee NUUS qox d 34 I Site Info Window 404 64 8 yey R3 SEER RR EEE Gees tae oad eae d 35 LSet Device 2 ca e 2 o6 Ren ee OER Bow ek 36 T Set Device Typer ue 4 do 454 Kaas ce See nah Gee PbS 36 I Set Device Type 2 aha den 37 I Report window Report page 3T I Report window Report Type page 38 I Report Type Add Section window 38 I Complete Process 43 L View Selector 2 3303 dass 4 on 9 eR SORES ee WO C 44 L Event Log a ER BO le HE 45 I Add New Log Event Entry ee ee 46 I Event Log with entry 2 2222 lt RR RR hn 46 I A Process View with unacknownledged 1 47 I A Process View with the component popup Med 48 I A Process View with the alarm 49 TAa Log 4 22 2 22 ee eee aee RAR PE ROGCA A ae ege XR RO BEES SSS 49 I Alarm Log With Popup 50 I Alarm Log Filter Example ee 50 I View with statistics menu and selected components llle
18. I View Editor with component menu 7 2 View Components A process view consist of a arrangement of components Most components has three different states inactive active and alarm The inactive state is usually represented by the color gray the active state is represented by green and the alarm state is represented in red 7 2 1 Components List The following list of components show the some of the different components in their available states For a full list of available components see the component toolbar window in FSGUI Most components may also be rotated multiples of 90 degrees but only the default state is show here All components except pipes reverse valve text and link components expects to be connected to a property if integer or double type Double valued properties usually takes values between 0 and 100 percent of capacity 1See section 7 3 for further information on component connections http www raditex se 31 RADITEX AB CONTROL 2004 10 11 Tank Fig 7 5 FSGUI Tank Component Fig 7 6 FSGUI Old Tank Component Air coolers and heaters 9 09 ollelle Fig 7 7 FSGUI Air Cooler Component Fig 7 8 FSGUI Air Warmer Component Burners and Heaters SL re Fig 7 9 FSGUI Burner Component Fig 7 10 FSGUI Water Heater Component Pumps and compressors Oso GeO Fig 7 11 FSGUI Pump Component Fig 7 12 FSGUI Compressor Component Pipes and directed pipes Pipes and directed pi
19. SCADA database for alarms and components associated with devices which are in alarm state will represent this by changing color to red Alarms that isn t directly connected to a component on the current process view appears in the global alarm list and the global alarms button at the bottom of the process viewer will turn red see figure 11 1 Im Example e x Site Alarms Statistics 0 00 Global site status Fig 11 1 FSGUI A Process View with unacknownledged alarms 47 RADITEX AB CONTROL 2004 10 11 11 2 Open the Alarm Log Window More information about the alarms is available in the alarm log windows There are several ways to open the alarm log and each way results in a different set of alarms being showed If the global alarm window is opened which is done by clicking the Show global alarms button in the process viewer of by using the Alarms Global alarms menu in the FSGUI main window or the process viewer window then all alarms in the entire site is showed There s also ways of showing only some alarms for example alarms associated with a view component or a collection of components Alarms for a specific component actually for the device the component connects to via a property are show by opening the alarm log from the component popup menu in the process view click with the right mouse button on a component see figure 11 2 Site Alarms Statistics 0
20. SGU 7 13 FSGU I man window 244 28222 nr BREA Ree ov ex dd dd 6 I main window with Session menu 7 login window 4 4 54082004 444444 bbe GH Re e en 8 I main window logged on the the demo site at localhost 8 I Session Preferenses ee 9 I Create Site window e 13 I Gontact Person lists 4 4 a af a Ga 6 awe e AIR 14 L Add a Contact Person es a arena ee er Ro REDS 15 I Device and property window device page 17 I Device and Property window property page 20 I Delete devices and properties delete page 21 I Logic window Add Control Script page 23 LAdd Control Event 4e sa 4444544 E dx A d A 24 1 Add Control Variable canaria a UR Eon eR RS 25 I Add Control 26 I Compensation cutve econo aa ee a PE GE ee HEE Eee 27 I View Selector window 29 I Edit mode view window with toolbar window 30 1 Comporientsettingss CO EORR Y Im dedo x Yo hee em eo DECR 30 I View Editor with component menu 31 L Tank Component c saset eee REG EGRESS HE EHE Oe ee RAG a AAA 32 I Old Tank Component e e ca Ge we ee we
21. alarm 160 to 180 of 263 Fig 11 5 FSGUI Alarm Log With Popup Menu 11 3 1 Alarm Filters In order to further specify which alarms that is to be shown in the alarm list there s a alarm filter utility Alarm state filter With the alarm state filter you can either choose show all alarms or to show unacknowledged alarm only This is a convenient way to get rid of unneccessary information since acknowlegded alarms generally is taken care of Alarm type filter In FreeSCADA there are several types of alarms FATAL ERROR WARN INFO and DEBUG As system operator usually only the four maybe three first types are interresting The DEBUG alarm type is mainly used by the FreeSCADA developers As the type names suggest the FATAL and ERROR types are pretty serious alarms and the WARN and INFO types are less serious Alarm filter State All Unacked Type x WARN x ERROR x FATAL ix INFO x DEBUG lla Level Source Message lariab Generated Last reported Ack ed Acker 67 INFO ustlocal bin fscyvud rb 96 Subscription failed devid localhos 0030710063242 DEBUG usr local bin fsmcd rb 105 Caught exception rp_write_propert 20030714152 fsgul INFO usrlocal bin fscvud rb 36 Subscription failed devid localhos 200 20030714152 fsgul INFO usr local bin fscvud rb 36 Subscription failed devid localhos 20030710063233 0000000000007 20030714152 fsqul DEBUG usr local bin fsmcd rb 105 Caught excepti
22. alarms Fig 12 1 FSGUI View with statistics menu and selected components In order to open the statistics window for a single window the Statistics menu option in the component popup menu is used Right click with the mouse on a view component 51 RADITEX AB CONTROL 2004 10 11 To open the statistics window for a set of components the same technic for selecting components as when selecting components for the alarm log window is used That is hold down the control key Ctrl on the keyboard and click on the components with the left mouse button After selecting a group of components the Statistics Plot selected objects menu options in the process view window is used to open the statistics window 12 2 Statistics Window The statistics window have two main sections the data repressentation section and the time range selection section XH x Range selection Data Piot Start time Year Month Day 3p 3f 3 Hour __ Minute BP ak 9 End time Year Month Day po 3p n Hour Minute 10 3 e Last Hour Last Day Last Week lt lt One Hour gt gt lt lt Day gt gt lt lt One Week gt gt Number of values 5514 2358 har 1 t 1 1 1 20030709 20030709 20030710 20030710 200307111 00 00 00 12 00 00 00 00 00 12 00 00 00 00 00 Close Fig 12 2 FSGUI St
23. ation may be used 0 2 111 aeu 0 0 Script Control event Control variable Control relation Delete script cv or ce Script _ Name tester Scope LOCAL ei ctrl test event Re define control relation ctrl_counter Start time om Year Month Day of Month Day of Week Type LINEAR APPROXIMATION v Hour x End time se Year Month Day of Month Day of Week Start time End time Hour Description graphically defined relation between to variables Delete control relation Save changes Added control relation test cr Fig 6 4 FSGUI Add Control Relation A control relation is very similar to a control variable The only difference is that in a control relation there is a relation graph instead of the value and field and the type field doesn t define the value data type but the interpolation technic used in the relation The only interpolation technic thats currently implemented is LINEAR_APPROXIMATION In future version of FreeSCADA for example spline interpolations may be implemented lIt may for example be a control input parameter which depends on the outdoors temperature y p put p 26 Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 0 zc nx Compensation Curve Fig 6 5 FSGUI Compensation curve I
24. atistics Windows 12 2 1 Data representation In the data repressentation section of the statistics window the historical property value data from the FreeSCADA Database is represented as a data plot Data Plot The by far most useful representation of the data is the data plot which consist of two graphs with curves of all the selected components There s one graph for unconstrained properties and one smaller located directly below using the same x axis for constrained used as booleans percent etc properties The reason 2To deselect the the components click anywhere on the process view area 52 Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 for this is to make it easy to compare and examine relations of for example temperatures and states of relays burners pumps compressors etc See figure 12 3 XFA x Range selection Data Piot Start time Year Month Day fos Bf a Hour _ Minutes __ fs fas 3 End time Year Month Day ros HP Bm a _ Minute Update Last Hour Last Day i Last Week 190 0 4 H T lt lt One Hour gt gt lt lt One Day gt gt lt lt One Week gt gt Number of values 3105 20030708 20030709 20030710 20030710 12 00 00 07 12 11 02 24 22 21 36 33 Close Fig 12 3 FSGUI Statistics Windows raw data listing 12 2 2 Time Range Sele
25. controlled by the FreeSCADA system However there might be situations when the system logic failes or there are any other reason that a manual control of one or more devices becomes neccessary In FSGUI there s a operate window where system operators can override the FreeSCADA system logic and manually control devices 13 1 The Operate Window The operate window is accessable in both the view editor and the process viewer It s opened from the Operate option in the component popup menu click with the left mouse button on a view component Mode Set the mode of the device Auto x Manual ON OFF Turn haalean device ON OFF X Off Percentage Set the percentage of the device 27 1 Fig 13 1 FSGUI Manual Operation Boolean Mode Set the mode of the device Auto x Manual rONZ OFF Turn hoaalean device ON OFF X o Percentage Set the percentage of the device 27 1 Fig 13 2 FSGUI Manual Operation Percentage RADITEX AB CONTROL 2004 10 11 If manual operation is to be used the first thing to do is to set the property in manual mode which is done by clicking on the Manual check button in the operate window Depending on which type of property the operate window is operating on either the Boolean or the Per centage frame will be active Boolean properties which might be connected to devices such as relays etc are turn on and off simply by click on the on an
26. ctions In the time range selection section of the statistics window there s some tools for selecting the time ranges which will be shown in the data plot After a new time range has been configured click the Update button to get the data from the database and update the data plot Start and End Times The most flexible but also most tedious tool to select time ranges with is the start time and end time fields With these you can select any time range you can imagine but they are quite tiresome in the long run Fixed Time Ranges In order to simplify the time range selection there are three shortcut buttons which automatically configures the start and end time fields in three very frequently used time intervals As the button labels suggest it s the last hour last day and last week The One Hour One Day and One Week buttons works just like the Last Hour Last Day and Last Week buttons except that they are centered around the time in the end time fields instead of the current time Time Range Scrollers The backward and forward buttons lt lt and gt gt which neighbours the One Hour One Day and One Week buttons is for shifting the currently configured time one hour one day or one week back or forth http www raditex se 53 RADITEX AB CONTROL 2004 10 11 54 Oct 11 14 45 2004 Chapter 13 Manual Operation By default all devices in a FreeSCADA system is set to automatic control That is it s entirely
27. d off buttons The percentage properties on the other hand aren t effected until the Apply button is click The reason for this is that it might take som trial and error before the slide bar is tuned exactly to the desired value 13 1 1 Property value There s also an other way to alter the value of a property in the FreeSCADA system In the Property page in the Device and Property window there s a value field By entering something in this field and saving the property the database value of the property is changed 56 Oct 11 14 45 2004 Index device 3 FSGUI 3 property 3 57
28. d to cons 20030702102752 0000000000001 20030714151 11 ERROR usr lacal bin fsreportd rb 7 Couldn t open report for attachment 20030702102737 000000000000 20030714151 11 ERROR usr lacal bin fsreportd rb 1 Error delivering email failed to cons 20030702102737 000000000000 20030714151 f ERROR i 7 open iepuri for attat Honest 200307021307723 LO DA LU 10 ERROR tert delivering emai failed t con 20030 102107723 NOLAN ODDO DO usr loca 31 k t iled to 0702 2626 000000001 JO usr local bin fsreg erate report failed to c 20030702102626 000000000000t 0000000000C usr localbin fsreg Delete erate report failed to 20030702102626 0000000000001 0000000000C f usr local bin fsreporid rb 7 Couldn t open report for attachment 20030702102526 0000000000001 0000000000C usr local bin fsreportd rb 11 Error delivering email failed to cons 20030702102526 0000000000001 0000000000 ust local bin fsreportd rb 7 Couldn t open report for attachment 20030702102511 000000000000 0000000000C usr local bin fsreportd rb 11 Error delivering email failed to cons 20030702102511 000000000000 0000000000 ust lacal bin fsreportd rb 7 Couldn t open report for attachment 20030702102456 0000000000001 0000000000C usrlocalbin fsreportd rb 11 Error delivering email failed to cons 20030702102456 000000000000C 0000000000C Previous ma Next Close Displaying
29. e Site menu the toolbar panel can be opened 29 RADITEX AB CONTROL 2004 10 11 FreeSCADA Process View Editor New View Valves and pumps Site Administration Hardware and Logic Globals PIWI Fig 7 2 FSGUI Edit mode view window with toolbar window 7 1 1 Placement and orientation of components To place components on the view area drag a component from the component toolbar window and release it on the view area ordinary drag and drop procedure To move an already placed component press the left mouse button on the component and to resize a component press the second middle mouse button on the component By clicking on a component with the right mouse button a menu appears see figure 7 3 The Setting menu options opens a window see figure 7 4 in which the precise size position and the orientation can be configured This might be helpful when fine tuning the component layout Component settings eee Orientation gt Left E Position x y 19 Size Width 20 3 Height 4 ex Device property 7 Browse properties Apply Close Fig 7 4 FSGUI Component settings 30 Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 z FreeSCADA Process View Editor New View oO xX Site Administration Hardware and Logic Globals Administrative info Set device type Settings Operate Delete Copy Fig 7 3 FSGU
30. ed In addition FreeSCADA system report can be generated and sent to the administrators at scheduled times 8 1 Site Info In the view editor the View Site Info menu options open the site info window Here administrative information about the site such as address of the sites location etc may be specified See figure 7 1 Site information for demo Location Organisation RaditexAB Street Postal cade O City Country Description Ok Cancel Fig 8 1 FSGUI Site Info Window 35 RADITEX AB CONTROL 2004 10 11 8 2 Device Info Administrative information may also be specified for individual devices But in order to be able to use the administative databases on a device the device type must be configured In the rigth mouse button menu of view compononents there s a Set device type menu option which open the Set device type window see figure 7 2 Device tup Select device type GENERIC Ok Cancel Fig 8 2 FSGUI Set Device Here different types of administrative informations may be associated with the device In order to enter the device information the Administrative info menu option in the view component popup menu is used to open the set device info window see figure 7 3 Device info Device id 2 Type Trademark Placement Installation date Replacement date Inspection date
31. ew FreeSCADA site This chapter discribes how to log on to an existing site and configure some preferenses concerning the session handling 3 1 Sessions 3 2 Open sessions To start a session in FSGUI you need to connect the the FreeSCADA database This is done by clicking on the Session menu and on the Open Session O0 z ie uius Sessions Views Globals Administration Hardware and Logic Open session Close session I Preferences ee FreeSCADA No open session Fig 3 1 FSGUI main window with Session menu down 1How to create a new site is described in part II of this user manual T RADITEX AB CONTROL 2004 10 11 A login window will then appear on the screen see figure 3 2 EXT gt x Open session Hastnama localhost Hostname Sitename Username Sitename move demove fs Username fs Delete Cancel Fig 3 2 FSGUI login window In order to log on to the FreeSCADA site you need to know the address of the FreeSCADA server the site name and have a username password When you filled in this information an pressed the Open button in the login window you will be returned to the main application window If the session was successfully setup the statusbar will acknowledge this with a message similar to Connected to servername using the sitename databases In the sessions window you may al
32. hapter 10 describe the event log utility in detail Finally the ability to manually operate the system through FSGUI operate utilities provides an important ability to override the system automatic controls in case of emergency or system failure It s also a pow erful tool when debugging and first configuring the control rules since you easily can set the system in different situations by manually control the equipment Chapter 13 describes how to manually operate the FreeSCADA system The process view is open from the Views View Selector menu in the FSGUI main application window In the view selector window a process view is selected and if the view check button is actived is the process viewer open when the ok button is pressed 0 z WEZ s nx Select view and mode View New View Ok Fig 9 2 FSGUI View Selector 44 Oct 11 14 45 2004 Chapter 10 Event Log The event log utility is for keeping track of work and changes that has been made on a FreeSCADA site Every time someone does something with the site a event log entry should be added By later examining the log entries you get a overview on what work has been done for the site Event Log 5 Xj Event lag view 4 August gt 4 2002 gt Sun Mon Tue Wed Fri 2 9 12 13 14 15 16 19 20 21 22 23 26 27 26 29 30 Select log for user rob A Write in the log Remove log entry Fig 10 1 FSGUI Event Log
33. i amp ee SESE ESSE RUE a AAA 6 4 Control Relations iio oo e nenne 7 View configuration Mal VIEWS sense eei e y ae ae a ae RA A ae we ai Rex a d ROI ENS 11 13 13 14 17 18 19 23 24 24 25 26 29 RADITEX AB CONTROL 2004 10 11 1 2 View Components sse enine eae eee Oe OR eee d ae ee OO 31 7 3 View Component Connections 33 8 Adminstative Information 35 8 1 Site Into o ts ed e a e e ae Me sot a POP 0 35 8 2 Device nfo ee ex GA ee ee A A e de a RU ee da 36 Sid REPOLES iaa ee AAN s wow wo 3T 84 Database Clean D ies wee OO x PORE OR Rob XX ROS Ee eR ee I VW RO 39 III Operation 41 9 Process Viewer 43 10 Event Log 45 11 Alarms 47 ILLI Alarm notification oa 240 4 X EX x week aga AA A ee RUE d dd 47 11 2 Open the Alarm Log Window 48 11 3 Alarm Log Window 5 44 2922 Peed bbe A v x d 49 12 Statistics 51 12 1 Open the Statistics 51 12 2 Statistics Window isc ns RR A CS ey ae 52 13 Manual Operation 55 13 1 The Operate Window 55 Oct 11 14 45 2004 List of Figures 21 FSGU 31 FSGU 3 2 FSGU 3 3 FSGU 34 FSGU 4 1 FSGU 42 FSGU 43 FSGU 5 1 FSGU 5 2 FSGU 5 8 FSGU 6 1 FSGU 6 3 FSGU 6 3 FSGU 6 4 FSGU 6 5 FSGU T 1 FSGU 7 2 FSGU 74 FSGU 7 3 FSGU 7 5 7 6 FSGU 7 7 FSGU 78 FSGU 7 9 FSGU 7 10 FSGU 7 11 FSGU 7 12 F
34. id name significance and description The type field specifices which driver to use The host field is the address to the FreeSCADA Hardware Daemon that is connected to the hardware The interface and id fields are used slightly different for different drivers and the definitions of how to use these feilds for the available drivers are listed in section 5 1 1 FreeSCADA Drivers The name field is a free form name of the device which aims to simplify device management Example of valid names are GTA 1 relay1 outdoor temperature sensor etc To avoid confusion the device name must be unique in the FreeSCADA system The significance can take one of the following values DEFAULT REDUNDANT or CRITICAL It defines how important the device is for the FreeSCADA system and effects what action should be taken upon failure of the device The description field is a free text description of the device It can hold any useful information device such as whare its physical location etc Existing devices in the FreeSCADA Database can be modified with the same page in the Devices and Properties window By selecting a device in the device list it s data appears in the fields to the right Use the save button after you changed anything 5 1 1 FreeSCADA drivers Different driver modules uses the interface and id in different ways The table below specifies what the existing FreeSCADA drivers expect to find in the interface and id fields
35. iol dio2 dio3 dio4 daci dac2 dac3 dac4 dummy0 GTA 1 GTA 2 GTA 3 GTA 4 GTA 5 GTA 7 GTA 8 GTA 9 GTA 10 GTA 11 GTA 12 Device id relay3 Tocalhost pi0 192 168 3 112 D T localhost ipio 192 168 37 112 8 re localhost ipio 132 168 37 112 8 d localhost ipio 132 168 37 112 8 d localhost ipio 132 168 37 112 8 d localhost ipio 192 168 37 112 8 d localhost ipio 192 168 37 112 8 d localhost ipio 132 168 37 112 8 d localhost ipio 132 158 37 112 8 d localhost ipio 192 168 37 112 8 d localhost dummy 0 0 localhost ds1820 0 8200000025E localhost ds1820 0 9400000025F localhost ds1820 0 1 400000024E localhost ds1820 0 C800000024E localhost ds1820 0 7800000024F localhost ds1820 0 F 10000001 8 localhost ds1620 0 4400000025 localhost ds1820 0 70000000251 localhost ds1820 0 E300000025 laocalhost ds1820 0 8400000024E localhost ds1820 0 D300000025E I Device Property GT 1 dummyD relay2 relay relay4 diol dio2 dio3 dio4 daci dac2 dac3 dac4 GTA 1 GTA 2 GTA 3 GTA 4 GTA 5 GTA 6 GTA 7 GTA 9 GTA 10 temperature dummy intl relay relay relay dio dio dio dio dac dac dac dac temperature temperature temperature temperature temperature temperature temperature temperature temperature temnerature GTA 11 a s Delete device Delete property http www raditex se Fig 5 3 FSGUI Delete devices and p
36. ld be set up to 15 seconds in order to reduce network trafic The connection timeout option could in almost every situation be left at the default value The alarm limit field specifies how many alarm is to be shown per page in the alarm view windows You may also define which command fsgui should use when accessing the printer system Last link compression between the database server and fsgui may be selected This reduces network traffic and may speed up things if you have a fast computer but a slow network http www raditex se 9 RADITEX AB CONTROL 2004 10 11 10 Oct 11 14 45 2004 Part II Configuration Chapter 4 Site configuration 4 1 Create a new site The very first thing to do when setting up a new FreeSCADA site is to create the database and a database user This is done with the Create Site option in the Administration menu in FSGUI main window When selecting this menu option a Create Site window will appear To be able to create a new site you must have access to a privileged user and it s password in the FreeSCADA Database Create site in database Hastname localhost Priliveged user root Password New sitename demosite New database user demouser Password for the user demopass Create Cancel Fig 4 1 FSGUI Create Site window The site name and username password you enter here is the ones you ll use when you open a session to the new site via the
37. lete contral event Fig 6 2 FSGUI Add Control Event To define a control event five things must be specified a name a type if it s to be active a start time and a reference to a control script The name is for convenience only The type can be one of EVENT or 24 Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 ALLWAYS and specifies whether the associated script is to be runned once or continually after the event occured The active option enables the user to active and deactive a control event The Start time fields defines a time pattern A start time field may contain a number or a wildcard character The Day of month and Day of week fields must not be used at the same time 6 3 Control Variables To add control variables the third tab Control Variables in the Configure scripts and variables windows is used A control variable can be either local or global that is they are either accessible from one or all control scripts A control variable may for example be used as a input parameter for a control script They may also used as state holders etc 0 z Confiqure script and vanables 00 Script Control event Control variable Control relation Delete script cv or ce Script JH Name keep_alive_counter Scope LOCAL ctrl test event Value 2977 Type INT trl t ctrl_counter Start time is Year Day of Month Day of Week x End time Year Day
38. n order to define the relation press the Re define control relation button The relation graph editor will then appear on your screen See figure 6 5 By editing the curve in the graph editor an arbitrary relation between X and Y may be defined http www raditex se 27 RADITEX AB CONTROL 2004 10 11 28 Oct 11 14 45 2004 Chapter 7 View configuration When the hardware and control scripts are configured then the system is ready to operate But in order to supervise and manually operate the system process views of the system must be configured With a process view you can easily get an overview of the systems current and previous state 7 1 Views A complete FreeSCADA site tends to be very large so its useful to split the system in smaller parts when creating the process screen In FSGUI these are smaller parts called views A view is a schematic repressen tation of a part of the system It s possible to create links between different view which makes it easy to browse through the site A view is created with the view selector window which are opened with the menu Views View Selector FSGUI s main window View Selector select view and mode View Edit expr Ok Cancel Fig 7 1 FSGUI View Selector window If a new view name is entered in the view list and it s opened in edit mode the new view is automatically created A blank view editor window will then appear on the screen and from th
39. nd green respectively So when a alarm first araise it showed as a red line in the alarm log list When you acknowledge it it turns yellow until FSGUI verified that the acknowledgement succeded and then it turns green Alarm log 5 xd Alarm filter State All Unacked Type WARN ERROR r FATAL Pump not responing 20020828152830 00000000000000 00000000000000 Relay6 malfunction 20020828152640 00000000000000 00000000000000 GTA 3 malfunction 20020828152639 00000000000000 00000000000000 wrong feedback value 200208268151810 p fsqui Temperature too low 20020828151055 2 fsqui Fig 11 4 FSGUI Alarm Log To acknowledge or delete an alarm from the alarm list there s a popup menu that appears if you click with the left mouse button on a alarm log entry see figure 11 5 But it s generally a good idea not to delete alarms from the list since long term follow ups of alarms can be instructive Besides the alarm list is sorted http www raditex se 49 RADITEX AB CONTROL 2004 10 11 by date so the most recent alarms will allways be in the top of the list Alarm filter State le All Unacked Type x WARN x ERROR iX FATAL INFO DEBUG ld Level Source Message ariab Generated Last reported Ack ed 11 ERROR usr local bin fsreportd rb 7 Couldn t open report for attachment 20030702102752 000000000000 20030714151 11 ERROR usrlocal bin fsreportd rb 1 Error delivering email faile
40. on rp write property 20030710063231 0000000000001 0000000000C INFO usr local bin fscvud rk 36 Subscription failed devid localhos 20030710063227 20030714152 fsgul INFO usr local bin fsevud rk 936 Subscription failed devid localhos 20030710063223 0000000000007 20030714152 fsgul DEBUG usr local bin fsmcd rb 105 Caught exception rp_write_propert 20030710063221 0000000000001 0000000000C 7_ Suiheerintion foilad dauid lonathor 2nn2 n71nnc3210 nnnnnnnnnnnnr nnnnnnnnnnre Previous Next Update alarm lis Close L Displaying alarm 3020 to 3040 of 9822 Fig 11 6 FSGUI Alarm Log Filter Example 50 Oct 11 14 45 2004 Chapter 12 Statistics The FSGUI statistics utilities are collected in the statistics window which is accessible from the process viewer In the statistics window value history of every properties in the FreeSCADA system may be examined 12 1 Open the Statistics Window Like the alarm log window the statistics window can be opened in more than one way and depending on how it is opened it act slightly different The statistics window may be opened for one component or for several components on the same time Stativ Site Alarms Statistics Plot selected objects 26 96 2715 7321 3016 43 06 BeBe Be ae Lampa Lampa2 Lampas p4 Styr pump med gr n motor D D Global site status Global alarm state Show global
41. ountry sweden Work phone 0869493270 0 Home phone 031654062 Cell phone 0733748769 7 Email oaran Role DEVELOPER i Fig 4 3 FSGUI Add a Contact Person Ok Cancel 2004 10 11 15 RADITEX AB CONTROL 2004 10 11 16 Oct 11 14 45 2004 Chapter 5 Hardware configuration In order for the FreeSCADA system to know which hardware that s connected to the system and at which addresses etc these resources located at one must for every piece of hardware add a FreeSCADA device to the FreeSCADA Database and associate it with properties Devices and properties may either be added manually using the Device and Property window or auto matically using the hardware scanner The Device and Property window is opened via the Hardware and Logic menu in the main window or from a edit mode view window The hardware scanner is invoked by selecting Hardware scan under the same menu Note that the hardware scanner may overwrite data in the database if you already configured some devices so it should only be used before any devices or properties are configured manually After a hardware scan you need to go through the devices and properties and give them proper names and descriptions 0 z Wu ee AA ER 00 Device Property Delete device or property Device Device id Type ds1820 GT 1 localhost ds1620 0 6D00000025B40110 Host relay lacalhast ipio 132 168 37 112 8 rela
42. pes don t need to be connected to properties Fig 7 13 FSGUI Pipe Component Fig 7 14 FSGUI Directed Pipe Component 32 Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 Water Heat Exchangers and Dampers zB Fig 7 15 FSGUI Water heat exchanger Component Fig 7 16 FSGUI Damper Component Temperature sensors All temperature sensor components must be connected to a property with the data type double Y y Y Fig 7 17 FSGUI Temperature Sensor Component Fig 7 18 FSGUI Old Tempera Fig 7 19 FSGUI Analog Tem ture Sensor Component perature Sensor Component Valves pla ch Bie Fig 7 20 FSGUI Auto valve Fig 7 21 FSGUI Percentage Fig 7 22 FSGUI On Off valves valves Text label component The text label component may be connected to properties of any type The figure below shows three text label component that are connected to different properties 13 90 32 10 A text string Fig 7 23 FSGUI Text Label Components 7 3 View Component Connections A view component connects to a property in the FreeSCADA Database To connect a component to the piece of hardware you connect it to a property that in turn connects to the device that are associated with the hardware In the component settings window which is opened with the Settings option in the right mouse button menu in the view editor see section 7 1 1 there s a frame called Property http www raditex se 33
43. rob fs demo raditex se s password Last login Wed Aug 21 11 03 38 2002 from h168n2f1s2101074 Copyrigut 1990 1983 1986 1988 1990 1991 19931994 The Regents of the University of California All rights reserved FreeBSD 4 5 RELEASE FSDEMO 6 Fri Jul 19 11 23 49 GMT 2002 You have new mail rob fs demo fsgui 2 1 3 FSGUI main window In both local and remote execution of FSGUI the main application windows should appear on your local screen see figure 2 1 If it does your re ready to use FSGUI lFor example OpenSSH 2e i setenv DISPLAY local 0 0 where local is the address of the local machine 3e i xhost remote where remote is the address to the remote machine RADITEX AB CONTROL 2004 10 11 O z FreeSCADA Process Viewer oO xX Sessions Views Globals Administration Hardware and Logic FreeSCADA No open session Fig 2 1 FSGUI main window 2 1 4 Trouble shooting If you have any problems getting started with FSGUI please contact the FreeSCADA team and describe your problem fs raditex se 2 2 Exiting FSGUI Too exit the FSGUI application you can allways without any risk at losing any information use the Exit option in the Session menu in the fsgui main window 6 Oct 11 14 45 2004 Chapter 3 Sessions and Preferenses When the FSGUI main window first appear on your screen there are two thing you can do Either you log on to an existing FreeSCADA site or you create a n
44. roperties delete page 2004 10 11 21 RADITEX AB CONTROL 2004 10 11 22 Oct 11 14 45 2004 Chapter 6 Control configuration When all hardware is configured the next thing to do is to configure the control rules The control and regulation of the FreeSCADA system is performed by control scripts for example written in ruby These script files are not created with FSGUI but must be at hand when doing the control configuration The Control Configuration windows is opened from the same menu as the Device and property in the main window or in a edit mode view window Use the Hardware and Logic Scripts and variables menu The control configuration window will then appear on the screen See figure 6 1 Script ctrl_test ctrl_test_event c Delete script Saved control script ctrl_counter O0 LZ ee us snx Script Control event Control variable Contral relation Delete script cv or ce Name ctrl_counter Script file ust localfslogicd ctrl_counter rb Language RUBY Debug script which increases a counter with 1 each time is running Description Add script Save change Fig 6 1 FSGUI Logic window Add Control Script page 23 RADITEX AB CONTROL 2004 10 11 6 1 Scripts When adding new scripts the actual script files must first be installed on the FreeSCADA server The scripts are often installed to a shared directo
45. rt type is specified by a name a time pattern for when it is to be generated and delivered a time span and it s content Report editor Report Report Type Daily Status Report Delivery Method EMAIL Recipient Robert Johansson Recipient Delivery Method Report name Robert Johansson EMAIL Daily to rob Daily Status Report Fig 8 5 FSGUI Report window Report page http www raditex se 37 RADITEX AB CONTROL Report editor Report Name Add Save Report Type Name Daily Status Report Delete 191 Start time Year Month Day of Month Day of Week x History Time Span Years Months Days Hours Minutes lo ke Er f B Future Time Span Year Month Day Hour Minute b Eee Ke JS 196 E Delete Report Section Add Report Section Report Sections ja TemperaturePlot GT 1 TemperaturePlot dac1 GT 1 RunTime dac1 dac3 dac4 diol dio2 dio3 dio4 relay relay2 relay3 relay PropertyPlot dio1 dioz dio3 dio4 relay1 relay2 relay3 relay4 Clear All Report Sections E ill i Fig 8 6 FSGUI Report window Report Type page ZERA a oO x Section Generator Module TemperaturePlot Device dace dac dac dac4 dac femperature
46. ry in the file system on the server for example usr local fslogicd Scripts are added with the first tab Script in the Configure scripts and variables window By adding the script to the FreeSCADA database it becomes available for usage in the FreeSCADA system There are four things to define when new scripts are added name script file language and description see figure 6 1 The name field specifies a name on the script which is used to simplify the script administation The script file field specifies the path to the script file The language field specifies which programming language is used in the script file Finally the description field is a free text description of the script 6 2 Control Events To add control events the second tab Control Events in the Configure scripts and variables windows is used A control event is an event which is trigged by a time pattern When the time pattern matches the current time the FreeSCADA system start the script associated with the control event 0 4 nx Script Control event Control variable Control relation Delete script cv or ce Script Name ctrl_test Type EVENT ctrl_counter Active Yes Start time Year Day of Month Day of Week ll 24 Clear fields Add control event Save changes ce test II ce test 14 30 De
47. so choose to save the information you have entered except the password making it more convenient to log on next time 0 2 FreeSCADA Process Viewer nex Sessions Views Globals Administration Hardware and Logic FreeSCADA Connected to localhost using the demo databases Fig 3 3 FSGUI main window logged on the the demo site at localhost If the session couldn t be correctly setup a dialog window with a diagnostic message will appear 8 Oct 11 14 45 2004 RADITEX AB CONTROL 2004 10 11 3 3 Close sessions In order to close a session use the Close Session option in the Session menu in the FSGUI main window All windows belong to the session will be closed but there is no risk at losing any information since FSGUI never holds any states of the FreeSCADA system internally 3 4 Preferenses The Preferenses option in the Sessions menu opens a window where a few session parameters can be configured GOTO cx Change preferences Update interval 10 Alarm limit 20 Printer command Ipr Connection timeout 15 Use link compression Cancel Fig 3 4 FSGUI Session Preferenses The update interval options specifies how frequently in seconds the FSGUI will request status information from the FreeSCADA Database If bandwidth and CPU resources admits this should be set to around one second but if for example there is limited bandwidth the update interval cou
48. ts control ISCADA supervisory control and data acquisition RADITEX AB CONTROL 2004 10 11 variables and control relations For supervision and manual operation of the FreeSCADA system there is a process viewer in FSGUI When setting up a FreeSCADA site one need to define the process views and fill these with components and connect them to the devices properties that are available in the system 4 Oct 11 14 45 2004 Chapter 2 Getting Started 2 1 Starting FSGUI There are two ways to run FSGUI locally or remotely In order to run FSGUI locally you need to have FSGUI installed on your local machine but that isn t neccessary if your are going to run FSGUI remotely for example on a FreeSCADA server When running FSGUI remotely you need a local X server and it s highly recommended to use a SSH tunnel if security is an issue 2 1 1 Starting FSGUI locally To start FSGUI locally you simply type fsgui in a X terminal window robChomer fsgui 2 1 2 Starting FSGUI remotely To start FSGUI remotely you need to be able to log on to the remote machine and run the FSGUI application there The prefered remote login method is SSH with which a X tunnel can be setup With OpenSSH the flag X enables X forwarding Without X forwarding tunneling you need to set the DISPLAY variable on the remote machine and make sure your local X server accepts X connections from the remote machine robChomer ssh X rob fs demo raditex se
49. y1 relay2 lacalhast ipio 192 158 37 112 8 relay2 Interface 0 relayd localhost ipio 132 168 37 112 8 relay4 dio localhast ipio 192 188 37 112 8 dio1 Name GT 1 dio2 localhost ipio 182 168 37 112 8 dio2 Significance DEFAULT dio lacalhost ipio 132 168 37 112 8 dio3 dio4 localhast ipio 192 158 37 112 8 dio4 Indoors temperature in dac1 localhost ipio 192 168 37 112 8 dac1 Raditex office in Sickla localhostipio 192 166 37 112 8 dac2 dac localhostfipio 192 168 37 112 8 dac dac4 lacalhast ipio 132 168 37 112 8 dac4 dummyD localhost dummy 0 0 GTA 1 Iocalhost ds1 820 0 9200000025B68810 GTA 2 localhost ds1820 0 9400000025F58010 Description GTA 3 localhost ds1820 0 1 400000024BEF010 GTA 4 localhost ds1620 0 C600000024BF 9410 GTA 5 localhost ds1820 0 7800000024F47410 GTA 6 localhost ds1820 0 5B00000025C16C10 GTA 7 localhost ds1820 0 F10000001893DE10 GTA 8 lacalhast ds1820 0 5 00000025 B4310 GTA 3 lacalhast ds1820 0 70000000251C3310 GTA 10 lacalhast ds1820 0 E300000025A8F310 GTA 11 iv aah aj m Tr New Save Delete localhost Saved changes device GT 1 Fig 5 1 FSGUI Device and property window device page 17 RADITEX AB CONTROL 2004 10 11 5 1 Devices Devices are configured and added with the first page in the Configure Devices and Properties window Device see figure 5 1 There are seven fields to fill in when adding new devices type host interface
Download Pdf Manuals
Related Search
Related Contents
L`entrée en littérature - Bureau de la formation Mexico 018000016500 Samsung SC41E0 Manuel de l'utilisateur (Windows 7) V7 Shatter-Proof Tempered Glass Screen Protector Sharp LC-70LE650U 70" Full HD Smart TV Wi-Fi Black LED TV RTSC Remote Trackside Switch Control Copyright © All rights reserved.
Failed to retrieve file