Skip to content

MachineMotion Python API - v2.1

Compare
Choose a tag to compare
@mlaunier mlaunier released this 12 Sep 14:05
· 128 commits to master since this release

Version 2.1

Date: 2019-09-12

The MachineMotion Python API V2.0 aims at simplifying the interfaces to the digital input / outputs and the encoder position.

Compatibility

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.

Interface changes

Obsoleted interfaces

  • attachControlDevice
  • detachControlDevice
  • readControlDevice
  • writeControlDevice

New interfaces:

  • isIoExpanderAvailable(device)
  • digitalRead(device, pin)
  • digitalWrite(device, pin, value)
  • readEncoderRealtimePosition(device)