No. 1195 | Re: Re: Re: Possiblity to control a CIE M10 from an external web page | 2013-06-03 | ||
---|---|---|---|---|
Hello Laurent This is Andy Lee with Support Team. I checked your request for an example message on our sample program. Here is the example for “ON output 1”(DO0) in hexadecimal format. (if function code 16 – 0x10) 0x00 0x00 0x00 0x00 0x00 0x09 0x01 0x10 0x00 0x08 0x00 0x01 0x02 0x00 0x01 (if function code 5 – 0x05) 0x00 0x00 0x00 0x00 0x00 0x06 0x01 0x05 0x00 0x08 0xff 0x00 As above, you may use hexadecimal data to test Modbus/TCP protocol. But our sample programs(including java one) use ASCII input box for “send”. You can use “ezTerm” to check Modbus/TCP protocol with a CIE-M10. ezTerm is software to test TCP/IP communication with ezTCP. Note that “Remote Host Port” should be 502 for your test. And you can download it from below. http://www.eztcp.com/en/download/ezterm.php > Laurent wrote: > ------------------------------------ > > Hello, > I read the documentation of Modbus/TCP protocol and I want to try it but I am having issues regarding this. I downloaded the samples from the documentation but I don't know which kind of message I have to put in the "send" box. Is it Hexa,bytes, text??? Can you give me an example of message to pilot the output 1 at ON from the sample downloaded. My CIE M10 is configured in TCP client (F16) and I try to develop an java application installed on a PC. > Thank you > > > > Sollae Systems wrote: > > ------------------------------------ > > Hello Laurent, > > > > Unfortunately, it is hard to say that it is possible with HTTP because we do not have any experiences about it. > > > > Why don't you considering make an Modbus/TCP application? > > In my opinion, using Modbus/TCP would be better than HTTP, if you can develop a socket program. > > You can precisely set or get a system time in your application. > > Modbus/TCP is a kind of protocol for monitoring and controlling digital I/O ports via networks. > > Here is a reference. > > * ezTCP Modbus/TCP: http://www.sollae.co.kr/documents/application/an_modbus_tcp_en.pdf > > > > Thank you. > > > > > > > Laurent wrote: > > > ------------------------------------ > > > Hello, > > > I use CIE M10 to control some devices like lights and motors. I have modified the web page on the web server for my needs. My problem is that I can't program a input or an output at precisely time with a calendar for example. I tried to modify the home page on the web server but I didn't found how to do. So, I would like to know if it is possible to control Input/Output from an external web page made with java language on a pc connected to the CIE M10 directly or trough internet? Or do you have a other module to do that? > > > I hope that you understand my wish? > > > Thank you > > > Best regards |
Writer | Sollae Systems | Company | |
|
|||