|
Zobacz poprzedni temat :: Zobacz następny temat |
Autor |
Wiadomość |
jingwang Nowy Uczestnik
Dołączył: 09 Lis 2022 Posty: 3
|
Wysłany: Sro Lis 09, 2022 6:00 am Temat postu: CNC system |
|
|
Resource sharing is shared. In the single-CPU CNC system, the principle of CPU time-sharing is mainly adopted to solve the simultaneous operation of multiple tasks. Generally speaking, in a computer system that uses time-sharing parallel processing, the first problem to be solved is the allocation principle of CPU time occupied by each task, which has two meanings: one is when each task occupies the CPU; The second is to allow each task to occupy the CPU for a short amount of time.
In a CNC system, the use of CPU for each task is solved by a combination of loop rotation and interrupt first. Figure 3-10(c) is a time allocation diagram of a typical CNC system for each task sharing CPU.
After the initialization is completed, the system automatically enters the time allocation ring, and takes turns processing each task in the ring. For some tasks with strong real-time performance in the system, they are queued according to priority and placed on different interrupt priorities, and tasks outside the ring can interrupt the execution of each task in the ring at any time.
For some tasks that occupy more CPU time, such as interpolation preparation, breakpoints can be set in some places, when the program runs to the breakpoint, automatically give up the CPU, and then automatically jump to the breakpoint to continue execution at the next running time.
[url]
https://jvanplant.com/cnc-turning-service/[/url] |
|
Powrót do góry |
|
|
Mieszkaniowy
|
Wysłany: Temat postu: Ogłoszenia z portalu |
|
|
Ładowanie ogłoszeń... |
|
Powrót do góry |
|
|
|
|
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach
|
|