Skip to content

Add M400 #2

Description

@JAlom-sketch

@bingzhang and I confirmed that M400 could rectify the synchronization error between the tools and the Lulzbot printer.

The issue is that once the printer receives any motion command, it returns an "ok" message to indicate that it received the command. However this received message indicates to PCP3 that the tool must then change to the next value, even if the current motion step has not finished. What we need to do is suppress the received ok message and only send ok once the current motion step has completed.

We believe M400 could solve this issue since M400 will only send ok once all commands in the printer queue have finished. We think M400 could work as long as we send it prior to any motion commands.

axis.sendCmd("M400")
axis.move("G0 X5 Y4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions