Hi, I am currently trying to setup warning flags using values with values 0 - 65535 to be displayed on a grid (so that I can display up to 16 different errors for multiple systems using the bin values).
The idea being there is a unique value displayed between 0 and 65535 per system (per row on grid) which would represent a unique combination of errors per system.
I currently have 16 bit unsigned values being received over CAN however it appears there is a clear limitation in value at 32767 (the maximum for a 16-bit signed integer).
For example, when FF FF is sent over CAN, 65535 should be displayed, however the value displayed is only 32767 - even when the CAN input object is specified to be an unsigned value (photo attached for clarity).
This leads me to think any value being displayed is treated as a signed integer.
I have also tried creating a number and using the CAN bytes separately and maniupulating the value to create the 16-Bit value again (b0 + (256*b1) ). This also unfortunately failed and 32767 was still displayed. I’ve also played around with the Quantity and Unit just in case this limited the possible values. Similarly, I have tried bit extraction and using a custom data format rather than 16-bit, again with no luck.
Does anyone have any experience or ideas on how to solve this?
Thanks in advance.
