Programming manual.
CNC 8070
STATEMENTS AND INSTRUCTIONS
22.
Programming statements
·429·
(REF: 1709)
Activating and canceling the electronic cam (#CAM).
The activation and cancellation of the electronic cam is programmed with the following
instructions.
#CAM ON - Activates the cam (real coordinates).
#TCAM ON - Activates the cam (theoretical coordinates).
#CAM OFF - Cancel the electronic cam.
The programming format for each of them is the following. Optional parameters are indicated
between the <> characters.
#CAM ON [cam, master/"TIME", slave, master_off, slave_off, range_master,
range_slave <,type>]
#TCAM ON [cam, master/"TIME", slave, master_off, slave_off, range_master,
range_slave <,type>]
#CAM OFF [slave]
Executing the #CAM OFF instruction involves eliminating the synchronization of the cam.
Once this instruction has been programmed, the cam ends when reaching the end of its
profile.
[cam] Cam number.
To activate a cam, it must have been previously defined at the cam editor, within the machine
parameters.
[master/"TIME"] Master axis.
Name of the master axis, when it is a position cam. When programming the "TIME" command
instead of an axis name, the cam is interpreted as being a time cam.
In a position cam, treating a rotary axis as an infinite axis making it possible to increase the
feedback count of the axis indefinitely (wihout limits) regardless of the value of the module,
program the master axis with the prefix ACCU. This way, the CNC does a follow-up of the
axis through the variable V.A.ACCUDIST.xn.
[slave] Slave axis.
Name of the slave axis.
[master_off] Offset of the master axis or time offset.
In a position cam, this offset sets the position where the cam is activated. The offset is
subtracted from the master axis position to calculate the entry position of the cam table.
In a time cam this offset may be used to set a time for the cam trigger.
[slave_off] Offset of the master axis.
The slave_off and range_slave values allow moving the slave axis positions outside the
range of values set by the cam function.
[Range_master] Master axis activation scale or range.
The position cam is activated when the master axis is between the positions "master_off"
and "master_off + range_master". The cam only regulates the slave axis position within this
range.
In a time cam, this parameter sets the time range or total duration of the cam.
[Range_slave] Slave axis activation scale or range.
The cam applies it to the slave axis when the slave axis is between "slave_off" and "slave_off
+ range_slave".
#CAM ON [1, X, Y, 30, 0, 100, 100]
#CAM ON [1, ACCUX, Y, 30, 0, 100, 100]
#CAM ON [1, TIME, A2, 0, 0, 6, 3, ONCE]
#CAM OFF [Y]