Delta Electronics DVP15MC11T Operation Manual page 94

Table of Contents

Advertisement

If the value of InOutPos exceeds the range of the data type of InOut, the movement is not
performed.
If the value of Size exceeds the range, the movement is not performed.
Programming Example
The variable table and program
Variable name
MovDigt_EN
MovDigt_In
MovDigt_InPos
MovDigt_InOutPos
MovDigt_Size
MovDigt_Inout
Move Figure
Bi t15
0
0
In=16#1234
Digi t 3
D igit 3
Bi t15
0
0
InOut=16#2300
MovDigt_EN
Mov Digt_I n
MovDigt _InPos
Mov Digt_InO utPos
Mov Digt_Siz e
MovDigt_InOut
......
......
B it1 2
Bi t11
0
1
0
0
1
Digit 2
Size=2
Di git 2
InOutPos= 2
......
......
B it1 2
Bi t11
1
0
0
0
1
Data type
BOOL
UDINT
UINT
UINT
UINT
UDINT
1
MoveDigit
EN
ENO
In
I nPos
InOut Pos
Size
InOut
......
Bi t8
Bi t7
B it4
B i t3
0
0
0
1
1
0
InPos =1
Digit 1
Di git 1
......
Bi t8
Bi t7
B it4
B i t3
1
0
0
0
0
0
Chapter 8 Logic Instructions
Current value
TRUE
16#1234
1
2
2
16#2300
......
Bi t0
1
0
0
Di git 0
Digit 0
......
Bi t0
0
0
0
8-23
8_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents