EDH0162En1040 – 06/99
3.120
MM4005
SQ — Set global sample rate
Usage
IMM
PGM
MIP
Syntax
SQnn
Parameters
Description
nn
[float]
— Trace sample period.
Range
nn
—
0.0003
to
9
.
Units
nn
— Seconds.
Defaults
nn
Missing: 0.0003.
Out of range: Nearest range limit.
Non-increment: Rounded to nearest increment.
Description
This command sets the sample period for the global trace function. The
global trace mode is similar to the trace mode but it samples all four axes
in the same time. Refer to the global trace command GQ for the description
on how to use the global trace mode.
NOTE
The sampling is done in increments of the servo loop cycle. Since the
servo cycle is not exactly 0.0003 sec, use the XQ command to read the
actual global trace sample interval used.
Returns
None.
Errors
C
—
Parameter out of limits.
Rel. Commands
GQ
—
Set global trace mode.
XQ
—
Read global sample rate.
Example
SQ0.002
|
Set global trace period to 2 ms.
XQ |
Read actual global trace period.
XQ0.002001374478
|
Controller returns actual global trace period.
2GQ500 |
Set global trace mode for axis #2 and 500 data points.
2PR0.1, 3PR0.1, WS |
Perform a motion of 0.1 units on axis #2 and #3 and wait for stop.
TQ |
Read global trace data.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com