How to split a WORD in two bytes using calculation points or animation
Sometimes devices will store (or pack) different data in each byte of a WORD and the end user will want to split those two bytes to see them separated. A device may store the day and the month of a date on each byte of a WORD, for example.
In case the end user wants only to see the values on mimics, a simple animation expression into a text object may suffice. Let’s suppose the WORD is stored in a point called “OriginalValue”. To get the high byte to show in a "text" object on a mimic:

Then the low byte, in another text object:

In case the end user needs to keep the values in points, one easy way to accomplish it is to create Calculation Analog Points, using the same expressions. For example:


In case the end user wants only to see the values on mimics, a simple animation expression into a text object may suffice. Let’s suppose the WORD is stored in a point called “OriginalValue”. To get the high byte to show in a "text" object on a mimic:
Then the low byte, in another text object:
In case the end user needs to keep the values in points, one easy way to accomplish it is to create Calculation Analog Points, using the same expressions. For example:
發佈於: 施耐德電機Taiwan


需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。