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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 510
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 338
3/2000 TNC 416/TNC 406/TNC 306 Commands 7-49
3.3.4
OR NOT (ON)
Abbreviation for the PLC-Editor: ON (OR NOT)
Logic Byte/Word Double Constant
Execution time [µs] 2.0 2.0/2.0 3.0 2.6
Number of bytes 8 8 8 10
Logic execution with the OR NOT command
Operands: M, I, O, T, C
Operation:
This command functions in different ways according to its position in the program:
a) At the start of a logic chain this command functions as an LN command, i.e. the complement of
the operand is loaded into the Logic Accumulator. This is to ensure compatibility with the
TNC 355 control which did not have the special LN command. In PLC programs for the TNC 306
a logic chain should always be started with a load command (see L, LN, L).
b) Within a logic chain, the contents of the Logic Accumulator and the logic state of the operand (M,
I, O, T, C) are gated with OR NOT. The result of the operation is stored in the Logic Accumulator.
Example:
Inputs I4 and I5 are to be gated with OR NOT and the result assigned to Output O2.
Initial state: Input I4 = 0
Input I5 = 0
Output O2 = ?
Line Instruction Accumulator contents Operand contents
Bit 31 ... 7 0
...xxxxxxxxxxxxxx
1 L I4 ...xxxxxx0xxxxxxx 0
2 ON I5 ...xxxxxx1xxxxxxx 0
3 = O2 ...xxxxxx1xxxxxxx 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 NOT.
Line 3: The gating result is assigned to Output O2.
Vista de página 338
1 2 ... 334 335 336 337 338 339 340 341 342 343 344 ... 509 510

Comentários a estes Manuais

Sem comentários