
Converts Q15.16 to four byte
Category: Conversion
In situation where it is necessary to use CAN Output or RS485 Output, the payload data must be split into bytes. In this case, it is possible to use the Q16 To Byte block. Figure 1 shows an example of four different values being split.

Figure 1 - Q16 To Byte block in an application
As can be seen, it is possible to split negative or positive number. But, when it is necessary to split a fractional numbers into bytes, the Q16 To Byte SI must be used.
The signal received in this port is split into four bytes.
Returns the signal received split into four bytes. The upper port is responsible for the least significant byte and the lower is responsible for the most significant byte.
About MWF
MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.
Contact Us
Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil
contact@mwf-technologies.com
© 2018-2026 MWF. All rights reserved.