Technical Forum

SIMATIC S7-200

communication between pc and plc S7-200 through rs232

Thread Starter: fethi   Started: 3/7/2006 2:21 PM   Replies: 2

« Previous thread Next thread »
Page 1 of 1 (3 items)
  3/7/2006, 2:21 PM
Joined 3/7/2006
Last visit: 3/16/2006
Posts: 1
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
I have documents which explains the protocol ppi (explains the formats
of frame accepted by the CPU of the S7-200 automat).
I wrote a code which ensures the communication between PC and s7-200. I tested but it
does not function I have make several checking:
- I have an achievable file which ensures the communication between PC s7-200.
I used a serial monitor to know the frame exchanged between PC and
automat I noted that they similar to those are used in my code I have
doubts about times (use of structure COMMTIMEOUTS)
typedef struct _COMMTIMEOUTS { // ctmo
DWORD ReadIntervalTimeout;
DWORD ReadTotalTimeoutMultiplier;
DWORD ReadTotalTimeoutConstant;
DWORD WriteTotalTimeoutMultiplier;
DWORD WriteTotalTimeoutConstant;
} COMMTIMEOUTS,*LPCOMMTIMEOUTS;

language used is C++

if you have in more one idea on others problémes which can met us.
To indicate us

Top
  11/29/2006, 5:56 AM
Joined 11/29/2006
Last visit: 6/16/2013
Posts: 9
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Hi!
can you give me protocol of plc s7-200?

I want research about it.

thank and best regard

Top
  11/17/2011, 12:43 PM
Joined 5/16/2010
Last visit: 3/29/2012
Posts: 5
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hi;
Can you give me the document that you have, i'm also have a searche about it, we can exchange idea;
Thanks& Best Regards
Top
Page 1 of 1 (3 items)
Actions