EasyManua.ls Logo

Fagor CNC 8065 - Special Considerations with the Multi-Spindle Option and Channels

Fagor CNC 8065
900 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Installation manual
CNC 8060
CNC 8065
CNC-PLC COMMUNICATION.
5.
(REF: 1402)
·277·
Auxiliary –M– functions.
5.1.1 Special considerations with the multi-spindle option and channels.
The CNC may have up to 4 channels and each channel can execute a part-program in parallel
with the rest. This means that each channel can execute seven auxiliary functions
simultaneously. The auxiliary functions executed from each channel are treated
independently; to do that, each channel has its own marks and registers.
Since each channel may have four spindles, it is possible to program in the same block 6
non-spindle-related M functions, the startup of all four spindles M3 / M4 and a speed for each
of them involving an automatic gear change. This means that, because some functions are
generated automatically, it may exceed the maximum of seven auxiliary functions per block.
In this case, the CNC will send the M functions out to the PLC in two stages.
Marks and registers in the channels option.
Each channel has 32-bit registers MFUN1 to MFUN7 to indicate to the PLC which auxiliary
M functions are programmed in the execution block.
MFUN1C1 - MFUN7C1 for the first channel.
MFUN1C2 - MFUN7C2 for the second channel.
MFUN1C3 - MFUN7C3 for the third channel.
MFUN1C4 - MFUN7C4 for the fourth channel.
Each one of them indicates the number of one of the M functions programmed in the block.
If all the registers are not used, the CNC assigns $FFFFFFFF to the unused ones (those
with the highest numbers).
This way, if functions M100 and M135 are programmed in the first channel and functions M88
and M75 in the second channel, the CNC will transfer the following data.
Commands MFUNC1* - MFUNC4*. Checking if a function has been programmed in the
channel.
To know whether a particular M function is programmed in the execution block, use one of
the following methods:
Check all the MFUN registers one by one until that particular M function is found or until
one of them has the value of $FFFFFFFF.
Use one of the following commands to check all the MFUN registers of the channel at
the same time.
MFUNC1* For channel 1
MFUNC2* For channel 2.
MFUNC3* For channel 3.
MFUNC4* For channel 4.
MFUN1C1 MFUN2C1 MFUN3C1 - MFUN7C1
100 135 $FFFFFFFF
MFUN1C2 MFUN2C2 MFUN3C2 - MFUN7C2
88 75 $FFFFFFFF
Example for detecting M04 in channel 1. If it has been programmed, it will return a "1", and
a "0" if otherwise.
CPS MFUNC1* EQ 4 = ...

Table of Contents

Other manuals for Fagor CNC 8065

Related product manuals