
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
78/
316
TITLE
DRAW.NO.
3.5.7 BIT_SET_(type)/BIT_CLR_(type)
Function
When EN is set to ON and is receiving the power flow,
BIT_SET/BIT_CLR sets to 1 or clears to 0 that bit, specified with input
parameter BIT, within the bit string of input parameter IN.
When the value of BIT is one or more, and not less than the number of
bits in the IN bit string, ENO is set to OFF.
BIT_SET_(type)/BIT_CLR_(type) instructions
Name Explanation
BIT_SET_BYTE Bit set of BYTE data
BIT_SET_WORD Bit set of WORD data
BIT_SET_DWORD Bit set of DWORD data
BIT_CLR_BYTE Bit clear of BYTE data
BIT_CLR_WORD Bit clear of WORD data
BIT_CLR_DWORD Bit clear of DWORD data
Format
BIT
SET
(type)
IN
BIT???????
???????
(EN) (ENO)
BIT_CLR
Parameters
Parameter Data type Meaning
EN BOOL Execution of operation
LEN Constant The number of data in the string.
1<= LEN <=256
IN BYTE, WORD, DWORD Input data
BIT INT Set (clear) bit
ENO BOOL Normal end flag