Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

bit values in recipe

wrt54gl
2019-07-17
2019-07-22
  • wrt54gl - 2019-07-17

    I am working with a Wago PFC200 and e!cockpit. I am trying to use a recipe to save an Array of Structures.
    The Structures contain bit values and I get the error: C0205 Pointer to bit is not allowed.
    I am using bits instead of Bool in the structures to save Retain memory. Is there a work around to this problem?

     
  • dFx

    dFx - 2019-07-22

    If you have several bits, you may save them contigously with a union datatype.

     

Log in to post a comment.