![]() ![]() |
Hi experts,
I currently have a project that involves a Panasonic FP-x PLC and a Redlion G306 HMI to run a water treatment system. No problems there. What the client wants now is to have a number of these sites remote monitored through a website that they can login anywhere (mobile or at the office).
Due to the limitations of the internal webserver in the G306 we are now looking at using Modbus tcp to poll the data from the G306.
I think i understand the basics of Modbus tcp but would love for someone to explain the 'code' behind it and even if i'm on the right track choosing modbus. Appreciated much in advanced!
I currently have a project that involves a Panasonic FP-x PLC and a Redlion G306 HMI to run a water treatment system. No problems there. What the client wants now is to have a number of these sites remote monitored through a website that they can login anywhere (mobile or at the office).
Due to the limitations of the internal webserver in the G306 we are now looking at using Modbus tcp to poll the data from the G306.
I think i understand the basics of Modbus tcp but would love for someone to explain the 'code' behind it and even if i'm on the right track choosing modbus. Appreciated much in advanced!
![]() ![]() |
I have an open source / free software project that uses Modbus/TCP in a number of its programs. The web site for the project has a page which explains some of the basics behind Modbus/TCP.
http://mblogic.sourceforge.net/mbapps/ModbusBasics-en.html
This explains some other communications basics.
http://mblogic.sourceforge.net/mbapps/ComBasics.html
The Modbus spec can be downloaded from the Modbus organisation web site:
http://www.modbus.org/specs.php
My software does (among other things) web based HMI. There is a soft logic control platform with integrated web based HMI:
http://mblogic.sourceforge.net/mblogichelp/mblogic.html
There is also the same web based HMI in a stand alone version:
http://mblogic.sourceforge.net/hmiserver/hmiserverintro-en.html
This section talks about the technology behind a web based HMI:
http://mblogic.sourceforge.net/mbhmi/mbhmiintro.html
With any industrial web based HMI that I know of (including my own) you probably wouldn't want to put it directly on the Internet. You can have it on a VPN (virtual private network). Any competent IT specialist can set that up for you. If your own web site will be the Internet facing "front end" and handles all the security for this, then you might handle it that way as well.
I can't really go into any more detail than that however without knowing more about what the web application would do. People have used my software in similar applications (water treatment), but only as one component in a larger system. I'm not going to say at this point that it suits your application however since I don't know enough about what you are doing.
I am presently working on a new program that will convert between Modbus/TCP and a web service protocol that is meant to be used by typical PHP web applications. You would use conventional GET and POST from your PHP program to read or write field device values via Modbus/TCP. It's just a derivative of an existing program and I expect to have it done in a couple of days. If you are interested in that, let me know.
Also, if you want to discuss your application in more detail, then let me know and I will be happy to talk about it.
http://mblogic.sourceforge.net/mbapps/ModbusBasics-en.html
This explains some other communications basics.
http://mblogic.sourceforge.net/mbapps/ComBasics.html
The Modbus spec can be downloaded from the Modbus organisation web site:
http://www.modbus.org/specs.php
My software does (among other things) web based HMI. There is a soft logic control platform with integrated web based HMI:
http://mblogic.sourceforge.net/mblogichelp/mblogic.html
There is also the same web based HMI in a stand alone version:
http://mblogic.sourceforge.net/hmiserver/hmiserverintro-en.html
This section talks about the technology behind a web based HMI:
http://mblogic.sourceforge.net/mbhmi/mbhmiintro.html
With any industrial web based HMI that I know of (including my own) you probably wouldn't want to put it directly on the Internet. You can have it on a VPN (virtual private network). Any competent IT specialist can set that up for you. If your own web site will be the Internet facing "front end" and handles all the security for this, then you might handle it that way as well.
I can't really go into any more detail than that however without knowing more about what the web application would do. People have used my software in similar applications (water treatment), but only as one component in a larger system. I'm not going to say at this point that it suits your application however since I don't know enough about what you are doing.
I am presently working on a new program that will convert between Modbus/TCP and a web service protocol that is meant to be used by typical PHP web applications. You would use conventional GET and POST from your PHP program to read or write field device values via Modbus/TCP. It's just a derivative of an existing program and I expect to have it done in a couple of days. If you are interested in that, let me know.
Also, if you want to discuss your application in more detail, then let me know and I will be happy to talk about it.
![]() ![]() |
You can browse the sourcecode of our Modbus class.
http://pvbrowser.org/pvbrowser/sf/manual/rllib/html/classrlModbus.h tml
See: http://pvbrowser.org
PS: If the forum software introduces spaces in the above URL please remove them.
http://pvbrowser.org/pvbrowser/sf/manual/rllib/html/classrlModbus.h tml
See: http://pvbrowser.org
PS: If the forum software introduces spaces in the above URL please remove them.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2013 Nerds in Control, LLC. All rights reserved.
Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.
Fortune
Chism's Law of Completion:
The amount of time required to complete a government project is
precisely equal to the length of time already spent on it.







on 5 July, 2010 - 4:45 pm
on 6 July, 2010 - 1:36 pm
