Written on: 25. 03. 2013 [16:41]
|
citrizin
Abolfazl
Topic creator
registered since: 04.10.2012
Posts: 19
|
Great
I think I'm just understanding....
Therefore I'm not looking for a PROFIBUS message. I want to play the role of CP243.
I just want to receive oscada message and that's it. No matter this message is not PROFIBUS based. whatever it is, I want to receive it in my micro controller.
Seemingly this message is transferred in "ISO TCP" format (which is not a closed one). Can I receive this message using just a LAN cable?
At the end of this LAN cable is my micro controller which is able to receive bytes in TCP format.
|
Written on: 25. 03. 2013 [18:10]
|
almaz
Almaz Karimov
Contributor
registered since: 25.09.2008
Posts: 516
|
"citrizin" wrote: Seemingly this message is transferred in "ISO TCP" format (which is not a closed one).
This is another protocol. I do not know the protocol is open or not, is not known with which TCP port Ethernet it works. Perhaps Roman will tell precisely.
"roman" wrote: "iso tcp" is specific application level protocol, mostly closed, by Siemens GMBH.
"citrizin" wrote: Can I receive this message using just a LAN cable?
At the end of this LAN cable is my micro controller which is able to receive bytes in TCP format.
If the message is to get (know which port is TCP request), but what to answer for completion exchange?
"citrizin" wrote: I want to play the role of CP243.
This is a server role. You need to write server protocol "ISO TCP". OpenSCADA uses the "ISO TCP" only as a client. The connection between two computers via OpenSCADA "ISO TCP" impossible. Client-client does not allow the correct exchange.
[This article was edited 1 times, at last 25.03.2013 at 18:12.]
21 век - век повсеместной автоматизации. Главное - во благо всем людям.
|
Written on: 07. 04. 2013 [12:03]
|
citrizin
Abolfazl
Topic creator
registered since: 04.10.2012
Posts: 19
|
Thanks for your answer,
Do you know on which port openSCADA sends its request?
I have written a TCP server now and I'm trying to receive openSCADA messages which are sent through ISO_TCP. but I don't on which port should my server listen.
|
Written on: 08. 04. 2013 [07:03]
|
almaz
Almaz Karimov
Contributor
registered since: 25.09.2008
Posts: 516
|
Maybe port 102.
http://www.delta.com.tw/product/em/control/touch_hmi/download/manual/Siemens%20S7%20300%20_ISO%20TCP__ENG.pdf
http://www.faqs.org/rfcs/rfc1006.html
http://www.faqs.org/rfcs/rfc983.html
http://cache.automation.siemens.com/dnl/zUwNTEyMQAA_21555710_HB/MN_s7-cps-ie_76.pdf
[This article was edited 2 times, at last 08.04.2013 at 07:32.]
21 век - век повсеместной автоматизации. Главное - во благо всем людям.
|
Written on: 08. 04. 2013 [10:36]
|
roman
Roman Savochenko
Moderator Contributor Developer
registered since: 12.12.2007
Posts: 3750
|
"citrizin" wrote:
I have written a TCP server now and I'm trying to receive openSCADA messages which are sent through ISO_TCP. but I don't on which port should my server listen.
The port is 102 but you can simple the port detect from any network sniffing program, like "wireshark".
Learn, learn and learn better than work, work and work.
|