H: the panel header
The H line opens every XXL program and describes the panel to be machined: its length, width and thickness, the reference corner, the unit of measurement and the default settings flag. Without it the converter has nothing to size the job with and refuses the file.
Syntax
H DX<mm> DY<mm> DZ<mm> [-AD] [R<n>] [*MM] [/DEF]VerifiedReproduced byte for byte from a machine-proven file.
Parameters
DX | Panel length in millimetres | required |
DY | Panel width in millimetres | required |
DZ | Panel thickness in millimetres | required |
-AD | Reference corner flag, written as -AD | optional |
R | Rotation or reference code, R99 in the verified sample | optional |
*MM | Unit of measurement, written as *MM | optional |
/DEF | Default settings flag, written as /DEF | optional |
How it is written to PGM
H becomes the first record of the file, 36 bytes: six of framing, then DX, DY and DZ as 32-bit integers in hundredths of a millimetre, the reference corner as two characters, the tool and C values as 16-bit numbers, R as another, the unit as two characters and the tooling file name as eight. Fields the file does not give are marked absent in the record's own mask and written as zeros.
Example
H DX800.000 DY600.000 DZ18.000 -AD R99 *MM /DEFNotes
- Panel dimensions are structural, so they are always verified. The flags are only verified in the combination -AD R99 *MM /DEF found in the reference program.
- Only one H line is allowed. A second one is reported as a duplicate header.
- Header numbers are decimals in millimetres; DX800.000 and DX800 are equivalent.
Messages this command can produce
- Missing H header lineParse error
- Duplicate H header lineParse error
- Header missing a dimensionParse error
- Unknown token in the headerParse error
- Bad number in a valueParse error
- Header without -ADUnverified
- Header R value differs from R99Unverified
- Unit other than millimetresUnverified
- Tooling file replacedNotice