Skip to content

G80 returns from canned cycle #21

@swinman

Description

@swinman

G80 is a return from a can cycle.. there is nothing wrong with the following (from the perspective of a machine)

strs = ['G0 G90 X0 Y0', 'S100 M3', 'G81 Z0 F100', 'G80', 'X1 Y1']
m = Machine()
for s in strs: m.process_str(s)

but running the above causes the error:

MachineInvalidState: modal parameters 'X1 Y1' cannot be assigned when in mode: <Mode: G17 G90 G91.1 G94 G21 G40 G49 G54 G61 G97 M3 M9 F100 S100 T0>

The mode when this comes out of the can cycle (with G80) should be G0 -- so the X1 Y1 command should cause the machine to rapid to X1 Y1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions