Table of Contents

Class SyntecParameterTable

Namespace
Hi.NcParsers.Dependencys.Syntec
Assembly
HiMech.dll

Syntec controller parameter table. Stores system parameters (single value) and axis parameters (per-axis value) following Syntec Pr-prefixed parameter numbering.

Syntec is largely Fanuc-compatible in parameter numbering, but some parameters differ in unit or interpretation. For example, Pr4002 (peck retraction) is stored in microns whereas Fanuc #4002 stores in mm.

public class SyntecParameterTable : ControllerParameterTableBase, IHomeMcConfig, IMachineAxisConfig, IRapidFeedrateConfig, ICannedCycleConfig, INcDependency, IMakeXmlSource
Inheritance
SyntecParameterTable
Implements
Inherited Members
Extension Methods

Remarks

CutterCompensationType is shared with Fanuc because both follow the same ISO cutter compensation standard. Consider relocating to the shared Hi.NcParsers.Dependencys namespace if more brands need it.

Constructors

SyntecParameterTable()

public SyntecParameterTable()

SyntecParameterTable(XElement)

public SyntecParameterTable(XElement src)

Parameters

src XElement

Fields

PrAxisType

Pr1006: Axis type per axis. See AxisType.

public const int PrAxisType = 1006

Field Value

int

PrControlledAxes

Pr1020: Number of controlled axes.

public const int PrControlledAxes = 1020

Field Value

int

PrCutterCompType

Pr5003: Cutter compensation startup type. See CutterCompensationType.

public const int PrCutterCompType = 5003

Field Value

int

PrMaxSpindleSpeed

Pr3741: Maximum spindle speed (RPM).

public const int PrMaxSpindleSpeed = 3741

Field Value

int

PrPeckRetraction

Pr4002: G83 peck drilling retraction distance (microns). Syntec stores this value in microns; convert ×0.001 for mm.

public const int PrPeckRetraction = 4002

Field Value

int

PrRapidRate

Pr1420: Rapid traverse rate per axis (mm/min or deg/min).

public const int PrRapidRate = 1420

Field Value

int

PrReferencePosition

Pr1240: G28 first reference position per axis.

public const int PrReferencePosition = 1240

Field Value

int

PrStrokeLimitNeg

Pr1320: Negative stroke limit per axis (mm or deg).

public const int PrStrokeLimitNeg = 1320

Field Value

int

PrStrokeLimitPos

Pr1300: Positive stroke limit per axis (mm or deg).

public const int PrStrokeLimitPos = 1300

Field Value

int

Properties

AxisPr1006

Pr1006: Axis type per axis. See AxisType. See AxisNames. See IsRotaryAxis(string).

public Dictionary<string, int> AxisPr1006 { get; set; }

Property Value

Dictionary<string, int>

AxisPr1240

Pr1240: G28 first reference position per axis. See IHomeMcConfig. See GetHomePosition(string). See SetHomePosition(string, double).

public Dictionary<string, double> AxisPr1240 { get; set; }

Property Value

Dictionary<string, double>

AxisPr1420

Pr1420: Rapid traverse rate per axis (mm/min or deg/min). See IRapidFeedrateConfig. See GetAxisRapidRate_mmdmin(string).

public Dictionary<string, double> AxisPr1420 { get; set; }

Property Value

Dictionary<string, double>

AxisTypeParamId

Parameter/MD/MP number for axis type (linear/rotary/spindle).

protected override int AxisTypeParamId { get; }

Property Value

int

ControlledAxisCount

Number of controlled axes. Delegates to Pr1020.

public int ControlledAxisCount { get; set; }

Property Value

int

CutterCompType

Cutter compensation startup type. Delegates to Pr5003.

public CutterCompensationType CutterCompType { get; set; }

Property Value

CutterCompensationType

Default3Axis

Default 3-axis Syntec milling machine.

public static SyntecParameterTable Default3Axis { get; }

Property Value

SyntecParameterTable

IdAttributeName

XML attribute name for the parameter ID (“ParamId”, “MdId”, “MpId”).

protected override string IdAttributeName { get; }

Property Value

string

MaxSpindleSpeed_rpm

Maximum spindle speed in RPM. Delegates to Pr3741.

public double MaxSpindleSpeed_rpm { get; set; }

Property Value

double

PeckRetractionDistance_mm

G83 peck drilling clearance distance above the previous stroke bottom before re-entering at feed (mm).

public double PeckRetractionDistance_mm { get; }

Property Value

double

Remarks

Syntec Pr4002 stores peck retraction distance in microns. Multiply by 0.001 to convert to mm.

Pr1020

Pr1020: Number of controlled axes. See ControlledAxisCount.

public int Pr1020 { get; set; }

Property Value

int

Pr3741

Pr3741: Maximum spindle speed (RPM). See MaxSpindleSpeed_rpm.

public double Pr3741 { get; set; }

Property Value

double

Pr5003

Pr5003: Cutter compensation startup type. See CutterCompType.

public CutterCompensationType Pr5003 { get; set; }

Property Value

CutterCompensationType

RapidRateParamId

Parameter/MD/MP number for rapid traverse rate per axis. Null if not defined for this controller brand.

protected override int? RapidRateParamId { get; }

Property Value

int?

ReferencePositionParamId

Parameter/MD/MP number for reference position (G28 home).

protected override int ReferencePositionParamId { get; }

Property Value

int

XName

public static string XName { get; }

Property Value

string

Methods

MakeXmlSource(string, string, bool)

Creates an XML representation of the object. This method may also generate additional resources such as related files.

public override XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

exhibitionOnly bool

if true, the extended file creation is suppressed.

Returns

XElement

An XML element representing the object's state

Remarks

For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied. The baseDirectory is typically the folder at the nearest configuration file folder. Since the folder can be moving with the configuration file.