Jump to content

Comparisation goes wrong


Recommended Posts

Hi All,

I've posted  a time ago:

Now i have strange things again..


A simple compare goes bad, I compare a real with a real.  But the output is visualised online as true, but it does not execute the output.


Changed the lower compare value to a constanst and then it executes normal.


Don't understand. Updated to the newest version of Unilogic, reallocated memory, downloaded a new empty project, Resetted plc, change tag names, change the location of the code, 

But only solution is to use a constant.


It may be a coinsendence but i t happen after the last two latest releases,

Please advice,




Link to comment
Share on other sites

  • MVP 2023

Hi, is it possible that second compared value goes from ADC or another not filtered sorce?

On display you maybe have visualy correct but flashing with high speed result. Output maybe is not high speed and cannot activate with the program scan speed.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...