PMAC Product Guide 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. 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. Examples: Q10 35 Q255 -3.4578 Q101..103 0 98.5 -0.333333333 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-Variables. 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. Examples: Q100=2.5 Q1..10=0 R Function : Run Motion Program Scope :
Coordinate-system specific Syntax : R This command causes the addressed PMAC coordinate system to start continuous execution of the motion program addressed by the coordinate system’s program counter from the location of the program counter. Alternately, it will restore operation after a \ or H command has been issued (even if a program was or is not running). Addressing of the program counter is done initially using the B{constant} command. The coordinate system must be in a proper condition in order for PMAC to accept this command. Otherwise PMAC will reject this command with an error; if I6 is 1 or 3, it will report the error number.
The following conditions can cause PMAC to reject this command (also listed are the remedies): 188 Online Commands