EasyManua.ls Logo

Control Techniques Epsilon EP-P - Page 156

Control Techniques Epsilon EP-P
248 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
142 Epsilon EP-P Drive Reference Manual
www.controltechniques.com Revision: A4
Jog.0.Vel=1.000 ‘follower inches/master inch
Wait For DriveInput.1=ON ‘Start when a master lug is detected
Jog.0.PlusInitiate ‘Sync,Vel=1.000in/in
Do While (TRUE) ‘Repeat until the program is halted
If (DriveInput.2=ON) Then ‘Phase Advance when DriveInput.2=ON
Jog.0.Vel=1.100 ‘follower inches/master inch
Wait For DriveInput.2=OFF
Jog.0.Vel=1.000 ‘follower inches/master inch
Endif
If (DriveInput.3=ON) Then ‘Phase Retard when DriveIput.3=ON
Jog.0.Vel=0.900 ‘follower inches/master inch
Wait For DriveInput.3=OFF
Jog.0.Vel=1.000 ‘follower inches/master inch
Endif
Loop
Auger Filler with Inputs to Adjust the Fill Amount
Incremental indexes are used to squirt a specified amount of food product into a box. Inputs are used to adjust the index distance. It would be
much simpler to adjust the index distance with an OIT-3165 operator interface panel, but inputs could be used as described below.
DriveOutput.3=OFF
DriveOutput.4=OFF
Do While (TRUE) ‘Repeat until the program is halted
If (DriveInput.2=ON) Then ‘Fill a box if the “Go” input is on.
Index.1.Initiate ‘Incremental,Dist=16.00oz,Vel=16.0oz/s
Wait For Index.AnyCommandComplete
Endif
‘Increase the fill amount once every time DriveInput.3 is pressed
If((DriveInput.3=ON) AND (DriveOutput.3=OFF)) Then
Index.1.Dist = Index.1.Dist + 0.10‘ounces
DriveOutput.3=ON
‘DriveOutput.3 is used to make sure that the distance is
‘incremented only once each time DriveInput.3 is pressed.
If (Index.1.Dist > 20) Then
DriveOutput.1=ON ‘Long index output
Else
DriveOutput.1=OFF
Endif
Endif
If((DriveInput.3=OFF) AND (DriveOutput.3=ON)) Then
DriveOutput.3=OFF
Endif
‘Decrease the fill amount once every time DriveInput.4 is pressed.
If ((DriveInput.4=ON) AND (DriveOutput.4=OFF)) Then
Index.1.Dist = Index.1.Dist - 0.10 ‘ounces
DriveOutput.4=ON
‘DriveOutput.4 is used to make sure that the distance is
‘incremented only once each time DriveInput.4 is pressed.
If (Index.1.Dist < 12) Then
DriveOutput.2=ON ‘Short index output
Else
DriveOutput.2=OFF
Endif
Endif

Table of Contents

Related product manuals