BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Newbie question

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Bart
Guest





PostPosted: Sat Nov 15, 2003 9:00 am    Post subject: Newbie question Reply with quote



Hi all,

I have a Siemens S7 PLC which is connected to a PC. There are programs
(SCADA) that are able to read data out of the PLC over TCP/IP. Now I want to
create a program that is also able to read data from and write data into my
PLC.

The problem here is that a cannot find any documentation about the protocol
that Siemens is using. So I woould like to now if it is possible to 'listen'
to the existing connection and see what data is send to and read from the
PLC.

The only thing I found out is that they use probably port 2000 and 2001 ?

Can any one put me in the right direction to accomplish. Thanks a lot in
advance,

Bart JAnisse


Back to top
Simon Devlin
Guest





PostPosted: Sat Nov 15, 2003 3:31 pm    Post subject: Re: Newbie question Reply with quote



Get yourself a copy of WinPCAP and install it. Then use Ethereal.

The first is a packet capture library, the second an open source protocol
analyser. That will be a start.... Good luck!

"Bart" <@> wrote

Quote:

The problem here is that a cannot find any documentation about the
protocol
that Siemens is using. So I woould like to now if it is possible to
'listen'
to the existing connection and see what data is send to and read from the
PLC.



Back to top
Martin James
Guest





PostPosted: Sat Nov 15, 2003 4:49 pm    Post subject: Re: Newbie question Reply with quote




Quote:

The problem here is that a cannot find any documentation about the
protocol
that Siemens is using. So I woould like to now if it is possible to
'listen'
to the existing connection and see what data is send to and read from the
PLC.

The only thing I found out is that they use probably port 2000 and 2001 ?


Perhaps you've already tried it, but, if not, what happens if you telnet to
these ports? Sometimes, even with embedded processors, there is a
test-based interface, sometimes with 'help'.

Probably, it's some dedicated protocol that is not human-readable, but
sometimes you get lucky.

Rgds,
Martin



Back to top
Martin James
Guest





PostPosted: Sat Nov 15, 2003 6:40 pm    Post subject: Re: Newbie question Reply with quote


Quote:
test-based interface, sometimes with 'help'.

Typo - I meant, of course, 'text-based interface'.

Rgds,
Martin



Back to top
Wilker
Guest





PostPosted: Mon Nov 17, 2003 5:09 pm    Post subject: Re: Newbie question Reply with quote

it is the best solution, install this sniffer, and put it to "watch" what is
going on in a transmittions between two hosts (PC and PLC)...

you can use some filters , by ports or protocols...

see ya.

Wilker.


"Simon Devlin" <simon.devlin> escreveu na mensagem
news:3fb64732$1 (AT) newsgroups (DOT) borland.com...
Quote:
Get yourself a copy of WinPCAP and install it. Then use Ethereal.

The first is a packet capture library, the second an open source protocol
analyser. That will be a start.... Good luck!

"Bart" <@> wrote


The problem here is that a cannot find any documentation about the
protocol
that Siemens is using. So I woould like to now if it is possible to
'listen'
to the existing connection and see what data is send to and read from
the
PLC.





Back to top
Bart
Guest





PostPosted: Mon Nov 17, 2003 9:11 pm    Post subject: Re: Newbie question Reply with quote

Okay I will do that.

Thanks for the response

Regards,

Bart Janisse


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.