EDH0162En1040 – 06/99
3.178
MM4005
XQ — Read global sample rate
Usage
IMM
PGM
MIP
Syntax
XQ
Parameters
None.
Description
This command reads the global trace acquisition period. This is the period
that will be used to sample the real and desired positions of all motion
devices and store the values in memory.
NOTE
The returned value may differ slightly from the one preset with the SQ
command because it reflects the real clock used for the timer. For that
reason, the sample period is reported with at least 10 decimal points.
Returns
XQnn
nn
—
Real global trace sample period, in seconds.
Errors
S
—
Communication time-out.
Rel. Commands
GQ
—
Set global trace mode.
SQ
—
Set global sample rate.
Example
SQ0.005 |
Set global trace sample period to 5 ms.
GQ1000 |
Enable global trace mode and acquire 1000 samples
.
2PR0.2 |
Start a relative motion on axis #2 and the acquisition process
.
XQ
|
Read the global trace sample period.
XQ0.005003436196
|
Controller returns the real sample rate, in seconds.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com