beautypg.com

Set commands, 2 set commands – HEIDENHAIN TNC 122 Technical Manual User Manual

Page 50

background image


4/97

TNC 122

12 PLC Description

49

12.2.2 Set commands

SET (S)

Operands: M, I, O, T, C
The function of this 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 influences the operand. The
command can be used several times in succession.

RESET (R)

Operands: M, I, O, T, C
The function of this command depends on the contents of the Logic Accumulator. If the Logic
Accumulator = 1, the addressed operand is set to 0; otherwise the operand remains unchanged. An
R command is used at the end of a logic chain so that the gating result influences the operand. The
command can be used several times in succession.

SET NOT (SN)

Operands: M, I, O, T, C
The function of this command depends on the contents of the Logic Accumulator. If the Logic
Accumulator = 0, then the addressed operand is set to 1; otherwise the operand remains
unchanged. An SN command is used at the end of a logic chain so that the gating result influences
the operand. The command can be used several times in succession.

RESET NOT (RN)

Operands: M, I, O, T, C
The function of this command depends on the contents of the Logic Accumulator. If the Logic
Accumulator = 0, then the addressed operand is set to 0; otherwise the operand remains
unchanged. An RN command is used at the end of a logic chain so that the gating result influences
the operand. The command can be used several times in succession