JVL MAC050 User Manual page 87

Integrated servo motors
Hide thumbs Also See for MAC050:
Table of Contents

Advertisement

2.18
High resolution:
Sample
time
1.0 ms
1.3 ms
2.0 ms
2.6 ms
Note: Only MAC800-1200 in some versions are available with 8000 CPR encoder.
All other motors are with 8192 CPR encoders.
2.18.3
How to enable high resolution velocity
Register 236 - SETUP_BITS
31 30 29 28 27 26 25 24 23 22
Bit 26: Enable/disable high resolution velocity
Value
0 (default)
1
Bit 31 - 27 and Bit 25 - 0: Is used for other purposes - do not overwrite these bits
The general, simple way of using this option is to set bit-26 (value 0x4000000) in register
236, SETUP_BITS, and then Save in Motor.
After a following reset, the target velocity and acceleration registers then work with 64x
higher resolution compared to the default resolution.
For example, to set a velocity of 3000 RPM using a sample time of 1.0 ms and an encoder
resolution of 8000 PPR, set register 5, V_SOLL, to 3000/0.007324218 = 409600 counts.
It is strongly recommended to keep the bit either set or cleared during entire operation
in the application.
If the bit changes when the motor is in an active mode, this will result in corrupted posi-
tions. However, it is possible to change the bit without saving to flash or performing a
reset. This should ONLY be done when the motor is in Passive mode.
One of the consequences of using high-resolution velocity, acceleration is that the inter-
nal position register 8, P_FNC, gets to be a 64-bit value, and will occupy both register
numbers 8 and 9. The INDEX_OFFSET register traditionally in register 9 is then moved
to register 277. It is recommended to avoid writing directly to P_FNC when in high-res-
olution mode, but instead set it indirectly through FastMac commands and Control Bits
that calculate it from other register, like Register 4, P_NEW.
P_FNC is primarily used in relative movements.
Please be aware of marginal rounding differences between classic mode and high-reso-
lution modes. This can mean some applications must be fine-tuned to reach the same
maximum velocity and acceleration.
JVL A/S - User Manual - Integrated Servo Motors MAC050 - 4500
High resolution velocity
Sample
Encoder resolution
frequency
(RPM/count)
Encoder used
8000 CPR
1000 Hz
0.007324218
769.23 Hz
0.005634014
500 Hz
0.003662109
384.61 Hz
0.002817007
21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Function / Influence
High resolution velocity disabled - normal motor function
High resoliution velocity enabled
Encoder used
8192 CPR
0.007152557
0.005501967
0.003576278
0.002750983
TT1601-01GB
83

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents