Siemens S7 - program in C

Nov 12, 2004 5 Replies

Hello



I'm looking for a examples writen in C (for linux) how can I communicate with Simatic S7 uses Profibus (interface RS 485).


Thanks for Your help



E.N


What kind of protocol are you looking for? PROFIBUS FMS, PROFIBUS DP or 'simply' FDL??

Are you aware that you need an ASIC or a co-processor (speed

It may be that using profibus to implement s7unix comms is not the easiest way, google helps:

formatting link
with this you'll need CP443-1 card or similar..

formatting link
but with this you'll need CP443-1 card or similar..

If they've got Ethernet, S7's also talk RFC-1006, right?

Yes, but I've not seen a RFC-1006 implementation in linux that would talk to S7 .. to my understanding the RFC-1006 in S7 means that they just use RFC-1006 to encapsulate some other protocol that fits into ISO/OSI layered protocol framework but lacks implementation in linux.

There is

formatting link
would be a great starting point if siemens would give out documentation to the protocol used inside RFC-1006?

But I not know. I have not really tried to get RFC-1006 connections to work using linux.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required