Skip to content

Allow outputs to have different message formats #210

Description

@Yoooi0

Rework "Device" settings tab to only define MFP internal axes (no value precision).

Add ability to define message format with MFP axis name, target value, move duration variables.
How to make the computation fast? Expressions? Or just CompositeFormat but cant have any logic. Allow switching between fast or slow types? StepCount for rounding MFP axis value to output value (kinda like precision)?
Allow message format per MFP axis or one for all.
Add default TCode formats.

In outputs allow selecting output format, default to TCode.
What to do with update context?

Also resolves #147 since you could add multiple MFP axes that output same TCode axis message.

Outputs that can support this:

Activity

  1. self-assigned this
    on Jun 14, 2025
  2. Yoooi0 commented on Aug 12, 2025

    @Yoooi0
    OwnerAuthor

    Yea unfortunately I have a particular way of segmenting code, a lot of features could be easily implemented but I don't like when code accesses too much or does not belong somewhere.

    I think shortcuts/actions etc. should be in some kind of websocket remote control api. Probably can just put it in a tab in settings.
    Device axis value input should ideally be done after #121, supporting TCP/UDP/websocket/serial/mqtt/pipe. Basically mirroring the current outputs. Alternatively it could be put into the remote control api if #121 is not implemented.
    And mqtt output can be easily added once this is implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions