EasyManuals Logo

Delta Electronics DVP15MC11T User Manual

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
Page #193 background imageLoading...
Page #193 background image
DVP15MC11T Operation Manual
_8
The steps for XORN operation is for when more than 2 input parameters exist:
The XORN result of In1 and In2 is got first; then the XORN of the previous result and In3 is
conducted and so on. Finally, the XORN of the previous XORN result and InN is processed.
The XORN result of In1 and In2 is Out_Temp and the XORN result of Out_Temp and In3 is Out as
shown below.
In1~InN are allowed to be the variables of different data types when none of the data types of input
variables are BOOL.
When In1 to InN are the variables of different data types, take the data type which can include all
ranges of the values of In1~InN for the operation.
For example, if the data type of In1 is BYTE and In2 is WORD, the data type of Out is WORD. In
operation, the value of In1 is converted from BYTE to WORD as shown in the following figure. (Bit8~
Bit 15 are supplemented and their values are all 0.) And then the logical XORN of the bit values of
In1 and In2 is conducted as below.
If the data type of an input variable is BOOL, the data types of all input and output variables are
required to be BOOL. Otherwise, an error will occur in the compiling of the software.
Precautions for Correct Use
The input variables are not allowed to omit. An error will occur during the compiling of the software if any
input variable is omitted. But the output variable is allowed to omit.
Programming Example
The data types of XORN_In1, XORN_In2 and Out1 are all BYTE. The values of XORN_In1 and
XORN_In2 are 10 and 50 and the value of Out1 is 199 when XORN_EN is TRUE as shown in
Variable 1.
The data types of XORN_In1, XORN_In2 and Out1 are BYTE, WORD and WORD. The values of
XORN_In1 and XORN_In2 are 255 and 256 and the value of Out1 is 65535 when XORN _EN is
TRUE as shown in Variable 2.
00101100
01111001
10101010
Bit0Bit7
In1
In2
Out_Temp
00011101
In3
01001000Out
00
1
01
10
0
Bit0Bit7
In1
0
00
0
00
00
10
10
0
10
10
0
10
1
10
0
In1_WORD_
In2
Bit8
Bit15
01
1
10
1
10
11
01
0
01
1
Out
0
01
0
11
0
0
8-122

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta Electronics DVP15MC11T and is the answer not in the manual?

Delta Electronics DVP15MC11T Specifications

General IconGeneral
BrandDelta Electronics
ModelDVP15MC11T
CategoryController
LanguageEnglish

Related product manuals