Rockwell-automation Logix5000 Controllers I/O and Tag Data Programming Manual do Utilizador Página 50

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 86
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 49
Chapter 2 Organize tags
3. In the cell, click .
4. Select the tag that the alias represents.
To Do This
Select a tag Double-click the tag name.
Select a bit number 1. Click the tag name.
2. To the right of the tag name, click +.
3. Click
the required bit.
5. Click another cell.
If you want an instruction to access different elements in an array, use a tag in the
subscript of the array (an indirect address). By changing the value of the tag, you
change the element of the array that your logic references.
The following table outlines some common uses for an indirect address.
To Use a tag in the subscript and
Select a recipe from an array of recipes Enter the number of the recipe in the tag.
Load a specific machine setup from an array of possible
setups
Enter the desired setup in the tag.
Load parameters or states from an array, one element at a
time
A. Perform the required action on the first element.
B. Use an ADD instruction to increment the tag value and
point to the next element in the array.
Log error codes
Perform several actions on an array element and then index
to the next element
The following example loads a series of preset values into a timer, one value (array
element) at a time.
Indirect addresses
50 Rockwell Automation Publication 1756-PM004E-EN-P - October 2014
Vista de página 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 85 86

Comentários a estes Manuais

Sem comentários