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 #134 background imageLoading...
Page #134 background image
133
data address.
For example, the source data D10 is 20, when M0 rising edge is coming, D10 become -20.
The following two instructions are the same.
NEG D10
M0
SUB K0 D10 D10
M0
4-7 Shift Instructions
Mnemonic
Function
Chapter
SHL
Arithmetic shift left
4-7-1
SHR
Arithmetic shift right
4-7-1
LSL
Logic shift left
4-7-2
LSR
Logic shift right
4-7-2
ROL
Rotation left
4-7-3
ROR
Rotation right
4-7-3
SFTL
Bit shift left
4-7-4
SFTR
Bit shift right
4-7-5
WSFL
Word shift left
4-7-6
WSFR
Word shift right
4-7-7
4-7-1 Arithmetic shift left [SHL,DSHL], Arithmetic shift right [SHR,DSHR]
1) Summary
Do arithmetic shift left/right for the numbers
Arithmetic shift left [SHL,DSHL]
16 bits
SHL
32 bits
DSHL
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Arithmetic shift right [SHR,DSHR]
16 bits
SHR
32 bits
DSHR
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2) Operands
Operands
Function
Data Type
D
The source data address
16 bits/32 bits,BIN
n
Shift left or right times
16 bits/32bits,BIN
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)