For the M580, X80 IO, is there a way that I can read all the bits in a 32 Point Input Module as a DINT?


27 February 2023

Since these bits are defined in individual structures with type T_DIS_IN_GEN for each channel, it is not possible to convert them into a DINT directly. However, you can use this work around in your code to convert. i.e use 2x BIT_TO_WORDS, then WORD_AS_DINT.