11.4 PLC programming
Starting Up the PLC
11-174
SINUMERIK 802D sl Instruction Manual (BA), 05/2005 Edition
6FC5 397-0CP10-1BA0
11.4.2 Explanation of the stack operations
Table 11-7 INSTRUCTIONS Set
BASIC BOOLEAN INSTRUCTIONS
Instruction Ladder Symbol Valid Operands
Load
And
Or
normal open
n=1 close
n=0 open
n
n: V, I, Q, M, SM, T, C, L
Load Not
And Not
Or Not
normal close
n=0 close
n=1 open
n
n: V, I, Q, M, SM, T, C, L
Output prior 0, n=0
prior 1, n=1
n
n: V, I, Q, M,T, C, L
Set
(1 Bit)
prior 0, not set
prior 1 or ½
Bit
S
S_Bit: V, I, Q, M,T, C, L
n =1
Reset
(1 Bit)
prior 0, no reset
prior 1 or ½
Bit
R
S_Bit: V, I, Q, M,T, C, L
n =1
OTHER BOOLEAN INSTRUCTIONS
Instruction Ladder Symbol Valid Operands
Edge Up prior ½ close
(1 PLC cycle)
P
Edge Down prior ¿ close
(1 PLC cycle)
N
Logical Not prior 0, later 1
prior 1, later 0
NOT
No operation
NOP
n
n = 0 ... 255
BYTE COMPARES (Unsigned)
Instruction Ladder Symbol Valid Operands
Load Byte =
And Byte =
Or Byte =
a = b close
a b open
a
b
==B
a: VB, IB, QB, MB, SMB, AC, Constant,
LB
b: VB, IB, QB, MB, SMB, AC, Constant,
Load Byte .
And Byte .
Or Byte .
a ≥ b close
a t b open
a
b
> =B
Load Byte 3
And Byte 3
Or Byte 3
a ≤ b close
a u b open
a
b
< =B