
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
202/
316
TITLE
DRAW.NO.
4.8.2 BCDx_TO_(type)(x=4,8)
4.8.2.1 BCD4_TO_INT(operand)
accumulator converted value
Convert a binary coded decimal value to a single-precision integer value and store the result in the integer accumulator.
Operand: WORD variable; the BCD value for conversion.
4.8.2.2 BCD4_TO_UINT(operand)
accumulator converted value
Convert a binary coded decimal value to a single-precision unsigned integer value and store the result in the integer
accumulator.
Operand: WORD variable; the BCD value for conversion.
4.8.2.3 BCD8_TO_DINT(operand)
accumulator converted value
Convert a binary coded decimal value to a double-precision integer value and store the result in the integer
accumulator.
Operand: DWORD variable; the BCD value for conversion.
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.