Transbits - Omron NY532-5400 Reference Manual

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

Advertisement

TransBits

The TransBits instruction moves one or more bits in a bit string.
Instruction
TransBits
Move Bits
Variables
Name
Meaning
In
Move
source
InPos
Move
source bit
InOutPos
Move
destination
bit
Size
Number of
bits
InOut
Move
destination
Out
Return
value
*1 If you omit an input parameter, the default value is not applied. A building error will occur.
*2 0 to No. of bits in In − 1
*3 0 to No. of bits in InOut − 1
*4 0 to No. of bits in In
Bit strings
In
OK OK OK OK
InPos
InOutPos
Size
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
Number of bits to move
In-out
Move destination
Output
Always TRUE
OK
OK
OK
Graphic expression
(@)TransBits
EN
ENO
In
Out
InPos
InOut
InOutPos
Size
Valid range
Depends on data type.
*2
*3
*4
Depends on data type.
TRUE only
Integers
2 Instruction Descriptions
ST expression
TransBits(In, InPos, InOut,
InOutPos, Size);
Unit
Default
*1
---
0
1
---
---
---
---
Times, durations,
dates, and text strings
2
2-361

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents