Skip to content
/ MIP0505 Public

python class for Midi Ingenierie MIP0505 stepper motor driver

Notifications You must be signed in to change notification settings

ena63/MIP0505

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

MIP0505

python class for Midi Ingenierie MIP0505 stepper motor driver

Logo Midi

MIP0505 class is a wrapper of python minimalmodbus module customized for easy implementation with MIP0505 drivers

France Some comments are in french. Translation will be done later.

The provided code is for informational purposes only. We are not liable for any malfunctions or issues resulting from its use.

Additional resources

Midi Ingenierie

Minimalmodbus

Typical usage

import MIP0505

mip = MIP0505(portCOM='COM2',modbusAddress=1)

# --- Example reading registers ---
alim = mip.read('SUPPLY_VOLTAGE')
print(f"Supply voltage: {alim/100}V")
stat = mip.read('STATUS_MOTOR')
print(f"Status Register: 0x{stat:08x}")

# --- Example writing registers ---
mip.write('PROFILE_VELOCITY',2400)
mip.write('TARGET_POSITION_ABS',-290579)

About

python class for Midi Ingenierie MIP0505 stepper motor driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages