
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
213/
316
TITLE
DRAW.NO.
4.9.7 Decode
4.9.7.1 PMC_DECODE_INT(in, base, n, q)
PMC_DECODE_INT extracts continuous 16 x n (depending on the array size of output parameter q) integer data from
the integer data of input parameter in and that of base, decodes it, then sets the corresponding bit of output parameter
q.
in: INT variable or constant
base: INT variable or constant; Decode indication number
n: constant
q: WORD [n] variable; Result of decoding
4.9.7.2 PMC_DECODE_UINT(in, base, n, q)
PMC_DECODE_UINT extracts continuous 16 x n (depending on the array size of output parameter q) integer data
from the integer data of input parameter in and that of base, decodes it, then sets the corresponding bit of output
parameter q.
in: UINT variable or constant
base: UINT variable or constant; Decode indication number
n: constant
q: WORD [n] variable; Result of decoding
4.9.7.3 PMC_DECODE_DINT(in, base, n, q)
PMC_DECODE_DINT extracts continuous 16 x n (depending on the array size of output parameter q) integer data
from the integer data of input parameter in and that of base, decodes it, then sets the corresponding bit of output
parameter q.
in: DINT variable or constant
base: DINT variable or constant; Decode indication number
n: constant
q: WORD [n] variable; Result of decoding
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.