3.137
EDH0162En1040 – 06/99
MM4005
TQ — Read global trace data
Usage
IMM
PGM
MIP
Syntax
xxTQnn
Parameters
Description
xx
[int]
— Number of samples to read.
nn
[int]
— 0 (or missing) or 1.
Range
xx
—
0
to
number of samples
set by GQ command.
nn
— 0 or 1.
Units
xx
— None.
nn
— None.
Defaults
xx
Missing: 0.
Out of range: Error C.
Floating point: Error A.
nn
Missing: 0.
Out of range: Error C.
Description
This command reads the global trace data stored in global trace mode. The
global trace mode is enabled by GQ command and defined by SQ and GQ
commands.
If
xx
is a number different than 0 and in range, the controller returns the
values for that sample number. If
xx
is 0, the controller returns all samples
stored in the global trace buffer.
If
nn
= 0 or missing, the controller returns the values of theoretical and real
positions stored in the global trace buffer. If
nn
= 1, the controller returns
the values of theoretical and real positions, and in addition, the values of
analog inputs stored in the global trace buffer at the moment of theoretical
and real positions acquisition.
Returns
xxTQ
xxTQ, 1THnn
1
, 1TPnn
2
, 2THnn
3
, 2TPnn
4
, 3THnn
5
, 3TPnn
6
, 4THnn
7
,
4TPnn
8
xxTQ1
xxTQ, 1THnn
1
, 1TPnn
2
, 2THnn
3
, 2TPnn
4
, 3THnn
5
, 3TPnn
6
, 4THnn
7
,
4TPnn
8
, 1RAnn
9
, 2RAnn
10
, 3RAnn
11
, 4RAnn
12
xx
—
Sample number.
nn
1
, nn
3
, nn
5
, nn
7
—
Theoretical position of axes 1, 2, 3 and 4 respectively.
nn
2
, nn
4
, nn
6
, nn
8
—
Actual position of axes 1, 2, 3 and 4 respectively.
nn
9
, nn
10
, nn
11
, nn
12
—
Analog values of inputs 1, 2, 3 and 4 respectively.
NOTE
If xx is set to 0 in the TQ command, all samples are returned (starting
with number 1), each one on a separate line.
Errors
A
—
Unknown message code.
C
—
Parameter out of limits.
D
—
Unauthorized execution.
S
—
Communication time-out.
Rel. Commands
GQ
—
Set global trace mode.
NQ
—
Read global aquisition nr.
SQ
—
Set global sample rate.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com