Denso RC5 Especificações Página 87

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 692
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 86
Chapter 2 Program Flow
2-25
Q. How do you change the total counter?
A. Add the program library “pltIncCnt.”
* callpltLetCnt(Index, iValue)
'Index...PalletizingprogramNo.
'iValue...Thisvalueisenteredinthetotalcounter.
Example) #define pltIndex 0 'Palletizing program No.
Program Exmp
DefInt Index, iValue
Index = pltIndex 'Inserts the palletizing
'program No.
'into the Index register.
iValue = 0 'Enters a value into the
'total counter.
call pltLetCnt(Index, iValue)
'The value of iValue is
'entered into the total
'counter.
End
Q. With what timing does the total counter count?
A. It counts up when “pltKernel (Index, -15, mcNextPos, ndErr)” is executed.
Therefore, if the program library “pltGetNextPos,” “pltMove” and
“pltMove0”
are executed, the total counter will count up.
* call pltMove(Index)
* call pltMove0
* call pltGetNextPos(Index, NextPos)
'Index.... PalletizingprogramNo.
'NextPos... TypePvariablenumberwhere
the position of the next
position is entered.
Vista de página 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 691 692

Comentários a estes Manuais

Sem comentários