EasyManua.ls Logo

GE PACSystems RX7i

GE PACSystems RX7i
469 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5. Function Block Diagram (FBD)
268 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
5.12 Type Conversion Functions
The Conversion functions change a data item from one number format (data type) to another. Many
programming instructions, such as math functions, must be used with data of one type. As a result,
data conversion is often required before using those instructions.
Function
Description
Convert Angles
DEG_TO_RAD: Converts degrees to radians.
RAD_TO_DEG: Converts radians to degrees.
For details, refer to Conversion Functions in Chapter 4.
Convert to BCD4 (4-digit Binary-Coded-Decimal)
UINT_TO_BDC4: Converts UINT (16-bit unsigned integer) to BCD4.
INT_TO_BCD4: Converts INT (16-bit signed integer) to BCD4.
For details, refer to Conversion Functions in Chapter 4.
Convert to BCD8 (8-digit Binary-Coded-Decimal )
DINT_TO_BD8: Converts DINT (32-bit signed integer) to BCD8.
For details, refer to Conversion Functions in Chapter 4.
Convert to INT (16-bit signed integer)
BCD4_TO_INT: Converts BCD to INT.
UINT_TO_INT: Converts UINT to INT
DINT_TO_INT: Converts DINT to INT..
REAL_TO_INT: Converts REAL to INT.
For details, refer to Conversion Functions in Chapter 4.
Converts a 16-bit string (WORD) value to INT.
For details, refer to Convert WORD to INT below.
Convert to UINT (16-bit unsigned integer)
BCD4_TO_UINT: Converts BCD4 to UINT.
INT_TO_UINT: Converts INT to UINT.
DINT_TO_UINT: Converts DINT to UINT.
REAL_TO_UINT: Converts REAL to UINT.
For details, refer to Conversion Functions in Chapter 4.
WORD_TO_UINT: Converts a 16-bit string (WORD) value to UINT.
For details, refer to Convert DWORD to DINT below.
Convert to DINT (32-bit signed integer)
BCD8_TO_DINT: Converts BCD8 to DINT.
UINT_TO_DINT: Converts UINT to DINT.
For details, refer to Conversion Functions in Chapter 4.

Table of Contents

Other manuals for GE PACSystems RX7i

Related product manuals