This function of the of the
⇘
CAA_Memory.library will return the high byte of the input word „wValue“.
Input:
wValue
|
WORD
|
Word (incl. high and low byte)
|
Output:
MEM.HighByte
|
BYTE
|
High byte of wValue
|
Example:
wValue : WORD := 16#1234 ;
->
MEM.HighByte(wValue) = 16#12