Start-Up
4.3
Starting up the PLC
4-75
SINUMERIK 802S
6FC5 597–2AA00–0BP2 (01.02)
INCREMENT, DECREMENT
Instruction
Ladder Symbol
Valid Operands
Increment
Decrement
Byte
If EN = 1,
a = a + 1
a = a – 1
INC_B
IN
OUT
EN
ENO
Enable: EN
In:
VB, IB, QB, MB, AC, Constant LB
Out:
VB, IB, QB, MB, AC, LB
Increment
Decrement
Word
If EN = 1,
a = a + 1
a = a – 1
a = /a
INC_W
IN
OUT
EN
ENO
Enable: EN
In:
VW, T, C, IW, QW, MW, AC,
Constant, LW
Out:
VW, T, C, IW, QW, MW, AC, LW
Increment
Decrement.
If EN = 1,
a = a + 1
a = a – 1
INC_DW
IN
OUT
EN
ENO
Enable: EN
In:
VD, ID, QD, MD, AC, Constant, LD
Out:
VD, ID, QD, MD, AC, LD
LOGIC OPERATIONS
Instruction
Ladder Symbol
Valid Operands
Byte AND
Byte OR
Byte XOR
If EN = 1,
b = a AND b
b = a OR b
b = a XOR b
WAND_B
IN1
IN2
OUT
EN
ENO
Enable: EN
In:
VB, IB, QB, MB, AC, Constant, LB
Out:
VB, IB, QB, MB, AC, LB
Word AND
Word OR
Word XOR
If EN = 1,
b = a AND b
b = a OR b
b = a XOR b
WAND_W
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 AND
DWord OR
DWord XOR
If EN = 1,
b = a AND b
b = a OR b
b = a XOR b
WXOR_DW
IN1
IN2
OUT
EN
ENO
Enable: EN
In:
VD, ID, QD, MD, AC, Constant, LD
Out:
VD, ID, QD, MD, AC, LD
Invert Byte
If EN = 1,
a = /a
INV_B
IN
OUT
EN
ENO
Enable: EN
In:
VB, IB, QB, MB, AC, Constant, LB
Out:
VB, IB, QB, MB, AC, LB
Invert Word
If EN = 1,
a = /a
INV_W
IN
OUT
EN
ENO
Enable: EN
In:
VW, T, C, IW, QW, MW, AC,
Constant, LW
Out:
VW, T, C, IW, QW, MW, AC, LW
Invert DWord
If EN = 1,
a = /a
INV_DW
IN
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: ......