Skip to main content
blog | Key Tips on Dealing with 64-bit data on Modbus Communications Devices that only Support 32-bit data |
|
2 minute read

AKD servo driveMost of the AKD drive's parameters have a 32-bit data size, but some parameters have a 64-bit data size. Modbus communication on the AKD drive uses registers of a 16-bit data size. So for a 64-bit parameter, it takes four registers to send the data over Modbus.

There are many devices, including PLC's, HMI's, and PC programs that do not handle a 64-bit data size. So what can be done to read and write 64-bit values when working with Modbus and a device that only supports 32-bit values?

There are two approaches to limiting a 64-bit value to 32 bits. One is to simply not use the two upper registers. The other method is to use the Modbus addresses specifically made to be 32-bit versions of the 64-bit parameters.

In many cases, the position scaling can be set in such a way that the position values, such as PL.FB, will not exceed 32 bits. For example, if you set the position scaling to 10000 counts per motor revolution, then it would take 429,496 motor revolutions to fill up the 32-bit position value. If you never move the motor that far, then you will never use the upper two registers of the 64-bit position value.

For any parameter that may have a negative value, the sign bit is contained in the upper most 16-bit register. So if you choose to limit a 64-bit parameter to a 32-bit value by not using the upper two registers, then you will be eliminating the sign bit and the value will not be allowed to be negative. Just like you can use only the lower two registers of a 64-bit parameter to make it a 32-bit value, you can also just use the lowest 16-bit register of any parameter, whether 64-bit or 32-bit. There are many AKD parameters with values that never exceed 16 bits and always have a positive value.

The order of the Modbus registers is important. For the AKD drive, the Modbus address number is the address of the upper most register. Again with PL.FB, the address is 588, which is the address of the most significant register of that parameter. Register 591 is the lowest, or least significant, register. So keep in mind which registers you want to read or write to when using only a portion of the parameter data size. Registers 590 and 591 are the lower two registers (32 bits) of PL.FB. Modbus

The second method is to use the Modbus addresses that are remapped from 64-bit to 32-bit. For example, Modbus address 588 is for PL.FB and is four Modbus registers (588, 589, 590, and 591). Modbus address 2072 is for PL.FB as a 32bit data size, including the sign bit. It is two Modbus registers.

Consult an Expert

AKD Servo Drive

AKD® Series is a proven perfomer, supporting the largest customer installed base, and offers:

  • Industry leading motion control loops
  • Extensive motor feedback and drive fieldbus support including EtherCAT, EtherNet/IP, Profinet RT, etc.
  • Plug-and-play with Kollmorgen motors
  • WorkBench GUI, acclaimed for customer experience and usability
Learn More

Engineer the Exceptional

Learn how to engineer exceptional machines, robots and vehicles with the highest-performing, most reliable motors, drives, automation solutions and more.

Learn More

Related Resources

Adjusting Standard Motion Profiles to Optimize Operating Speed and Time >

| 11 a.m. ET
Adjusting Standard Motion Profiles to Optimize Operating Speed and Time: Learn more about simple profile adjustments that can preserve motion, move time and provide memorable profiles.​​​​

Accelerating the Development of Next-Generation Prostheses and Exoskeletons >

Learn how Kollmorgen servo technology is helping OEMs accelerate the design of next-generation prostheses and exoskeletons.
Direct Drive Technology Increases the Speed and Quality of Electric Vehicle Lithium-Ion Battery Production

Direct Drive Technology Increases the Speed and Quality of Electric Vehicle Lithium-Ion Battery Production  >

One important stage in manufacturing lithium-ion batteries for electric vehicles is seal-welding the positive-terminal top cap to the battery shell. Laser welding is the ideal technology for this purpose, but it requires precise motion, speed and…

Stop, hold and go safely: Motion tuning for vertical loads >

When designing motion for applications such as vertical gantries and hoists, you need to take special care to ensure operator safety and operational efficiency. Let’s discuss best practices for meeting the particular challenges involved.

5 Key Reasons to Consider an Upgrade to AKD2G Servo Drives >

Advances in processor technology for servo drives continue to expand the features and capabilities they offer. Choosing a new drive or control system over an existing system ultimately depends on the application requirements. The AKD2G servo drive…

What are the basic elements of a servo system? >

Working with motion control experts like Kollmorgen makes selecting a servo system easier and faster, resulting in an optimal system for the application.
AKD Webinar Part A

AKD Mentor Sessions: How to Set Up Your AKD for Success & Advanced Motion With AKD >

If you have some experience with AKD servo drives, but want to gain more expertise through a guided setup, this webinar is for you. Learn best practices across all the key steps of setup, with the opportunity to ask our motion experts any specific…

Bandwidth, Gain and Phase Margin in Servo Systems: What is Phase Margin? >

Phase margin is a measurement in the frequency domain, taken from a Bode plot, that calculates the amount of phase lag above -180 degrees at the point on the amplitude plot that crosses 0dB (gain cross over frequency).

How to Select a Servo Drive >

A servo drive should be selected based on the specific servo motor used in the application. Find out ho to select a servo drive for your application.