Parameters
Required input parameters
Input parameters | Description |
@P1 | Workpiece surface, Z position (absolute) |
@P2 | Retraction plane, Z position (absolute) |
@P3 | Safety clearance above workpiece (unsigned), Z distance (relative to the reference plane/machining height) |
@P4 | Engraving depth in workpiece (unsigned), Z distance (relative to the reference plane) |
@P21 | to engraving text |
@P53 | Font size |
Optional input parameters
Input parameters | Description |
@P11 | Feed rate for Z infeeds, F word |
@P12 | Feed rate for engraving movements, F word |
@P13 | Subroutine executed at start of engraving |
@P14 | Subroutine executed at end of engraving |
@P15 | Subroutine executed at start of each character |
@P16 | Subroutine executed at end of each character |
@P17 | Subroutine executed at start of each path |
@P18 | Subroutine executed at end of each path |
@P23 | Invert text (default value = |
@P24 | Use placeholders (default value = |
@P31 | Arrangement (default value = 0) 0: rectangle 1: arc, circle centre point below text 2: arc, circle centre point above text |
@P32 | Arrangement parameter 1 if |
@P33 | Arrangement parameter 2 if |
@P41 | Reference point (default value = 6) 0: top left 1: top centre 2: top right 3: centre left 4: centre centre 5: centre right 6: baseline left 7: baseline centre 8: baseline right 9: bottom left 10: bottom centre 11: bottom right |
@P42 | Reference point, X position (default value = |
@P43 | Reference point, Y position (default value = |
@P52 | Determining font size (default value = 0) 0: height of letter "X" 1: width of letter "X" 2: height of entire text 3: width of entire text |
@P54 | Font weight (default = calculation from engraving depth) Can be specified instead of the engraving depth together with the point angle of the engraving tool. |
@P55 | Point angle of the engraving tool Can be specified instead of the engraving depth together with the font weight. |
@P61 | non-proportional font (default text = |
@P62 | mirror each letter in X direction (default value = |
@P63 | mirror each letter in Y direction (default value = |
@P64 | additional X offset for each letter (default value = 0) |
@P65 | additional Y offset for each letter (default value = 0) |
@P71 | Type of output (default value = 0) 0: G code, machine is moved 1: no output, for calculations, size requests, etc. |
@P101 | free parameter |
@P102 | free parameter |
@P103 | free parameter |
It is recommended to use the Syntax check to verify whether the input parameters are correctly assigned.
Encoding the NC program
The text “ISG kernel” consists of only ASCII characters. Nothing else needs to be considered when encoding the NC program that calls up the engraving cycle.
However, if you want to use diacritical marks or other special characters, the NC program must be saved in the Windows-1252 encoding.
Programming Example
Engraving special characters

The supplied standard font supports all printable characters in the Windows-1252 character set.
Subroutines
The parameters @P13
to @P18
can specify subroutines that execute specific results.
- Subroutine
@P13
is executed before the start of text engraving. - Subroutine
@P14
is executed after the end of text engraving. - Subroutine
@P15
is executed before engraving each character. - Subroutine
@P16
is executed after engraving each character. - Subroutine
@P17
is executed each time before leaving the retraction plane to start a new milling section. - Subroutine
@P18
is executed each time after a milling section ends and the retraction plane is reached.
Subroutines enable various technologies during engraving,
e.g. the engraving cycle can be used for milling machines as well as for laser or plasma cutting machines. Subroutines @P17
and @P18
could enable or disable the laser.
Invert text
If @P23
is set to TRUE
, the input text is output inverted.
Programming Example
Invert text

Placeholders
If @P24
is set to TRUE
, placeholders can be used in the transferred text. For example, to engrave the current date, the placeholder ${date}
can be used:
Programming Example
Placeholders

Placeholders supported include
Placeholders | Example | Description |
| 03/12/2021 | current date, YYYY-MM-DD |
| 17:15:43 | current time, hh:mm:ss |
| 2021-12-03 17:15:43 | current date and time, YYYY-MM-DD hh:mm:ss |
| 2021 | current year, YYYY |
| 12 | current month, MM |
| 03 | current day, DD |
| 17 | current hour, hh |
| 15 | current minute, mm |
| 43 | current second, ss |
| SysMillEngraveDemo.nc | Filename of the calling NC main program |
| EngraveDemo | Name (%…) of the calling NC main program |
| 11 | Value of cycle parameter |
| 22 | Value of cycle parameter |
| 33 | Value of cycle parameter |
Programming Example
Placeholders

Layout and reference point
The parameter @P31
determines the layout of the engraved text.
Linear (default value)
By default @P31 = 0
the text is output in one line in the usual form. The surrounding character box is positioned by a reference point. The following intersections are possible as a reference point.

The reference point is specified by the parameter @P41
and can assume the following values.

The reference point coordinates (X, Y)
are specified by (@P42, @P43)
. By default these parameters are pre-assigned the current axis positions.
Programming Example
Engrave linear

Arc
Where @P31 = 1
and @P31 = 2
, the characters can be arranged in the form of an arc.

In addition to the reference point R
, the parameters (@P32, @P33)
specify the circle centre point M
.
Programming Example
Engrave in arc

When reference point and circle centre point are identical, an error is output.
Example: varied circle centre point
Programming Example
Engrave in arc

Example: Reference point (left, bottom)
Programming Example
Reference point (left, bottom)

Example: Circle centre point is above text
In the above examples, the circle centre point was always below the text. Therefore, the text start and end were both with “curved downwards”. Use @P31 = 2
to achieve the opposite effect. The circle centre point is above the text and the text ends are “curved upwards”.
Programming Example
Circle centre point above text

Font size
The font size can either be specified directly or derived from another size. The parameter @P52
determines how the font size is calculated. The following options are available.
Value of @P52 | Meaning |
0 (default) | height of letter "X" |
1 | width of letter "X" |
2 | height of entire text (in linear layout) |
3 | width of entire text (in linear layout) |
The corresponding size is then specified in @P53
.
Example: height of letter "X"
Programming Example
height of letter X

Example: width of letter "X"
Programming Example
width of letter X

Example: height of entire text
Programming Example
height of entire text

Example: width of entire text
Programming Example
width of entire text

Non-proportional font
The parameter @P61
switches over to non-proportional font. In this mode, all characters have the same width.
Programming Example
Non-proportional font

Mirror font
The parameters @P62
and @P63
can mirror the characters in the X and Y directions.
Example: Mirror in X, character by character
Programming Example
Mirror in X - character by character

Example: Mirror in X, complete
Programming Example
Mirror in X - mirror
If only @P62
is used to mirror in X, only each character is mirrored separately, but the order of the characters remains unchanged. To mirror the text completely, use @P23
in addition for text inversion.

Example: Mirror in Y
Programming Example
Mirror in Y

Letter spacing
Character spacing can be influenced by the parameters @P64
in X and @P65
in Y.
Example: X spacing with large tool radius
It may be advantage to increase the spacing, especially in X, if large tool radii are used
Programming Example
X spacing with large tool radius

Example: Y spacing for staircase effect
A staircase effect is obtainable with a Y offset.
Programming Example
Y spacing for staircase effect
