5.12.4
Convert INT or UINT to WORD
The output data can be used directly as input for another program function. The function passes data
to Q unless the data is out of range.
Operands
Parameter Description
Solve Order Calculated by the FBD editor.
IN
The value to convert to WORD.
Q
The WORD equivalent value of the
original value in IN. 0 Q 65,535.
GFK-2950C
Converts an unsigned single-precision integer (UINT) operand IN to a 16-
bit bit string (WORD) value and stores the result in the variable assigned
to Q.
Converts a 16-bit signed integer (INT) operand IN to a 16-bit bit string
(WORD) value and stores the result in the variable assigned to Q.
Allowed Types
NA
INT or UINT, depending
on function
WORD
February 2018
Chapter 5. Function Block Diagram (FBD)
Allowed Operands
NA
All except S, SA, SB, and
SC
All except S, SA, SB, SC
and constant
Optional
No
No
No
273