Unit other than millimetres

UnverifiedThe encoding is confirmed by the reference programs, but no file of ours in this shape has been run on a machine. Produced with a warning, refused in strict mode.

What the converter says

unit *IN differs from the verified *MM; values are still written as 0.01 mm

Code: header_unit

What triggers it

The header names a unit other than *MM. The PGM format stores every distance in hundredths of a millimetre and the converter always writes it that way, so a different declared unit would silently change what the numbers mean.

H DX800.000 DY600.000 DZ18.000 -AD R99 *IN /DEF

Example that triggers it

How to fix it

Post-process the program in millimetres and declare *MM. Converting inch values without rescaling them will produce a program at the wrong size.

Applies to

Messages this command can produce