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 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
4
Views
71
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
34
I am running CCW 13 trying to upload to a micro 820 vers.12 I get an output message OPC server is unable to load project controller. Please help!
Replies
5
Views
224
Hello, I have a set of three tanks with their own trio of Hardy 6600 series load cells. Two of them have no issues with where they are at and...
Replies
3
Views
146
Hello everyone, I'm working on a project that involves controlling an array of nozzles within a CNC environment, where the nozzles travel along a...
Replies
5
Views
176
Back
Top Bottom