Delta Electronics DVP15MC11T Operation Manual page 92

Table of Contents

Advertisement

If the value of InPos exceeds the range of the data type of In, the movement is not performed.
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
TrsBit_EN
TrsBit_In
TrsBit_InPos
TrsBit_InOutPos
TrsBit_Size
TrsBit_Inout
Move Figure
Trs Bi t_InOut
TrsBit_EN
TrsB it_I n
Trs Bit_InPos
TrsBit_I nOutPos
TrsB it_S iz e
Trs Bit_InOut
TrsBit_InPos =UINT #1
bit7
Trs Bit_In
1
1
1
1
bit7
0
0
0
0
Trs Bi t_InOutPos= UINT#2
Chapter 8 Logic Instructions
Data type
BOOL
USINT
UINT
UINT
UINT
USINT
1
Trans Bit
E N
ENO
In
I nPos
InOut Pos
Size
InOut
bit0
1
1
1
1
TrsBit_Siz e= UINT#2
bit0
1
1
0
0
Current value
TRUE
63
1
2
2
12
8-21
8_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents