There are mainly two protocols for S5: 1. AS511 protocol, which is the protocol of the PG port. I have never seen detailed information of this protocol. It may be hidden on purpose, then you may have to buy a driver from Siemens (so called PRODAVE WIN 511). 2. RK 512 protocol, which is the general protocol for computer link. It is based on 3964R procedure. This protocol and procedure is available in nearly all communication processors, therefore detailed information is available in their manuals. For example, in CP341 (altough it is S7 based, the protocol applies to S5 as well). You can download the manual from Siemens product support page.
Siemens does not provide the operation of protocol AS511, I suppose that so that conpres its DLL (PRODAVE) to communicate. I have a supplier that provides to a communication routine of to communicate with S5 by the programming port and ademas of sale is quite fast (within which it fits), single Lee and writes DB (that is not a limit, single that if you want to read or to write entrances and exits, you must use a DWord like image of the bits.
I understand that you want to communicate a PC with your S5 via serial port (RS232).
If that is the case you have two options.
The first one is to use the PG port, buy an adapter to convert the current loop output to RS232C (you can buy one from siemens), and the drivers (PRODAVE) for MsDos or Windows. The protocol is private and not documented. Maybe it is possible to find drivers from other sources.
The other is to use a CP524 or CP525 card and the RK512(3964) protocol, which is very well documented and easy to implement. There are lots of drivers available as well.
Anyway,if you need further information contact me by email.
I have been working on communication between PC's, PLC's and serial devices for several years now. At first we wrote everything in VB as it is very easy to understand and convenient to troubleshoot. Once we found the need for multithreading we changed our focus to C but are still developing and have some way to go.
If you are willing I would be very pleased to have your source code as I am sure it will help in our development work on serial drivers.
Thank you
Rob Faragher Augher Control Systems Inc Phone 1-905-646-6552 FAX 1-905-646-9338 Cell 1-905-327-3020 Email [email protected] Site 1-905-548-7200 ext. 1405 Email [email protected]
AS 511 I found this italian site: http://members.xoom.it/_XOOM/Cattaneo_Plc/Automazione/automazione.html There is a description of the protocol, and best of all, there is VB source code of a small program that can read and write to a S5 plc via the normal PG-PLC cable. I tried the program with a s5-95u and it was working fine.
I'm working on the same subject and this is the topic of my studying end project, we can cooperate if you are interested contact me at my e-mail: [email protected]
I understand that you want to communicate a PC with your S5 via serial port (RS232).
If that is the case you have two options.
The first one is to use the PG port, buy an adapter to convert the current loop output to RS232C (you can buy one from siemens), and the
drivers (PRODAVE) for MsDos or Windows. The protocol is private and not documented. Maybe it is possible to find drivers from other sources.
The other is to use a CP524 or CP525 card and the
RK512(3964) protocol, which is very well documented and easy to implement. There are lots of drivers available as well.
Anyway,if you need further information contact me by email.
I understand that you want to communicate a PC with your S5 via serial port (RS232).
If that is the case you have two options.
The first one is to use the PG port, buy an adapter to convert the current loop output to RS232C (you can buy one from siemens), and the
drivers (PRODAVE) for MsDos or Windows. The protocol is private and not documented. Maybe it is possible to find drivers from other sources.
The other is to use a CP524 or CP525 card and the
RK512(3964) protocol, which is very well documented and easy to implement. There are lots of drivers available as well.
Anyway,if you need further information contact me by email.
I would like to communicate with an S5 115U PLC. Other projects that I have been involved in have been using Wonderware Intouch, and a
CP524/544 card. What I would like to do is do my own communication with the CP card. I can write RS232 communications in Delphi but would
appreciate if you could either point me in the direction of a driver/component or information on the protocol.