6.5 Variables
The variable declared as a variable for structure struct2 can access the members of struct1
and struct2.
Example: An ST program that accesses members of structure struct2
● The BIT data type can be used as members of a structure. TRUE (1) or FALSE (0) can be
used as a value. The size of the BIT data type is one bit.
6-22
WUME-GM1RTXOP-01