5 Adjustments5.1.4 Safety Precautions on Adjustment of Servo Gains5-85.1.4 Safety Precautions on Adjustment of Servo GainsSet the following protective functions of the SERVOPACK to the correct settings before starting to adjust theservo gains.(1) Overtravel FunctionSet the overtravel function. For details on how to set the overtravel function, refer to 4.2.3 Overtravel.(2) Torque LimitThe torque limit calculates the torque required to operate the machine and sets the torque limits so that the out-put torque will not be greater than required. Setting torque limits can reduce the amount of shock applied tothe machine when troubles occur, such as collisions or interference. If a torque limit is set lower than the valuethat is needed for operation, overshooting or vibration can be occurred.For details, refer to 4.4 Limiting Torque.(3) Excessive Position Error Alarm LevelThe excessive position error alarm is a protective function that will be enabled when the SERVOPACK is usedin position control.If this alarm level is set to a suitable value, the SERVOPACK will detect an excessive position error and willstop the servomotor if the servomotor does not operate according to the reference. The position error indicatesthe difference between the position reference value and the actual motor position.The position error can be calculated from the position loop gain (Pn102) and the motor speed with the follow-ing equation.• Excessive Position Error Alarm Level (Pn520 [1 reference unit])∗1. Refer to 4.2.4 Electronic Gear.∗2. When model following control is enabled (Pn140 is set to n.1), use the set value of Pn141 and not that ofPn102.∗3. To check the Pn102 setting, change the parameter display setting to display all parameters (Pn00B.0 = 1).∗4. At the end of the equation, a coefficient is shown as "× (1.2 to 2)." This coefficient is used to add a margin that pre-vents a position error overflow alarm (A.d00) from occurring in actual operation of the servomotor.Set the level to a value that satisfies these equations, and no position error overflow alarm (A.d00) will be gen-erated during normal operation. The servomotor will be stopped, however, if it does not operate according tothe reference and the SERVOPACK detects an excessive position error.The following example outlines how the maximum limit for position deviation is calculated. These conditionsapply.• Maximum speed = 6000• Encoder resolution = 1048576 (20 bits)• Pn102 = 400•Under these conditions, the following equation is used to calculate the maximum limit (Pn520).CAUTION• If adjusting the servo gains, observe the following precautions.• Do not touch the rotating section of the servomotor while power is being supplied to the motor.• Before starting the servomotor, make sure that the SERVOPACK can come to an emergency stop at any time.• Make sure that a trial operation has been performed without any trouble.• Install a safety brake on the machine.Position Error [reference unit] = Motor Speed [min ]-160Encoder Resolution*1Pn102 [0.1/s]/10*2, *3Pn210Pn20ERotationPn520 > × × × (1.2 to 2)*4Max. Motor Speed [min ]-160Encoder Resolution*1Pn102 [0.1/s]/10*2, *3Pn210Pn20ERotationPn210Pn20E11=