Controller Embeded Website Data to PLC

rajy2r

Member
Join Date
Nov 2006
Location
Canada
Posts
167
Wondering if there is a way to parse data from an embedded website on a controller (Quincy Air Compressor) to the PLC to display as status and/or log some data.
 
You should reach out to "Quincy Air Compressor" some of their models have the ability to add a "MODBUS" option. This would be my first choice.
 
You should reach out to "Quincy Air Compressor" some of their models have the ability to add a "MODBUS" option. This would be my first choice.

Yes there is a ModBus and/or ENET option, but i don't necessarily need the info (especially for the extra cost). I was just curious if its possible to poll the data from the built in webserver.
 
What model of PLC ? Can the PLC send a raw HTTP request ?

This is likely to require some kind of programmable interface that you can program to parse a hypertext document.

Start by opening the embedded web page and looking at how it delivers the data. If it's part of the literal HTML text of the page document, you've got a good chance at parsing it out.
 
You should reach out to "Quincy Air Compressor" some of their models have the ability to add a "MODBUS" option. This would be my first choice.

What model of PLC ? Can the PLC send a raw HTTP request ?

This is likely to require some kind of programmable interface that you can program to parse a hypertext document.

Start by opening the embedded web page and looking at how it delivers the data. If it's part of the literal HTML text of the page document, you've got a good chance at parsing it out.

It will be a Controllogix L81E. I won't have access to the embedded web page for a few months as commisioning is still ways away. I was trying to see what the possibilities and or options to incorporate this if possible.

I suppose it might be easier to get the data into the HMI (Factory TalkView SE) maybe with some scripting or something.

Never done this before so looking for some ideas.
 
In C# you can use webclient

////////////////////////////////////////////////////////////////////////////////Code
using System.Net;

using (WebClient client = new WebClient ()) // WebClient class inherits IDisposable
{
client.DownloadFile("http://yoursite.com/page.html", @"C:\localfile.html");

// Or you can get the file content without saving it
string htmlCode = client.DownloadString("http://yoursite.com/page.html");
}

/////////////////////////////////////////////////////////////////////////////////Code

https://stackoverflow.com/questions/599275/how-can-i-download-html-source-in-c-sharp

You can parse it from there. This would work in VB.NET also.
 

Similar Topics

Hello, I am currently in the final week of my internship and I have encountered issues with communication between a PowerFlex 700 variable...
Replies
0
Views
51
Hello! If someone can help me with the following problem. I can't change the phone number. Do I really need the interface (AL-232CAB - Programming...
Replies
0
Views
60
I have Woodward Controller EASYGEN-3500XT and Phoenixcontact make IO CAN-CUPLER part no: 2702230, Analog Input card: 2861412, Analog Output Card ...
Replies
0
Views
54
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
194
Everything was working fine, but suddenly CPU went into error mode, and the ERR and TER LEDs lit up. Now I can't download or connect with the PLC...
Replies
0
Views
63
Back
Top Bottom