Jump to content

Recommended Posts

Posted
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 Doc1.doc Please help me

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...