/
Save G-code

Save G-code

Use this command to save a piece of G-code to PMC.

See also: G-code

Fieldbus Interface

PMC_GCode_SaveGCode

Name

Data Type

Description

Name

Data Type

Description

Execute

BOOL

GCodeID

USINT

nBytes

DINT

The size of the G-code file in bytes

Bytes

SINT[0..199999]

The byte array to store the G-code

PM_Controller

PMControllerType

Name

Data Type

Description

Name

Data Type

Description

Done

BOOL

Busy

BOOL

Aborted

BOOL

Error

BOOL

ErrorID

UINT

Ethernet Interface 

PMCRTN SaveGCode(int gcodeID, string gcodeText)

Name

Type

Description

Name

Type

Description

gcodeID

int

gcodeText

string

A G-code file parsed into string

Name

Type

Description

Name

Type

Description

PMCRTN

PMCRTN enum

Conditions

Operating Conditions

Operating Conditions

Preconditions

None

Postconditions

The G-code is saved to PMC with the specified ID

Description

Use this command to save a piece of G-code to PMC. 

See also: G-code

 

 

Feedback and Comments

Please email us at tech.portal@planarmotor.com