5) 通过外部输入位号使用双条目进行设定值/设定范围修改

5) 通过外部输入位号使用双条目进行设定值/设定范围修改
用户通过计算引擎向给定的CV写设定值时,必须采取特定的防护措施。我们所担心的是在HMI上向一个设定点类型的CV的设定值指定一个变化。当做出修改时,用户修改了设定范围高限,在将值传入SMOCPro内核之前,HMI将自动(内置的)调整设定范围低限以匹配设定范围高限。在执行计算时,SMOCPro内核将不会对设定点类型的CV调整任何设定范围值。
当设定范围高限被计算所修改时,设定范围低限将保持不变。当值到达SMOCPro内核时,设定范围低限将不等于(可能更高)设定范围高限。这将导致SMOCPro内核验证过程失败,并在内部删除CV。EXASMOC应用程序将显示CV为无效。
推荐的在计算引擎中修改设定点类型CV的设定值的正确方法是使用两个计算公式:一个修改设定范围上限,另一个修改设定范围下限。

计算报告
计算报告提供了一份综合的,可打印的,包含有各种外部位号,用于计算的输入和各种公式的文档。报告可以被复制粘贴到Microsoft Excel®或打印成印刷版。
计算报告共分为四个主要部分:

  1. 外部输入位号—包含所有(如果有的话)声明的外部输入位号列表。
  2. 外部输出位号—包含所有(如果有的话)声明的外部输出位号列表。
  3. 计算输入—提供所有(如果有的话)用于已定义计算的输入位号列表。
  4. 计算公式—提供所有(如果有的话)包含描述及计算公式的计算列表。
    这里我们提供了上述例4中计算结果所获得的报告。
5) 通过外部输入位号使用双条目进行设定值/设定范围修改_第1张图片
5) 通过外部输入位号使用双条目进行设定值/设定范围修改_第2张图片

原文:
5) Use double entries for setpoint/setrange modifications via external input tags
The user must take special precautions when setting a setpoint for a given CV using the calculation engine. The concern arises when a change is made to the setpoint of a setpoint type CV on the HMI. While making the change, the user changes the Set Range High Limit and the HMI automatically (internally) adjusts the Set Range Low Limit to match the Set Range High Limit before it passes the value to the SMOCPro kernel. When performing calculations the SMOCPro kernel does not adjust any of the set range values for the setpoint type CVs.
When the Set Range High Limit is modified by a calculation, the Set Range Low Limit is left unchanged. When the values reach the SMOCPro kernel the Set Range Low Limit is now different (possibly greater) than the Set Range High Limit. This causes the SMOCPro kernel validation process to fail and the CV to be removed internally. The EXASMOC application then displays the CV as inactive.
The recommended and correct way to modify the setpoint of a setpoint type CV with the calculation engine is to use two calculation formulas: one changes the Set Range High Limit and another one that changes the Set Range High Limit.
Calculation Report
The calculation report provides a consolidated, printable location in which the various external tags, inputs for calculations and the various formulae are available. The report may be copied and pasted into Microsoft Excel® or printed for a hard copy version.
The calculation report consists of four main parts:
1.External input tags – Provides a list of all (if any) the declared external input tags.
2.External output tags – Provides a list of all (if any) the declared external output tags.
3.Calculation Inputs – Provides a listing of all (if any) the input tags used in the defined calculations.
4.**Calculation Formulas **– Provides a listing of all (if any) the calculations along with their descriptions and formulas.
Here we provide the report that was obtained as a result of the calculations used for Example 4 above.


2016.5.11

你可能感兴趣的:(5) 通过外部输入位号使用双条目进行设定值/设定范围修改)