·176·
Installation manual
CNC 8060
CNC 8065
2.
MACHINE PARAMETERS.
(REF: 1402)
Machine parameters for the M function table.
The M functions may be sent and/or synchronized before or after the movement.
• If an M function is used to turn on a lamp, it will be set without synchronization because
there is no need to check that the lamp has indeed turned on.
• Functions M03 and M04 to start up the spindle, they should be executed and
synchronized before the movement.
• Function M5 to stop the spindle, should be executed and synchronized after the
movement.
MPROGNAME
Name of subroutine associated with M function.
Possible values: any text with up to 64 characters.
Default value: Without subroutine.
Associated variable: (V.)MPM.MPROGNAME[pos]
Parameter included in the DATA table.
The subroutines associated with the M functions must be located in the "C:\CNC8070 \MTB
\SUB" folder.
When associating a subroutine with an M function, the execution of the M function executes
the associated subroutine without executing the M function itself. To send the M function to
the PLC, it must be programmed in the subroutine.
The type of synchronization of the M functions that have an associated subroutine must be
"without synchronization" or "After-After". The CNC executes the associated subroutine after
executing the programmed movement (if any).
MTIME
Estimated time for an M function.
Possible values: From 0 to 1000000 ms.
Default value: 0 ms.
Associated variable: (V.)MPM.MTIME[pos]
Parameter included in the DATA table.
In EDISIMU mode, there is an option that allows calculating the time required to execute a
part with the machining conditions established in the program. This parameter may be set
to fine tune that calculation.
MPLC
Send the M function to the PLC during block search.
Possible values: Yes / No.
Default value: Yes.
Associated variable: (V.)MPM.MPLC[pos]
Parameter included in the DATA table.
This field indicates whether the M function must be sent to the PLC during block search.
COMMENT
Description of the M function.
Associated variable: (V.)MPM.COMMENT[pos]
Parameter included in the DATA table.
This field offers the possibility to associate a short description with the M function. This field
is for information only; it is not used by the CNC.
The comments are saved in the file MComments.txt and it is possible to have one file per
language. These files are saved in the folder C:\CNC8070 \MTB \data \Lang.
To have different procedures in the subroutines associated with certain M functions, the code of each
channel may be differentiated within the subroutine using the variable (V.)G.CNCHANNEL..