Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

communication between pc and plc S7-200 through rs232

Status
Not open for further replies.

fethi

Newbie level 1
Joined
Mar 7, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top