How can we help you today?

LOOKUP_TABLE1 output bug that may incorrectly return 0.0 when duplicate X,Y coordinate pairs are used

Question
Why does the LOOKUP_TABLE function block output 0.0 when the input X value is greater than the maximum configured X value?

Answer
A confirmed behaviour has been identified with the LOOKUP_TABLE function block where the output may incorrectly return 0.0 under a specific lookup table configuration.

The issue occurs when:

  • The LOOKUP_TABLE block contains duplicate/repeated X,Y coordinate pairs at the end of the table.
  • The input value X becomes greater than the maximum configured X value, Xmax.

For example, if the final lookup table entries contain repeated coordinate pairs such as:

40.0 → 600.0
40.0 → 600.0
40.0 → 600.0

and the input value becomes:

X = 41.0

while the maximum configured X value is:

Xmax = 40.0

the expected behaviour would be for the output to remain at the final Y value:

Y = 600.0

However, the observed behaviour is that the pin mapping/direct output may incorrectly become:

Y = 0.0

This issue is not caused by repeated Y values alone. The behaviour has been observed when the final X,Y coordinate pairs themselves are duplicated/repeated. When the input value remains within the configured X range:

X <= Xmax

the output returns the expected Y value. When the final X,Y mappings are unique, the issue does not appear to occur. This behaviour was observed using the LOOKUP_TABLE function block in Control Expert.

Workaround
Avoid duplicate final both X,Y coordinate pairs together and that can cause this issue.

Schneider Electric New Zealand

Explore more
Product:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Product:
  • Products Documentation
  • Software and Firmware
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Where to Buy?
  • Office Locations
  • Schneider Electric, PDL & APC Phone: 0800 741 303
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Conditions of Sale
  • Change your cookie settings