使用位號瀏覽器/函數(shù)鍵盤搭建計算

使用位號瀏覽器/函數(shù)鍵盤搭建計算
使用智能感知來選擇所需的Tag.Types只是其中一種方法。提供簡化Tag.Types和內置函數(shù)的另一個工具是位號瀏覽器和函數(shù)鍵盤。
若要調用位號生成器
1.雙擊預置內核公式或內核后公式區(qū)(取決于在何處輸入計算);
2.如下圖所示,單擊位號瀏覽器圖標。


單擊位號生成器圖標后,如下圖所示,位號瀏覽器在新窗口打開。


位號生成器允許你根據(jù)不同的位號組或類型選擇合適的Tag.Type列表。例如,MV,CV,POV,DV,控制器,子控制器,EFC,等等。


例如,若要顯示MV類型的所有位號,如下圖所示,我們選擇MV位號組。


你也可以使用位號瀏覽器的位號名排序功能將位號根據(jù)名字排序。例如,要選擇所有41TI開頭的位號名,我們可以按如下步驟做


若要進一步細化上述列表,以只選擇MVs,我們可以在選擇MV位號組的同時,加入更多的位號名過濾,如下圖所示


若要從位號瀏覽器中選擇一個Tag.Type:
?雙擊Tag.Type;
?單擊并拖動到預置內核/內核后電子表格編輯框。
若要添加屬性,請參閱前面所述的基于智能感知過程。
若要調用函數(shù)鍵盤,單擊上面的按鈕,如下圖所示,一個新窗口被打開:


注意:當完成所要求的工作后,若要關閉函數(shù)瀏覽器,請再次點擊Function按鈕。

推薦練習
1)計算順序
建立計算時需要考慮的一個重要因素是,在當前的前/后內核計算電子表格中計算執(zhí)行的順序。因此,無論是預置內核還是內核后計算,你必須將計算安排成你所需要的執(zhí)行順序。
例如,假設你有如下三個形式的計算:
B = A (1)
C = B (2)
D = C + 1 (3)
其中A是外部輸入位號,B,C,D都是外部輸出位號。

安排的計算如上述所示,將返回一個最終值D,D=A0+1。A0是當計算(1)被執(zhí)行時A的初始值。
相反,假設計算按照下述順序:
C = B (2)
B = A (1)
D = C + 1 (3)
注意我們現(xiàn)在已經(jīng)互換了前兩個計算出現(xiàn)的順序。


按照后者的順序,最后將返回值D,D=B0+1。其中B0是根據(jù)先前周期的第二個式子B=A計算得到的初始值。
注意:無論對于預置內核還是內核后計算,根據(jù)你執(zhí)行需求調整計算順序是非常重要的。


原文:
Building calculations using the Tag Browser/Function Keypad
Using IntelliSense to select required Tag.Types is one approach. Another tool provided to simplify selection of Tag.Types and built-in functions is the tag browser and function keypad.
To invoke the tag builder

  1. Double click on either pre-kernel formula or post-kernel formula depending on where the calculation is being entered.
  2. Click on the tag browser icon as shown below.
    On clicking the tag builder icon, the tag browser is opened in a new window as shown below.
    The tag builder allows you to sort the available Tag.Type list by the different Tag Groups or types, i.e., MV, CV, POV, DV, controller, sub-controller, EFC, et cetera.
    For example, to display all Tags with type MV, we select the Tag group MV as shown below.
    You may also use the tag browser’s tag name sorting feature to sort tags by name. For example, to select all tag names that begin with 41TI, we may do the following
    To further refine the list above to choose only MVs, we may either select the MV tag group or add further filters for the Tag name as shown below
    To select a Tag.Type from the tag browser
    ? Double click on the Tag.Type
    ? Click and drag to the edit box in the pre-kernel/post-kernel spreadsheet
    To add an attribute, please refer to the IntelliSense-based procedure described earlier.
    To invoke the function keypad, click on the button shown above. A new window is opened as shown below
    NOTE: To close the Function browser after completion of the required work, just click on the Function button once more.
    Recommended Practices
  1. Order calculations
    An important consideration when constructing calculations is the fact that calculations are executed in the order in which they are present in the pre- and post-kernel calculation spreadsheet. Therefore, for both pre-kernel and post-kernel calculations, it is imperative that you arrange calculations in the order in which you want them to be executed.
    For example, suppose you have three calculations of the form
    B = A (1)
    C = B (2)
    D = C + 1 (3)
    in which A is an external input tag and B, C, and D are external output tags.
    Arranging the calculations as shown above, will return a final value for D as D=A0+1 in which A0 is the initial value for A when calculation (1) is evaluated.
    In contrast, suppose the calculations were ordered as
    C = B (2)
    B = A (1)
    D = C + 1 (3)
    Notice that we have now interchanged the order in which the first two calculations appear.
    NOTE: For both the pre- and post-kernel calculations, it is important that you arrange calculations in the order in which you want them to be executed.
    For the latter order, the final return value for D is D=B0+1 in which B0 is the initial value of B prior to the assignment B=A in the second calculation.

2016.4.29

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

  • 手機震動了兩下,是微信。 s小姐打開一看,是那個正在追自己的男生發(fā)來的消息。突然,她就不想打開了,看著末排那得意的...
    sango珊閱讀 267評論 0 0
  • 小月月當時說可以挑書,我最想看的就是這本。其實很早就看完,只是不知該如何表達。還記得當時一面感到如釋重負,信念真美...
    LubQ閱讀 385評論 5 3
  • 一年離別,卻覺萬年有余。 只言片語,寫給遠方的你。 ----- 01 “在你需要我的時候,我來陪你一...
    我是栗子也是Hr閱讀 518評論 2 2

友情鏈接更多精彩內容