Epsilon EP-P Drive Reference Manual
131
Revision A4
www.controltechniques.com
Jog.0.MinusInitiate
‘Vel=20in/s
Wait For DriveInput.3=OFF
‘Stop when the input goes OFF
Jog.Stop
‘Decelerate to a stop
Endif
Loop
Jog.PlusInitiate
This program instruction is used to initiate jogging in the positive direction. The Jog.Stop instruction is used to stop jogging
motion.
A comment is automatically inserted after the Jog.PlusInitiate instruction which shows key data about the particular jog. The
comment starts with the apostrophe ’ character.
Examples:
Jog.0.PlusInitiate
‘Vel=27.2in/s
Jog.1.PlusInitiate
‘Sync,Vel=1.000in/in
Jog.MinusInitiate
This program instruction is used to initiate jogging in the negative direction. The Jog.Stop instruction is used to stop jogging
motion.
A comment is automatically inserted after the Jog.MinusInitiate instruction which shows key data about the particular jog. The
comment starts with the apostrophe ‘ character.
Examples:
Jog.0.MinusInitiate
‘Vel=27.2in/s
Jog.1.MinusInitiate
‘Sync,Vel=1.000in/in
Program.ProgramStop
The Program.#.ProgramStop instruction is used to stop processing a specific program. The ProgramStop instruction can be
used in a program to stop itself or any other program. The ProgramStop instruction DOES NOT stop the motion that has been
initiated by the program being stopped. Either the MotionStop or the Profile.Stop instruction must be used to stop motion from
a program.
If the ProgramStop instruction is used to stop a program that is not running, the Stop will be issued, but will be ignored.
If the program that is stopped was called by another program, the call is killed. This means that program flow will not return to
the program that originally called the program that was stopped. For example, Program 1 calls Program 2. While Program 2 is
running, Program 3 (which is running on a different task) issues a Program.2.ProgramStop command. If Program 2 ended
because of normal conditions (i.e. the “End” instruction), then program flow would return back to Program 1. Because Program
2 was terminated using the Program.Stop instruction, program flow does not return to Program 1.
The ProgramComplete signal will not activate if a program has been stopped using the Program.Stop command.
Example:
Program 0 – Running on Task 0
Do While TRUE
Index.1.Initiate
Wait For Index.AnyCommandComplete
Var.Counter = Var.C 1
Loop
Program 1 – Running on Task 1
Wait For DriveInput.1 = ON
Program.0.Stop
NOTE
In the example above, when input 1 turns on, Program 0 will be stopped. If Index 1 was in progress when the program was
stopped, the index will continue until it is complete.
Program.Initiate
This instruction allows the user to start another program from within a program. This is different from a Call Program
instruction because the program this instruction is in does not stop when the other program starts. Therefore the program that
is initiated must be on a different task. (See
Gear Stop
Gear Stop will stop gearing motion that has been initiated from a program.
Example:
Gear.Initiate
Wait for DriveInput.2=ON
Gear.Stop
Gear.Initate
Gear Initiate will initiate gearing from a program. Gearing will remain active until the Gear.Stop command is used.
Example:
Содержание 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: ......