CNC KNOWLEDGE

NC Program Check: 3 Smart Check Warning Examples

Practical CNC references

Tool numbers, offsets and machining cycles affect the result. GCode Pilot Smart Check highlights items for review before machining.

The synthetic NC sample below produced 0 ERROR and 3 WARNING. Its warnings concern tool length offset, cycle/tool type and coolant. This result applies to the sample and profile used.

Synthetic test NC sample. Do not run on a CNC machine. F0 is an intentionally abnormal test condition, not a recommended feed.

Smart Check result showing three warnings in the Vietnamese interface
Sample result in the Vietnamese interface. Open the full-size Smart Check result.

Sample NC program

Line numbers include the first comment line: line 7 is G43 H99, line 8 is G98 G84 X10 Y10 Z-4 F0, and line 10 is G1 X15 Z-5. Zero errors reflects the checks performed; it does not establish that a program is safe or complete.

( SYNTHETIC CHECK FIXTURE - DO NOT RUN ON A MACHINE )
O9803
G21 G90 G17
G54
T1 M6
G0 X0 Y0 Z5
G43 H99
G98 G84 X10 Y10 Z-4 F0
G80
G1 X15 Z-5
M30

Warning 1 — H and tool numbers differ

At line 7 compare the called tool with the length-offset table, setup sheet and machine convention. Different H and tool numbers can be intentional. Ask the programmer or setup owner if the intended offset is unclear.

Warning 2 — Check the cycle and tool type

At line 8 compare the intended operation, selected tool and cycle parameters. Consult the target controller manual and verify that the profile reflects the actual setup before changing the program.

Warning 3 — Check coolant

At line 10 compare coolant requirements with the tool, operation, machine commands and surrounding program. A missing command in an excerpt alone does not establish a program error.

Hand off the review

Record decisions, update the appropriate file or setup data and review the final version. Zero errors in this sample does not resolve the three warnings. Results depend on the file and profile. Verify the machine, fixtures and offsets, and use the shop's setup verification, dry run or single-block procedure.

Explore Smart Check

Open the NC preflight checklist