LINUX SCADA

Welcom to the Linux SCADA project.


What is Linux SCADA?
News
Download
License
Peoples
Screenshoots
How to
Links

What is Linux SCADA ?

Linux SCADA (Linux S.C.A.D.A.) want to be a complete utility to interact with our PLC network under Linux, showing everything under a full-web-oriented enviroment;

The structure of Linux SCADA is based on 3 principal blocks:

  1. pc_to_plc
    This is the most low level block: It is called from Interrogatore.pl and it accesses to the com port to send requests via MODBUS protocol.

  2. Interrogatore
    This is the "deamon" which provides continuous intervalled requests to the PLCs calling the pc_to_plc program;
    All the requests are setted by a config file, and the results is stored in confortable named variables.

  3. Interactive HTML Page Builder
    It creates Interactive HTML pages, which provides all the useful informations about our PLCs 's state, it is supposed to display a graphical enviroment with buttons to send commands, text areas to set values, grapchis, history, statistic, and musch more....

LinuxSCADA Structure  



Download

You can easly download LinuxSCADA clicking HERE


News

18 / 04 / 2002
Released version 0.2;
New features:
1) Math functions ability: Now you have the capability to manage and handle the requested variables with a confortable math.cfg file;
2) Added module functionality: created modules directory; Every subdirectory is a module; interrogatore.pl will execute the file EXECUTE_ME file  after every interrogation round.
Bugfixes:
None

License

LinuxSCADA is freely distribuited under the terms of the GPL's License


Peoples

The peoples who are current working at the projects are:

Name
E-Mail
Web site or other info
Pietro Bertera
p.bertera@valtellinux.it
Studing in Como ing informatica
Brisa Francesco
fbrisa@yahoo.it
Studing in Como ing informatica
Salvatore Cuzzilla
t_o_t_o@libero.it
Studing in Como ing informatica
Damiano Venturin
damiano@venturin.net
Studing ing informatica

Screenshoots

For now we have not yet provided creating the HTML Builder page block, it will arrive as soon as possible....
However this is one example of the output gived by interrogatore.pl

Keep an eye open for the Dati.cfg and the output file: RISULTATO_INTERROGATORE.txt !
Dati.cfg
RISULTATO_INTERROGATORE.t xt
Verbose output
# This is an example file on how is made a sequence of interrogation
# on the plcs.

# request struct:

# NAME {
# hex node number
# NODE=0A
# hex address on plc
# IND=012D
# type WORD or BYTE (Default is BYTE)
# WORD
# optional hex, an offset to be added to the address
# OFFSET=2
# }


# WRITE STRUCT

# NAME {
# hex node number
# NODE=04
# hex address on plc
# IND=0100
# file containing data
# FILE=my_file_name
# optional hex, an offset to be added to the address
# OFFSET=0
# }

TANK_QUANTITY {
    NODE=5
    IND=FE
    WORD
}

STATE {
    NODE=5
    IND=EB
    BYTE
}

POWER_ON1 {
    NODE=5
    IND=20
    BYTE
    OFFSET=3
}

POWER_ON2 {
    NODE=5
    IND=21
    BYTE
}

COMMANDS {
    NODE=05
    IND=20
    FILE=commands_for_pls.txt
}
TANK_QUANTITY=1388
STATE=05
POWER_ON1=01
POWER_ON2=02
To get this resoult, use the --verbose option !

risultato

To get this resoult, use the --verbose option !
  

HOW TO

! Remark: If you have no PLC you will get nothing from the interrogation !
(In this case you will be better to just watch to RISULTATO_INTERROGATORE.txt)
(You can also put in the math.cfg something like:    MY_NEW_VAR=10   to simulate an interrogation)

Remember: Your PLC must be a MODBUS SLAVE (It's clear)

Untar the file downloaded:
tar -zxvf pc_to_plc-0.2.tar.gz
Go to the pc_to_plc-0.2/interrogatore directory
cd pc_to_plc-0.2
execute start_me
./start_me

optional: adjust Dati.cfg at your choose
vi Dati.cfg

Links

linuxscada.openprojects.net
www.valtellinux.it