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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 510
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 402
3/2000 TNC 416/TNC 406/TNC 306 PLC Modules for TNC 416/406 7-113
4.3
Read in Word Range (Module 9010/9011/9012)
A byte, word or double word is read from the defined position in the word memory and returned to
the stack as an output variable. Indexed reading in the memory is possible by specifying a variable
as the name of the memory cell.
Possible errors:
- The defined address is outside the valid range (0..1023).
- Module 9011: The defined address is not a word address (not divisible by 2).
- Module 9012: The defined address is not a double word address (not divisible by 4).
Call:
PS B/W/D/K <Number of byte to be read> (Address)
CM 9010 read byte
PL B <byte read> (Value)
or
PS B/W/D/K <Number of word to be read> (Address)
CM 9011 read word
PL W <word read> (Value)
or
PS B/W/D/K <Number of double word to be read> (Address)
CM 9012 read double word
PL D <double word read> (Value)
Example of Module 9010
STACK
Wortspeicher
35 (80)
35
80
80
B10
B35
B100
.
.
.
PS B10
CM9010
PL B100
.
.
.
Error status after call: M3171 = 0: Byte/word/double word was read
1: Error condition see above
Vista de página 402
1 2 ... 398 399 400 401 402 403 404 405 406 407 408 ... 509 510

Comentários a estes Manuais

Sem comentários