УкраїнськаEnglishmRussian
Вхід/Новий
У темі багато повідомлень

PROFIBUS and ISO TCP


Автор Повідомлення
Повідомлення створено: 25. 03. 2013 [16:41]
citrizin
Abolfazl
Автор теми
Зареєстрован(а) с: 04.10.2012
Повідомлення: 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.
Повідомлення створено: 25. 03. 2013 [18:10]
almaz
Almaz Karimov
Contributor
Зареєстрован(а) с: 25.09.2008
Повідомлення: 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.

[Повідомлення редагувалось 1 раз(ів), останній раз 25.03.2013 в 18:12.]

21 век - век повсеместной автоматизации. Главное - во благо всем людям.
Повідомлення створено: 07. 04. 2013 [12:03]
citrizin
Abolfazl
Автор теми
Зареєстрован(а) с: 04.10.2012
Повідомлення: 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.
Повідомлення створено: 08. 04. 2013 [07:03]
almaz
Almaz Karimov
Contributor
Зареєстрован(а) с: 25.09.2008
Повідомлення: 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

[Повідомлення редагувалось 2 раз(ів), останній раз 08.04.2013 в 07:32.]

21 век - век повсеместной автоматизации. Главное - во благо всем людям.
Повідомлення створено: 08. 04. 2013 [10:36]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 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.



7104