EasyManuals Logo

Xinje XD Series User Manual

Xinje XD Series
456 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 #131 background imageLoading...
Page #131 background image
130
WAND D10 D12 D14
X0
S1· S2·
<Logic OR >
WOR D10 D12 D14
X0
S1· S2·
< Logic WXOR >
WXOR D10 D12 D14
X0
S1· S2·
If use this instruction along with CML instruction, XOR NOT operation could also be
executed.
WXOR D10 D12 D14
D·
X0
S S2·
CML D14 D14
Example 1:
The16 bits data is composed by X0~X7, and store in D0.
MOV DX0 D0
M0
Transform the state of X0, X1, X2, X3 to 8421 code and store in D0.
WAND DX0 H0F D0
M0
Example 2:
Combine the low 8 bits of D0 and D2 to a word.
WAND D0 HFF D10
X0
WAND D2 HFF D12
SWAP D12
WOR D10 D12 D20
LDP X0
WAND D0 HFF D10
WAND D2 HFF D12
SWAP D12
WOR D10 D12 D20
0&0=0 0&1=0
1&0=0 1&1=1
0 or 0=0 0 or 1=1
1 or 0=1 1 or 1=1
0 xor 0=0 0 xor 1=1
1 xor 0=1 1 xor 1=0
//X0 rising edge
//Logic and, take the low 8 bits of D0 and save in D10
// Logic and, take the low 8 bits of D2 and save in D12
//swap the low 8 bits and high 8 bits of D12
//combine the low 8 bits of D10 and high 8 bits of D12,
and save in D20
tudonghoatoancau.com

Table of Contents

Other manuals for Xinje XD Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XD Series and is the answer not in the manual?

Xinje XD Series Specifications

General IconGeneral
Input Voltage24V DC
Storage Temperature-20°C to 70°C
Protection ClassIP20
TypePLC
SeriesXD
Programming LanguageLadder Logic, Instruction List
Communication InterfaceRS232, RS485
Power Supply24V DC
Digital InputsAvailable (number varies by model)
Digital OutputsAvailable (number varies by model)
Analog InputsAvailable (number varies by model)
Analog OutputsAvailable (number varies by model)
Output TypeRelay, Transistor
Number of InputsVaries by model (see Digital Inputs and Analog Inputs)
Number of OutputsVaries by model (see Digital Outputs and Analog Outputs)
Operating Temperature0°C to 50°C
Humidity5% to 95% (non-condensing)