Using Comments in Anilam CNC Programs
Comments in Anilam Programs
In Anilam CNC programmer can use an asterisk (*) to make comments within a Program Listing or to mask all or part of a block from the CNC.
When an asterisk is placed before a string of text, the CNC ignores all the text to the right.
Program Examples
Example 1
*N20 G1 X5 Z6 N30 …
CNC ignores the entire block. The next block is executed.
Example 2
N20 G1 *X5 Z6 N21 …
CNC activates Linear Interpolation (G1). Then, programmed move to X5 Z6 is ignored.
The next block is executed.
Example 3
N10 G70 G90 G0 X0 Z0 T0 N20 T1 *FACE/TURN TOOL
Block N20 activates Tool #1. The comment contains the type of tool used.
CNC Machine
- CNC Optional Block Skip: Efficiently Omit or Delete Program Blocks for Precise Control
- Fanuc CNC Programming Guide: A Simple, Feature‑Rich Example
- Understanding CNC M-Code M00: Safely Halting Program Execution
- Comprehensive CNC Milling Sample Program – G-Code Tutorial & Explanation
- Understanding CNC Program Blocks: A Comprehensive Guide
- Master CNC Programming: A Beginner’s Guide to Fanuc Controls
- First CNC Program: Step-by-Step CNC Machining Guide
- Heidenhain CNC Milling Program: Precision Toolpath for Efficient Manufacturing
- CNC Milling Program: Mastering Multiple Arc Interpolations with G2/G3 I & J Parameters
- Example CNC Program: Selca Profile – Step-by-Step Guide