Elmomc SimplIQ Software Manual Bedienungsanleitung Seite 62

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 226
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 61
SimplIQ Software Manual 4BThe SimplIQ User Programming Language
MAN-SIMSW (Ver. 1.4)
5-33
The mask may also be used to prevent switch bouncing from generating spurious routine
calls.
Example:
A machine performs a periodic task. Digital input #1 is connected to a sensor to which the
drive should react. The following code limits the automatic response to digital input #1
during execution of the #@AUTO_I1 routine code, even though digital input #1 may
bounce.
##LOOP;
Repetitive task.
MI=0;
Re-enable automatic routine.
goto##LOOP;
#@AUTO_I1
Automatic handler for digital input #1.
MI=MI|128;
Prevent nested calls to #@AUTO_I1.
Subroutine body.
return
Subroutine end.
Seitenansicht 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 225 226

Kommentare zu diesen Handbüchern

Keine Kommentare