CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

OnlineManager error when writing/reading variable
https://forum.codesys.com/viewtopic.php?f=18&t=5581
Page 1 of 1

Author:  williamc [ Thu Jan 23, 2014 4:14 pm ]
Post subject:  OnlineManager error when writing/reading variable

Hi,

When I try to write a variable through script I sometimes get the error:

Error : The OnlineVarRef at position 1 was not created by the OnlineManager.
Parameter name: variables

I can write to this variable many times without an issue then I get this error.

Does anyone know what it means, and how I can resolve it.

I know this is a bit light on details so if any more detail will help let me know and I will add it.

Author:  M.Keller [ Fri Jan 24, 2014 10:05 am ]
Post subject:  Re: OnlineManager error when writing/reading variable

Hi.

williamc wrote:
Error : The OnlineVarRef at position 1 was not created by the OnlineManager.
Parameter name: variables

The second expression of your prepared/forced values was not recognized as an object of the Online Manager. This error can only happen if the element is a null reference or an unknown OnlineVarRef implementation. The null reference could be a timing issue.

Is it always the same position in the same order of expressions or a different position but the same expression?

Can you provide more information about your script?

Regards,
Martin

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/