3.119
EDH0162En1040 – 06/99
MM4005
SP — Set trace sample rate
Usage
IMM
PGM
MIP
Syntax
SPnn
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 trace function. Refer to the
trace command TM for the description on how to use the 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 XS command to read the
actual trace sample interval used.
Returns
None.
Errors
C
—
Parameter out of limits.
Rel. Commands
TM
—
Set trace mode.
XS
—
Read trace sample rate.
Example
SP0.002
|
Set trace period to 2 ms.
XS |
Read actual trace period.
XS0.002001374478
|
Controller returns actual trace period.
2TM500 |
Set trace mode for axis #2 and 500 data points.
2PR0.1, WS |
Perform a motion of 0.1 units on axis #2 and wait for stop.
TT |
Read trace data.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com