Denso RC5 Spécifications Page 87

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 692
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 691 692

Commentaires sur ces manuels

Pas de commentaire