
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
110/
316
TITLE
DRAW.NO.
3.8.3 (type)_TO_INT
Function
When EN is set to ON and is receiving the power flow, (type)_TO_INT
converts the data of input parameter IN to INT data and outputs the
result to output parameter Q.
If the conversion results in an overflow, the maximum value for that
data type is output to Q. In such a case, ENO is not output.
Furthermore, if the conversion results in an underflow, the minimum
value for that type is output to Q. Again, in such a case, ENO is not
output.
(type)_TO_INT instructions
Name Explanation
UINT_TO_INT Converts from UINT to INT
DINT_TO_INT Converts from DINT to INT
Format
(type)
TO
INT
IN Q
(EN) (ENO)
??????? ???????
Parameters
Parameter Data type Meaning
EN BOOL Execution of conversion
IN UINT, DINT Input data
ENO BOOL Normal end flag
Q INT Result of conversion