Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84757members
354188posts

show multiple variables TM71

Machine Automation Forum

A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!

Solved
otrotabi
Lieutenant
Lieutenant
0 Likes
3
232

show multiple variables TM71

I would like to be able to quickly see several variables of a chiller on the display of a TM171, so I have defined a variable I call iDisplay which is type INT and has no units.

 

Then I define a local key to cycle through the different variables I need to see, basically input temperature, output temperature and low and high pressure.

 

In simulation, I am able to set SysLocalLeds[5] which is the thermometer icon and SysLocalLeds[3] which is the barometer icon and then something like this:

 

CASE usiDisplay OF

   0: iDisplay := iInputtTemp;
      SysLocalLeds[5] := 1;
      SysLocalLeds[3] := 0;

.  1: iDisplay := iOutputtTemp;
      SysLocalLeds[5] := 2;
      SysLocalLeds[3] := 0;

.  2: iDisplay := iLowPressure;
      SysLocalLeds[5] := 0;
      SysLocalLeds[3] := 1;

.  3: iDisplay := iHighPressure;
      SysLocalLeds[5] := 0;
      SysLocalLeds[3] := 2;

END_CASE;

 

This code simulates fine, but will not show the icons on the real target.

 

The manual has a Note that reads: NOTE: Some of the LEDs (for example 0, 1, 3, 5, and 7) cannot be used in the IEC application when BIOS menu is active.

 

So the question is: Is it possible to drive these icons this way ? Is the BIOS menu active ? 

 

On the other side, If I do set units for iDisplay for example °C the thermometer icon does show on display (but is misleading in case pressure is actually being shown).

 

An alternate approach would be being able to change the fundamental display state but I have not found anything saying this is possible.

 

 


Accepted Solutions
FedericoM
Lieutenant Lieutenant
Lieutenant
0 Likes
1
213

Re: show multiple variables TM71

Hi,

 

try the attached example, it shows how to use OverwriteLocalDisplay(), main view is changed using up/down buttons

See Answer In Context

Attachments
Tags (1)
3 Replies 3
Bastian_Schmitz
Commander Commander
Commander
0 Likes
2
217

Re: show multiple variables TM71

In your case you need to design your own UI via the FC "OverwriteLocalDisplay"

display.PNG

The input dp means deciamal point

 

 

Tags (1)
FedericoM
Lieutenant Lieutenant
Lieutenant
0 Likes
1
214

Re: show multiple variables TM71

Hi,

 

try the attached example, it shows how to use OverwriteLocalDisplay(), main view is changed using up/down buttons

Attachments
Tags (1)
otrotabi
Lieutenant
Lieutenant
0 Likes
0
198

Re: show multiple variables TM71

Thank you both and many thanks for the example. The comments helped me to understand how the overwriteLocalDisplay function works far better than the rather criptic help available.

Tags (1)