3.21
EDH0162En1040 – 06/99
MM4005
AQ — Axis positions acquisition
Usage
IMM
PGM
MIP
Syntax
xxAQnn
Parameters
Description
xx
[int]
— Axis number.
nn
[int]
— Integer value.
Range
xx
—
1
to
4.
nn
—
0
or
1
.
Units
xx
— None.
nn
— None.
Defaults
xx
Missing: 0.
Out of range: Error B.
Floating point: Error A.
nn
Missing: 0.
Out of range: Error C.
Description
This command records the actual position of:
• If
xx
= 0: all axis and analog inputs in the global trace buffer at the buffer
actual pointer position.
• If
xx
= 1 to 4: the actual position of axis #
xx
in the axis trace buffer at
the buffer actual pointer position.
The buffer actual pointer position is incremented of 1. To set the global
trace buffer actual pointer position to zero, use GQ0. To set the axis trace
buffer actual pointer position to zero, use TM0.
If
nn
= 1: this command generates one pulse at output on pin 12 (if
xx
= 0),
or pin 11 (if
xx
= 1 to 4), of the 25-pin auxiliary connector, at the moment of
command execution.
NOTE
xx = 0:
If the global acquisition mode is active (GQnn command with
nn
≠
0), this command will desactive this mode.
xx
≠
0:
If the axis acquisition mode is active (TMnn command with
nn
≠
0), this command will desactive this mode.
Returns
None.
Errors
A
—
Unknown message code.
B
—
Incorrect axis number.
C
—
Parameter out of limits.
Rel. Commands
GQ
—
Set global trace mode.
Example
GQ0 |
Initialisation of global trace buffer.
NT, FA90 |
Initialisation of trajectory.
CR10, CA 5 |
Element 1.
CA350 |
Element 2.
CA5 |
Element 3.
VV5 |
Set trajectory velocity to 5 units/sec.
ET |
Displacement with generation of pulses.
WN2,
AQ
|
At the beginning of element 2, axis positions are enregistred without
synchronization pulse.
WN3,
AQ1
|
At the beginning of element 3, axis position are enregistred with a
synchronization pulse.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com