Enumeration for bool not working in V6 but work in V4

Hi in a program done in V4 i was able to assign an enumeration to a BOOL[0…31]


image

but in v6 it’s not working anymore
image
image

Can you help me to solve this problem?

Hi,

I can not reproduce this issues with AS 6.1, at least the project is compile able.
Still the editor does show the network as erroneous. Seems like an issue with the editor.

You might want contact local B&R support to clarify the behavior of the editor.

BR Fabian

1 Like

It does compile, but the project can’t run once loaded in a PLC.

Hi again,
I tested it today. My Dummyproject does run on a PLC with 6.1. No warnings, no errors. Even the powerflow is working for other networks, after setting up the OPC UA connection :wink:
Still the erroneous network is causing issues from a viewing perspective.

Maybe the there something in the logger indicating what the issue is, I doubt that it is just because of the network.

BR Fabian