Schneider Electric Exchange Community

Discuss and solve problems in energy management and automation. Join conversations and share insights on products and solutions. Co-innovate and collaborate with a global network of peers.

Register Now
Learn about the Community. Join our Core Community to Get Started
Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

BASEDON keyword and PE Programming

Issue

BASEDON keyword and Plain English Programming

BASEDON key word fail

Product Line

EcoStruxure Building Operation

Environment

StruxureWare Building Operation site with up to release 1.3

Cause

Below is a sample program which uses the BASEDON keyword. Also, here are the steps to use that program:

  1. Create script program using keyword BASEDON (Below)
  2. Create an input and output for the program (below program that is EntreeBase and SortieBase)
  3. Set the input Entreebase to 1,2,3,4,5 and program errors out.
  4. Set input to 6 and program runs

 

Numeric Input EntreeBase
Numeric Output SortieBase

Line Debut
  basedon Entreebase goto 1,2,3,4,5
  goto 6

Line 1
  SortieBase=1
  goto Suite

Line 2
  SortieBase=2
  goto Suite

Line 3
  SortieBase=3
  goto Suite

Line 4
  SortieBase=4
  goto Suite

Line 5
  SortieBase=5
  goto Suite

Line 6
  Sortiebase=6
  goto suite

Line suite
  if sortiebase<1 then Sortiebase=20
  if ts<5 then goto suite else goto Debut

Line E
  Sortiebase=10
  goto Suite 

Resolution

BASEDON keyword has been submitted as an issue and expected to be corrected in a future release.

Tags (5)
Labels (1)
No ratings
Contributors