Reference Manual

PMAC 2 Software Reference
PMAC On-Line Command Specification 245
The LIST COMP DEF command should be used to report the header information for this
table.
If there is no table for the addressed motor, PMAC will reject the command (reporting
ERR003 if I6=1 or 3).
The compensation table “belonging” to this motor may not affect this motor’s position or be
affected by it
Example
LIST COMP...... ; Request contents of compensation table
9 17 -3 6 35 87 65 24 18 -9 -16 -34 ; PMAC responds
-7 12 -3 -8 32 44 16 0 -20 -5 0 ; Continued response
See Also
Leadscrew Compensation Tables (Setting Up a Motor)
On-line commands DEFINE COMP, DELETE COMP, LIST COMP DEF
LIST COMP DEF
Function
List definition of addressed motor’s compensation table
Scope
Motor specific
Syntax
LIST COMP DEF
Remarks
This command causes PMAC to report to the host the definition of the compensation table
that belongs to the addressed motor. The definition reported consists of the four items
established in the DEFINE COMP command that set up the motor (even if some of those
items were not specified explicitly):
1. The number of entries in the table (number of rows and number of columns for a two-
dimensional table)
2. The number of the motor whose position provides the source data for the table (both
source motors for a two-dimensional table)
3. The number of the motor whose position is modified by the table
4. The span of the table in counts of the source motor (in both dimensions for a two-
dimensional table)
Note:
If there is no table for the addressed motor, PMAC will reject the
command (reporting ERR003 if I6=1 or 3).
Note:
The compensation table “belonging” to this motor may not affect this
motor’s position or be affected by it
Example
LIST COMP DEF ; Request definition of compensation table
100,#2,#2,100000 ; PMAC responds; 100 entries in table,
........................... ; Motor 2 is source and target, span is 100,000
........................... ; counts
#3 LIST COMP DEF ; Request def of comp table belonging to Motor 3
10,20,#4,#5,#6,50000,100000 ; PMAC responds
........................... ; A 2D 10x20 table, span of 50Kx100K counts
; #4 & #5 as source, #6 as target
See Also
Leadscrew Compensation Tables (Setting Up a Motor)
On-line commands DEFINE COMP, DELETE COMP, LIST COMP