Bercraft
Greetings.

The first bug? happen when i try to pass as input an array of struct
PLC Array struct.png 
I' ve declared a data type Tabella and than i 've declared an array of Tabella, inside the picture its Database.

The second bug? happen while activating a phase inside a FBD called by a SFC
PLC phase activation 1.png 
here the phase R2 wont trigger the BOOL ResistenzaSIM
PLC phase activation 2.png 
Any help would be appreciated Thank you.
Sorry for my bad english.
Reply 0 0
thiagoralves
I don't know if I understood correctly your first bug, but in any case, try updating the editor from the start menu -> openplc -> update openplc editor shortcut. There were recent changes that improves the way it handles arrays.
Reply 1 0
Bercraft
I' ve updated but the error persists, i' ll try to explain better regarding the first bug.

I've declared a struct Tabellla inside an int variable Pressione, than i 've declared an ARRAY of TABELLA [0..3] when i try to input the variable Pressione to the EQ FBD it wont work  the connection is in red.

The syntax i use is ARRAY[POSITION].VARIABLE.

Hope you understand.

UPDATE

I managed to resolve the second issue selecting cycle for the SFC calling the FBD now its working.

Still i cannot pass to a FBD as input an array of struct.

attached bug report
Reply 0 0
Bercraft
SOLVED using ST, with FBD using an array of struct as input wont work.
Reply 0 0
Reply