Delta-electronics Extension Digital I/O Module DOP-EXIO14RAE Uživatelský manuál Strana 93

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 157
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 92
Appendix D Use of Application Instructions|DOP-EXIO Series
D-12
Revision March, 2008, Doc. Name: 2007PDD23000014
FOR K3
FOR K4
NEXT
NEXT
A
B
Program Example 2:
When X7 = Off, DOP-EXIO series will execute the program between FOR ~ NEXT. When X7 = On, CJ
instruction jumps to P6 and avoids executing the programs between FOR ~ NEXT.
X7
M0
M0
P6
MOV
FOR
MOV
D0
D0
K3
K0
Y10
INC
MEXT
X10
D0
D1
CJ
P6
Program Example 3:
When the programs between FOR ~ NEXT are not to be executed, the user can adopt CJ instruction
for a jumping. When the most inner FOR ~ NEXT loop is in the status of X1 = On, CJ instruction
executes jumping to P0 and skips the execution on P0.
Zobrazit stránku 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 156 157

Komentáře k této Příručce

Žádné komentáře