Profinet control panel capable of expanding multiple functions
By designing a multifunctional Profinet control panel, combined with Profinet processing units and expansion modules, two-way data communication and expansion of input and output channels are realized, solving the problem of excessive IO point occupation and lack of functions, and improving response speed and system reliability. .
Patent Information
- Application Number
- CN202323589944.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2033-12-27
AI Technical Summary
Existing Profinet communication technology occupies too many IO points in the field of motion control, resulting in high PLC cost, slow response speed, lack of Modbus, CANopen, and pulse detection functions, and waste of external expansion module resources and high cost.
An extended multi-functional Profinet control panel is designed, including Profinet processing unit, button unit, LED indicator unit, Modbus unit, CANopen unit and pulse detection unit. By combining the main control module and the expansion module, two-way data communication is realized, reducing the IO points are occupied, and the input and output channels are expanded through expansion circuits.
It effectively reduces the IO point occupation, improves the response time, reduces the response time of buttons and LEDs, saves resource costs, reduces space occupation, and improves the reliability and stability of the system.
Smart Images

Figure CN221707914U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of industrial Ethernet Profinet communication, in particular to an extended multifunctional Profinet control panel. Background Art
[0002] In recent years, in the field of motion control (most typically CNC machine tools, such as Figure 8 As shown in the figure, the application of Profinet communication technology has gradually matured, and the PLC of the CNC system communicates with the panel.
[0003] In conventional motion control systems, usually a sensor or an LED indicator light requires one IO point of the CNC system's PLC. When a large number of sensors and LED indicators are needed, PLCs with more IO points are needed, resulting in a significant increase in the cost of the PLC, which to a certain extent limits the promotion and use of programmable controllers.
[0004] The existing design (the panel has 48 inputs and 32 outputs) is not enough, and an additional Profinet-based input and output module is needed. The expansion of buttons and LEDs is relatively limited, that is, a group of ports (24 inputs and 16 outputs) of the 72 / 48 input and output ports are used as buttons and LED indicator lights. The buttons and LED indicators have fixed addresses. This solution will lead to a longer PLC scan cycle of the CNC system, and the number of buttons will have a significant impact on the response speed. It will also occupy the ports of the 72 / 48 input and output modules.
[0005] Existing designs do not have Modbus, CANopen, or pulse detection functions. If these functions are needed, users need to install external function modules, which increases the application development cycle and costs.
[0006] Although the external expansion module can fully meet the requirements, most of the input and output points will be left over, resulting in a waste of resources, increasing costs, and taking up a certain amount of installation space. Utility Model Content
[0007] The utility model provides an extended multifunctional Profinet control panel, which effectively reduces the occupation of input and output points.
[0008] In order to achieve the purpose of the utility model, the technical solution adopted is: an extended multifunctional Profinet control panel, the control panel includes a first input / output module, a second input / output module, a third input / output module, a main control module and an extension module, the first input / output module, the second input / output module, the third input / output module and the extension module are all connected to the main control module, and the main control module is a Profinet processing unit.
[0009] As an optimization solution of the present invention, the Profinet processing unit is a Profinet processor or the Profinet processing unit is a communication unit and a processor.
[0010] As an optimization solution of the utility model, the expansion module includes one or a combination of a button unit, an LED indicator light unit, a Modbus unit, a handwheel unit, an analog quantity unit, an integrated encryption unit, a CANopen unit or a pulse detection unit.
[0011] As an optimization solution of the utility model, the key unit includes an input key and an input expansion circuit, the input key is connected to the input end of the input expansion circuit, and the output end of the input expansion circuit is connected to the Profinet processing unit.
[0012] As an optimization solution of the utility model, the LED indicator light unit includes an LED indicator light and an output expansion circuit, the LED indicator light is connected to the output end of the output expansion circuit, and the input end of the output expansion circuit is connected to the Profinet processing unit.
[0013] As an optimization solution of the utility model, the LED indicator light unit includes an LED indicator light and an output expansion circuit, the LED indicator light is connected to the output end of the output expansion circuit, and the input end of the output expansion circuit is connected to the Profinet processing unit.
[0014] As an optimization solution of the utility model, the Modbus unit includes a Modbus interface, the handwheel unit includes a handwheel interface, the analog unit includes an analog interface, the CANopen unit includes a CANopen interface, and the pulse detection unit includes a pulse detection interface.
[0015] As an optimization solution of the utility model, the control panel expands multiple input channels and output channels through the channel expansion circuit, the input channel expands multiple input ports through the input port expansion circuit, and the output channel expands multiple output ports through the output port expansion circuit.
[0016] As an optimization solution of the utility model, the input port is level processed and the output port is driven and amplified.
[0017] The utility model has positive effects: 1) The utility model is based on Profinet communication. The control panel actively initiates a communication request to the PLC of the numerical control system, and the data is communicated bidirectionally to control the buttons, LEDs, Modbus, integrated encryption, CANopen, pulse detection, etc. of the control panel, which effectively reduces the occupation of input and output points and improves the response time. The response time of buttons and LEDs can be reduced from the original 105ms to 45ms, and the remaining IO can be expanded;
[0018] 2) The 72 / 48 input and output parts of the utility model do not interfere with each other, realize the combination of panel control and extended IO, do not occupy the ports of the 72 / 48 input and output modules, greatly save resource costs, facilitate connection, reduce space occupancy, and improve reliability and stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The utility model is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0020] Figure 1 It is a principle block diagram of the utility model;
[0021] Figure 2 This is a principle block diagram of the key unit of the utility model;
[0022] Figure 3 It is the LED indicator light unit of the utility model;
[0023] Figure 4 The utility model uses two 74AH138 chips to expand the input and output channels;
[0024] Figure 5 It is the input circuit of the utility model;
[0025] Figure 6 It is the output circuit of the utility model;
[0026] Figure 7 It is a flow chart of the control method of the utility model;
[0027] Figure 8 It is an application diagram of the control panel.
[0028] Among them: 1. First input / output module, 2. Second input / output module, 3. Third input / output module, 4. Main control module, 5. Extension module. DETAILED DESCRIPTION
[0029] In the embodiments, the same or similar elements will use the same or similar reference numerals, and their redundant description will be omitted. In addition, the features in different exemplary embodiments can be combined with each other without conflict, and simple equivalent changes and modifications made according to this specification or claims are still within the scope of this patent. In addition, the terms first, second, etc. mentioned in this specification or claims are only used to name discrete elements or distinguish different embodiments or scopes, and are not used to limit the upper or lower limit of the number of elements, nor are they used to limit the manufacturing order or setting order of the elements.
[0030] like Figure 1 As shown, the utility model discloses an extended multifunctional Profinet control panel, the control panel includes a first input / output module 1 (terminal X111), a second input / output module 2 (terminal X222), a third input / output module 3 (terminal X333), a main control module 4 and an extension module 5, the first input / output module 1, the second input / output module 2, the third input / output module 3 and the extension module 5 are all connected to the main control module 4, the PLC of the numerical control system is connected to the main control module via an RJ45 network port, and the main control module 4 is a Profinet processing unit.
[0031] The Profinet processing unit is a Profinet processor or a communication unit and a processor. The Profinet processor includes a switch chip, an Ethernet PHY chip and a processor; the communication unit includes a switch chip and an Ethernet PHY chip, and the corresponding functions are realized by the communication unit in conjunction with the processor; the corresponding functions can also be realized directly by the switch chip, the Ethernet PHY chip and the processor. However, the specific implementation of the Profinet processing unit can also be appropriately adjusted according to different situations. In other words, there are many ways to implement the Profinet processing unit, and the utility model is not limited to the above three situations.
[0032] The expansion module 5 includes one or a combination of a button unit, an LED indicator unit, a Modbus unit, a handwheel unit, an analog unit, an integrated encryption unit, a CANopen unit or a pulse detection unit. By using the common IO port of the main control module 4 to control the buttons and LED indicators, the occupation of the main control chip IO by the panel control signal can be reduced; and then the 72 / 48 input and output based on Profinet are designed. The 72 / 48 input and output are independent input and output, and the analog quantity, handwheel, Modbus, button, LED indicator, integrated encryption, CANopen unit or pulse detection unit are controlled in the form of address acquisition.
[0033] like Figure 2As shown, the key unit includes an input key and an input expansion circuit, the input key is connected to the input end of the input expansion circuit, and the output end of the input expansion circuit is connected to the Profinet processing unit. In this embodiment, the input expansion circuit can be a plurality of shift registers or a programmable logic gate array, the Profinet processing unit is a Profinet processor, the input key is connected to the parallel data input end of the shift register, and the plurality of shift registers are connected in parallel to the Profinet processor. For point-to-point recognition of the key, the method is: the Profinet processor outputs the control signal of the shift register, the pin level of the input end of each shift register (the default is high level 1, and the key is pressed as low level 0) is loaded to each corresponding register, and then the Profinet processor outputs multiple pulse signals, and the data of each shift register is transmitted to the Profinet processor in sequence, and the Profinet processor recognizes the key through logical matching. The main control module 4 is matched with an external parallel input serial output logic circuit, and the key is recognized in a point-to-point manner.
[0034] like Figure 3 As shown, the LED indicator light unit includes an LED indicator light and an output expansion circuit, the LED indicator light is connected to the output end of the output expansion circuit, and the input end of the output expansion circuit is connected to the Profinet processing unit. In this embodiment, the output expansion circuit is a plurality of shift registers or programmable logic gate arrays, the Profinet processing unit is a Profinet processor, the LED indicator light is connected to the parallel data output end of the shift register, and the plurality of shift registers are connected in parallel to the Profinet processor. Control of the LED indicator light. The method is: the Profinet processor outputs a control signal of the shift register, the shift register receives data from the Profinet processor, and when the trigger condition of the shift register is met, the LED serial control data is input into the internal 8-bit shift register, and the data in the 8-bit shift register is stored in the 8-bit parallel output buffer through the edge trigger condition. When the serial data input end is enabled, the output value of the parallel output end is equal to the value stored in the parallel output buffer, and the value is equal to the state of the LED (the LED light is on when the high level is 1, and the LED light is off when the low level is 0). The main control module 4 is used to control the LED indicator light in a serial input and parallel output manner.
[0035] The Modbus unit includes a Modbus interface, the handwheel unit includes a handwheel interface, the analog unit includes an analog interface, the CANopen unit includes a CANopen interface, and the pulse detection unit includes a pulse detection interface. By connecting corresponding modules through these interfaces, the function expansion can be achieved.
[0036] The control panel expands multiple input channels and output channels through the channel expansion circuit, the input channel expands multiple input ports through the input port expansion circuit, and the output channel expands multiple output ports through the output port expansion circuit. In this embodiment, the channel expansion circuit is a decoder, and other components that can expand the channel can also be selected; the input port expansion circuit is a bus transceiver or a port expansion chip, and the output port expansion circuit is a bus transceiver or a port expansion chip. The control panel expands multiple input channels and output channels through the decoder, the input channel expands multiple input ports through several bus transceivers, and the output channel expands multiple output ports through several bus drivers. In specific implementation, Figure 4 As shown, two 74AHC138 chips are used to expand the input and output channels. The address lines AB9 to AB11 are used as chip select signals for the expanded input and output. The control signal is used to distinguish whether it is a read input or a write output. XRD-PER and XCS-PER1 are read inputs, and XWD-PER and XCS-PER2 are write outputs. Figure 5 As shown, nine 74AHC245s are used as one of the digital inputs (XCS-INPUT0 corresponds to the first input ports 0 to 15), and each 74AHC245 can expand eight input ports, for a total of 72 inputs.
[0037] like Figure 6 As shown, 6 pieces of 74AHC574 are used as one of the digital outputs (XCS-OUT0 corresponds to the first output port 0 to 15), and each piece of 74AHC574 can expand 8 output ports, for a total of 48 outputs.
[0038] The extended signal line is used for the expansion of 72 inputs and 48 outputs (terminals X111, X222, X333). Since the universal voltage of the input and output terminals used for expansion is DC 24V, and the input and output voltage used for panel control is DC 3.3V, in order to use 72 inputs and 48 outputs for expansion, the input terminals need to be processed and the outputs need to be driven and amplified. The processing of the input port includes voltage division or power conversion.
[0039] By acquiring the address bits in sequence, the buttons, LED indicators, integrated encryption and analog output functions are executed. 72 / 48 input and output are used as independent input and output, and analog, handwheel, Modbus, buttons, LED indicators, integrated encryption, CANopen unit or pulse detection unit are controlled by address acquisition, realizing overall integration, saving costs and reducing space.
[0040] like Figure 7As shown, the control panel and the PLC of the numerical control system transmit data through addresses. The control panel sends data to the PLC through the input address, and the PLC sends data to the control panel through the output address. The input address is IBX0~IBX7, and the output address is QBY0~QBY7. IBX0 and QBY0 are handshake bytes. Scanning is initiated by IBX0. The content of the IBX1~IBX7 address is the data uploaded by the control panel to the PLC. When QBY0 receives the value of IBX0, QBY0 will return a value identical to IBX0. The content of the QB Y1~QBY7 address is the data sent by the PLC to the control panel. At this time, IBX0 can obtain the next data. The specific input address IBX0~IBX7 and output address QBY0~QBY7 need to be selected according to the actual situation.
[0041] Example: Modbus input and output:
[0042] When the panel receives 3 from the PLC (QBX0=3), the panel IBY0 will send 4 to the PLC, and IBX1, IBX4~IBX5 will send parameters related to Modbus input.
[0043]
[0044] After the PLC receives 4, it will return a 4 to the panel, that is, QBY0 is 4, QBY1, QBY4~QBY5 are Modbus output related parameters.
[0045]
[0046] The utility model is based on Profinet communication. The control panel actively initiates communication requests to the PLC, and the data is communicated bidirectionally. The buttons, LEDs, Modbus, and integrated encryption of the control panel effectively reduce the occupation of input and output points and improve the response time. The response time of buttons and LEDs can be reduced from the original 105ms to 45ms, and the remaining IO can be expanded. The 72 / 48 input and output parts do not interfere with each other, realizing the combination of panel control and extended IO, greatly saving costs, facilitating connection, reducing space occupation, and improving overall reliability.
[0047] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An extended multifunctional Profinet control panel, characterized in that: The control panel comprises a first input / output module (1), a second input / output module (2), a third input / output module (3), a main control module (4) and an expansion module (5); the first input / output module (1), the second input / output module (2), the third input / output module (3) and the expansion module (5) are all connected to the main control module (4); and the main control module (4) is a Profinet processing unit.
2. The extended multifunctional Profinet control panel according to claim 1, characterized in that: The Profinet processing unit is a Profinet processor or the Profinet processing unit is a communication unit and a processor.
3. The extended multifunctional Profinet control panel according to claim 1 or 2, characterized in that: The expansion module (5) comprises one or a combination of a key unit, an LED indicator light unit, a Modbus unit, a hand wheel unit, an analog quantity unit, an integrated encryption unit, a CANopen unit or a pulse detection unit.
4. The extended multifunctional Profinet control panel according to claim 3, characterized in that: The key unit comprises an input key and an input expansion circuit, the input key is connected to the input end of the input expansion circuit, and the output end of the input expansion circuit is connected to the Profinet processing unit.
5. The extended multifunctional Profinet control panel according to claim 3, characterized in that: The LED indicator light unit comprises an LED indicator light and an output expansion circuit. The LED indicator light is connected to the output end of the output expansion circuit, and the input end of the output expansion circuit is connected to the Profinet processing unit.
6. The extended multifunctional Profinet control panel according to claim 3, characterized in that: The Modbus unit includes a Modbus interface, the handwheel unit includes a handwheel interface, the analog quantity unit includes an analog quantity interface, the CANopen unit includes a CANopen interface, and the pulse detection unit includes a pulse detection interface.
7. The extended multifunctional Profinet control panel according to claim 3, characterized in that: The control panel expands multiple input channels and output channels through the channel expansion circuit, the input channel expands multiple input ports through the input port expansion circuit, and the output channel expands multiple output ports through the output port expansion circuit.
8. The extended multifunctional Profinet control panel according to claim 7, characterized in that: Perform level processing on the input port and drive amplification on the output port.
