VA Motion Controller Programming Manual
188
1 0.3 type conversion FU
The type conversion function, referred to as type conversion FU , converts one type of data
into another type of data, so it has an input parameter anDAn output parameter. During the
MULTIPROG programming process, the following types can be used to convert FU
●
BYTE
type
BCD
data conversion
●
WORD
type
BCD
data conversion
●
DWORD
type
BCD
data conversion
●
BOOL
type data conversion
●
BYTE
type data conversion
●
WORD
type data conversion
●
DWORD
type data conversion
● Conversion of
SINT
data
● Conversion of
INT
data
● Conversion of
DINT
type data
● Conversion of
USINT
type data
●
UINT
type data conversion
● Conversion of
UDINT
type data
● Conversion of
LREAL
type data
● Conversion of
REAL
type data
●
TRUNC
decimal rounding
The instructions contained in the function ( in the Edit Wizard, select from the drop-down
list " Type Conversion FU ")
BYTE type BCD data
conversion
WORD type BCD data
conversion
DWORD type BCD
data conversion
Conversion of BCD
type data
BYTE_TO_BOOL
BYTE_TO_WORD
BYTE_TO_DWORD
BYTE_TO_BOOL
BYTE_TO_WORD
BYTE_TO_DWORD
BYTE_TO_BOOL
BYTE_TO_WORD
BYTE_TO_DWORD