Heidenhain TNC 306 Technical Manual Manual do Utilizador Página 330

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 510
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 329
7-40 TNC 416/TNC 406/TNC 306 Commands 3/2000
3.2.3
SET NOT (SN) SN
Abbreviation for the PLC-Editor: SN (SET NOT)
Operand changed Operand unchanged
Execution time [µs] 2.0 to 2.4 1.0 to 1.4
Number of bytes 8 ( 6 )
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 is dependent upon 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, in order that a gating result may
influence the operand. The command may be used several times in succession (see example).
Example:
Input I4 and Input I5 are to be gated with OR.
If the gating result = 0, Output O2 and Marker M500 are set.
Initial state: Input I4 = 0
Input I5 = 0
Output O2 = ?
Marker M500 = ?
Line Instruction Accumulator Contents Operand Contents
Bit 31 ... 7 0
...xxxxxxXxxxxxxx
1 L I4 ...xxxxxx0xxxxxxx 0
2 O I5 ...xxxxxx0xxxxxxx 0
3 SN O2 ...xxxxxx0xxxxxxx 1
4 SN M500 ...xxxxxx0xxxxxxx 1
Line 1: The operand contents 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 = 0: Output O2 is set.
Line 4: The gating result = 0: Marker 500 is set.
Vista de página 329
1 2 ... 325 326 327 328 329 330 331 332 333 334 335 ... 509 510

Comentários a estes Manuais

Sem comentários