TMC 188/40 Motion Control Module
Appendix C: QSBX/40 Module
Delta Computer Systems, Inc. 360/254-8688
89
TMC 188/40-(T)Q Parameter Changes
The definition and use of several initialization parameters have been changed to work with quadrature
encoders. Axes using magnetostrictive transducers are not affected.
DIRECTION
(Default: 0)
The DIRECTION parameter must be set to zero (positive direction).
Reverse the A and B
quadrature signals and the drive output leads to reverse the direction.
SCALE
(Default: 1000; 512 minimum, 65535 maximum)
When a quadrature input is selected, this field is interpreted as quadrature encoder counts per 1000
position or angle units. A SCALE of 5000 means 5 encoder counts will yield 1 position unit. Since
the Programmable Controller is limited to 16 bit numbers (0-65535), SCALE is used to determine
the system's usable resolution. (The larger the SCALE parameter, the lower the usable resolution.)
The ratio of SCALE to the system's mechanical resolution determines the units of measurement
used. The following examples illustrate how the SCALE parameter is used.
Terms:
PPR = Pulses Per Revolution is the number of lines on the quadrature encoder disk.
Mechanical Resolution = Number of quadrature encoder counts per inch (or centimeter,
turn, etc.)
Unit of measurement = Result of scaling the quadrature encoder counts - usually 0.001 inch,
0.1 mm, 0.1 degree., etc.
Usable resolution = Number of Units of measurement per inch (or centimeter, turn, etc.)
Example 1
1,000 PPR quadrature encoder (4,000 quadrature encoder counts per 1 revolution)
Lead screw ratio = 1 inch of travel per revolution
Mechanical resolution = 4,000 counts per inch
Total travel = 10 inches
Maximum quadrature encoder counts = 40,000 (10 x 4,000)
Option 1
SCALE = 4,000
Unit of measurement = 0.001 inch
Usable resolution = 1,000 parts per inch
Option 2
SCALE = 1,000
Units of measurement = 0.00025 inches (SCALE / mechanical resolution/1000)
Usable resolution = 4,000 parts per inch
NOTE:
A SCALE of 800 could be used, resulting in a unit of measurement of 0.0002 inches and a
usable resolution of 5,000 parts per inch. This increased resolution may be helpful
conceptually, but the real system resolution is still limited to the 4,000 parts per inch of the
mechanical system.