Hi guys.
I have a data type named P75x_IN. It is defined as User data type and it's members are (in this order):
IN_BOOL: BOOL
IN_DINT1: DINT
IN_REAL: REAL
IN_DINT2: DINT
However, when I make a local variable of a type P75x_IN it's members are mixed like this:
IN_BOOL: BOOL
IN_REAL: REAL
IN_DINT1: DINT
IN_DINT2: DINT
This is a problem for me because of reason that I can't program any other way. What is the problem here?
Thanks.
I have a data type named P75x_IN. It is defined as User data type and it's members are (in this order):
IN_BOOL: BOOL
IN_DINT1: DINT
IN_REAL: REAL
IN_DINT2: DINT
However, when I make a local variable of a type P75x_IN it's members are mixed like this:
IN_BOOL: BOOL
IN_REAL: REAL
IN_DINT1: DINT
IN_DINT2: DINT
This is a problem for me because of reason that I can't program any other way. What is the problem here?
Thanks.