User guide

WintDrive
Description
It splits a float into 2 integers. A float is composed of 4 bytes. An integer is composed of 2 bytes. This block
divides the 2 highest bytes of
f
from the 2 lowest and writes these values respectively to fh and fl. Note that
this block does not cast the value off, but simply divides it into 2 parts. This can be used in connection with
those blocks that cannot manage float values but only integers(e.g.
cfix,
wfix
and
rfix)
Input ports
name
type
executed function
f
float always float to split
WO280
Output ports
name
1 type 1 function
fl
int
1
the 2 lowest bytes off
fh int
1
the 2 highest bytes off
wo281
Parameters
1
No parameters
131