To narrow down the source, check the following diagnostic bits on the CNC’s page : Fanuc 414 Servo Alarm Z Axis CNC Vertical machine
Does the alarm happen or only when the axis moves ? fanuc 414 servo alarm z axis detect error