Chapter 4. Ladder Diagram (LD) Programming
GFK-2950C
February 2018
125
4.6.5
Convert BCD4, INT, DINT, or REAL to UINT
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.
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.
Warning
Converting from REAL to UINT may result in
For example, REAL 7.2E17, which equals 7.2 × 10
17
,
converts to UINT OVERFLOW.
Operands
Parameter Description
Allowed Operands
Optional
IN
The value to convert to UINT.
All except S, SA, SB, and SC No
Q
The UINT equivalent value of the original input value in IN. All except S, SA, SB, and SC No
Содержание PACSystems RX7i
Страница 357: ......
Страница 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...