使用位号浏览器/函数键盘搭建计算

使用位号浏览器/函数键盘搭建计算
使用智能感知来选择所需的Tag.Types只是其中一种方法。提供简化Tag.Types和内置函数的另一个工具是位号浏览器和函数键盘。
若要调用位号生成器
1.双击预置内核公式或内核后公式区(取决于在何处输入计算);
2.如下图所示,单击位号浏览器图标。


单击位号生成器图标后,如下图所示,位号浏览器在新窗口打开。


位号生成器允许你根据不同的位号组或类型选择合适的Tag.Type列表。例如,MV,CV,POV,DV,控制器,子控制器,EFC,等等。


例如,若要显示MV类型的所有位号,如下图所示,我们选择MV位号组。


你也可以使用位号浏览器的位号名排序功能将位号根据名字排序。例如,要选择所有41TI开头的位号名,我们可以按如下步骤做


若要进一步细化上述列表,以只选择MVs,我们可以在选择MV位号组的同时,加入更多的位号名过滤,如下图所示


若要从位号浏览器中选择一个Tag.Type:
•双击Tag.Type;
•单击并拖动到预置内核/内核后电子表格编辑框。
若要添加属性,请参阅前面所述的基于智能感知过程。
若要调用函数键盘,单击上面的按钮,如下图所示,一个新窗口被打开:


注意:当完成所要求的工作后,若要关闭函数浏览器,请再次点击Function按钮。

推荐练习
1)计算顺序
建立计算时需要考虑的一个重要因素是,在当前的前/后内核计算电子表格中计算执行的顺序。因此,无论是预置内核还是内核后计算,你必须将计算安排成你所需要的执行顺序。
例如,假设你有如下三个形式的计算:
B = A (1)
C = B (2)
D = C + 1 (3)
其中A是外部输入位号,B,C,D都是外部输出位号。

安排的计算如上述所示,将返回一个最终值D,D=A0+1。A0是当计算(1)被执行时A的初始值。
相反,假设计算按照下述顺序:
C = B (2)
B = A (1)
D = C + 1 (3)
注意我们现在已经互换了前两个计算出现的顺序。


按照后者的顺序,最后将返回值D,D=B0+1。其中B0是根据先前周期的第二个式子B=A计算得到的初始值。
注意:无论对于预置内核还是内核后计算,根据你执行需求调整计算顺序是非常重要的。


原文:
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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 199,711评论 5 468
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 83,932评论 2 376
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 146,770评论 0 330
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 53,799评论 1 271
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 62,697评论 5 359
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,069评论 1 276
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,535评论 3 390
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,200评论 0 254
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,353评论 1 294
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,290评论 2 317
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,331评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,020评论 3 315
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,610评论 3 303
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,694评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,927评论 1 255
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 42,330评论 2 346
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 41,904评论 2 341

推荐阅读更多精彩内容

  • 手机震动了两下,是微信。 s小姐打开一看,是那个正在追自己的男生发来的消息。突然,她就不想打开了,看着末排那得意的...
    sango珊阅读 200评论 0 0
  • 小月月当时说可以挑书,我最想看的就是这本。其实很早就看完,只是不知该如何表达。还记得当时一面感到如释重负,信念真美...
    LubQ阅读 344评论 5 3
  • 一年离别,却觉万年有余。 只言片语,写给远方的你。 ----- 01 “在你需要我的时候,我来陪你一...
    我是栗子也是Hr阅读 419评论 2 2