Auxiliary –M– Functions - Fagor CNC 8060 Installation Manual

Hide thumbs Also See for CNC 8060:
Table of Contents

Advertisement

5.1
5.
CNC 8060
CNC 8065
(R
: 1709)
EF
·378·
Auxiliary –M– functions.
Up to 7 M functions in the same block. The CNC indicates to the PLC which auxiliary M
functions are programmed in the execution block using 32-bit registers MFUN1 through
MFUN7. 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 a block contains functions M100, M120 and M135, the CNC will transfer the
following information to the PLC.
MFUN1
MFUN2
100
120
Command MFUN*. Checking if a function has been programmed in the block.
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 the MFUN* command to check all the registers at the same time.
Example to detect M30. If it has been programmed, it will return a "1", and a "0" if otherwise.
CPS MFUN* EQ 30 = ...
Sending the function and synchronizing the execution.
Within the CNC machine parameters, the auxiliary M function table indicates when the
function is sent and when the PLC execution is synchronized. In either case, it may be before
or after the movement.
The sending and synchronizing types may be the following:
M not synchronized.
M sent out and synchronized before the movement.
M sent out before the move and synchronized after the movement.
M sent out and synchronized after the movement.
M functions with different types of synchronization may be programmed in the same block.
Each one of them will be sent out to the PLC at the right moment. The transfer of auxiliary
M functions is described later on in this chapter. See
-M-, -H-, -S-."
on page 384.
The functions may be set as follows:
M11 not synchronized.
M12 is sent and synchronized before the movement.
M13 is sent before and synchronized after the movement.
M14 is sent and synchronized after the movement.
When executing a block like this:
X100 F1000 M11 M12 M13 M14
The functions are transferred as follows:
1
It sends the M11 M12 and M13 functions out to the PLC.
2
waits for the PLC to execute the M12.
3
The CNC moves the axis to X100.
4
It sends the M14 function to the PLC.
5
It waits until the PLC executes the M13 and M14.
I n s ta ll a t io n ma n u a l.
MFUN3
MFUN4 - MFUN7
135
$FFFFFFFF
"5.4 Transferring auxiliary functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cnc 80658060 t power8060 l8060 m fl8060 t fl8060 m power ... Show all

Table of Contents