Or (O) - HEIDENHAIN TNC 426 PB/M Technical Manual

Table of Contents

Advertisement

7.7.21 OR (O)

Logic processing
with the OR
command
Function
Load the operand
content into the logic
accumulator.
Gate the content of
the logic
accumulator and
input I5 with OR
Assign the gating
result to output O2.
7 – 106
Syntax:
O (OR)
Operands:
M, I, O, T, C
Action:
n
At the beginning of a logic sequence, this command functions like an L
command, i.e., the logical state of the operand is loaded into the logic
accumulator. However, you should always begin a sequence of logical
gating operations with a load command (see L, LN, L–).
n
Within a logic sequence, gate the content of the logic accumulator and the
logical state of the operand with OR. The TNC saves the result of the
operation in the logic accumulator.
Example:
Gate the inputs I4 and I5 with OR, and assign the result to output O2.
Initial state:
Input
I4
= 0
Input
I5
= 1
Output
O2
= ?
STL
Accumulator contents [bit]
3 ..15 ..................... 7 ................. 0
L I4
x ..... x x x x x x x x 0 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
= O2
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]
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