I created a Internal Custom property of a Dataset inside a template. Inside the dataset column 1 contains the values 0-31. Column 2 has a string value - Running, Stopped, Paused…etc… I want to do a lookup in the dataset from an Integer in the PLC, but 0 would equal bit 0 and bit 31 would equal value 31 in the dataset. Each Bit in the PLC represents a different status.
Is there an easy way to do this - I was looking at the Logic/lookup function would work - but would need to do a lookup on the bit location. As multiple status bits could be true and it would only show the first bit on.