Huazhong CNC system software structure

(I) Description of software structure

The software structure of the Central China CNC system is shown in Figure 1. The part below the dotted line in the figure is called the bottom software. It is the software platform of the Central China CNC system. The RTM module is a self-developed real-time multitask management module responsible for the task management management scheduling of the CNC system. The NCBIOS module is a basic input/output system that manages all external control objects of the CNC system, including device driver (I/O) management, position control, PLC control, interpolation calculation, and internal monitoring. The RTM and NCBIOS modules are collectively referred to as NCBASE, as shown by the double-dot wireframe in the figure. The portion above the dotted line in the figure is called process control software (or upper layer software), and it includes function submodules related to user operations such as editing program, parameter setting, decoding program, PLC management, MDI, and fault display. For different numerical control systems, the difference in their functions is at this level. The increase and decrease of system functions are performed at this level; each function module exchanges information with the bottom layer through NCBASE's NCBIOS.

1


Fig.1 The software structure of Huazhong Numerical Control Device

(b) Functions of NCBASE

1. Real-time multi-task scheduling This function is implemented by the RTM module. The dispatch core consists of a clock interrupt service program and a task scheduler. as shown in picture 2. According to the scheduling mechanism required by the task (using priority preemption plus time-slice rotation scheduling) and the status of the task, the scheduling core performs management on the task, that is, which task is currently determined to obtain control of the CPU and monitor the status of the task. Each task in the system can only be run and terminated through the scheduling core. Figure 2 describes the relationship between the various tasks and the scheduling core. The solid line in the figure indicates the state from the scheduling core entering the task or the task failed to run within a time slice and returning to the scheduling core; the dotted line in the figure indicates that the task is in the time slice. After the operation is completed, the status of the dispatch core is returned.

1
Figure 2 Multitasking schedule



2. Device driver

For different control objects, such as machining centers, CNC milling machines, CNC lathes, CNC grinders, etc., the hardware configuration may be different, and different hardware modules have different drivers. Huazhong Numerical Control System has solved this problem very well. When configuring the system, drivers for all hardware modules must be described in NCBIOS's NCBIOS.CFG (format: DEVICE=driver name). When the system is running, the NCBIOS calls the driver of the corresponding module according to the preset settings of NCBIOS.CFG and establishes the corresponding interface channel.
3. Position control

Position control is a fixed program of NCBIOS. It mainly accepts the position control commands sent from the interpolation operation program. After pitch error compensation, transmission gap compensation, and extreme position determination, the output speed command value is sent to the position control module.

4. Interpolator

Huazhong Numerical Control System is a multi-channel (four-channel) CNC system. Each channel has an interpolator, which creates an interpolation task accordingly. Its task is mainly to complete interpolation operations such as straight lines, arcs, threads, tapping and small straight line segments (for free curve and free-form surface processing).

5. PLC scheduling

The main tasks of PLC scheduling are: fault alarm processing; M, S, T processing; emergency stop and reset processing; virtual axis drive processing; tool life management; operation panel switch processing; indicator lights and emergency handling.

6. Internal monitoring

Realize the monitoring of faults in various parts of the CNC system.

Linear vibrating screens are used to clearly separate all manner of different fractions. Or in technical jargon: Materials are classified accurately.
Thus, in accordance with the standard screening principle, ore, coal, coke sinter, pellets or rocks, for instance, are screened and clearly separated in very large quantities. Linear vibrating screens, which can be specially adapted to the tasks, are critical here to achieving high and consistent quality.
Shenyang SANLAND already provides linear screens in standard format in a variety of designs. For example as single or multiple-decks. 
The applications are wide-ranging. Linear vibrating screens are used in the pit, quarry, coal, ore and steel industries.

Linear Vibrating Screen

Linear Vibrating Screen,Horizontal Vibrating Screen,Terex Horizontal Screens,Small Vibrating Screen

Shenyang Sanland Mining Equipment Manufacture Co., Ltd. , https://www.sanlandcrushers.com