×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Siemens S5 and S7 communication protocols

Siemens S5 and S7 communication protocols

Siemens S5 and S7 communication protocols

(OP)
Hi,

I need to communicate with S5 and S7 models via the serial RS232 port of my PC into an application which I'm programming in C language. Is it possible to get information about the communications protocols used by both models?. Thanks.

RE: Siemens S5 and S7 communication protocols

The S5 PLC's uses a TTY interface (20mA) there is a converter to change the RS232 on your PC into the TTY for the S5 PLC.

The S7 300/400 uses a MPI interface.
The S7 200 uses a PPI interface.
Both are based on the RS484(?) protocols, again there are interfaces available for both of these PLC's.
One of the best I have seen is the interface from Process-Informatik.
This detects  the S7 plc (200/300/400) it is connected to and chabges protocols automatically.

http://www.process-informatik.de  ;

Hope this helps.

RE: Siemens S5 and S7 communication protocols

(OP)
Thanks moggie,

Another thing,

If I'm usig an Embedded Web-Server to communicate with these PLC's, would you tell me how I could get additional information about the low level protocols for S5 and S7?

By means of low level protocols I refer to those commands I directly must send from and receive to via serial port for establishing a correct connection between Web-Server and PLC.

RE: Siemens S5 and S7 communication protocols

The S5 PLC's require a break signal for  5ms to start communication. To generate the break signal you usually have to use loops in your program. The program then becommes dependend on the PC and the speed your PC is running at. That is why STETP 5 has so many problems with the communication on different platforms and PC's.
If you use a standard interface then you dont't have to worry about the break signal.
INAT ECHOLINK converter with up to 5 serial ports connect to S7-200/300 and S5 PLC's.
The ECHOLINK connects to the Ethernet Network and an OPC Server on your PC (connected to this network)is your entry point (standard windows DDE routines)for programming or SCADA.
Check out www.inat.de

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources