Class SiemensMachineDataTable
- Namespace
- Hi.NcParsers.Dependencys.Siemens
- Assembly
- HiMech.dll
Siemens Sinumerik machine data table. Stores machine data (MD numbers) as system and per-axis parameters.
MD10000–MD19999: General machine data. MD20000–MD29999: Axis-specific machine data. MD30000–MD39999: Axis-specific machine data (extended).
public class SiemensMachineDataTable : ControllerParameterTableBase, IHomeMcConfig, IMachineAxisConfig, INcDependency, IMakeXmlSource
- Inheritance
-
SiemensMachineDataTable
- Implements
- Inherited Members
- Extension Methods
Constructors
SiemensMachineDataTable()
public SiemensMachineDataTable()
SiemensMachineDataTable(XElement)
public SiemensMachineDataTable(XElement src)
Parameters
srcXElement
Fields
MdAxisType
MD30300: Axis type per axis (0=linear, 1=rotary, 2=spindle).
public const int MdAxisType = 30300
Field Value
MdMaxAxisVelocity
MD32000: Max axis velocity per axis (mm/min or deg/min).
public const int MdMaxAxisVelocity = 32000
Field Value
MdMaxSpindleSpeed
MD35100: Maximum spindle speed (RPM).
public const int MdMaxSpindleSpeed = 35100
Field Value
MdReferencePosition
MD34010: Reference point position per axis.
public const int MdReferencePosition = 34010
Field Value
MdStrokeLimitNeg
MD36110: Negative stroke limit per axis.
public const int MdStrokeLimitNeg = 36110
Field Value
MdStrokeLimitPos
MD36100: Positive stroke limit per axis.
public const int MdStrokeLimitPos = 36100
Field Value
Properties
AxisMd30300
public Dictionary<string, int> AxisMd30300 { get; set; }
Property Value
AxisMd34010
MD34010: Reference point position per axis. See IHomeMcConfig.
public Dictionary<string, double> AxisMd34010 { get; set; }
Property Value
AxisTypeParamId
Parameter/MD/MP number for axis type (linear/rotary/spindle).
protected override int AxisTypeParamId { get; }
Property Value
Default3Axis
Default 3-axis Siemens milling machine.
public static SiemensMachineDataTable Default3Axis { get; }
Property Value
IdAttributeName
XML attribute name for the parameter ID (“ParamId”, “MdId”, “MpId”).
protected override string IdAttributeName { get; }
Property Value
MaxSpindleSpeed_rpm
Maximum spindle speed in RPM. Delegates to Md35100.
public double MaxSpindleSpeed_rpm { get; set; }
Property Value
Md35100
MD35100: Maximum spindle speed (RPM). See MaxSpindleSpeed_rpm.
public double Md35100 { get; set; }
Property Value
ReferencePositionParamId
Parameter/MD/MP number for reference position (G28 home).
protected override int ReferencePositionParamId { get; }
Property Value
XName
public static string XName { get; }
Property Value
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
baseDirectorystringThe base directory for resolving relative paths
relFilestringThe relative file path for the XML source
exhibitionOnlyboolif 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.