[Visual-devel] Re: first success
Status: Alpha
Brought to you by:
lettoz
|
From: Thomas H. <Tho...@we...> - 2004-05-05 16:55:56
|
"Arijit Bhattacharrya" <arb...@fh...> schrieb am 05.05.04 16:= 24:07: =20 =20 Hello Arijit, =20 =20 I connected an S7-300 to my PC, downloaded myself version 0.0.21 to have t= he exact =20 code, and, very sorry, I must tell you we have now TWO problems: =20 =20 The first ist that your adapter sends NAK, according to the last log file.= =20 That may be different after a reset or with another adapter or with change= s in the =20 drivers initialization code. =20 =20 But the second problem is the s7MPI driver doesn=B4t even work on my box wit= h my adapter. =20 The problem is I changed a function comparing responses to a given byte pa= ttern so it =20 can deal with bytes marked don=B4t care in the middle of a sequnce. This was= to handle =20 slight differences more easily. But I did not test the code before releasi= ng it -:( =20 =20 The second is I introduced a method to reload the driver=B4s tfi on a signal= . =20 Again, this doesn=B4t work with s7MPI. =20 =20 Both problems arose from mixing different code versions. =20 =20 Nearly 1000 people have it downloaded since, but nobody has ever reported = this... =20 =20 Exchange the attached files as a preliminary hot fix. Both files go to dri= vers=20 directory.=20 =20 A third little thing is, the s7mpi.tfi doesn=B4t fit the sheet 1 in work. Th= e problem is=20 the tfi wants to get the execution condition from A1, which is a text. So = It exits with=20 nothing to do, and repeats this so fast that it generates 45M of log file = in a few=20 seconds. To avaoid this, insert some number, e.g. 1.0 into cell A1 of the = first sheet.=20 =20 =20 I will send final fixes as soon as possible. =20 =20 Thomas =20 =20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F ... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/=3Fmc=3D021191 |