CNC Z32 - Programming Guide (LATHES)
5.2 Programming
with
“advanced lines” ( ! ... ! )
The Z32 CNC allows the usage of special program lines, called “advanced lines”.
Through these lines it is generally possible to handle most cases of logic-parametric programming, allowing for
conditioning and jumps with or without return.
An advanced line is a program line beginning and terminating with the “!” character. This line may be preceded by
the letter N followed by a line number.
Inside an advanced line more than one instruction may be contained, each separated from the others by means of
character “;” or “!”, as below described.
Note:
In advanced lines it is NOT possible to program machine movements.
5.2.1
Assigning values to parameters and computing expressions
The assignment operator is the character “
=
“.
More than one assignment is possible, by using the separator “
;
”.
Example:
N10 !HA=16 ; HB=RQ(HA)+5 ; HC=0!
Note
: The computing of expressions or the assignment of a value to a parameter is possible both in an advanced
line and in a normal line; for instance, the following expressions are equivalent:
!HA=10!
or
HA10
Also equivalent are the instructions:
!HA=PAR[3]!
and
HA<PAR[3]>
Warning
: as already told, it is not possible to program an axis movement in an advanced line.
For example, by programming
!X=100!
no machine movement are produced, but it has the only meaning to set the value of parameter X to the value 100.
A machine movement can be programmed only outside advanced lines.
5.2.2
56
Summary of Contents for CNC Z32 Florenz Series
Page 2: ......