140
Epsilon EP-P Drive Reference Manual
www.controltechniques.com
Revision: A4
DriveOutput.1=OFF
‘Clear the “At Position 1” output
Index.2.Initiate
‘Absolute,Dist=10.000in,Vel=5.0in/s
Wait For InPosn
DriveOutput.2=ON
‘Set the “At Position 2” output
Wait For Time 1.000
‘Seconds
DriveOutput.2=OFF
‘Clear the “At Position 2” output
Index.1.Initiate
‘Absolute,Dist=0.000in,Vel=10.0in/s
Wait For InPosn
DriveOutput.1=ON
‘Set the “At Position 1” output
Loop
Punch a Hole in a Web a Specified Distance Beyond a Registration Mark
Description: Index a web to a position 2 inches beyond a registration mark. Then fire a solenoid to punch a hole in the web. Wait for a sensor
to indicate that the punch is in the down position. Retract the solenoid. Wait until it is sensed in the up position.
Do While (TRUE)
‘Repeat until the program is halted
Index.0.Initiate
‘Registration,Offet=2.0in,Dist=20in,Vel=20in/s
Wait For InPosn
DriveOutput.1=ON
‘Fire the punch solenoid
Wait For DriveInput.2=ON
‘Wait for the “down” indicator
DriveOutput.1=OFF
‘Retract the punch solenoid
Wait For DriveInput.3=ON
‘Wait for the “up” indicator
Loop
Registration Index to Place a Product on a Conveyor After Each Lug
Registration Index (synchronized) to find the front edge of product, wait for input from a lug sensor and repeat.
Do While (TRUE)
‘Repeat until the program is halted
Index.0.Initiate
‘Sync,Registration,Offset=0.500,
‘Dist=50.000,Vel=1.000in/in
‘Registration move to product sensor.
‘Go to head of next product.
Wait For Index.AnyCommandComplete
Wait For DriveInput.2=ON
‘Wait for lug sensor on master conveyor.
Loop
Elevator (Accumulator) with 100 Stop Positions
Home, when an input goes on move down to the next position. When the bottom position is reached, move back to home when the input goes
on.
Home.0.Initiate
‘Sensor,Offset=0.00mm,Vel=100mm/s
Do While (TRUE)
‘Repeat until the program is halted
For Count = 2 To 100
‘Step to positions 2 - 100
Wait For DriveInput.2=ON‘Wait for “Go” input
Index.2.Initiate‘Incremetal,Dist=2.00mm,Vel=100mm/s
Wait For InPosn
Next
Wait For DriveInput.2=ON
‘Wait for “Go” input
Index.1.Initiate
‘Absolute,Dist=0.00mm,Vel=1000mm/s
Wait For InPosn
Loop
Simple Jogging within a Program
Jog+ when DriveInput.2 goes ON and stop when it goes off. Jog- when DriveInput.3 goes ON and stop when it goes off. This could also be
accomplished using the Jog input functions when there is no program running.
Do While (TRUE)
‘Repeat until the program is halted
If(DriveInput.2=ON) Then
‘Jog+ when DriveInput.2=ON
Jog.0.PlusInitiate‘Vel=20in/s
Wait For DriveInput.2=OFF
‘Stop jogging when DriveIput.2 goes OFF
Jog.Stop
‘Decelerate to a stop
Endif
If (DriveInput.3=ON) Then
‘Jog- when DriveInput.3=ON
Jog.0.MinusInitiate
‘Vel=20in/s
Wait For DriveInput.3=OFF
‘Stop jogging when DriveInput.3 goes OFF
Содержание Epsilon EP-P
Страница 2: ......
Страница 14: ...xii Epsilon EP P Drive Reference Manual www controltechniques com Revision A4 Glossary 225 Index 231...
Страница 124: ...110 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 200: ...186 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 218: ...204 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 238: ...224 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 244: ...230 Epsilon EP P Drive Reference Manual www controltechniques com Revision A4...
Страница 247: ......