The MachineMotion Python API V2.0 aims at simplifying the interfaces to the digital input / outputs and the encoder position.
The Python API V2 requires MachineMotion version V1.12 or newer.
Please use mm-python-api V1.6.7 for prior version of MachineMotion software.
- Obsoleted interfaces
- attachControlDevice
- dettachControlDevice
- readControlDevice
- writecontrolDevice
- New interfaces:
- isIoExpanderAvailable(device)
- digitalRead(device, pin)
- digitalWrite(device, pin, value)
- readEncoderRealtimePosition(device)
Date: July 16th, 2019
- Added support for Python3 and Python2.
- Updated the REAMDME to include the new MQTT library dependency.
Date: July 4th 2019
- Fix distance of movement smaller then requested on linear axis.
- All examples import statement are now version independant.
Date: June 4th 2019
- Fix Line Number mismatch with the help of the 'resend' message
- Fix application hang on termination
- Support for the rotatory indexer with constants for mechanical gain.
- Added more examples for each sensor port for the different control devices functions.
- Auto reconnect on connection loss
- Instead of starting a new thread each 0.1 seconds, we now start one thread at the beginning and keep it alive forever to receive messages from the server