Or (O) - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.8.20 OR (O)

Logic processing
with the OR
command
July 2013
O (OR)
Syntax:
M, I, O, T, C
Operands:
Action:
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. You should always begin a sequence of logical gating
operations with a load command (see L, LN, L–).
Within a logic sequence, gate the content of the logic accumulator and the
logical state of the operand with OR. The iTNC 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
= ?
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.
9.8 Command Set
STL
Accumulator
content
L I4
0
O I5
1
= O2
1
Operand content
0
1
1
1779

Advertisement

Table of Contents
loading

Table of Contents