摘要 |
<p>An interface method employed in a numerical controller to perform high-speed interface for signal interchange between the microprocessor of the numerical control unit and the microprocessor of a programmable machine controller. When an M-code is read from the numerical control program, the processor in the numerical control unit sends the M-code to a latch circuit in the interface circuit to store it in the latch circuit and inverts the logic level of a first status signal (MF) in a corresponding bit region of a first register in the interface circuit. Thereafter, when the controller finishes the sequence control related to the M-code, the processor in the controller inverts the logic level of a second status signal (MFIN) in a corresponding bit region of a second register in the interface circuit. When the first and second status signals coincide, the processor in the numerical control unit starts to process the next block in the numerical control program. Therefore, high-speed interfacing is possible.</p> |