4.6.5
Convert BCD4, INT, DINT, or REAL to UINT
The conversion to UINT does not change the original data. The output data can be used directly as
input for another program function, as in the example.
The function passes power flow when power is received, unless the resulting data is outside the
range 0 to +65,535.
Operands
Parameter Description
IN
The value to convert to UINT.
Q
The UINT equivalent value of the original input value in IN. All except S, SA, SB, and SC
GFK-2950C
Converting from REAL to UINT may result in Overflow.
For example, REAL 7.2E17, which equals 7.2 × 10
converts to UINT OVERFLOW.
February 2018
Chapter 4. Ladder Diagram (LD) Programming
When this function receives power flow, it
converts the input data into the equivalent
single-precision unsigned integer (UINT) value,
which it outputs to Q.
Warning
Allowed Operands
All except S, SA, SB, and SC
17
,
Optional
No
No
125