Unlock instant, AI-driven research and patent intelligence for your innovation.

A control method and system for a multi-process-based multi-channel numerical control system

A technology of numerical control system and control method, applied in the field of control method and system of multi-channel numerical control system, can solve problems such as complex logic, increased hardware cost, excessive dependence, etc., to simplify system design, improve stability, and reduce dependence Effect

Active Publication Date: 2021-12-03
苏州浩智工业控制技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The multi-CPU multi-channel control method increases the hardware cost, and the design of the hardware mechanism is difficult; the synchronization and communication between the channels are difficult to guarantee
The multi-CPU multi-channel control method requires the design of the main control circuit for each CPU on the hardware, and the redesign of many CPUs on the mechanism. It is necessary to modify the mechanism to install the CPU. When the number of channels increases, it is extremely difficult to expand , the volume and cost will increase significantly. At the same time, due to the independence of each CPU, the synchronization, calling, and waiting between channels in multi-channel need to be controlled by external signals, which also increases the cost. The external hardware is too dependent, and the signal Accuracy requirements are increased, and when there is interference in the external environment or hardware problems, it is prone to the risk of collision
The multi-PLC multi-channel control method is complicated to modify multi-PLC. When the channel action needs to be modified, multiple PLCs need to be modified. A multi-PLC system needs to set a data mapping area for each PLC control module, which is complex in logic.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A control method and system for a multi-process-based multi-channel numerical control system
  • A control method and system for a multi-process-based multi-channel numerical control system
  • A control method and system for a multi-process-based multi-channel numerical control system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] refer to figure 1 A method for controlling a multi-channel numerical control system based on multi-processes is provided, comprising the following steps:

[0042] S11: The channel configuration is set in advance.

[0043] Specifically, for example, the configuration of 3 channels is performed in the following manner:

[0044]

[0045]

[0046] S12: Create a main process.

[0047] S13: the main process starts.

[0048] S14: Create multiple channel processes, each channel process can independently control processing, and the channel processes execute commands through shared memory and RPC.

[0049] Specifically, such as Figure 9 As shown, the channel process is created by the main process. When the main process starts, an RPC server is created and a channel RPC client is created. The RPC server controls the RPC client by calling the channel function through RPC, and the main process notifies the channel to start, stop, and end waiting Actions are invoked via R...

Embodiment 2

[0052] refer to figure 2, a control method based on a multi-process multi-channel numerical control system, comprising the following steps:

[0053] S21: The channel configuration is set in advance.

[0054] S22: Create a main process.

[0055] S23: the main process starts.

[0056] S24: Create multiple channel processes, each channel process can independently control processing, and the channel processes execute commands through shared memory and RPC. Among them, the shared memory includes a waiting area, a synchronization area and a channel area. The waiting area and the synchronization area are common access areas for communication between channels, and the channel area is an independent area for each channel, which is accessed through the corresponding channel number.

[0057] Specifically, S21-S24 are the same as S11-S14 in Embodiment 1, and will not be repeated here.

[0058] S25: Obtain the notification information of the main process and determine the type of the...

Embodiment 3

[0062] refer to image 3 , a control method based on a multi-process multi-channel numerical control system, comprising the following steps:

[0063] S31: Preset the channel configuration.

[0064] S32: Create a main process.

[0065] S33: the main process starts.

[0066] S34: Create multiple channel processes, each channel process can independently control processing, and the channel processes execute commands through shared memory and RPC.

[0067] Among them, the shared memory includes a waiting area, a synchronization area and a channel area. The waiting area and the synchronization area are common access areas for communication between channels, and the channel area is an independent area for each channel, which is accessed through the corresponding channel number. Specifically, S31-S34 are the same as S11-S14 in the embodiment, and will not be repeated here.

[0068] S35: Acquiring the notification information of the main process and judging that the type of the in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a multi-process-based multi-channel numerical control system control method, which is characterized in that it includes the following steps: pre-setting the channel configuration. Create the main process. The main process starts. Create multiple channel processes, each channel process can independently control the processing, and the channel processes execute commands through shared memory and RPC. Multi-channel control through multi-process has no impact on the internal structure of the electrical box of the machine tool, and there is no need to redesign the original electrical box; at the same time, processes can communicate through various forms including rpc technology and shared memory technology , to solve the synchronization, calling, and waiting between channels without external signal control, which can effectively reduce the dependence on external hardware and improve the stability of multi-channel control.

Description

technical field [0001] The present application relates to the technical field of industrial control, in particular to a control method and system of a multi-process-based multi-channel numerical control system. Background technique [0002] In the CNC processing industry, for multi-channel numerical control systems, the method of multi-CPU multi-channel control or multi-PLC multi-channel control is generally adopted. The conventional method of CPU multi-channel control method is to add multiple main control CPUs and main control circuits on the hardware, and each CPU controls one channel to realize multi-channel control. The multi-PLC multi-channel control method generally realizes multi-channel control by adding multiple PLC logic control modules in the numerical control system. The multi-CPU multi-channel control method increases the hardware cost, and the design of the hardware mechanism is difficult; the synchronization and communication between the channels are difficu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G05B19/414
CPCG05B19/4147G05B2219/32059
Inventor 杨帆周俊华金东朱飞
Owner 苏州浩智工业控制技术有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More