CN219179799U - Servo IO function expansion circuit of wire-electrode cutting - Google Patents

Servo IO function expansion circuit of wire-electrode cutting Download PDF

Info

Publication number
CN219179799U
CN219179799U CN202223569281.1U CN202223569281U CN219179799U CN 219179799 U CN219179799 U CN 219179799U CN 202223569281 U CN202223569281 U CN 202223569281U CN 219179799 U CN219179799 U CN 219179799U
Authority
CN
China
Prior art keywords
shift registers
pins
pin
singlechip
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202223569281.1U
Other languages
Chinese (zh)
Inventor
李东瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Autocut Technology Co ltd
Original Assignee
Wuxi Autocut Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Autocut Technology Co ltd filed Critical Wuxi Autocut Technology Co ltd
Priority to CN202223569281.1U priority Critical patent/CN219179799U/en
Application granted granted Critical
Publication of CN219179799U publication Critical patent/CN219179799U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)

Abstract

The utility model provides a linear cutting servo IO function expansion circuit, comprising: the system comprises a singlechip 4D2 and a plurality of shift registers, wherein one IO port of the singlechip 4D2 is connected with clock input pins of the plurality of shift registers, and the other IO port of the singlechip 4D2 is connected with shift control pins of the plurality of shift registers; the plurality of shift registers are cascaded through serial output pins and serial input pins in sequence, the serial output pin of the last shift register is connected with the other IO port of the single chip microcomputer 4D2, and in the running process of the linear cutting machine, the high-low level state fed back by the plurality of monitoring units is read and stored through the parallel data input ends of the plurality of shift registers; the adjacent shift registers are connected through serial input pins and serial output pins, cascade connection of a plurality of shift registers is achieved, the singlechip reads data stored in the shift registers based on the cascade mode, and the shift registers achieve expansion of IO functions.

Description

Servo IO function expansion circuit of wire-electrode cutting
Technical Field
The utility model relates to the field of IO function expansion circuits, in particular to a linear cutting servo IO function expansion circuit.
Background
In the traditional linear cutting system, the IO functions of a servo system are relatively fixed and can be met by more than ten IO functions, and the functions generally comprise X+, X-, Y+, Y-, U+, U-, V+, V-emergency stop, alarm, stroke, reversing A, B and wire speed 123, because the IO pins of the singlechip directly control each IO port.
Along with the development of technology, the functions of the machine tool are not limited to the traditional basic functions, but the intelligent and automatic development is realized, the linear cutting machine tool is combined with automatic production, the state of the linear cutting machine tool is collected and monitored, various machine tool sensors are increased for intelligent diagnosis faults, so that a plurality of IO ports are needed, the limited pins of the ports of the traditional singlechip are inconvenient to expand, and a circuit capable of expanding the IO functions is needed.
Disclosure of Invention
The utility model provides a linear cutting servo IO function expansion circuit, wherein parallel data input ends of a plurality of shift registers are used as IO ports to acquire various state data of a linear cutting machine, adjacent shift registers are connected with a serial output pin through a serial input pin to realize cascading, data is uploaded to a singlechip through the serial output pin, and the plurality of shift registers realize expansion of IO functions.
The specific technical scheme is as follows: comprising the following steps: the system comprises a singlechip 4D2 and a plurality of shift registers, wherein one IO port of the singlechip 4D2 is connected with clock input pins of the shift registers and used for synchronizing clocks of the shift registers; the other IO port of the singlechip 4D2 is connected with the shift control pins of the plurality of shift registers and is used for controlling the states of the plurality of shift registers; the plurality of shift registers are cascaded through serial output pins and serial input pins in sequence, and the serial output pin of the last shift register is connected with the other IO port of the singlechip 4D2 and used for reading data in the shift registers to the singlechip.
Furthermore, the singlechip 4D2 selects an STC12C5204AD chip, and 24 pins of the STC12C5204AD chip output clock signals to the shift registers, so that clock synchronization is ensured; the 25 pins of the STC12C5204AD chip output high/low level signals to the shift control pins of the shift registers, the low level shift register reads the state of the parallel data input end, and the data of the high level shift register is read to the singlechip; the 23 pin of the STC12C5204AD chip is used for reading the data uploaded by the last shift register.
Further, the plurality of shift registers are HC165 chips, the HC165 chips input 5v voltage, the HC165 chips input high and low level states fed back by the monitoring unit through a parallel data input end, a sensor, a detection circuit and the like for monitoring the state of the connecting wire cutting machine tool, and the parallel data input end is stored in the shift registers; the 9 pins of the last shift register are serial output pins which are connected with the 23 pins of the STC12C5204AD chip and are used for uploading the data stored in the shift register to the singlechip.
Furthermore, the RX/TX pin of the STC12C5204AD chip is in data interaction with an external controller through an optical coupler switch circuit, and interference resistance can be effectively achieved through the optical coupler switch circuit.
Further, the optocoupler switch circuit comprises an optocoupler 4N1 and an optocoupler 4N2, wherein the anode of the input end of the optocoupler 4N1 inputs 5v voltage, the cathode of the input end is connected with the TX pin of the STC12C5204AD chip, and signals are output to an external controller; the anode of the input end of the optocoupler 4N2 is input with 12v voltage, the cathode of the input end is an external controller signal, and the collector of the output end is connected with the pull-up resistor 4R11 and the RX pin of the STC12C5204AD chip.
Further, the optocoupler switch circuit is connected with an external controller through an interface J2, and 12v voltage is introduced.
Compared with the prior art, the utility model has the following beneficial effects: in the running process of the linear cutting machine, the high-low level state fed back by the plurality of monitoring units is read and stored through the parallel data input ends of the plurality of shift registers; the adjacent shift registers are connected through serial input pins and serial output pins, cascade connection of a plurality of shift registers is achieved, the singlechip reads data stored in the shift registers based on the cascade mode, and the shift registers achieve expansion of IO functions.
Drawings
FIG. 1 is a schematic diagram of a frame of a controller-driven servo motor;
fig. 2 is a schematic diagram of a secondary card primary chip.
Detailed Description
The utility model will now be further described with reference to the accompanying drawings.
As shown in fig. 1, the method comprises: the single chip microcomputer 4D2, a plurality of shift registers are cascaded, the IO ports of the shift registers are used for inputting and storing external data, the external data are state data of the linear cutting machine, when the linear cutting machine operates, a sensor, a detection circuit and the like acquire the state of the machine, the IO ports of the shift registers are used for reading and storing high/low level signals corresponding to the external data, and the single chip microcomputer 4D2 acquires data related to the linear cutting machine and stored in the shift registers through communication.
The singlechip 4D2 sends a clock instruction to the clock input pins of the shift registers through the IO port, so that the clock synchronization of the shift registers is ensured.
The single chip microcomputer 4D2 further outputs a control instruction to shift control pins of the plurality of shift registers through another IO port, for controlling states of the plurality of shift registers, including: external data are read and stored, and the data stored in the shift register are read by the singlechip.
The serial output pins of the last shift register are connected with the other IO port of the single chip microcomputer 4D2, the serial output pin of the shift register 4D10 is connected with the serial input pin of the shift register 4D11, the serial output pin of the shift register 4D11 is connected with the serial input pin of the shift register 4D12, and the serial output pin of the shift register 4D12 is connected with the other IO port of the single chip microcomputer 4D2 for reading the data in the shift register to the single chip microcomputer.
Furthermore, the singlechip 4D2 selects STC12C5204AD chip, and 24 pins of the STC12C5204AD chip output clock signals to clock input pins of the plurality of shift registers, so that clock synchronization of the plurality of shift registers is ensured; the 25 pins of the STC12C5204AD chip output high/low level signals to the shift control pins of the shift registers to control the states of the shift registers; the 23 pin of the STC12C5204AD chip is connected with the serial output pin of the last shift register and is used for reading data in a plurality of shift registers.
As shown in fig. 1, the three shift registers 4D10, 4D11 and 4D12 are all HC165 chips, the HC165 chips input 5v voltage, the parallel data input ends (3, 4, 5, 6, 11, 12, 13 and 14 pins) of the three HC165 chips are used as parallel data input ends for inputting state level signals detected by an external monitoring circuit or a sensor, the 9 pin (serial output pin) of the shift register 4D10 is connected with the 10 pin (serial input pin) of the shift register 4D11, the 9 pin (serial output pin) of the shift register 4D11 is connected with the 10 pin (serial input pin) of the shift register 4D12, and the shift register can be further expanded and increased according to actual IO requirements.
The shift register receives a control instruction of the singlechip and reads data to the singlechip: the 2 pins (clock input pins) of the three HC165 chips input clock instructions sent by the 24 pins of the STC12C5204AD chip; the 1 pin (shift control pin) of the three HC165 chips inputs the high/low level sent by the pin 25 of the STC12C5204AD chip, the low level time shift register reads the state of the parallel data input end, and the data of the high level time shift register is read to the singlechip; the 10 pin (serial input pin) of the last HC165 chip is connected with the 23 pin of the STC12C5204AD chip, when the 1 pin of the plurality of HC165 chips is pulled high, and the plurality of HC165 chips read the data in the shift register to the singlechip in the clock synchronization mode.
An RX/TX pin of the STC12C5204AD chip is in data interaction with an external controller through an optocoupler switch circuit, as shown in FIG. 2, an interface J2 is introduced with 12v voltage and an external RX/TX communication line, the optocoupler switch circuit comprises an optocoupler 4N1 and an optocoupler 4N2, an anode of an input end of the optocoupler 4N1 is input with 5v voltage through a resistor 4R9, a cathode of the input end is connected with the TX pin of the STC12C5204AD chip, a collector of the output end is connected with a pull-up resistor 4R7 and the external RX communication line, and an output signal transmits data to the external controller through the external RX communication line; the anode of the input end of the optocoupler 4N2 is input with 12v voltage through a resistor 4R5, the cathode of the input end is connected with an external TX communication line, the collector of the output end is connected with a pull-up resistor 4R11 and an RX pin of the STC12C5204AD chip, and the optocoupler is used for transmitting an external controller signal to the STC12C5204AD chip.
The 26 pins of the STC12C5204AD chip are connected with the cathode of the light emitting diode LED1, the anode of the light emitting diode LED1 is input with 5v voltage through a resistor 4R11, the 27 pins of the STC12C5204AD chip are connected with the cathode of the light emitting diode LED2, the anode of the light emitting diode LED2 is input with 5v voltage through a resistor 4R12, and the parameter state can be visually seen through the state of the light emitting diode.
The technical principle of the present utility model is described above in connection with the specific embodiments. The description is made for the purpose of illustrating the general principles of the utility model and should not be taken in any way as limiting the scope of the utility model. Other embodiments of the utility model will occur to those skilled in the art from consideration of the specification and practice of the utility model without the need for inventive faculty, and are within the scope of the claims.

Claims (6)

1. A wire cutting servo IO function expansion circuit is characterized in that: comprising the following steps: the system comprises a singlechip 4D2 and a plurality of shift registers, wherein one IO port of the singlechip 4D2 is connected with clock input pins of the plurality of shift registers, and the other IO port of the singlechip 4D2 is connected with shift control pins of the plurality of shift registers; the plurality of shift registers are cascaded through serial output pins and serial input pins in sequence, and the serial output pin of the last shift register is connected with the other IO port of the singlechip 4D 2.
2. The wire-cut servo IO function expansion circuit of claim 1, wherein: the singlechip 4D2 selects an STC12C5204AD chip, and 24 pins of the STC12C5204AD chip output clock signals to the shift registers; the 25 pins of the STC12C5204AD chip output high/low level signals to the shift control pins of the shift registers; the 23 pin of the STC12C5204AD chip is used for reading the data uploaded by the last shift register.
3. The linear cutting servo IO function expansion circuit of claim 2, wherein: the plurality of shift registers are HC165 chips, the HC165 chips input 5v voltage, and the HC165 chips acquire and store the high-low level states of the IO ports through the parallel data input ends; the 9 pin of the last shift register is a serial output pin and is connected with the 23 pin of the STC12C5204AD chip.
4. The linear cutting servo IO function expansion circuit of claim 2, wherein: the RX/TX pin of the STC12C5204AD chip is in data interaction with an external controller through an optocoupler switch circuit.
5. The linear cutting servo IO function expansion circuit of claim 4, wherein: the optocoupler switch circuit comprises an optocoupler 4N1 and an optocoupler 4N2, wherein the anode of the input end of the optocoupler 4N1 inputs 5v voltage, the cathode of the input end is connected with the TX pin of the STC12C5204AD chip, and signals are output to an external controller; the anode of the input end of the optocoupler 4N2 is input with 12v voltage, the cathode of the input end is an external controller signal, and the collector of the output end is connected with the pull-up resistor 4R11 and the RX pin of the STC12C5204AD chip.
6. The linear cutting servo IO function expansion circuit of claim 5, wherein: the optocoupler switching circuit is connected with an external controller through an interface J2 and introduces 12v voltage.
CN202223569281.1U 2022-12-30 2022-12-30 Servo IO function expansion circuit of wire-electrode cutting Active CN219179799U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202223569281.1U CN219179799U (en) 2022-12-30 2022-12-30 Servo IO function expansion circuit of wire-electrode cutting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202223569281.1U CN219179799U (en) 2022-12-30 2022-12-30 Servo IO function expansion circuit of wire-electrode cutting

Publications (1)

Publication Number Publication Date
CN219179799U true CN219179799U (en) 2023-06-13

Family

ID=86675135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202223569281.1U Active CN219179799U (en) 2022-12-30 2022-12-30 Servo IO function expansion circuit of wire-electrode cutting

Country Status (1)

Country Link
CN (1) CN219179799U (en)

Similar Documents

Publication Publication Date Title
CN102253913B (en) Device for carrying out state acquisition and output control on multi-board-card port
CN103376400A (en) Chip testing method and chip
CN101923525B (en) General purpose in-out circuit with event capturing function
CN112051758A (en) IO extension chip
CN201259629Y (en) Configurable I/O module for multiple bus interface
CN105388805A (en) SPI (Serial Peripheral Interface) bus-based measurement control system
CN102147603A (en) Multi-axis motion control device based on versa module Euro-card (VME) bus
CN219179799U (en) Servo IO function expansion circuit of wire-electrode cutting
CN101158855A (en) Serial interface type single-chip data acquisition system
CN117033279A (en) Time sequence input and output control method
CN101290599B (en) System and method for checking watchdog zero clearing signal
CN2594869Y (en) Switching test device between image accelerating interface and built-in video processing interface
CN102521180B (en) Multi-channel real-time direct reading memory structure
CN100471102C (en) Clock selective system and its method
CN213843406U (en) Automatic test system for distributor product
CN204241910U (en) Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer
CN202332303U (en) Structure of multichannel real-time direct-reading memory
CN113671883A (en) Method and device for controlling switch indicator light, single chip microcomputer and storage medium
CN108255763B (en) A kind of low-power consumption mass-storage system and application
CN219266808U (en) Integrated multifunctional PLC control circuit
CN220252433U (en) Induction operation control device
CN218568028U (en) Novel data processing circuit board
CN217426068U (en) Signal conversion circuit and electronic equipment
CN219609479U (en) Multi-shaft industrial motion control card
CN201897790U (en) Multiple-MCU (micro-control unit) information exchange device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant