Set (S) - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.7.15 SET (S)

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 1,
set output O2.
Since the result of
the operation is 1,
set marker M500.
7 – 98
Syntax:
S (SET)
Operands:
M, I, O, T, C
Action:
If the logic accumulator = 1, then set the addressed operand to 1, otherwise
do not change it. Use the S command at the end of a sequence of logical
gating operations in order to influence an operand independently from 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 1, then set output O2 and
marker M500.
Initial state:
Input
I4
= 1
Input
I5
= 0
Output
O2
= ?
Marker
M500 = ?
STL
Accumulator contents [bit]
31..15 ..................... 7 ................. 0
L I4
x ..... x x x x x x x x 1 x x x x x x x
O I5
x ..... x x x x x x x x 1 x x x x x x x
S O2
x ..... x x x x x x x x 1 x x x x x x x
S M500
x ..... x x x x x x x x 1 x x x x x x x
HEIDENHAIN Technical Manual TNC 426, TNC 430
Operand contents [bit]
1
0
1
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 430 pa/mTnc 430 mTnc 426 cbTnc 430 caTnc 426 pbTnc 430 pa ... Show all

Table of Contents