Back to top

Reading of AKD axes position by Python and Raspberry Pi 3 Modell B

Nothing to do into any AKD drive, the minimum request is to set up different IP addresses.

Install Python into Raspberry and a Python editor as Thonny.

Get and install Modbus TCP functions:

sudo pip3 install pyModbusTCP for Raspbian

Refer to for more information.


In this example the AKD drive addresses are, and

ADDR_PL_FB is the Modbus address of the parameter PL.FB, axis position.

This is the very simple code:


Run the project. The output will be: