Issue:
What causes error 'The topological type is incompatible...' when performing a Build in Unity Pro?
Product Line:
Unity Pro
Resolution:
Located variables must be of type EBOOL in Unity Pro. Defining located variables as BOOL will cause this error when building the project.
BOOL (BOOLEAN) and EBOOL (Extended BOOLEAN) datatypes each occupy one byte in memory.
BOOL types have two states, 0 (False) or 1 (True) .
EBOOL types have three states, 0 (False), 1 (True) and a History state. This third state requires a byte allocation in PLC memory for the EBOOL..
A reference to any singular IO point on a discrete input or output module would require an EBOOL data type. (%I0.1.0 or %I1) These are located references because they have an address in Unity
A reference to an unlocated variable can use either data type, BOOL or EBOOL. An unlocated variable has no fixed address in Unity.
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
If you are not located in North America, please contact your local Customer Care Center for assistance: