If the motor is genuinely overheating (not a sensor issue), calculate your duty cycle. Fanuc motors are rated for specific duty cycles —typically S1 (continuous) or S3 (intermittent). If your actual duty cycle exceeds the rating, you need either a larger motor or a longer cooling period between cycles. Parameter 2086 sets the thermal time constant.