Breadcrumbs

Run G-code

Use this command to run a specific piece of G-code saved in PMC.

See also: G-code

image-20240925-205842.png

Fieldbus Interface

PMC_GCode_RunGCode

Inputs

Name

Data Type

Description

Execute

BOOL

cmdLB

UINT

GCodeID

USINT

XbotID

USINT

PM_Controller

PMControllerType

Outputs

Name

Data Type

Description

Ack

BOOL

Done

BOOL

Busy

BOOL

Aborted

BOOL

Error

BOOL

ErrorID

UINT

Ethernet Interface 

PMCRTN RunGCode(ushort cmdLabel, int xbotID, int gCodeID)

Parameters

Name

Type

Description

cmdLabel

ushort

xbotID

int


gCodeID

int


Returns

Name

Type

Description

PMCRTN

PMCRTN enum

Conditions

Operating Conditions

Preconditions

None

Postconditions

The specified G-code is ran on a specific XBot

Description

Use this command to run a specific piece of G-code saved in PMC.

See also: G-code