08-23-2007 04:24 AM
08-24-2007 02:38 AM
Hi Gert,
Could you speak a little bit more about your program?
How many Shared variables are you using? , Are you working quickly? (Maybe slowing down you execution because you seem to say that you don't have this error when running in highlight mode...).
Give maybe your code (if it is possible to you)?
Best Regards,
08-27-2007 04:34 AM
Hi Julien,
First I want to thank you for replying on my question.
I'll try to give some more information. I've got 3 shared variables in the project. Two of them read data from the PLC: the first one is an array of 100 UINT32 variables; the other one is a only one variable of type UINT32. The third variable writes data to the PLC: one variable of type UINT32.
The application should execute as fast as possible. Therefore the highlight execution isn't an option.
For the communication between PC and PLC we use a bluetooth connection. Maybe this type of connection causes the datatransfer to be slow?
Hope this helps.
Kind regards,
Gert
08-28-2007 08:53 AM
Hi Gert,
Maybe your application is running to fast for the variable engine. Have you tried to put some timing inside your loop? I mean the functions wait until next multiple ms or Wait functions. Give a try with function and a timing of 50ms. don't forget that the Bluetooth connection is nothing else than Serial communication and you can't achieve a very high rate.
You can maybe also try with a Ethernet/Serial cable (I don't know which is the possible type of connection with your PLC) to see if the you are running the same error.
Regards,