SCADA software for data acquisition and remote system control, is written in programming language Visual Basic for Windows Operating System. For data archiving and graphical display, it is necessary to connect the PLC to the PC. Data on the percentage of oxygen in the water, conductivity, pH, water flow through the current signals enter into the ADC module of the PLC. PLC and process this data through the serial port sends PC.
Every moment we see data on the PC monitor, the data is also stored on the hard disk at specified intervals (eg 10 minutes).
Change the color of the icon for a particular operation, signals to us motor status (white color - the motor is off, the green color - the motor is switched on, the red color - reacted bimetallic protection)
Remote control of the motors, bringing the arrow to the desired motor, pressing the mouse button opens a window with the option of turning on or off the desired motor. Any action on or off is recorded on the hard disk in * .log file.






Each day has its own data file (example: FILE = d20030123.csv). The first column is the real time hour: minutes (from 00:00 to 23:50, a total of 144 rows). The second, third, fourth and fifth column of data on the percentage of oxygen in the water, conductivity, pH, water flow.
09:10, 3.3, 940, 3.8, 538.1 09:20, 3.6, 943, 3.2, 537.8 09:30, 3.9, 948, 3.6, 540.0 09:40, 3.8, 952, 3.4, 538.7
Starting the options Graph, program drawing graph from the data previously stored.

File format is a standard so that it can be used in further analysis in another program, such as Microsoft Excel.



;-------------------------------------------------------------- ; Inicijalne Tablice i Podaci za EEPROM u PLC-M-CPU ;-------------------------------------------------------------- ;hist. dt(sec) tz(sec) Test ; Addr = &H0080 20, 5, 15, 0 ;-------------------------------------------------------------- ; ; O2 K1 K81 K91 ; 0.0 * - * ; 2.0 * * - ; 2.5 - - * ; 3.0 * - - ; 3.5 - * - ; 4.0 - - - ;-------------------------------------------------------------- Tabla_1: ; Addr = &H00A0 0, 200, 250, 300, 350, 400 ;-------------------------------------------------------------- ; ; O2 K1 ; 0.0 * ; 3.0 - ;-------------------------------------------------------------- Tabla_2: ; Addr = &H00C0 0, 300 ;-------------------------------------------------------------- ; ; O2 K81 K91 ; 0.0 - * ; 2.5 * - ; 3.5 - - ;-------------------------------------------------------------- Tabla_3: ; Addr = &H00E0 0, 250, 350 ;--------------------------------------------------------------

;t1(sec) t2(sec) ta(sec) 1, 2, 60
;PP1 PP2 Maz Res M1 M2 K1 K2 MP1 MP2 Zgr Pes 2 , 0 , 2 , 6 , 0 , 2 , 6 , 8 , 2 , 2 , 2 , 2FILE: C:\PPOV\Inport\Help.txt

PLC is a modular system and consists of modules:
1. 1 pcs. PLC-M-RCK 19 subrack
2. 1 pcs. PLC-M-CPU module
3. 2 pcs. PLC-M-ADC8 module
4. 6 pcs. PLC-M-I8O8D module
5. 1 pcs. PLC-M-PWR module
6. 4 pcs. PLC-M-LED4 module
7.16 pcs. PLC-RELE4 module
8. 6 pcs. SINO-LED module for synoptic scheme
Software for PLC-M is written in programming language assembler MCS-51. Software provides automatic or manual and remote or local mode operation of the plants.