Search the Community

Showing results for tags 'bitwise'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. Hi, according to the manual one should reduce points by using the bitwise operator on an integer instead of making a point for each bit. I have tried making a test page with several squares and made a colour change action using Testword & 0x30, but the result seems quite random. 0x03 don'seem to work either.  I also tried making a script to load the bits from the PLC into a bool array and this action expresion: TestBool[3]  and even using "Rectangle_3.colour = red" in the script. This last attempt worked OK for the first two bits, but no response for the rest. Now i'm running out of ideas :( Is this a bug or a limitation of the educational version? Anyone have a solution or a workaround? Geir