Patent · US6442436B1 · B1 · US
Multi-tasking system, recording medium in which program thereof is recorded, and processing device
- (11) Publication number
- US6442436B1
- (21) Application number
- 09/696,480
- (22) Filing date
- 2000-10-24
- (30) Priority date
- 1999-10-25
- (43) Publication date
- 2002-08-27
- (45) Date of grant
- 2002-08-27
- (51) IPC
- G05B 19/18; G06F 11/30; G06F 11/34; G06F 9/46; G06F 9/48
- (52) CPC
- G06F Electric digital data processing: 11/3404
- (73) Assignee
- Seiko Epson Corp
- (72) Inventors
- Taishi Nogami
- (54) Title
- Multi-tasking system, recording medium in which program thereof is recorded, and processing device
- (57) Abstract
A multi-tasking system in which tasks are grouped and the action of the safety function is different for each group so that the control of a machine can safely and easily be performed with one control device and that the monitoring of each device can be performed at all times, and a medium and a processing device in which a program thereof is recorded. A multi-tasking system 100 for controlling a plurality of tasks has a program executing unit 11 for processing a plurality of tasks by the multi-tasking processing and a task table 21 for keeping grouping information set for each of the plurality of tasks, and the program executing unit 11 has stop units (an emergency stop unit 16, a temporary stop unit 17 as the safety function, and the stop unit obtains grouping information from the task table 21 on the basis of a stop instruction and identifies a group of each task, and performs a different control for each group.
- Full text
- View on Google Patents
Claims (11)
- A multi-tasking system for controlling a plurality of tasks, comprising: a program executing means which processes a plurality of tasks by multi-tasking; and a task table which keeps, for each of said plurality of tasks, at least the following information: a) grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and b) state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop; wherein said program executing means includes an emergency stop means and a temporary stop means as a safety function; said emergency stop means accesses said task table in accordance with an emergency stop instruction to identify the task group that includes each task, terminates a task included in the machine controlling group and updates contents of said task table; said temporary stop means accesses said task table in accordance with a temporary stop instruction to identify the task group that includes each task temporarily stops a task included in the machine controlling group and updates contents of said task table; and said emergency stop means and temporary stop means further include a function to continue an executing state of a task included in the machine monitoring group.
- A multi-tasking system for controlling a plurality of tasks, comprising: a program executing means which processes a plurality of tasks by multi-tasking; and a task table which keeps, for each of said plurality of tasks, at least the following information: a) grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and b) state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop; wherein said program executing means includes emergency stop means and temporary stop means as a safety function, said emergency stop means accesses said task table in accordance with an emergency stop instruction to identify a task group that includes each task, terminates a task included in the machine controlling group and updates contents of said task table; said temporary stop means accesses said task table in accordance with a temporary stop instruction to identify a task group that includes each task, temporarily stops a task included in the machine controlling group and updates contents of said task table; and said temporary stop means has a function to continue an executing state of a task included in the machine monitoring group.
- A multi-tasking system for controlling a plurality of tasks, comprising: a program executing means which processes a plurality of tasks by multi-tasking; and a task table which keeps, for each of said plurality of tasks, at least the following information: a) grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and b) state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop, wherein said program executing means includes an emergency stop means as a safety function; said emergency stop means accesses said task table in accordance with an emergency stop instruction to identify a task group that includes each task, terminates a task included in the machine controlling group and updates contents of said task table; and said emergency stop means has a function to continue an executing state of a task included in the machine monitoring group.
- The multi-tasking system according to any one of claim 1 to claim 3, further comprising a display means for displaying contents of said task table.
- A multi-tasking system for controlling a plurality of tasks, comprising: a program executing means which processes a plurality of tasks by multi-tasking; and a task table which keeps, for each of said plurality of tasks, at least the following information: a) grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and b) state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop; wherein said program executing means includes a temporary stop means as a safety function; said temporary stop means accesses said task table in accordance with a temporary stop instruction to identify a task group that includes each task, temporarily stops a task included in the machine controlling group and updates contents of said task table; and said temporary stop means has a function to continue an executing state of a task included in the machine monitoring group.
- A computer readable medium encoded with executable instructions representing a computer program for execution in a computer system having a task table and a program execution means for processing a plurality of tasks by multi-tasking, wherein said computer program includes steps of: storing, in said task table for each of said plurality of tasks, grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop; accessing said task table in accordance with an emergency stop instruction to identify the task group that includes each task, terminate a task included in the machine controlling group and update contents of said task table; and accessing said task table in accordance with a temporary stop instruction to identify the task group that includes each task, temporarily stop a task included in the machine controlling group and update contents of said task table.
- A computer readable medium encoded with executable instructions representing a computer program for execution in a computer system having a task table and a program execution means for processing a plurality of tasks by multi-tasking, wherein said computer program includes steps of: storing, in said task table for each of said plurality of tasks, grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop, and accessing said task table in accordance with a temporary stop instruction to identify the task group that includes each task, temporarily stop a task included in the machine controlling group and update contents of said task table.
- A computer readable medium encoded with executable instructions representing a computer program for execution in a computer system having a task table and a program execution means for processing a plurality of tasks multi-tasking, wherein said computer program includes steps of: storing, in said task table for each of said plurality of tasks, grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop; and accessing said task table in accordance with an emergency stop instruction to identify the task group that includes each task, terminate a task included in the machine controlling group and update contents of said task table.
- A processing apparatus controlled by a plurality of tasks, comprising: a program executing means which processes said plurality of tasks by multi-tasking; a task table which keeps, for each of said plurality of tasks, at least the following information: a) grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and b) state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop; and a first device controlled by a task included in said machine controlling group; and a second device monitored by a task included in said machine monitoring group, wherein said program executing means includes an emergency stop means and a temporary stop means as a safety function; said emergency stop means stops operation of said first device at once in accordance with an emergency stop instruction and subsequently accesses said task table to identify the task group that includes each task, terminates a task included in the machine controlling group and updates contents of said task table; said temporary stop means temporarily stops operation of said first device at once in accordance with a temporary stop instruction and subsequently accesses said task table to identify the task group that includes each task, temporarily stops a task included in the machine controlling group and updates contents of said task table; and said emergency stop means and temporary stop means have a function to continue an executing state of a task included in the machine monitoring group so as to monitor said second device continuously.
- A processing apparatus controlled by a plurality of tasks, comprising: a program executing means which processes said plurality of tasks by multi-tasking; a task table which keeps, for each of said plurality of tasks, at least the following information: a) grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and b) state information specifying one of various states in which the task is active, said various states including a state of execution and a state of temporary stop; and a first device controlled by a task included in said machine controlling group; and a second device monitored by a task included in said machine monitoring group, wherein said program executing means includes a temporary stop means as a safety function; said temporary stop means temporarily stops operation of said first device at once in accordance with a temporary stop instruction and subsequently accesses said task table to identify the task group that includes each task, temporarily stops a task included in the machine controlling group and updates contents of said task table; and said temporary stop means has a function to continue an executing state of a task included in the machine monitoring group so as to monitor said second device continuously.
- A processing apparatus controlled by a plurality of tasks, comprising: a program executing means which processes said plurality of tasks by multi-tasking; a task table which keeps, for each of said plurality of tasks, at least the following information: a) grouping information according to a task group in which the task is included, said task group being either a machine monitoring group including a task for monitoring a device and a task for processing communications with an external device or a machine controlling group including a task for controlling operation of a device, and b) state information as to one of various states in which the task is active, said various states including a state of execution and a state of temporary stop; and a first device controlled by a task included in said machine controlling group; and a second device monitored by a task included in said machine monitoring group, wherein said program executing means includes an emergency stop means as a safety function; said emergency stop means stops operation of said first device at once in accordance with an emergency stop instruction and subsequently accesses said task table to identify the task group that includes each task, terminates a task included in the machine controlling group and updates contents of said task table; and said emergency stop means has a function to continue an executing state of a task included in the machine monitoring group so as to monitor said second device continuously.
Description
1. Field of the Invention
The present invention relates to a multi-tasking system, and a medium and a processing device in which a program thereof is recorded, and more particularly, relates to a multi-tasking system having a safety function, and a medium and a processing device in which a program thereof is recorded.
2. Description of the Prior Art
Previously, when controlling a system having a plurality of devices such as a robot or a peripheral device, a multi-tasking system has widely been utilized, which has a multi-tasking function of simultaneously executing a plurality of programs (tasks). Japanese Patent Laid-Open No. 7-129418 discloses a program control system in a multi-tasking environment, in which parental relation is set between programs corresponding to respective devices and a subtask is automatically executed when a main task is started, so as to make it easy to start a plurality of programs. Furthermore, Japanese Patent Laid-Open No. 8-263127 discloses a numerical controller, in which tasks are constituted separately by a task including a command to an external device with the communication function and a task including a command relating to the robot control, so as to make a program easily by the separate constitution of the task relating to the communication and the task relating to the control. Furthermore, Japanese Patent Laid-Open No.
Citations (11)
- US4791554A
- US4908746A
- US5032975A
- US5122717A
- JPH07129418A
- US5828568A
- JPH08263127A
- JPH08339211A
- US5812133A
- US5844795A
- US5973466A