Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1676

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.15.16 SET NOT (SN)
1676
Syntax:
SN (SET NOT)
Operands:
M, I, O, T, C
Action:
If the logic accumulator = 0, then set the addressed operand to 1, otherwise
do not change it. Use the SN command at the end of a sequence of logical
gating operations in order to influence an operand depending on the result of
gating. This command can be used several times in succession (see example).
Example:
Gate input I4 and I5 with OR. If the gating result is 0, then set output O2 and
marker M500.
Initial state:
Input
I4
= 0
Input
I5
= 0
Output
O2
= ?
Marker
M500 = ?
Function
Load the operand content
into the logic
accumulator.
Gate the content of the
logic accumulator and
input I5 with OR.
Since the result of the
operation is 0, set output
O2.
Since the result of the
operation is 0, set marker
M500.
STL
Accumulator
content
L I4
0
O I5
0
SN O2
0
SN
0
M500
HEIDENHAIN Technical Manual MANUALplus 620
Operand content
0
0
1
1

Advertisement

loading