EasyManuals Logo

Siemens SINUMERIK 802D sl Instruction Manual

Siemens SINUMERIK 802D sl
262 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 #181 background imageLoading...
Page #181 background image
Starting Up the PLC
11.4 PLC programming
11-179
SINUMERIK 802D sl Instruction Manual (BA), 05/2005 Edition
6FC5 397-0CP10-1BA0
SHIFT AND ROTATE OPERATIONS
Instruction Ladder Symbol Valid Operands
Shift Right
Shift Left
If EN = 1,
a = a SR c bits
a = a SL c bits
SHL_R
IN
N
OUT
EN
ENO
Enable: EN
In: VB, IB, QB, MB, AC, Constant, LB
Out: VB, IB, QB, MB, AC
Count: VB, IB, QB, MB, AC, Constant, LB
Shift Right
Shift Left
If EN = 1,
a = a SR c bits
a = a SL c bits
SHL_W
IN
N
OUT
EN
ENO
Enable: EN
In: VW, T, C, IW, QW, MW, AC,
Constant, LW
Out: VW, T, C, IW, QW, MW, AC, LW
Count: VB, IB, QB, MB, AC, Constant, LB
DWord Shift R
DWord Shift L
If EN = 1,
a = a SR c bits
a = a SL c bits
SHL_DW
IN
N
OUT
EN
ENO
Enable: EN
In: VD, ID, QD, MD, AC, Constant, LD
Out: VD, ID, QD, MD, AC, LD
Count: VB, IB, QB, MB, AC, Constant, LB
CONVERSION OPERATIONS
Instruction Ladder Symbol Valid Operands
Convert Double
Word Integer to a
Real
If EN = 1, convert the
double word integer i
to a real number o.
DI_REAL
IN
OUT
EN
ENO
Enable: EN
In: VD, ID, QD, MD, AC, Constant, LD
Out: VD, ID, QD, MD, AC, LD
Convert a Real to a
Double Word Integer
If EN = 1, convert the
real number i to a
double word integer o.
TRUNC
IN
OUT
EN
ENO
Enable: EN
In: VD, ID, QD, MD, AC, Constant, LD
Out: VD, ID, QD, MD, AC, LD
PROGRAM CONTROL FUNCTIONS
Instruction Ladder Symbol Valid Operands
Jump to Label If EN = 1, go to label n.
n
JMP
Enable: EN
Label: WORD: 0–127
Label Label marker for the
jump.
LBL
n
Label: WORD: 0–127
Conditional Return
from Subroutine
If EN = 1, exit the sub-
routine.
RET
Enable: EN
Return from Subrou-
tine
Exit subroutine.
RET
Conditional End If EN = 1, END termi-
nates the main scan.
END
Enable: EN
Siemens Automation Parts

Table of Contents

Other manuals for Siemens SINUMERIK 802D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 802D sl and is the answer not in the manual?

Siemens SINUMERIK 802D sl Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 802D sl
CategoryController
LanguageEnglish

Related product manuals