5-63
MICRONIX USA, LLC
www.micronixusa.com
Rev: 3.02
Loop Program
During Motion
Real-time
Program
Global
Set
Read
Set
Read
Set
Read
Set
Read
Command
Description:
This command is used to change the number of times a program
will execute. If the program loop setting is 0, any program that is
executed will run in a continuous loop. It can be combined with
the PGS command to run a program continuously on startup. To
disable program looping, set PGL to 1. A looping program can be
stopped at any time by sending the STP or EST commands.
This version of the command available in firmware version 1.3.11
and up. Prior version have an on/off PGL setting 1/0.
Returns:
A read operation returns the program loop setting for the specified
axis.
Syntax:
nPGLx
–
Standard syntax
Error(s):
PGLx
–
Missing axis number [30]
n
PGL
–
Missing program number parameter [28]
Parameter
Description:
n[int]
–
Axis number
x[int]
–
loop flag parameter
Parameter
Range:
n
–
1 to 99
x
–
0
–
Loop indefinitely
1
–
Don’t
Loop
2 to 999999
–
number of times an executed command will repeated
Related Commands: PGS, STP
Example:
1PGL0
|
Axis 1, Run program 1 continuously
1PGL5
|
Axis 1, Run program 5 times
Содержание MMC-200 Series
Страница 1: ......