Can't insert functional block variables to "Value of variables"

Mehr
1 Jahr 7 Monate her #243 von sri
Hello !


I use LogiCAD3 compact version. I face a problem in inserting the FB variables to " value of variables". I can only insert the variables defined in the Program but not in FB. Please help me with this problem. Also, does Compact version has "ST-Viewer" facility so that the values can be directly seen at the code.

Thank you.
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 7 Monate her #244 von Jürgen Huber
Hello,

which version if logi.CAD 3 is used?
Can you provide us your logi.CAD 3 project?

Regards,
Jürgen

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
1 Jahr 7 Monate her - 1 Jahr 7 Monate her #247 von sri

Dateianhang:

Dateiname: Enthalpy.txt
Dateigröße:2 KB


logi.CAD 3 compact

Version: 1.108.1
Anhänge:
Letzte Änderung: 1 Jahr 7 Monate her von sri.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Walter Zögernitz
  • Besucher
  • Besucher
1 Jahr 7 Monate her #248 von Walter Zögernitz
Hello,

thank you for providing your function block code.
With the help of this code I was able to create the same scenario on our side to.
Please note, that function blocks, which are used in program types are only "instances".
That means, if you are using one function block several times in one program type you need to declare one instance for each usage of it.
Subsequently you need to specify which values of which instance of your functionblock "Enthalpy" you want to display in the "Values of Variables" view. Thats because every single instance of the function block can have its own values because of differences in the connected variable values.
So you need to specify the "full type path" for your variable in the function block for which you would like to show the value in the "Values of Variables" view.


example:
You have declared 3 instances of your function block in your program:
[..]
VAR
l,l1,l2: Enthalpy;
END_VAR
[..]

for showing the value for e.g. "dewpoint_temp" in the "Values of Variables" view you need to specify which one of the declared three you would like to see.
So by dragging the vale out of the expanded tree view left into the "Values of Variables" list you can have three different values of "dewpoint_temp":
  1. Program1.l.dewpoint_temp
  2. Program1.l1.dewpoint_temp
  3. Program1.l2.dewpoint_temp


regards
Walter

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

logi.cals Österreich

Adresse

Europaplatz 7/1,
3100 St. Pölten

logi.cals Deutschland

Adresse

Postfach 1306,
40738 Langenfeld

Benutzer

Registrieren
© 1987 - 2019 logi.cals GmbH