PackBytesToWord (FUN)ΒΆ
FUNCTION PackBytesToWord : WORD
Function packs low and high BYTE into a WORD.
Example:
MEM.PackBytesToWord(16#01,16#02) = 16#0102
- InOut:
Scope
Name
Type
Comment
Return
PackBytesToWordWORDfunction returns the WORD defined by the BYTE inputs
Input
byHighByteBYTEhigh byte of the Word
byLowByteBYTElow byte of the Word