Dear All. Probably I faced with some misunderstanding in the next question. So, we have a struct data type, and more complex struct, based on it. For instance: TYPE ST : STRUCT a : bool; b : int; c : real; d : STRING; END_STRUCT COMPLEX_ST : STRUCT ST_A : ST := (a:= TRUE, b:= 7, c:= 7.7, d := ‚a‘); ST_B : ST := (a:= TRUE, b:= 11, c:= 11.11, d := ‚b‘); ST_C : ST := (a:= TRUE, b:= 13, c:= 13.13, d := ‚c‘); ST_D : ST := (a:= TRUE, b:= 17, c:= 17.17, d := ‚d‘); END_STRUCT END_TYPE Now, if we create global variable, with COMLPEX_ST datatype, we can see though online WATCHES window it initial values, as noted in datatype sheet. But, if we create local variable in some FB, online WATCHES window show, that initial values of this local variable is blank. It seems not really clear for me, why local instance of COMPLEX_ST variable does not receive its initial parameters. Can some one explain me this feature. Thank you.
I don’t see that behaviour. In the screen shot, you can see that there is an FB instance in the Main program. There is no code in the FB. The values of the local variables in the FB are the initial values of the struct, as defined in the Data Sheet. I am using PLCnext Engineer version 2021.3. Perhaps there is something different in your project? [attachment]2021-07-01_20-17-54.jpg[/attachment]

Dear Martin, Thank you for your attention. Now, after PC and PLC power off cycle, the trouble has gone. Before this step I try cold restarts from PLC cockpit only. And had the trouble I’ve been described. The project has a long history of changes, perhaps, there some cold restarts was missed or etc. I use PLCnext Engineer version 2021.0.4