Start-Up
4.3
Starting up the PLC
4-74
SINUMERIK 802S
6FC5 597–2AA00–0BP2 (01.02)
MATH OPERATIONS
Instruction
Ladder Symbol
Valid Operands
Word Add
Word Subtract
If EN = 1,
b = a + b
b = b – a
ADD_I
IN1
IN2
OUT
EN
ENO
Enable: EN
In:
VW, T, C, IW, QW, MW, AC,
Constant, LW
Out:
VW, T, C, IW, QW, MW, AC, LW
DWord Add
DWord Subtract
If EN = 1,
b = a + b
b = b – a
SUB_DI
IN1
IN2
OUT
EN
ENO
Enable: EN
In:
VD, ID, QD, MD, AC, Constant, LD
Out:
VD, ID, QD, MD, AC, LD
Multiply
If EN = 1,
b = a x b
MUL
IN1
IN2
OUT
EN
ENO
Enable: EN
In:
VW, T, C, IW, QW, MW, AC,
Constant, LW
Out:
VD, ID, QD, MD, AC, LD
Divide
If EN = 1,
b = b
÷
a
Out:
16 bit remainder
Out+2:
16 bit quotient
DIV
IN1
IN2
OUT
EN
ENO
Enable: EN
In:
VW, T, C, IW, QW, MW, AC,
Constant, LW
Out:
VD, ID, QD, MD, LD
Add
Subtract
Real Numbers
If EN = 1,
b = a + b
b = b – a
ADD_R
IN1
IN2
OUT
EN
ENO
Enable: EN
In:
VD, ID, QD, MD, AC, Constant, LD
Out:
VD, ID, QD, MD, AC, LD
Multiply
Divide
Real Numbers
If EN = 1,
b = a x b
b = b
÷
a
MUL_R
IN1
IN2
OUT
EN
ENO
Enable: EN
In:
VD, ID, QD, MD, AC, Constant, LD
Out:
VD, ID, QD, MD, AC, LD
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: ......