{}

Our Brands

Welcome to the Schneider Electric Website

Welcome to our website.
How can we help you today?
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:
High byte animation

Then the low byte, in another text object:

Low byte animation
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:
Calculation High
Calculation Low




Schneider Electric Malaysia

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:
High byte animation

Then the low byte, in another text object:

Low byte animation
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:
Calculation High
Calculation Low




 

Schneider Electric Malaysia

Explore more
Product:
Explore more
Product:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Product:
Explore more
Product:
move-arrow-top
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.