Emerson Epsilon EP Drive 400518-01 Instrukcja Instalacji Strona 137

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 240
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 136
125
Programming
Subroutine for Jogging the Axis into the Desired Position (Program 1)
‘Allow jogging until either the “Learn” input (DriveInput.1)
‘or the “Skip” input (DriveInput.2) goes ON.
Do While ((DriveInput.1=OFF) AND (DriveInput.2=OFF))
If (DriveInput.3=ON) Then ‘Jog+ if the Jog+ input is on
Jog.0.PlusInitiate ‘Vel=0.1in/s
Do While (DriveInput.3=ON)
If (DriveInput.5=ON) Then ‘DriveInput.5 = “Jog Fast”
Jog.0.Vel = 1.0 ‘in/s
Else
Jog.0.Vel = 0.1‘in/s
Endif
Loop
Jog.Stop ‘Stop jogging when the Jog+ input goes off.
Endif
If (DriveInput.4=ON) Then ‘Jog- if the Jog- input is on
Jog.0.MinusInitiate ‘Vel=0.1in/s
Do While (DriveInput.4=ON)
If (DriveInput.5=ON) Then ‘DriveInput.5 = “Jog Fast”
Jog.0.Vel = 1.0 ‘in/s
Else
Jog.0.Vel = 0.1 ‘in/s
Endif
Loop
Jog.Stop ‘Stop jogging when the Jog+ input goes off.
Endif
Loop
Playback Program (Program 2)
Home.0.Initiate ‘Sensor,Offset=0.000in,Vel=-10in/s
Do While (TRUE) ‘Repeat until the program is halted
Index.1.Initiate ‘Absolute,Posn=1.000in,Vel=5in/s
Wait For InPosn
DriveOutput.1=ON ‘Turn on DriveOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
DriveOutput.1=OFF
Index.2.Initiate ‘Absolute,Posn=20.000in,Vel=7in/s
Wait For InPosn
DriveOutput.1=ON ‘Turn on DriveOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
DriveOutput.1=OFF
Index.3.Initiate ‘Absolute,Posn=5.250in,Vel=10in/s
Wait For InPosn
DriveOutput.1=ON ‘Turn on DriveOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
DriveOutput.1=OFF
Loop
Przeglądanie stron 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 239 240

Komentarze do niniejszej Instrukcji

Brak uwag