Using PLC NEXT 2022.3 and 2022.0.5 LTS (22.0.5.102) 3152
Hi, i use ehmi “symbol list” to display and edit value of a struct that containt array of struct (sample definition below)
AGlobalVariable is a int variable define in IEC 61131-3 panel
TAGFROMHMI is a int define as a tag in the page or ehmi application.
Setting the list “data variable” to L02GHMI.cycles[AGlobalVariable].profiles :
The value can be changed and persist.
Setting the list “data variable” to L02GHMI.cycles[TAGFROMHMI].profile
as soon as i type a new value, value , value is reverded to original .
L02TestParam : STRUCT
cycles : cyclesArray;
id : LINT;
nomdutest : STRING;
END_STRUCT
TheCycleItemSchema : STRUCT
repetition : LINT;
temperature : LINT;
valid : BOOL;
profiles : profilesArray;
END_STRUCT
TheProfileItemSchema : STRUCT
courant : LINT;
duree : LINT;
temperature : LINT;
valid : BOOL;
END_STRUCT
cyclesArray : ARRAY [0..1] OF TheCycleItemSchema;
profilesArray : ARRAY [0..19] OF TheProfileItemSchema;.
Regards
Alexandre