Magnavox W-10CR Installationsanleitung Seite 146

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 322
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 145
130 Programming Commands
MOVEREG Continued
EXAMPLE: A label is to be put down on top of the material passing by. A sensor
connected to Event1 on axis 3 detects when the material leading edge
occurs. The label is put down on the material as soon as axis 3 starts
motion. When the trailing edge of the label is detected the registration
distance is traveled, 5 units. The cycle repeats until input 1 on Digital
I/O board 1 is activated.
REGLIMIT(3)=10 ‘set registration limit of axis 3 to 10 units
ACCEL(3)=500 ‘accel rate of axis 3 set to 500
units/sec
2
DECEL(3)=500 ‘accel rate of axis 3 set to 500 units/sec
2
start:
DO
DO
SPEED(3)=ENCSPD(1) ‘set speed of axis 3 equal to the speed
of material
LOOP UNTIL EVENT1(3)=1 ‘ wait for leading edge of material
MOVEREG(3)=2 ‘start laying down label
WAITDONE(3) ‘wait for motion to stop on label roll
LOOP UNTIL IN(101)=1 ‘repeat cycle if Input 1 on board 1 is inactive
END
ERROR_HANDLER:
ERR=0,0 ‘ if an error occurs restart cycle
GOTO start
ACCEL
DECEL
SPEED
BUSY=1BUSY=0
BUSY=0
MOVEREG
MOVEREG CYCLE
Note: The underlined text is the command required to
generate the velocity profile. The remaining text are related
commands.
Note 1
Note 2
Note 1: The registration input triggers. The distance
specified by the command begins to be counted
down.
Note 2: Motion is completed. The distance traveled from
the registration trigger is the command distance.
REGLIMIT
Trigger switch
Seitenansicht 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 321 322

Kommentare zu diesen Handbüchern

Keine Kommentare