Deusch/German  Deutsch

English/Englisch  English

YADRO-Logo

Home

News

What is it?

Using YADRO

In Detail

Downloads

where to buy

Newsletter

links

Contact

DRO for a Lathe

YADRO's DRO is generic. This means it can be used for almost any tool that needs a Digital Read-Out. As the process of writing a configuration file with all of the macros is a bit complicated and complex, a configuration for a lathe is included. When looking at the available functions, the reader has to bear in mind, that the functionality can be easily modified, expanded or reduced. Anyhow, here is my solution that evolved during work with the DRO.

Axis Definition:

There are standards for the definition of the axes of a lathe. Unfortunately, this standard isn't for conventional lathes. So some additions are needed.

Axis Z1 is the travel of the carriage, Z2 is the travel of the compound along the spindle axis and c is the rotation of the compound. To ease the math, axis Z is the addition of Z1 + Z2. A rotated compound also adds to the X-axis (diameter) and adds a smaller part to the Z-value (trigonometry).

enlarge

The configuration file for a lathe displays 4 axes:

  • Radius/Diameter (can be switched)
  • Z or Z1 (can be switched)
  • Z2 (the part along the spindle)
  • Compound travel (along the axis of the compound)

This configuration requires 3 scales. One on the cross slide, one on the carriage and one on the compound.

Standard Functions:

  • -X change sign of X-axis
    Changes the sign of the X-axis
  • -Z1 change sign of Z1-axis
    See -X
  • -Z2 Change sign of Z2-axis
    See -X
  • AA Absolute all
    Sets all axes to absolute mode
  • AX absolute X
    Sets X-axis to absolute display
  • AZ1 absolute Z1
    See AX. If in Z-sum-mode, Z2 is set to absolute mode too.
  • AZ2 absolute Z2
    See AX
  • CR Compound rotation
    Calculates and adds the projected travel of a rotated compound to X and Z. A positive angle is CCW (see picture above).
  • DD Display diameter
    Displays the diameter (double the X-value)
  • DR Display radius
    Displays the X-value (radius)
  • DZS Display Sum Z1 + Z2
    Displays the sum of Z1 and Z2
  • DZP Display Parts Z1, Z2
    Displays Z1 and Z2 as single values
  • OX Offset X by a value (abs/rel)
    Adds a given value to the display. Either to the absolute or the relative value.
  • OZ1 Offset Z1 by a value (abs/rel)
    See OX
  • OZ2 Offset Z2 by a value (abs/rel)
    See OX
  • Prec+1 Increase precision
    Increases the displayed precision. In inch, 4 digits behind the DP. In mm, 3 digits behind DP.
  • PrecN normal precision
    Sets back the precision to the normal value. 2 digits in mm, 3 in inch
  • PX Preset X (abs/rel)
    Sets the display to a given value. In rel. mode, the offset is adjusted so, that the given value is displayed.
  • PZ1 Preset Z1 (abs/rel)
    See PX
  • PZ2 Preset Z2 (abs/rel)
    See PX
  • RA relative all
    Sets all axes to relative mode
  • RX relative X
    Sets X-axis to relative mode
  • RZ1 relative Z1
    See RX
  • RZ2 relative Z2
    See RX
  • SM Switch metric
    Switches to metric (mm) display
  • SI Switch inch
    Switches to inch display
  • ZA Zero all (abs/rel)
    Zeros all axes. In rel. mode, the offset is changed, so that 0 is displayed and the absolute value is untouched
  • ZX Zero X (abs/rel)
    Zeros X-axis. See ZA
  • ZZ1 Zero Z1 (abs/rel)
    See ZX
  • ZZ2 Zero Z2 (abs/rel)
    See ZX
  • {Configuration} Configure AVG-threshold; tool geometry snap (metric/inch)
    Edits the following values
    • AVG-buffer threshold metric/inch
    • tool geometry snap metric/inch

Tool related Functions:

  • #- Switch off tool geometry
    Switches off the selected tool (##00 etc.) and switches off the automatic tool correction
  • #E Edit active tool
    Edits the active tool. Parameters are: X-offset, Z-offset, tool tip radius and tool width
  • #00…#10
    Select tool. The list is currently 11 entries long, but can be easily extended
  • TGC Tool geometry correction
    Asks for the tool's X-offset, Z-offset, tool tip radius and tool width and the snap-value. If the tool is moved twice the snap-distance, the DRO knows on which side (Y- axis) is cutting on and adds/substracts the tool's width.
  • TG- Switch off tool geometry
    Switches off a TGC-command.

Special Functions:

  • ARV Approx. Radius concaVe
    Approximates a radius (starting angle, ending angle, radius, tool tip radius) with a given number of steps

Missing Functions:

Should you need more macros or have written your own macro(s) you would like to share, let me hear. I'll be glad to publish them here or have a link to your home page.