
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
131/
316
TITLE
DRAW.NO.
3.10.4 PMC_DECODE_(type)
Function
When EN is set to ON and is receiving the power flow, PMC_DECODE
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.
PMC_DECODE_(type) instructions
Name Explanation
PMC_DECODE_INT Decode of INT data
PMC_DECODE_UINT Decode of UINT data
PMC_DECODE_DINT Decode of DINT data
Format
PMC
DECODE
(type)
???????
???????
???????
(EN) (ENO)
LEN
Parameters
Parameter Data type Meaning
EN BOOL Execution of operation
LEN Constant Length of Q array(WORD)
IN ANY_INT Input data
BASE ANY_INT Decode indication number
ENO BOOL Returns the value of EN
Q WORD Result of decoding