Reference Manual

PMAC 2 Software Reference
280 PMAC On-Line Command Specification
Q{constant}
Function
Report Q-Variable Value
Scope
Coordinate-system specific
Syntax
Q{constant}[..{constant}]
where:
{constant} is an integer from 0 to 1023 representing the number of the Q-variable;
the optional second{constant} must be at least as great as the first {constant} – it
represents the number of the end of the range;
Remarks
This command causes PMAC to report back the present value of the specified Q-variable or
range of Q-variables for the addressed coordinate system.
Example
Q10
35
Q255
-3.4578
Q101..103
0
98.5
-0.333333333
See Also
Q-Variables (Computational Features)
On-line commands I{constant}, M{constant}, P{constant},
Q{constant}={expression}
Q{constant}={expression}
Function
Q-Variable Value Assignment
Scope
Coordinate-system specific
Syntax
Q{constant}[..{constant}]={expression}
where:
{constant} is an integer from 0 to 1023 representing the number of the Q-variable;
the optional second{constant} must be at least as great as the first {constant} – it
represents the number of the end of the range;
{expression} contains the value to be given to the specified Q-variable(s)
Remarks
This command causes PMAC to assign the value of the expression to the specified Q-variable
or range of Q-variables for the addressed coordinate system.
If a motion program buffer is open when this command is sent to PMAC it is entered into the
buffer for later execution.
Example
Q100=2.5
Q1..10=0
See Also
Q-Variables (Computational Features)
On-line commands I{constant}={expression}, M{constant}={expression},
P{constant}={expression}, Q{constant}
Program command Q{constant}={expression}