EasyManua.ls Logo

Delta Electronics DVP15MC11T

Delta Electronics DVP15MC11T
601 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
00101100
In=16#1234
Bit0
Bit3Bit4Bit7
01001000
Bit8Bit11Bit12Bit15
Digit 0
Digit 1
Digit 2Digit 3
00000000
Bit0Bit3Bit4Bit7
11000100
Bit8Bit11Bit12Bit15
Digit 0Digit 1Di git 2
Digit 3
......
...... ...... ......
..................
......
InPos=1
Size=2
InOutPos= 2
InOut=16#2300
1
MoveDigit
EN ENO
In
InPos
InOutPos
Size
InOut
MovDigt_EN
MovDigt_In
MovDigt_InOutPos
MovDigt_InPos
MovDigt_Size
MovDigt_InOut
8-23

Table of Contents

Related product manuals