Fanuc Alarm 4507 ILLEGAL COMMAND IN SQUARE
Fanuc Alarm Description
In a square (G87) command, the tool size (P,Q) was set to zero or a negative value, or the blanking length (I, J) was three times larger than the tool size (P, Q) or less. Alternatively, I, J, P, or Q was not specified.