
axismd.ai
FANUC Controller
Program/G-code · Basic · 5 minutes
Fanuc Alarm PS006 - Sign Error
PS006 alarm occurs when the CNC detects a minus sign (-) used with an address code that does not accept negative values, or when multiple minus signs appear consecutively in a program block. This is a program syntax error detected during program execution or background edit check, commonly caused by incorrect G-code syntax or improper sign usage on addresses like T, M, S, H, or D codes.
Fanuc Alarm PS006 - Sign Error
ILLEGAL USE OF MINUS SIGN
Minus sign used incorrectly - either after an address that does not allow negative values, or multiple minus signs.
Root Cause Summary
PS006 alarm occurs when the CNC detects a minus sign (-) used with an address code that does not accept negative values, or when multiple minus signs appear consecutively in a program block. This is a program syntax error detected during program execution or background edit check, commonly caused by incorrect G-code syntax or improper sign usage on addresses like T, M, S, H, or D codes.
Safety
Causes and Fixes
Press ALARM button and note the program number, block number (N-number), and sequence displayed on the alarm screen. Record the exact block causing PS006.
Press EDIT or PRGRM soft key, navigate to the flagged program and block. Search for minus signs (-) adjacent to address codes T, M, S, H, D, G, or second auxiliary function codes.
Remove the minus sign from the invalid address. Common errors: T-01 should be T01, M-30 should be M30, S-1000 should be S1000, H-01 should be H01, D-01 should be D01.
Reset alarm (RESET key), re-run the program from a safe position using single block mode (SBL button) to verify correction.
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.