Jump to content

taygroebs

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by taygroebs

  1. 16 hours ago, Flex727 said:

    I guarantee you this is not the case. Test it with constants and you will see.

     

    This is your answer in all likelihood. Place an INC function after the compare to get additional data for troubleshooting.

     

    I guarantee you this was the case for these specific DINTs. It wasn't doing it for any other DINTs, just the ones from the camera. You can see in my snippets. Those were brand new tags that were not used anywhere else. I used set coils as well and they were behaving the same so they were not pulsating. 

     

    We ended up changing the data type within our camera and the EDS file to an UINT8. When we did this everything worked as expected. No idea why Unilogic did not like the DINTs from this camera. I will say this issue is resolved. 

  2. I also already tried using set contacts because I thought of the same thing. I also assure you that these tags are not used anywhere else and that I just created them! I have now learned that the Equals and Not Equal comparisons are swapped backwards? When the equal is true, it's not on but when it's false it is on. And the opposite is true for the not equal.

     

    image.png.9aaf0c9498c28626db2e6a0d17730f4f.png

    image.png.23a8e03d40bdf6e82231ce4c454085cb.png

  3. We are pulling in an INT32, along with REALS and other bits, over ethernet/ip coming from a camera. For some reason, when the compare is true, it will not activate the coil after. In the same routine we are storing REALs and other bits from the same device and they are working, but I can't get anything to happen with the INT32s. I have tried storing them into new tags, I've tried Num to Bits, I've tried comparing with another INT32 tag, INT to Real, and nothing has been working. I have some examples of what we have tried in the images below. You can see how the equal is true but the coil is not on. This is the only place where this coil is used. 

     

    Any ideas?

     

    Thank you

    image.png.7fe52e7a63c99d3cfc6d0695e7efe68c.png

    image.png.fa2aabf81756182b6e43f0ab29ea1c5e.png

    image.png.b92fcc3a43f95462954a299e50f20459.png

×
×
  • Create New...