Movedigit - Omron NY532-5400 Reference Manual

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

Advertisement

MoveDigit

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents