Reference Manual
PMAC 2 Software Reference
252 PMAC On-Line Command Specification
1. The number of entries in the table;
2. The span of the table in counts of the motor.
If there is no table for the addressed motor, PMAC will reject the command (reporting
ERR003 if I6=1 or 3).
Example
LIST TCOMP DEF ; Request def of addressed motor backlash comp table
100,100000 . ; Turbo PMAC responds; 100 entries in table,
; span is 100,000 counts
See Also
Backlash Compensation Tables (Setting Up a Motor)
On-line commands DEFINE TCOMP, DELETE TCOMP, LIST TCOMP
M{constant}
Function
Report the current M-variable value(s).
Scope
Global
Syntax
M{constant}[..{constant}]
where:
• {constant} is an integer from 0 to 1023 representing the number of the M-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 the current value of the specified M-variable or range
of M-variables. It does not cause PMAC to report the definition (address) of the M-
variable(s); that is done with the M{constant}-> command.
Note:
If a motion program buffer (including a rotary buffer) is open when
this command is sent to PMAC it will be entered into the buffer for
later execution, to be interpreted as an M-code subroutine call.
Example
M0 ...................... ; Host asks for value
3548976 .......... ; PMAC’s response
M165
5.75
M1..3
1
0
1
See Also
M-Variables (Computational Features)
On-line commands M{constant}={expression}, M{constant}->
Program commands M{constant}, M{constant}={expression}
M{constant}={expression}
Function
Assign value to M-variable(s).
Scope
Global
Syntax
M{constant}[..{constant}]={expression}
where:
• {constant} is an integer from 0 to 1023 representing the number of the M-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 M-variable(s)