We are trying to read 8 discrete inputs from a modbus device.
Input are connected to 8 BOOL zenon variables, using INPUT STATUS driver type and BOOL data type.
We have noticed that if we define an array of 16 BOOL associated to the first 16 input register communication is ok and data is displayed correctly.
If we define a single variable associated with input register n. 1 communication is ok but data displayed is always 0.
Where is the problem? :confused:
This is a migrated post! Originally posted on 01.09.2009 by user maurodx. Please be aware that information can be outdated.