Professional Documents
Culture Documents
Programming Functions: CNC S4000 CNC S3000
Programming Functions: CNC S4000 CNC S3000
CNC S3000
PROGRAMMING
FUNCTIONS
The programming functions listed on the following pages are
available only on the CNC models whose symbols appear below
the blue band containing the definition of the function.
The correspondence of these symbols with the different models
is indicated in the key reproduced at the bottom of each page.
Edition 07.02
The Numerical Controls S4000, Export Version “E” excluded, are subject
to export controls according to Appendix I° of the EU-Dual Use regulation.
General G-Functions
GENERAL G-FUNCTIONS
G00 (G0) Axis rapid positioning
G01 Axis
Enabled: (default) until a G02 or a G03 is programmed.
Clockwise circular/helical
G02 (G2) interpolation
G02 X… Y… I… J… [Z…]
G02 X… Z… I… K… [Y…]
G02 Y… Z… J… K… [X…]
X,Y,Z: coordinates of the final point of the arc.
I,J,K: coordinates of circle center with respect to X, Y, Z. Coordinates may be
absolute or incremental, according to system configuration or to the
selection performed through a G62 function.
Enabled: only in the block in which it is programmed.
Counterclockwise circular
G03 (G3) helical interpolation
G03 X… Y… I… J… [Z…]
G03 X… Z… I… K… [Y…]
G03 Y… Z… J… K… [X…]
X,Y,Z: coordinates of the final point of the arc.
I,J,K: coordinates of circle center with respect to X, Y, Z. Coordinates may be
absolute or incremental, according to system configuration or to the
selection performed through a G62 function.
Enabled: only in the block in which it is programmed.
G04 K...
K: pause time in units of tenths of a second.
Enabled: only in the block in which it is programmed.
G17
Enabled: (default) until a G16, a G18, or a G19 is programmed.
G18
Enabled: until a G17 or a G19 is programmed.
G19
Enabled: until a G17 or a G18 is programmed.
G21 Chamfer
G21 J...
J: Chamfer value (distance from
Y J J
the vertex).
Enabled: only in the block in which it is
programmed.
O X
G21 [I...]
I: radius of the connecting circle
Y
Positive: counterclockwise
direction.
Negative: clockwise direction. I
(If not programmed the last
value is valid).
Enabled: only in the block in which O X
It is programmed.
G25
G26
Enabled: until a G25 is programmed.
G28
G26 Cusp point of a SPLINE curve
G28
Enabled: only in the block in which it is programmed.
G29
G26 Last point of a SPLINE curve
G34 [I0]
I0: the delimitation profile is not offset by the active tool radius
compensation.
G36
G26 Disables storing of actual machine axis path
G36
G37
G26 Enables storing of actual machine axis path
G37
G38
G26 Closes the file opened with a G39
G38
G42
G26 Enables tool radius compensation, tool right of profile
G49 Kn [I...]
Kn: recall cutter compensation (n).
I: finish stock value.
G49 I...
I: cutter radius.
Enabled: until a G49 or a T for tool change is programmed.
G50
G26 Cancels the offset / rotation function G51
G50
G53
G26 Cancels mirror machining
G53
X-mirror machining
G54
G26 (change sign to X coordinates)
G54
Enabled: until another mirror function or a G53 is programmed.
Y-mirror machining
G55
G26 (change sign to Y coordinates)
G55
Enabled: until another mirror function or a G53 is programmed.
Z-mirror machining
G56
G26 (change sign to Z coordinates)
G56
Enabled: until another mirror function or a G53 is programmed.
XY-mirror machining
G57
G26 (change sign to X and Y coordinates)
G57
Enabled: until another mirror function or a G53 is programmed.
ZX-mirror machining
G58
G26 (change sign to Z and X coordinates)
G58
Enabled: until another mirror function or a G53 is programmed.
YZ-mirror machining
G59
G26 (change sign to Y and Z coordinates)
G59
Enabled: until another mirror function or a G53 is programmed.
G60
G26 Cancels G61 (scaling factor)
G60
G61
G26 Scaling factor
G61 K...
G61 [X...] [Y...] [Z...] [F...] [Q...] [J...]
K: scaling factor (multiplier) to be applied to all axes.
X,Y,Z: scaling factor to be applied to each axis.
F: scaling factor to be applied to the feed rate.
Q: scale factor to apply to the feed speed of axis movements
perpendicular to the working plane (Z for G17, Y for G18, X for G19).
J: scale factor to apply to the rapid speed.
Enabled: until a G60 is programmed.
G67
G26 Cancels G68/G69 static TCPM
G67
G71
Enabled: until a G70 is programmed.
G72
G26 Cancels subprogram modal recall (G73)
G72
D0=1 from the center toward the border, with Z increments only
D0=2 from the center toward the border, with increments in X, Y, Z
D0=3 defines a special use of G77 for milling profiled pockets with
passes parallel to the profile
D1= : pocket starting depth.
D2= : pass depth.
D3= : pocket bottom depth.
D4= : clearance distance (default value D4 = 2 mm).
D6= : wall taper rate (default value D6=0 - vertical wall).
D7= : percentage of feed rate variation during depth increment (default
value D7=1).
D8=1: if D0=3 is programmed, programs island milling.
D9= : clearance value from pocket walls during tool repositioning at end of
cycle (D9=0.5 mm by default).
Note: the following blocks define the pocket profile.
D5=: radius value for tool automatic approach and exit during the finish
pass (default value D5 = I).
D6=: wall taper rate (default value D6=0 - vertical wall).
D7=: percentage of feed rate variation during depth increment (default
value D7=1).
D9=: clearance value from pocket walls during tool repositioning at end
of cycle (D9=0.5 mm by default).
D8: multiplication coefficient of the tapping rise speed with spindle and
transducer (default D8=1).
D9=1: never mind where the machine is, the cycle is execute in XY
position, without to programming XY (D9=0 by default).
Enabled: until a new fixed cycle or a G80 is programmed.
D9=1: never mind where the machine is, the cycle is execute in XY position,
without to programming XY (D9=0 by default).
Enabled: until a new fixed cycle or a G80 is programmed.
D8=: scaling factor for rapid positioning feed (value include between 0
and 1; D8=1 by default). (Only for S4000 CNCs).
Note: subsequent blocks can only contain pairs of Z, J coordinates, until a
G80 with tool rapid retraction is programmed. A new fixed cycle or X, Y
- coordinates cannot be programmed before a G80.
Enabled: until a G80 is programmed.
G89 [X... Y...] Z... J... [I...] [K...] [Q...] [F...] [S...]
[D9=1] [D10=...] [D14=...] [D15=...]
[D16=...] [D17=...] [D18=...] [D19=...]
[D20=...] [D21=...] [D22=...] [D23=...]
X,Y : plane hole coordinates.
XY Q
Z: hole bottom plane. J
D14
J: hole starting plane. F... S...
D21 Dwell D22
I: depth increase for chip D15
Dwell K D10
breakage. Dwell K
FD16 SD17 D23=1
D23=0 Rapid
Q: rapid return position at
D21 Dwell D22
end of hole (Q=J if not D18
programmed).
K: pause for chip breakage in FD19 SD20
tenths of a second Z
(K=0 by default).
F: upper zone feed from J to D15. Last programmed F is used if in the
G89 is not programmed.
S: upper zone spindle speed from J to D15. Last programmed S is used
if in the G89 is not programmed.
D9=1 : never mind where the machine is, the cycle is executed in XY position,
without to program XY (D9=0 by default).
D10= : rapid detachment value after each performed increase I (D10=0 by
default).
D10=0 K..., no detach, K pause every I mm.
D10=... K..., D10 detach, K pause every I mm.
D10=…K0, D10 mm detach without pausing K after I mm.
D10=0 K0, equivalent to not programming I..
(cycle does not break chip).
D14= : incremental position from J after which pauses are made every I mm (if
I is programmed). Normally the distance between J and part surface.
(D14=0 if not programmed)
D15= : end of upper zone and start of intermediate zone absolute position.
The zone between D15 and D18 (if D18 is programmed)or between
D15 and Z is run with FD16 and SD17. The upper zone included
between J and D15 is run at feed and speed programmed before G89.
(D15=0 if not programmed).
D16=: feed used in intermediate zone, between D15 and D18 (if D18 is
programmed) or between D15 and Z (if D18 is not programmed).
D17=: speed used in intermediate zone, between D15 and D18 (if D18 is
programmed) or between D15 and Z (if D18 is not programmed).
D18=: start of lower zone absolute position. The zone between D18 and Z is
run at FD19 and SD20.
D19= feed used in lower zone between D18 and Z.
D20= speed used in lower zone between D18 and Z.
D21= detachment value in D15 and D18 positions for speed change (D21=1
if not programmed).
D22= pause after D21 detach for spindle to speed up. D21=10 (1 sec) if not
programmed. Detach and pause are skipped if only feed (not speed) is
changed.
D23= intermediate zone mode from D15 to D18 (D23=0 by default).
D23=0 I increases, D10 detaches and possible K
D23=1 middle zone run in rapid mode R.
Enabled: until a G80 is programmed.
G90
Enabled: (default) until a G91 is programmed.
G91
Enabled: until a G90 is programmed.
G92 F
F: the new feed rate overrides all F functions programmed in the
subsequent blocks.
Enabled: until a G92, or a G93, G94, G95 with new F-values is programmed.
G93 F...
F: new feed rate.
Enabled: until a G92, or a G93, G94, G95 with new F-values is programmed.
G94 F...
F: new feed rate.
Enabled: until a G92, or a G93, G94, G95 with new F-values is programmed.
G95 F...
F: new feed rate.
Enabled: until a G92, or a G93, G94, G95 with new F-values is programmed.
G98
G99
G71
G26
Note: to be programmed in MDI mode.
G200
G202
G71
G26
Enabled: until a G200 is programmed.
G71
G26
X, Y: profile approach and exit point.
G710
G730
G732
D0=: request for graphic display of the tool path. (If not programmed,
D0=1).
D0=1: display off.
D0=0: display on.
D1=: geometric filter on the programmed points. All the points whose
distance from the theoretical curve is lower than D1 (maximum two
points out of 3) are ignored (By default: D1=0.01: the points are
filtered).
D1=0: it cancels geometric filter.
D8=: “JERK” value (typically between 10% and 50% of the maximum
acceleration). (By default: D8= value configured in the system
SETUP) If D8=0 the system automatically calculates a jerk value
according to the acceleration. The jerk value must offer the best
compromise between the softest movement and the machining time.
Small Jerk values lead to softer movement but increased machining
G734
G740
G26 Cancels G748 and G749
G740
G746
G26 Defers G748 cycle
G746
G749 [A] [B] [C] [I...] [J...] [Q...] [K...] [D0=1] [D1=...]
A, B: rotary axis name.
I,J,Q: positive or negative offset values for the point of rotation. Failing these
parameters, the rotation occurs about the tool tip.
K: for heads with opposing spindles:
K0 first spindle.
K1 second spindle.
D0=1: all calculations are referred to head zero position, irrespective of the
head position when G749 is programmed. With D0=1, cycle restart
and block search are possible. For a correct use of G749, the head
zero position must be defined by performing the HEAD ZERO
SETTING procedure.
D1=: head number (from 1 to 8). By default: D1=1.
Enabled: until a G740 is programmed.
(See Note on page 64).
G750
G26 Cancels G751
G750
G78
ROT Y: rotation about the Y - axis by a given value.
ROT Z: rotation about the Z - axis by a given value.
SCA X: scaling factor for X axis.
SCA Y: scaling factor for Y axis.
SCA Z: scaling factor for Z axis.
Enabled: until a G750 is programmed.
G753
G754
G26 Profile direction reversal
G754
Enabled: until a G753 is programmed.
G760
G26 Cancels G761
G760
G761
G26 Axis travel delimitation
G773
G778
G26 Profiled pocket milling cycle without finishing pass
Grid/circumference pattern
G780
G26 machining repeat: execution
G780
G781
G26 Grid pattern drilling/spot facing supercycle
G71
G26
G782
G26 Grid pattern deep mixed drilling
supercycle
G782 X... Y... Z... J... I... [Q...] [K...] [F...] D1=... D2=...
[D3=...] [D4=...] [D5=...][D6=...] [D8=...] [D7=1]
[D10=...] [D11=...] [D12=...] [D13=...] [D14=...]
X, Y, D1, D2, D3, D4, D5, D6 parameters: refer to grid pattern machining cycles.
Z, J, I, Q, K, F, D0, D7, D8, D10, D11, D12, D13, D14 parameters: refer to G82.
D8=: scaling factor for rapid positioning feed (value include between 0
and 1; D8=1 by default). (Only for S4000 CNCs).
G71
G26
G783
G26 Grid pattern deep drilling with tool
retraction for chip discharge supercycle
G783 X... Y... Z... J... I... [Q...] [K...] [F...] D1=... D2=...
[D0=...] [D3=...] [D4=...] [D5=...] [D6=...] [D7=1] [D8=...]
X, Y, D1, D2, D3, D4, D5, D6: parameters: refer to grid pattern machining
cycles.
Z, J, I, Q, K, F, D0, D7, D8 parameters: refer to G83.
D8=: scaling factor for rapid positioning feed (value include between 0
and 1; D8=1 by default). (Only for S4000 CNCs).
G784
G26 Grid pattern tapping supercycle
G784 X... Y... Z... J... F... [Q...] [K...] [I...] D1=... D2=...
[D3=...] [D4=...] [D5=...] [D6=...] [D8=...]
X, Y, D1, D2, D3, D4, D5, D6 parameters: refer to grid pattern machining
cycles.
Z, J, I, Q, K, F, D8 parameters: refer to G84.
G71
G26
G785
G26 Grid pattern reaming supercycle
G78 Circular pocket milling (roughing cycle)
G785 X... Y... Z... J... [Q...] [K...] [F...] D1=... D2=...
[D3=...] [D4=...] [D5=...] [D6=...] [D8=...]
X, Y, D1, D2, D3, D4, D5, D6 parameters: refer to grid pattern machining
cycles.
Z, J, Q, K, F, D8 parameters: refer to G85.
G71
G26
G786
G26 Grid pattern boring supercycle
G78 Circular pocket milling (roughing cycle)
G786 X... Y... Z... J... [I...] [Q...] [K...] [F...]
[D0=...] D1=... D2=... [D3=...] [D4=...]
[D5=...] [D6=...] [D7=...] [D8=...]
X, Y, D1, D2, D3, D4, D5, D6 parameters: refer to grid pattern machining
cycles.
Z, J, I, Q, K, F, D0, D7, D8 parameters: refer to G86.
D8=: scaling factor for rapid positioning feed (value include between 0
and 1; D8=1 by default). (Only for S4000 CNCs).
G71
G26
G787
G26 Grid pattern machining repeat supercycle
G78 Circular pocket milling (roughing cycle)
G787 X... Y... [D1=...] [D2=...] [D3=...]
[D4=...] [D5=...] [D6=...] [D7=...]
X,Y: starting point coordinates.
D1= number of figures per line.
D2= distance between figures on the line.
D3= angle formed by grid lines and X-axis (D3=0° by default).
D4= number of figures per column.
D5= distance between figures on the columns.
D6= angle formed by grid lines and X-axis (D6=90° by default).
D7= angle of rotation of the single machining (D7=0° by default).
Machining cycle to be repeated must be programmed after a G787. A
G780 enables the cycle. The identifier of the machining to be executed
is stored by the system under the P99 parameter.
G71
G26
G26
G793
Circumference pattern deep drilling with tool
retraction for chip discharge supercycle
G793 X... Y... Z... J... I... [Q...] [K...] [F...] D1=... D2=...
[D0=...] [D3=...] [D4=...] [D5=...] [D7=1] [D8=...]
X, Y, D1, D2, D3, D4, D5 parameters: refer to circumference pattern drilling.
Z, J, I, Q, K, F, D0, D7, D8 parameters: refer to G83.
D8=: scaling factor for rapid positioning feed (value include between 0
and 1; D8=1 by default). (Only for S4000 CNCs).
G71
G26
G26
G794 Circumference pattern tapping supercycle
G71
G26
G26
G795 Circumference pattern reaming supercycle
G71
G26
G26
G796 Circumference pattern boring supercycle
G796 X... Y... Z... J... [I...] [Q...] [K...] [F...] D1=... D2=...
[D0=...] [D3=...] [D4=...] [D5=...] [D8=...] [D7=...]
X, Y, D1, D2, D3, D4, D5 parameters: refer to circumference pattern drilling.
Z, J, I, Q, K, F, D0, D7, D8 parameters: refer to G86 .
D8=: scaling factor for rapid positioning feed (value include between 0
and 1; D8=1 by default). (Only for S4000 CNCs).
G71
G26
G26
G797 Circumference pattern machining repeat
G71
G26
G26
G799 Circumference pattern differentiated
drilling supercycle (Only for S4000 Series CNCs)
G799 X... Y... Z... J... [I...] [K...] [Q...] [F…] D1=... D2=...
[D3=...] [D4=...] [D5=...] [D10=…] [D14=…]
[D15=…] [D16=…] [D17=…] [D18=…] [D19=…]
[D20=…] [D21=…][D22=…] [D23=…]
G817 Axis
Axis: name of the machine axis to which the compensation is to be applied.
Enabled: until cycle / program end.
G71
G26
G26
G840 Cancels G841
G840
Enabled: only in the block in which it is programmed.
G71
G26
G26
G841 Tool radius compensation in space
G71
G26
G26
G845 Cancels G846
G845
Enabled: only in the block in which it is programmed.
G71
G26
G26
G846
Manual axis control by handwheels
during machining
G71
G26
G26
G850 Cancels G851
G850
Enabled: only in the block in which it is programmed.
G71
G26
G26
G851 Part origin offset by handwheels
G71
G26
G26
G872 ON/OFF touch probe measuring cycle in space
G71
G26
G26
G873
Touch/copying probe
measuring cycle in space
G71
G26
G26
G900 Cancels G901
G900
G71
G26
G26
G901
Edit and graphic execution
disabling during machining
G901 [I1]
The G901 function disables Edit and Graphic Execution m o d e s f o r
programs other than the one being executed on the machine.
I1: Frees memory after recalling a file.
G71
G26
G26
G910 Cancels G911
G910
G71
G26
G26
G911 Disables travel limit control
G911
The block containing the wrong instruction will be partially executed:
machining will be stopped when an axis reaches its travel limit and an
error message will be displayed.
Enabled: until a G910 is programmed.
G71
G26
G26
G997 Cancels G998 (Only for S3000 Series CNCs)
G997
G71
G26
G26
G998
Block sequence number check
(Only for S3000 Series CNCs)
G998
The G998 code, if programmed before program calls to system
memory, floppy disk, hard disk or peripheral units, enables the NC to
check the block sequence number. The system will signal error 59 if
the block sequence number increment is other than 1.
G71
G26
G26
G1000 Cancels G1001
G1000
G71
G26
G26
G1001 Graphic execution of a program sequence
G1001
During program execution on the machine, the program section defined after a
G1001 will be executed only in graphic mode.
G71
G26
G26
G4724
Cancels G4725
(only for S4000 Series CNCs)
G4724
G71
G26
G26
G4725
Planetary milling
(only for S4000 Series CNCs)
G71
G26
G26
G9999
Synchronization of program execution
with tool path display
G9999
Enabled: only in the block in which it is programmed.
COPYING G-FUNCTIONS
G877 Limits, mode and copying plane
G880
The profile to be copied shall be programmed between a G881 and
a G880 code.
G882
G889 I... J... K... Q... [X...] [Y...] [Z...] [D0=] [D1=1]
I: nominal deflexion on the plane.
J: probe tracer point radius.
K: probe orientation (in G17):
K1 = parallel to X in the X+ direction.
K2 = parallel to X in the X- direction.
K3 = parallel to Y in the Y+ direction.
K4 = parallel to Y in the Y- direction.
K5 = parallel to Z in the Z+ direction.
K6 = parallel to Z in the Z- direction.
The 1,2,3,4,5, 6 codes can be prefixed by additional 1,2,3,.. Codes; for
example K14, K24, K34, etc. This way 24 codes are obtained, allowing
to rotated the probe from its current position to any other position.
(see par. 4.2 of the Digitzing and Copying Manual).
Q: Q0 = with qualification cycle.
Q1 = without qualification cycle.
Q...= descent depth of the probe on the qualification cube
through G877 J7.
X,Y,Z: definition of a plane parallel to the copying limit plane: Z... For limits
on XY, Y... for limits on XZ, X... for limits on YZ. This plane shall be
always programmed.
D0: coefficient of friction.
D1=1: enables the special parameters for direct copying.
Enabled: until a G889 with different parameters is programmed.
G890
Shall be programmed in MDI after the G891 defining the angle of rotation.
LOGICAL
MATHEMATICAL OPERATORS
One element operators
+ addition
- subtraction
* multiplication
/ division
^ power
Decisional operators
= equal to
> greater than
< less than
>= greater than or equal to
<= less than or equal to
<> different from
P4
P1 = base
P2 = height (max. 2.5xP1)
P3 = pitch
P2
P4 = angle
P1
P3
P5 = clearance depth
P5
P6 = engraving depth
0 piece Z
P6
Y
VZ
P7 = X-coordinate of the 1st string P9
character BA12
P8 = Y-coordinate of the 1st string P8
character
0 piece X
P9 = string angle P7
P9 Y
P7 = X-coordinate of circumfe- 12
rence center A BC
P8 = Y-coordinate of circumfe-
rence center
P7
P9 = starting angle P10+
P10 = circumference radius (posi-
tive) P8
O piece X
Y
O piece
P7 = X-coordinate of circumfe-
X
rence center P8
P8 = Y-coordinate of circumfe-
rence center P7 P10-
P9 = starting angle
P9 AB
P10 = circumference radius (nega- C
12
tive)
Storing points
Point defined by Cartesian coordinates
Ep
Ep = G20 Xp Yp Yp
O
Xp
Ep
G76 Xp
Ep = G20 Xp Yp
G75 Yp
O
Y Ep
Ep = G51 Xo Yo Jo,
G20 Xp Yp Xp
Eo = G51 Xo Yo Jo Eo Xp Jo
Yo
Ep = Eo, G20 Xp Yp O Xo X
Y Er2
Ep = G13 X… Y… J…, Er1
G13 X… Y… J…
Ep
Ep = Er1, Er2
O X
Y Ec2
Ep1 =G20 X… Y… I…, Ec1
G20X… Y… I… Ep1
Ep2
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ep Jo
Jo
Ep
O X
Storing distance
Distance between two points
Y
Ed = G20 Xp1 Yp1,
G20 Xp2 Yp2 Ed
Ep2
Ed = Ep1, Ep2
Ep1
O X
Y
Ed = G20 Xp Yp, Ep
G13 Xr Yr Jr
Ed Er
Ed = Ep, Er
O X
Y
Ed = Er1, Er2
Ed = G13 Xr1 Yr1 Jr1, Er1
O X
DISPLAY PARAMETERS
$1 M...X...I...Y...J...
setting of the display in two dimensions, where:
M = 0 plan view
M = 1 side view
M = 2 front view
X... left limit
I... right limit
Y... lower limit
J... upper limit.
$5 light blue.
$6 the default color codes are blue for rapid movements and green for
feed movements.
$7 red.
$8 green.
$9 yellow.
$10 blue.
$11 pink.
$12 white.
$13 black.
OUTPUTTING P PARAMETERS
OPEN n, NAME defines the name of the program into which the
parameters will be stored, where:
n=2 creation of the NAME program.
The .000 is automatically inserted.
S4000: if the NAME program is already presen, the system
creates a program by modifying the extension into
.001, .002, etc...
S3000: if the NAME program is already present, the system
creates a program by inserting /A, /B, /C, etc...
characters after the NAME.
In case the NAME program is longer than 6
charachters, the last two characters will be
cancelled.
n=3 overwriting of the NAME program that already
exists. In this case the extension is not added.
n=4 to add blocks to a NAME program, that already
exists.In this case the extension is not added.
FORMAT n,
STRING1 ####.###
STRING2 ####.###
STRING3 ####.### Etc.
It defines the printing format,where:
n= defines the format number (from 1 to 6) to be
specified in the print instruction PRINT STRING1,
PRINT STRING2, PRINT STRING3, etc is a
sequence of alphanumeric characters (ex. X, Y, Z).
# define the printing format of the parameter numeric
values (Pn).
####.### defines a printing format made of 3 integers
and 3 decimals, plus sign.
#### defines a printing format consisting of 3 integers
plus sign.
PRINT n, P...,
P..., P... Enables the writing of a block in the program with the n format
defined by the FORMAT function;
P... are the parameters to be printed, from P0 to P199,
separated by commas.
CLOSE closes the printing file. It must be programmed alone after the
last PRINT command.
MESSAGES DISPLAYING
DISP -2 permits the return from the MESSAGES page to the previously
active one (LIST or DRAWING).
DISP -1 permits the display the MESSAGES page.
DISP 0 cancels all texts currently on the screen.
DISP... (from DISP 1 to DISP 18): writes a text line in the defined
screen position.
Each line can contain up to 56 characters.
The programming format is:
DISP n = String of characters
NOTE:
The EXPORT versions (marked with an E after the version
number) permit to interpolate max. 4 axes. It is therefore not
possible to program more than 4 axes in a block.
Example: X100Y50Z200A0
If you program for ex. X100Y50Z200A0B90, the CN will show an error.
The dynamic TCPM functions (G748 and G749) do not permit the
programming of more than one axis.
Example: G748C
G749A
If you program for ex. G748BC or G749AB, the CN will show an error.
(See G748 and G749 on page 29).