Delta-electronics Extension Digital I/O Module DOP-EXIO14RAE Manuel d'utilisateur Page 140

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 157
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 139
Appendix D Use of Application Instructions|DOP-EXIO Series
Revision March, 2008, Doc. Name: 2007PDD23000014 D-59
Mnemonic Operands Function
ALT
D
Alternate State
Bit Devices Word Devices
X Y M S K H KnX KnY KnM KnS T C D E F
D
16-bit instruction (3 Steps)
ALT
Continuous
execution
32-bit instruction
- - - -
y Flags: None
Operands:
D
: Destination device
Program Example 1:
When X0 goes from Off to On for the first time, Y0 will be On. When X0 goes from Off to On for the
second time, Y0 will be Off.
X0
ALTP Y0
X0
Y0
Program Example 2:
Using a single switch to enable and disable control. At the beginning, M0 = Off, so Y0 = On and Y1 =
Off. When X10 switches between On/Off for the first time, M0 will be On, so Y1 = On and Y0 = Off. For
the second time of On/Off switching, M0 will be Off, so Y0 = On and Y1 = Off.
X10
A
LT M0
M0
Y0
M0
Y1
Program Example 3:
Generating flashing. When X10 = On, T0 will generate a pulse every 2 seconds and Y0 output will
switch between On and Off following the T0 pulses.
Vue de la page 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 156 157

Commentaires sur ces manuels

Pas de commentaire