Movebit - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

MoveBit

The MoveBit instruction moves one bit in a bit string.
Instruction
MoveBit
Move Bit
Variables
Name
Meaning
In
Move
source
InPos
Move
source bit
InOutPos
Move
destination
bit
InOut
Move
destination
Out
Return
value
* If you omit the input parameter, the default value is not applied. A building error will occur.
Bit strings
In
OK OK OK OK
InPos
InOutPos
InOut
OK OK OK OK
Out
OK
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Move source
Position of bit in In to move
Input
Position of bit in Out to
receive the bit
In-out
Move destination
Output
Always TRUE
OK
OK
Graphic expression
(@)MoveBit
EN
ENO
In
Out
InPos
InOut
InOutPos
Valid range
Depends on data type.
0 to No. of bits in In − 1
0 to No. of bits in InOut
− 1
Depends on data type.
TRUE only
Integers
2 Instruction Descriptions
ST expression
MoveBit(In, InPos, InOut,
InOutPos);
Unit
Default
*
---
0
---
---
---
---
Times, durations,
dates, and text strings
2
2-357

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents