Delta DVP-ES2 Manuel d'utilisateur Page 174

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 702
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 173
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming
3-58
Program example 1:
After program A has been executed for 3 times, it will resume its execution after NEXT instruction.
Program B will be executed for 4 times whenever program A is executed once. Therefore, program
B will be executed 3 × 4 = 12 times in total.
FOR K3
FOR K4
NEXT
NEXT
AB
Program example 2:
When X7 = OFF, PLC will execute the program between FOR ~ NEXT. When X7 = ON, CJ
instruction jumps to P6 and avoids executing the instructions between FOR ~ NEXT.
X7
M0
M0
P6
MOV
FOR
MOV
D0
D0
K3
K0
Y10
INC
MEXT
X10
D0
D1
CJ
P6
Vue de la page 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 701 702

Commentaires sur ces manuels

Pas de commentaire