PDA

View Full Version : Using Thin Basic in SCADA



johni
22-08-2008, 00:51
I am designing a "front end" HMI to a home built SCADA (Supervisory Control And Data Acquisition; from Wikipedia "An industrial control system: a computer system monitoring and controlling a process")

It consists of an RTU (Remote Terminal Unit), communication links, a FEP (Front End Processor) and a Master (for Human-Machine-Inteface) HMI.

It is the last part the HMI that I have high hope for Thin Basic to help.

I will need the Comm modules, Graphic Modules and any related process to bundle the HMI. Also a built in historian and file archiver for the data.
Just starting so this will be a "work in process for some time".

If and when I get done it will be free for any one to use.

Any suggestions where to start will be welcome.

johni

ErosOlmi
22-08-2008, 01:08
johni,

To start, few items must be cleared (at least to me).

How this system communicate with the application you want to develop: Serial Cable Communication, networked TCP/IP communication, or other kind? I suppose it is serial communication because you posted in COMM forum.
Is there a protocol info we can see at? Or any info about data exchanged?
Do you want to develop a console application (text only), a GUI application (windows with controls, ...) or maybe both?


Thanks
Eros

ErosOlmi
22-08-2008, 01:29
As for serial communications, you can find a script example under \thinBasic\SampleScripts\COMM\ dir called TestModems.tBasic
It just tests COM ports to search for modems trying to get modem info.
It can give you an idea on how serial communications can take place in thinBasic