Installation manual
CNC 8060
CNC 8065
PLC PROGRAMMING.
4.
(REF: 1402)
·263·
Action instructions.
Cam type.
Depending on the execution mode, the time cams and the position cams may be of two
different types; i.e. periodic or non-periodic. It is selected with the type parameter.
If the master axis is a rotary module and the cam definition range is that module, the two
execution modes are equivalent.
Either mode maintains synchronization until the #CAM OFF command is executed. When
reaching that command, the execution of the cam will end the next time the end of the cam
profile is reached.
= CAM SELECT
= CAM DESELECT
Select (CAM SELECT) or cancel a file cam (CAM DESELECT).
The data of a cam may be defined in a file that may be loaded from the CNC or from the PLC.
When executing a cam from a file, the CNC reads its data dynamically and, consequently,
the number of points to define the cam is unlimited.
The following commands only define the location of the cam; to activate it, use the instruction
#CAM ON (from the CNC) or the command CAM ON (from the PLC). After selecting a file
cam, it stays available until the cam table of the machine parameters is validated or the CNC
is turned off.
The programming format for each of them is the following.
CAM SELECT (cam, file)
CAM DESELECT (cam)
Executing the CAM OFF command involves eliminating the synchronization of the cam.
Once this command has been programmed, the cam ends when reaching the end of its
profile.
Not periodic It is defined by assigning the "ONCE" value to the type parameter.
This mode maintains the synchronization for the range defined for the
master axis. If the master axis moves backwards or if it is a module,
the slave axis will keep on executing the cam profile until the
cancellation is programmed.
Periodic It is defined by assigning the "CONT" value to the type parameter.
In this mode, when reaching the end of the range of the master axis,
it calculates the offset to execute the cam again shifted in the amount
of that range. In other words, identical cams are executed along the
path of the master axis.
Parameter Meaning
cam Cam number.
file Name and path of the file containing the cam data.