Pages: [1] 2   Go Down
Author Topic: Mega and Scada?  (Read 4335 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I am trying to make Scada (Monitoriza) talk to a Mega board wia ethernet...
However, I am still green to Arduino and Scada...
Is there anyone who has done this earlier, and can tell me how to do it?

I will also need help with Scada after I get things in place...

At the moment I have several Scada programs on my PC, and are playing around to find the one I like best.
A LAN network I want to connect my Arduino to, ethernet shield, and Mega, Uno etc available...

I would really appriciate some help and tips !

Rob
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I am trying to make Scada (Monitoriza) talk to a Mega board wia ethernet...
Never heard of Scada. Time for a link, I think.

Quote
I will also need help with Scada after I get things in place...
This isn't the Scada help line.
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is a link: http://www.acimut.com/en/monitoriza/monitorizaforarduino.html

And, I are not going to use this forum as a "help line" for Scada, but, if there is anyone that knows Scada, in this forum, that might want to help me a bit, I would appreciate it smiley

Rob
Logged

Spain
Offline Offline
Full Member
***
Karma: 0
Posts: 149
LED
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Never heard of Scada. Time for a link, I think
http://en.wikipedia.org/wiki/SCADA
Logged

Arduino Uno (R2fix) / Duemilanove (328p)
Ethernet Shield SD (v5)

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is there anyone who has done this earlier, and can tell me how to do it?
That link you posted looks pretty complete. Which step(s) are you having problems with?
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there !

I cant find the Arduino and actually make Scada talk to it...
And, I want to add more functions, but I cant find any info or logic "system" to tell the Arduino what I want....

Rob
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I cant find the Arduino and actually make Scada talk to it...
I downloaded the sketch that was linked to in step one.

I downloaded the software that was linked to in step two. I installed it. I ran the movie, stopping if often. I recreated the project described, except that I had to use different pictures for the LED on and LED off images.

I uploaded the sketch to the Mega, and tried running the Scada application. It didn't seem to work. I switched to a Duemilanove, and still nothing but a blank form in the Scada application. I discovered that I had three forms, two of which were blank. When I deleted the two blank forms, the Scada application appeared correctly. I had several icons in the task bar some of which were green and some were red. I closed the Scada application, and killed all the processes related to it.

I started the Scada application back up, and ran it. My form with buttons appeared, and three icons in the task bar lit up, green. I was able to make the light come on and go off on the Duemilanove.

I closed the application, stopped Scada, and unplugged the Duemilanove. I plugged in the Mega again, and got the COM port number it was using. I changed the Scada application to use that number. I ran the Scada application, and got all the icons. Pressing the On button turned on the LED on the Mega. Pressing the Off button turned it off.

So, I think you need to describe what you did.

The movie, in my opinion, was by no means the best way to define how to use the application. Screen shots and explanatory text in html pages would have been far better.

Quote
And, I want to add more functions, but I cant find any info or logic "system" to tell the Arduino what I want....
You'll need to define this a little better. Clearly, the link between the Scada application and the specific pin activated on the Arduino leaves a bit to be desired. But, more actions can be defined in the Scada application, using more than register 0, and the Arduino sketch can be extended to handle more than register 0 actions.
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I finally got contact with the USB cable...
Reinstalled everything again, and then it worked....

Now, how could I make this things talk via ethernet?
What I want to to is control several led`s on 4 different channels (pins), and 6 DC motors via a motor shield.
It would be very nice to have feedback from a gyro that will be connected to the Mega shield as well....
And, all this should be controlled via a laptop and a joystick...

As mentioned earlier, this is not a "help line" for Scada, but I think that many will use Scada if we know how to use it...
You can actually do "everything" via Scada....weather station, RC vehicles, home automation etc...etc....

Do you think that you, with your knowledge of Arduino, and programming could help us a bit?   smiley-roll

I cant see in the lines (or logic) uploaded to my Mega, how you can "pick" the right pin, and how to set it up in Scada....
It is not the same as all the other Arduino stuff....
Or am I totally out on the field here???

Rob
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
You can actually do "everything" via Scada....weather station, RC vehicles, home automation etc...etc....
Actually, Scada looks more like a proof of concept right now. The PC side looks pretty good, but the Arduino side is lacking.

Quote
Do you think that you, with your knowledge of Arduino, and programming could help us a bit?
Us? I'll think about it.
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There is plenty of Scada applications, that have more "in dept" demo`s.
FreeScada fex have a home automation that looks pretty cool ! (controlling lights, door locks, music, temp etc...)

I really hope that somebody that knows Arduino well, can help us to make this work !  smiley-cool
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
here is plenty of Scada applications, that have more "in dept" demo`s.
Post 3 or 4 more links, and I'll look at them. I understand the Arduino, but barely have a clue about Scada, though it looks quite capable and interesting.
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Scada is VERY capable, for anything....it is just how to interface it to Arduino that stops me....
Have been using Scada (as an operator) for quite a while, but I have never been on the programming side of it...

Link 1: http://www.sielcosistemi.com/en/download/public/winlog_lite.html     (might be this one that had the home auto demo I mentioned)

Link 2: http://www.integraxor.com/
Link 3: http://sourceforge.net/projects/free-scada/
Link 4: http://www.freescada.com//libmodbus/index.php?lang=en

Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I went back and looked at the original Scada site you liked to, and found that I had overlooked the tabs at the top of the page. I found the user manual for the Monitoriza application. That will make it easier to create applications that communicate with the Arduino.

As I see it, the limitation right now is that the Arduino sketch that the Scada application interacts with is pretty limited.

I would think that, at a minimum, the Scada application should be able to get/set the state of all digital pins (except 0 and 1) and should be able to get the values of all analog pins.

What else do you see that Scada should be able to do with the Arduino? Get millis() values? Start and stop timers?
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 37
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Paul,

I just found that PDF file too (under all programs\monitoriza) and it is explainet quite well there how to do stuff.
Just had a breif look, but there is step by step instructions...

If it is possible to have Scada use an Arduino as a slave, where you can do everything you normally can do with any Arduino PCB`s, I think that I am very close to my goal...
However, I need to find a "Scada Helpline...."    smiley-roll

I was cruising around last night looking for similar software, and found that some Scada app`s are using Python, and some C+ etc...
Does this have any practical consequence?
What would be the best/easiest to use with Arduino?

What I need from my Mega is 3 axis Gyro reading, pressure reading, temp, and maybe a LIM reading... (load insulation meter).

From my laptop to the Mega, there will be a joystick controlling DC motors, LED lights, get the Gyro readings etc...

So it is not something very complicated at the moment, but I guess that there will be more later  smiley-money

Would it be complicated to re-program the sketch to Arduino?
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Would it be complicated to re-program the sketch to Arduino?
Maybe, maybe not. That's why I was asking what your requirements are. Reading and writing all digital pins and reading all analog pins would enable you to do what you describe.

It looks like Scada can make the necessary requests. Whether the Arduino sketch can be modified to satisfy all the requests, or not, is the issue.

I'll look into it.
Logged

Pages: [1] 2   Go Up
Jump to: