5-65
MICRONIX USA, LLC
www.micronixusa.com
Rev: 3.02
Run Program At Start-Up
During Motion
Real-time
Program
Global
Set
Read
Set
Read
Set
Read
Set
Read
Command
Description:
This command is used to set a program to run immediately on start-
up. Only one program per axis can run on start up.
Returns:
A read operation returns a value for the specified axis in the format
below:
0
–
No program set to run
1-16
–
Program set to run on start-up
Syntax:
nPGSx
–
Standard syntax
0PGSx
–
Missing axis number, all axes set program to run on start-up
nPGS?
–
Read program(s) set to run on start-up
Error [#]:
PGS?
–
Read operation with missing axis number [27]
n
PGS
–
Missing program set to run on start-up parameter
[28]
Parameter
Description:
n[int]
–
Axis number
x[float]
–
Program set to run on start-up
?
–
Read encoder mode value
Parameter
Range:
n
–
0 to 99
x
–
0
-
No program
1 to 16
-
Specific program set to run on start-up
Related Commands: LST, PGM
Example:
6PGS5
|
Axis 6, set program 5 to run on start-up
–
0PGS23
|
All axes, set program 23 to run on start-up
–
3PGS?
|
Axis 3, Read program to run on start-up
–
3PGS0
|
Axis 3, Set no program to run on start-up
Содержание MMC-200 Series
Страница 1: ......