ModbusTCP-type BIT or BOOL

razvoj
2020-11-15
2020-11-16
  • razvoj - 2020-11-15

    Hello everyone,

    I am useing ModbusTCP library with RaspberryPI. I am using Input registers as WORDs and BOOLs. There is no problem with words.
    I get a compile problem with BOOLs: Type 'BIT' is not equal to type 'BOOL'...
    Why BIT type? The digital type in ModbusTCP Input registers is BOOL. I do not understand this. Any solutions?

    Best regards

     

Log in to post a comment.