Download User's Manual PROFIBUS-DP
Transcript
Encoder Functions, DPV0 B. Acyclic operation If the measuring range is used to limit the value range of the encoder to a value other than the specified singleturn resolution * 2x, the output position value is limited within the operating range. If rotation of the encoder shaft causes the position value to exceed the maximum value or fall below 0, the encoder indicates the value of the measuring range. See figure below. Example of acyclic scaling: Measuring steps per revolution = 100 Total measuring range = 5000 (number of revolutions: 50) Figure 10 Acyclic scaling 4.4.7 Velocity function The velocity data can be accessed if class 2 32-bit + velocity configuration is used. In this case the input data consists of 32-bit position data plus 16-bit signed velocity data. The velocity value is negative in counterclockwise direction if the code sequence is set to clockwise. If the measured velocity is greater than the value that can be preset for the selected velocity unit, the value is set to 0x7FFF (32768) or 0x8000 (–32768) depending on the direction of shaft rotation. Note: If one of the time-based velocity units is used and scaling is set for the encoder, the velocity calculation is based on the scaled position value. Consequently, the accuracy of the velocity value depends on the scaling set for the encoder. 25