Fanuc · Rigid tapping
Fanuc alarm 200: Illegal S code command
Most often: S missing in the M29 block. First step: write M29 S before G84.
On this page
What it means
In rigid tapping the S value is missing or too high. On 0i-D, 0i-F and the 30i series the same alarm has the number PS0200.
Common causes
- S missing in the M29 block
- Speed above the limit for rigid tapping
How to clear it
- Write M29 S before G84
- Lower the speed
Example
M29
G84 Z-15. R5. F500.M29 S400
G84 Z-15. R5. F500. (M8X1.25)Before you continue: If the tap is still in the hole, do not move X or Y and do not switch the machine off at once. Many controls have a rigid tap recovery function. Look it up in the machine manual first.
Tools that help
Related codes
Same group: rigid tapping
- Fanuc alarm 201: Feedrate not found in rigid tap
- Fanuc alarm 203: Program miss at rigid tapping
- Fanuc alarm 740: Rigid tap alarm: excess error
Number and message follow the Fanuc 0i, 16, 18 and 21 series. Wording can differ a little between models. Alarms from 1000 upwards and messages from 2000 upwards come from the machine builder in most cases: look in the manual of the machine, not of the control. Fanuc and Grbl are names of their owners. This site is independent.
The alarm comes back?
Post the block before the alarm, your control model and what you have checked.
Ask the community