FANUC PS0004 means the control could not interpret an NC word in the format expected for that instruction. Check that each programmed value has the correct address letter and that the word follows the instruction's syntax. In a custom macro, a missing reserved keyword or a malformed statement can also trigger the alarm.
PS Alarm Classification
PS is the FANUC prefix for program and operation alarms. The 0i-D maintenance manual lists 0004 as ADDRESS NOT FOUND. The 0i-F operation and maintenance handbook lists the same number as INVALID BREAK POINT OF WORDS.
For related alarms, see the FANUC CNC alarm list for 0001–0200.
Checking the NC Word in the Alarmed Block
- Find the block associated with the alarm. Use the block highlighted on the control or record the sequence number shown. Review that block and its surrounding lines.
-
Check each address and value. A basic NC word pairs an address letter with a value. For example,
X25.0attaches the value to the X address. If a value such as25.0appears on its own, check the original program or CAM output to confirm which address was intended. - Check the format expected by the command. Compare the flagged word with the operator's manual for the installed control and the active G code or cycle. If the format error came from CAM, correct the postprocessor output and regenerate the affected code.
When the display shows PS0005 NO DATA AFTER ADDRESS, focus first on whether the address is followed by the required value or expression. FANUC also lists macro syntax errors under both alarm entries.
Checking Custom Macro Syntax
On a macro line, check the keywords and expression structure required by that statement. For a conditional jump, verify the IF condition, the square brackets around the comparison, and the GOTO keyword followed by the intended destination sequence number. Compare the line with the Custom Macro chapter for your control and verify the corrected program before machining.
FANUC Manual References
- B-64305EN/03, FANUC Series 0i/0i Mate-MODEL D Maintenance Manual, Appendix A.1, alarms 0004 and 0005.
- B-64304EN/03, FANUC Series 0i/0i Mate-MODEL D Operator's Manual, section 13.2 on block and word format and section 14.6.3 on conditional branching.
- B-64607EN/01, FANUC Series 0i-MODEL F Operation and Maintenance Handbook, section 8.1.1, alarm 0004.
Help With a Recurring PS0004 Alarm
Have the control model, exact alarm text, and flagged NC or macro block ready when contacting REACO CNC FANUC technical support.