EasyManua.ls Logo

Siemens SINUMERIK 802C - Page 67

Siemens SINUMERIK 802C
142 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
Loading...
Start-Up
4.3 Starting up the PLC
4-67
SINUMERIK 802C
6FC5 5973AA200BP2 (01.02)
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_B
IN
N
OUT
ENO
EN
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
ENO
EN
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 in-
teger 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 In-
teger
If EN = 1, convert
the real number i to
a double word inte-
ger 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 la-
bel n.
n
JMP
Enable: EN
Label: WORD: 0127
Label Label marker for the
jump.
LBL
n
Label: WORD: 0127
Conditional Return
from Subroutine
If EN = 1, exit the
subroutine.
RET
Enable: EN
Conditional End If EN = 1, END ter-
minates the main
scan.
END
Enable: EN

Table of Contents

Other manuals for Siemens SINUMERIK 802C

Related product manuals