zarfld / LinuxCnc_PokeysLibComp

Pokeys comp for LinuxCnc using https://bitbucket.org/mbosnak/pokeyslib.git
MIT License
5 stars 0 forks source link

Verify Compatibility of `pokeys_homecomp.comp` with `pokeys.comp` #24

Open zarfld opened 2 days ago

zarfld commented 2 days ago

Issue: Verify Compatibility of pokeys_homecomp.comp with pokeys.comp

Summary

The newly defined interface for the custom homing component pokeys_homecomp.comp needs to be verified for compatibility with the existing pokeys.comp. This includes checking the pin mappings and parameters, and ensuring the pokeys.comp follows the canonical interface for homing that is outlined in the pokeys_homecomp.comp.

Task Details

  1. Interface Check:

    • Verify that the defined pin structure in pokeys_homecomp.comp is compatible with pokeys.comp.
    • Ensure the following pins are correctly mapped in pokeys.comp:
      • devSerial
      • PulseEngineState
      • homing
      • homed
      • home_state
      • index_enable
      • PEv2_AxesState
      • PEv2_AxesCommand
      • PEv2_AxesConfig
      • PEv2_AxesSwitchConfig
      • PEv2_HomingSpeed
      • PEv2_HomingReturnSpeed
      • PEv2_HomingAlgorithm
      • PEv2_HomeOffsets
      • PEv2_HomeBackOffDistance
  2. Homing Procedure:

    • Ensure that the homing state machine in pokeys_homecomp.comp can be accurately reflected in pokeys.comp without any conflicts or missing states.
  3. Compatibility with PoKeys Devices:

    • Verify that the existing PoKeys components in pokeys.comp can handle the new homing parameters and state information being introduced by pokeys_homecomp.comp.
  4. Pin and Parameter Handling:

    • Check if the relevant pins from pokeys_homecomp.comp are being handled by pokeys.comp and if there are any missing functionalities.
    • Update pokeys.comp if necessary to match the new interface structure defined by the homing component.
  5. Verify Hal File Configuration:

    • Review the DM542_XXYZ_mill/pokeys_homing.hal file to ensure the correct pin linking of the custom homing component to the PoKeys devices.
    • Ensure that the linking follows the expected behavior for homing as defined in both pokeys_homecomp.comp and pokeys.comp.

Reference Files

Expected Outcome

Related Links

zarfld commented 2 days ago

pokeys.comp was split to seperate parts in pokeys_userspace folder