Start-Up
4.3
Starting up the PLC
4-76
SINUMERIK 802S
6FC5 597–2AA00–0BP2 (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: 0–127
Label
Label marker for the
jump.
LBL
n
Label:
WORD: 0–127
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
Summary of Contents for SINUMERIK 802S
Page 1: ...Start Up 01 2002 Edition SINUMERIK 802S ...
Page 2: ......
Page 8: ...Table of Contents viii SINUMERIK 802S 6FC5 597 2AA00 0BP2 01 02 notice ...
Page 104: ...Start Up 4 7 Commissioning 4 104 SINUMERIK 802S 6FC5 597 2AA00 0BP2 01 02 ...
Page 170: ...Index Index 170 SINUMERIK 802S 6FC5 597 2AA00 0BP2 01 02 notice ...
Page 172: ......