Programming manual.
CNC 8070
22.
STATEMENTS AND INSTRUCTIONS
Programming statements
·428·
(REF: 1709)
22.1.21 Electronic cams.
The electronic cam mode may be used to move a slave axis based on a positions-table or
on a cam profile. If while executing a cam profile, a second cam profile is executed, the
second one gets ready and waiting for the current execution to be over. Once the current
cam profile has ended, it starts executing the second cam blending both profiles like when
blending (joining) two positioning blocks. Executing the cam synchronization ending
instruction (#CAM OFF) will end the current cam, but not immediately, it will do so the next
time it goes through the end of the cam profile.
After executing the synchronization of the cam, no positioning moves of the independent axis
(MOVE) are possible. It makes no sense to add another movement to the cam
synchronization movement that would brake the synchronization already achieved.
Position - position cam
On this type of cam, it is possible to obtain non-linear electronic synchronization ratios
between two axes. Thus, the position of the slave axis is synchronized with the position of
the master axis using a cam profile.
Position - time cam
On this type of cam, it is possible to obtain other movement profiles different from trapezoidal
or S-shaped ones.
Electronic-cam editor.
Before activating an electronic cam, it must have been defined at the cam editor which is
accessed from the machine parameters. This editor offers a friendly assistance to analyze
the behavior of the cam projected through graphically assisted data entry for speed,
acceleration and jerk.
It is up to the user to select the parameters and the functions to design an electronic cam
and must make sure that his design is coherent with the required specifications.
Activating and canceling the file cam from the part-program.
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. After selecting a file cam,
it stays available until the cam table of the machine parameters is validated or the CNC is
turned off.
To select or cancel a file cam, use the following instructions. The following instructions only
defines the location of the cam; to activate it, use the instruction #CAM ON.
#CAM SELECT - Select a file cam.
#CAM DESELECT - Cancel the cam of a file.
The programming format for each of them is the following.
#CAM SELECT [cam, file]
#CAM DESELECT [cam]
This function has a specific manual. This manual that you are reading now only offers some information
about this function. Refer to the specific documentation to obtain further information regarding the
requirements and operation of the electronic cams.
Parameter. Meaning.
cam Cam number.
path/file Name and path of the file containing the cam data.
#CAM SELECT [6, "C:\USERCAM\cam.txt"]
(The CNC uses for cam ·6· the data defined in the cam.txt file)
#CAM DESELECT [6]
(The CNC stops using for cam ·6· the data defined in the cam.txt file)