Set-Commands - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

3.2 Set-Commands

3.2.1 SET (S)
Abbreviation for the PLC Editor:
Execution time [µs]
Number of bytes
Byte value in parentheses:
With certain preceding program sequences, the command may be shortened.
Operands: M, I, O, T, C
Operation:
The function of the command depends on the contents of the Logic Accumulator. If the Logic
Accumulator = 1, the addressed operand is set to 1, otherwise the operand remains unchanged. An
S-command is used at the end of a logic chain so that the gating result may influence the operand.
The command may be used several times in succession (see example).
Example:
Input I4 and input I5 should be gated with OR.
If the gating result is 1, output O2 and marker M500 should be set.
Initial state:
Line Instruction
Bit
1
L I4
2
O I5
3
S O2
4
S M500
Line 1: The contents of the operand are loaded into the Accumulator.
Line 2: The contents of the Logic Accumulator and Input I5 are gated with OR.
Line 3: The gating result = 1: output O2 is set.
Line 4: The gating result = 1: marker M500 is set.
7-48
TNC 407/TNC 415/TNC 425
S (SET)
Operand changed
0.1 to 0.8
8 (6)
Input
I4
= 1
Input
I5
= 0
Output
O2
= ?
Marker
M500 = ?
Accumulator Contents
31
. . .
... x x x x x x X x x x x x x x
... x x x x x x 1 x x x x x x x
... x x x x x x 1 x x x x x x x
... x x x x x x 1 x x x x x x x
... x x x x x x 1 x x x x x x x
3 Commands
Operand unchanged
0.2 to 0.5
7
0
Operand Contents
1
0
1
1
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents