
axismd.ai
FANUC Controller
Program/G-code · Intermediate · 5-30 minutes
Fanuc 237 - Illegal command in gentle start
Alarm 237 occurs when the CNC detects an incompatible or illegal G-code command during the gentle start (soft start) acceleration phase. Gentle start is a special motion control feature that requires specific motion commands, and certain G-codes, auxiliary functions, or parameter changes are not permitted during this phase. This typically happens when M-codes, tool changes, or non-motion commands are programmed during gentle start acceleration or deceleration blocks.
Fanuc 237 - Illegal command in gentle start
ILLEGAL COMMAND IN GENTLE START
Fanuc PS program alarm 237: ILLEGAL COMMAND IN GENTLE START. This alarm is triggered by an illegal or incorrectly formatted command in the part program, or a programming condition that the Fanuc control cannot execute.
Root Cause Summary
Alarm 237 occurs when the CNC detects an incompatible or illegal G-code command during the gentle start (soft start) acceleration phase. Gentle start is a special motion control feature that requires specific motion commands, and certain G-codes, auxiliary functions, or parameter changes are not permitted during this phase. This typically happens when M-codes, tool changes, or non-motion commands are programmed during gentle start acceleration or deceleration blocks.
Safety
Causes and Fixes
Review the program block where the alarm occurred and identify any M-codes, T-codes, S-codes, or H/D offset changes in the gentle start section.
Move all auxiliary functions (M-codes, tool changes, spindle commands) to separate blocks before or after the gentle start motion blocks.
Verify gentle start parameters (typically 1620-1625) are properly configured and check parameter 1620 bit settings for enabled gentle start axes.
Modifying parameters requires proper authorization and documentation.
Test the modified program in single block mode to confirm smooth execution through the gentle start zone without alarm recurrence.
Seeing Multiple Alarms?
Seeing another alarm with this one? Enter the code.
AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.
Start freeWas this guide helpful?
Always verify with your machine manual or a certified technician before performing service procedures.