Delta DVP-ES2 User Manual Page 174

  • Download
  • Add to my manuals
  • Print
  • Page
    / 702
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 701 702

Comments to this Manuals

No comments