Chapter 8 Logic Instructions
8_
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
Data type
Current value
MovDigt_EN
BOOL
TRUE
MovDigt_In
UDINT
16#1234
MovDigt_InPos
UINT
1
MovDigt_InOutPos
UINT
2
MovDigt_Size
UINT
2
MovDigt_Inout
UDINT
16#2300
Move Figure
0
0
1
0
1
1
0
0
I n=16#1234
Bi t0
B i t3
B it4
Bi t7
0
1
0
0
1
0
0
0
Bi t8
Bi t11
B it1 2
Bi t15
Di git 0
Digit 1
Digit 2
Digi t 3
0
0
0
0
0
0
0
0
Bi t0
B i t3
B it4
Bi t7
1
1
0
0
0
1
0
0
Bi t8
Bi t11
B it1 2
Bi t15
Digit 0
Di git 1
Di git 2
D igit 3
......
......
......
......
......
......
......
......
I nPos =1
Size=2
I nO utPos= 2
I nO ut=16#2300
1
MoveDigit
EN
ENO
In
I nPos
InOut Pos
Size
InOut
MovDigt_EN
Mov Digt_I n
Mov Digt_InO utPos
MovDigt _InPos
Mov Digt_Siz e
MovDigt_InOut
8-23
Summary of Contents for DVP15MC11T
Page 9: ...Memo viii...
Page 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Page 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Page 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Page 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Page 249: ...DVP15MC11T Operation Manual _8 8 178...
Page 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Page 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Page 549: ...DVP15MC11T Operation Manual A MEMO A 16...