Hello Everyone,
I have a project some of you might find interesting and I could use some assistance. In a nutshell, I'm attempting to figure out a way to use my Schneider XBTGC2230T to retrieve data from a website using an Ethernet (RJ45)connection.
The PLC needs to communicate with a microcontroller containing proprietary software, which means I don't have access to the actual program on the microcontroller (32-bit pic chip). I don't believe there's any way to retrieve the raw program from the chip. However, one of the microcontroller's program functions is to stream information to a website page hosted by microcontroller. Fortunately, this information being streamed is everything I need to know in my PLC program. So I'm thinking there must be a way to use some sort of data logger to retrieve the details from the website hosted by the microcontroller and use that information in my PLC logic.
Currently I am connecting my laptop to the microcontroller via ethernet, and I can type the IP address of the host microcontroller in a browser to load the HTML page which shows constantly updating data (streaming accomplished from javascript, css, and/or external DTD declaration). I'm not sure if this is helpful or not, but the information being sent can at least partially be acquired using WireShark to perform a live capture. This at the very least might help me to identify what specifically I need to look for when data logging.
Once I have the information I need in the PLC program, the intent is to then use this information to dictate discrete outputs (on or off), and also to relay this information via messages on the HMI screen (the HMI and PLC are a single unit in this case).
So the first goal will be to find a way of acquiring the desired information from the microcontroller. The last goal will be to somehow transfer this information to the PLC so it can be used in ladder logic.
I have never used anything but ladder logic in PLC programming, so these tasks are new to me. Any assistance anyone can provide would be greatly appreciated.
Sincerest Thanks.
I have a project some of you might find interesting and I could use some assistance. In a nutshell, I'm attempting to figure out a way to use my Schneider XBTGC2230T to retrieve data from a website using an Ethernet (RJ45)connection.
The PLC needs to communicate with a microcontroller containing proprietary software, which means I don't have access to the actual program on the microcontroller (32-bit pic chip). I don't believe there's any way to retrieve the raw program from the chip. However, one of the microcontroller's program functions is to stream information to a website page hosted by microcontroller. Fortunately, this information being streamed is everything I need to know in my PLC program. So I'm thinking there must be a way to use some sort of data logger to retrieve the details from the website hosted by the microcontroller and use that information in my PLC logic.
Currently I am connecting my laptop to the microcontroller via ethernet, and I can type the IP address of the host microcontroller in a browser to load the HTML page which shows constantly updating data (streaming accomplished from javascript, css, and/or external DTD declaration). I'm not sure if this is helpful or not, but the information being sent can at least partially be acquired using WireShark to perform a live capture. This at the very least might help me to identify what specifically I need to look for when data logging.
Once I have the information I need in the PLC program, the intent is to then use this information to dictate discrete outputs (on or off), and also to relay this information via messages on the HMI screen (the HMI and PLC are a single unit in this case).
So the first goal will be to find a way of acquiring the desired information from the microcontroller. The last goal will be to somehow transfer this information to the PLC so it can be used in ladder logic.
I have never used anything but ladder logic in PLC programming, so these tasks are new to me. Any assistance anyone can provide would be greatly appreciated.
Sincerest Thanks.