Omron SYSMAC CP CP1E-N@@D@-@ Manual do Utilizador Página 400

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 467
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 399
2 Instructions
2-364
CP1E CPU Unit Instructions Reference Manual(W483)
Precaution
Do not read or write the system word (C) from any other instruction. MTR(213) will not operate cor-
rectly if the system word is accessed by another instruction. The system word is not initialized by
MTR(213) in the first cycle when program execution starts. If MTR(213) is being used from the first
cycle, clear the system word from the program.
MTR(213) will not operate correctly if I/O refreshing is not performed with the Input Unit and Output
Unit connected to the external matrix after MTR(213) is executed. Consequently, set the input time
constant for the Input Units used for the data line input word to a value that is shorter than the cycle
time.
When executed, MTR(213) begins reading the matrix status from the beginning of the matrix, regard-
less of the point at which the last instruction was stopped.
Sample program
In this example, MTR(213) reads the 64 bits of data from the 8 × 8 matrix and stores the data in W0 to
W3. The 8 × 8 matrix is connected through CIO 3 and CIO 104. D1000 is used as the system word.
I
O
D
C
MTR(213)
3
104
W0
D1000
P_On
Always ON Flag
Vista de página 399
1 2 ... 395 396 397 398 399 400 401 402 403 404 405 ... 466 467

Comentários a estes Manuais

Sem comentários