CNC Programming

CNC | C | C++ | Assembly | Python | R | Rust | Arduino | Solidworks | Embedded Systems

G47 - ENGRAVE SEQUENTIAL SERIAL NUMBER

Table Of Contents:
  1. G-code Table
  2. G00 - Rapid Linear Motion
  3. G01 - Linear Motion at Feed Rate
  4. G02 and G03 - Arc at Feed Rate
  5. G04 - Dwell
  6. G10 - Coordinate System Data Tool and Work Offset Tables
  7. G17, G18 and G19 - Plane Selection
  8. G20 and G21 - Length Units
  9. G28 and G30 - Return to Home
  10. G28.1 - Reference Axes
  11. G40, G41 and G42 - Cutter Radius Compensation
  12. G43, G44 and G49 - Tool Length Offsets
  13. G47 - Engrave Sequential Serial Number
  14. G53 - Move in Absolute Coordinates
  15. G54 to G59 and G59 P~ - Select Work Offset Coordinate System
  16. G61 and G64 - Set Path Control Mode
  17. G73 - Canned Cycle - High Speed Peck Drill
  18. G80 - Cancel Modal Motion
  19. G81 to G89 - Canned Cycles
  20. G90 and G91 - Distance Mode
  21. G92, G92.1, G92.2 and G92.3 - G92 Offsets
  22. G93, G94 and G95 - Set Path Control Mode
  23. G98 and G99 - Canned Cycle Return Level 
Details:
To engrave a serial number, either alone or added to the end of any desired text, program: Z~ R~ X~ Y~ P~ Q~ D~
WordDefinition
Z~The depth of cut of the engraving.
R~The retract height between character segments in the numbers.
X~If present, specifies the starting ‘X’ position, or the left side of the serial number. If omitted, the current X position is assumed.
Y~If present, specifies the starting ‘Y’ position, or the bottom side of the serial number. If omitted, the current Y position is assumed.
P~If present, is the ‘X’ extent (width) in current units (inches or millimeters) of the engraved number.
Q~If present, is the ‘Y’ extent (height) in current units (inches or millimeters) of the engraved number.
D~If present, is the requested number of decimals of the engraved number. If the requested D value exceeds the number of decimals in the serial number, the serial number will show leading zeros. If the requested D value is less than the number of decimals in the serial number, only the digits of the serial number will show. For example: a serial number of 10 where D = 4 engraves as 0010; a serial number of 9056 where D = 3 engraves as 9056.
It is an error if:
  • Cutter Compensation is on
  • The Z number is unspecified
  • The R number is unspecified
  • The Z number is greater than the R number
  • The P number is too small (determined by the font used)
  • The Q number is too small (determined by the font used)

logoblog

No comments:

Post a Comment