The new type of monolithic device is practiced in the remote sensing of remote sensing by numerical control

The remote control function design remote control should have MDI function and display function in addition to the remote control function. The content of the remote control function is mainly determined according to the function of the numerical control system. The purpose is to realize the control of various states during the processing; the MDI function, that is, the function of executing the single-segment program, is for those skilled and experienced operators. It is said that it is not necessary to prepare a large number of NC programs in advance, especially some NC programs that are not well programmed in advance, but based on experience, use the MDI function to control the machine tool to run according to its own requirements, and complete the machining simulation process of a part. Then, through the MDI teaching function, the numerical control system can control the machine tool to complete the machining of the part; the display function can display the NC program and display the state of the system and the change of the process quantity. In the function design, the reliability is also considered. In order to avoid the situation that a remote controller controls several machines at the same time, a password is added to the remote controller, that is, the address setting is used to make a one-to-one correspondence between the remote controller and the controlled machine tool. .

Remote control mode The commonly used remote control modes are radio remote control, ultrasonic remote control and infrared remote control. Compared with the first two methods, infrared remote control has the following advantages: (1) more control content, strong anti-interference ability, will not occur Any malfunction; (2) fast response, will not interfere with other electrical appliances, thus affecting the use; (3) small size, low cost, low power consumption, compared with other methods, can reduce power consumption by 90%.

From the above three advantages, combined with the environment of the remote control application, we chose the infrared remote control method in the GL-2000 numerical control system developed by CIMS of Hefei University of Technology.

The choice of single-chip microcomputer should be based on its performance and price ratio and the advantages and disadvantages of the development environment. This paper selects the PIC series intermediate 8-bit single-chip PIC16C73 developed by Microchip Company of Arizona as a microprocessor. Compared with MCS-51 (96, 98) and other series of single-chip microcomputers, it has the following advantages: it uses a reduced instruction set ( RISC) technology and Harvard architecture pipeline; only 35 (14-bit) single-byte instructions, easy to master, programming; have their own development environment, its integrated development software based on Windows platform MPLAB, the establishment of the source program, assembly, The software simulation and debugging of the target program provides a good environment. Structurally, the PIC16C73 contains 13-bit EPROM (addressable 4K x 14 program memory), 192 bytes of RAM (8-bit) and 22 I/O ports, including two serial communication ports. In addition, the PIC16C73 has independent data bus (8-bit) and instruction bus (14-bit). This structure provides simple and powerful programming capability, and due to the separation of the bus, the instruction fetch period and the execution cycle can overlap. Greatly improve the speed of the program.

Interface circuit design The interface circuit design includes three parts: the transmit circuit interface, the receive circuit interface and the display circuit interface design, as shown in Figure 1. As can be seen from Figure 1, in the transmitting circuit part: 6 × I keyboard lead circuit composed of 6 I / O port leads of RA and 8 I / O port leads of RB; RC4 is shift of shift register (4014) Bit clock input port, active high; RC5 is code address preset/serial shift control port. When high level, the code address is sent to the buffer. When low level, the 4-bit code address and 8-bit data are used. The shift clock is serially shifted out; RC6 is the serial transmit port, connected to the DS terminal of the shift register (4014); RC7 is set to transmit the enable control port, allowing transmission when high level; oscillation by the off-chip crystal (XT1) The circuit generates a 4MHz system clock frequency; the 458kHz oscillation frequency generated by the crystal (XT2) oscillator circuit is divided by a 1/12 frequency divider (74HC161) to obtain a transmission frequency of 38kHz, which becomes a carrier for transmitting signals.

In the receiving circuit section. The transmitted infrared pulse signal is received by the phototransistor, demodulated, amplified, filtered, and shaped by the demodulator (KA2184). The inverter (4069) is inverted and sent to the level shifter (MAX232). The TTL level is converted to the RS-232 level and sent to the CNC system by the COM port of the PC.

In the display circuit section. After serial expansion of the RC0 port, it sends 9-bit serial data to the LCD module, which is a 1-bit RS (instruction/data register selection) signal, a 1-bit R/W (read/write select) signal, and 7 bits. The DB0-DB6 data signal is shifted by the three unidirectional shift registers (4015) and connected to the RS, R/W, and DB0-DB6 pins of the LCD module to generate parallel signals for the LCD module. A shift pulse that controls the shift is transmitted by RC1. The E (read/write enable) signal sent by RC2 is input by pin E of the LCD module. The status-busy flag (BF) bit of pin DB7 is read by RC3 to determine whether information can be written to the LCD module. The software design software is divided into two parts: keyboard scanning, sending program and display program.

Conclusion The infrared remote control designed in this paper is applied to the CNC system (GL-2000) developed by us. It can easily realize the remote control and debugging of CNC machine tools. At the same time, it also greatly improves the man-machine relationship. Its design ideas and methods have good practical value for improving the operation mode of CNC machine tools.

(Finish)

Valve Casting Parts

Valve Die Casting Parts,Aluminum Valve Body Housing,Valve Casting Parts,Aluminum Valve Casting Parts

Wuxi Sixleaf Machinery Co. LTD , https://www.wxsixleafmachine.com