
8.MISCELLANEOUS FUNCTION B-63783EN-1/01
- 742 -
(1) Suppose that Mxxx is specified in a program.
The maximum allowable number of digits can be specified for
each function by using parameter No. 2030 to 2033. A command
longer than the maximum allowable number of digits causes an
alarm (PS0003).
(2) Code signal M00 to M31 is sent. After period TMF, specified in
parameter No. 2010, strobe signal MF is set to 1. The code signal
is the binary representation of the programmed value xxx. If the
move, dwell, spindle-speed, or another function is specified at the
same time as the miscellaneous function, the execution of the
other function is started when the code signal of the miscellaneous
function is sent.
(3) When the strobe signal is set to 1, the PMC reads the code signal
and performs the corresponding operation.
(4) To execute an operation after the completion of the move, dwell
or other function specified in the block, wait until distribution end
signal DEN or IPEN is set to 1.
(5) Upon completion of the operation, the PMC sets completion
signal FIN to 1. The completion signal is used by the
miscellaneous function, spindle-speed function, tool function,
secondary auxiliary function, external operation function
described later, and other functions. If any of these functions are
executed simultaneously, the completion signal must be set to 1
upon completion of all the functions.
(6) If the completion signal remains set to 1 for longer than period
TFIN, specified in parameter No. 2011 , the CNC sets the strobe
signal to 0 and reports that the completion signal has been
received.
(7) When the strobe signal is set to 0, set the completion signal to 0 in
the PMC.
(8) When the completion signal is set to 0, the sequence of an
auxiliary function is completed.
The timing diagram is shown below:
Example 1) Single miscellaneous function specified in a block
M command
independent
Mxx
Code si
nals
M00-M31
Strobe si
nals MF
PMC side action
End si
nal FIN
Distribution end si
nals
DEN
1
2
3
5
6
7
8
TMF
TFIN