Chapter 8 Logic Instructions 
8-165 
 
FB/FC 
FC 
Integers_TO_*** instructions convert integers into the data of basic data 
types. “***” can be any basic data type. 
 
  Parameters 
Meaning  Input/ Output
Description  Valid range   
In  Data to convert  Input  Data to convert   
Depends on the data type of the 
variable that the input parameter is 
Out  Conversion result 
Output  Conversion result   
Depends on the data type of the 
variable that the output parameter is 
 
 
Boolean 
Bit string  Integer 
Real 
number 
Time, date 
String 
BYTE 
WORD 
DWORD 
LWORD 
UINT 
ULINT 
SINT 
INT 
DINT 
LINT 
REAL 
TIME 
TOD 
STRING 
In           
●  ●  ●  ●  ●  ●  ●  ● 
             
Out 
Out
 must be the same as “***” of the instruction name. 
Note: 
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data 
type. 
  Function Explanation 
  Integer to BOOL 
  Some instructions are shown below. 
   
   
   
Integers_TO_***
EN ENO
Out
In