
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
92/
316
TITLE
DRAW.NO.
3.6.2 SWAP_(type)
Function
When EN is set to ON and is receiving the power flow, SWAP swaps
either WORD data in input parameter IN in BYTE units, or DWORD
data in WORD units, and outputs the result to output parameter Q.
SWAP_(type) instructions
Name Explanation
SWAP_WORD Swap of WORD data
SWAP_DWORD Swap of DWORD data
Format
SWAP
(type)
IN Q
(EN) (ENO)
??????? ???????
Parameters
Parameter Data type Meaning
EN BOOL Execution of logical operation
LEN Constant The number of data in the string.
1<=LEN<=256
IN WORD, DWORD Input data
ENO BOOL Returns the value of EN
Q WORD, DWORD Result of operation
Memory Type
Memory
Flow %I* %Q* %M* %S* %R
Constant
Omissible
EN o o o o o
IN o o o o o o
ENO o o o Note o
Q o o Note o
Note Only %SK can be specified.