jmuguruza
I created a project on OpenPLC Editor like this one:
Captura1.jpg 
I want to see the variables on the monitoring part, but I am not shown anything. 
The reason is that I have to give that variables a memory address or is there something else?
Captura2.jpg 
Reply 0 0
rgb
Hi jmuguruza and thank you for the response.

At first I did it with the OpenPLC Editor but didn't work so I have modified it by hand.
Reply 0 0
Paco_Luque
hey, I am his partner. We built it on plc editor and we added some lines on code. Do you see something extrange on this program?
Should it works no?. Thanks 🙂
Reply 0 0
jmuguruza
Hi once again @rgb @Paco_Luque,

If you are just defining those two variables in the Editor and want to see them in the Runtime, I would create an .st file like this one; this way it works.
esete.jpg 
prueba.jpg Hope it helps! :-)
Reply 0 0
rgb
didn't work 🙁

maybe the problem it's we are using develop branch

PROGRAM prueba
  VAR
    soDint AT %MD0 : DINT := 11;
    soReal AT %MD1 : REAL := 11.11111;  
  END_VAR
  VAR
    Input : BOOL;
    Output : BOOL;
  END_VAR
Output := Input;
END_PROGRAM 
CONFIGURATION Config0
  RESOURCE Res0 ON PLC
    TASK task0(INTERVAL := T#20MS, PRIORITY := 0);
    PROGRAM instance0 WITH task0 : prueba;
  END_RESOURCE
END_CONFIGURATION



Captura de pantalla de 2022-01-25 07-11-59.png 
Reply 0 0
rgb
in main branch it works!

thank you for help @jmuguruza

Captura de pantalla de 2022-01-25 07-33-30.png 
Reply 0 0
thiagoralves
Never use the dev branch if you are not working on OpenPLC development! It is not stable and will give you (and the forum) headache. If you are using the dev branch on purpose for development reasons and found an issue, before posting your issue state that you are on the dev branch so that we know that this could be related to some unfinished work.
Reply 0 0
Reply