WO2016207937A1 - Automate programmable et procédé de commande pour automate programmable - Google Patents

Automate programmable et procédé de commande pour automate programmable Download PDF

Info

Publication number
WO2016207937A1
WO2016207937A1 PCT/JP2015/067826 JP2015067826W WO2016207937A1 WO 2016207937 A1 WO2016207937 A1 WO 2016207937A1 JP 2015067826 W JP2015067826 W JP 2015067826W WO 2016207937 A1 WO2016207937 A1 WO 2016207937A1
Authority
WO
WIPO (PCT)
Prior art keywords
execution
programmable controller
service
time
processing program
Prior art date
Application number
PCT/JP2015/067826
Other languages
English (en)
Japanese (ja)
Inventor
貴也 太田
輝明 田中
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2015550878A priority Critical patent/JP5866082B1/ja
Priority to PCT/JP2015/067826 priority patent/WO2016207937A1/fr
Publication of WO2016207937A1 publication Critical patent/WO2016207937A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Definitions

  • the present technology relates to a programmable controller and a control method of the programmable controller, and in particular, a programmable controller and a programmable controller that exclusively execute a sequence processing program for controlling a device and a service process including a network communication process. It relates to a control method.
  • Programmable controllers are widely used as general-purpose control devices for controlling various machine facilities or plant facilities installed in factories and the like.
  • the network communication function is used when monitoring the operation status of the programmable controller from an external computer.
  • the file access function is used when outputting the operation data of the programmable controller or the execution information of the user program as a file to the built-in memory area or the removable external memory area.
  • a method for simultaneously executing a plurality of functions a method for executing processing by switching in a time division manner is known.
  • execution of a plurality of functions is performed simultaneously by switching execution of the sequence processing program and execution of the service processing at regular intervals.
  • Patent Document 1 discloses a programmable controller that simultaneously executes a sequence processing program and a communication process.
  • the time allocated to communication processing is dynamically changed according to the type of communication processing that has occurred.
  • the present technology is for solving the above-described problems, and relates to a programmable controller and a control method of the programmable controller that can suppress deterioration of response time to a communication request.
  • a programmable controller is a programmable controller that exclusively performs execution of a sequence processing program for controlling a device and execution of service processing including network communication processing, and requests execution of the service processing.
  • An accepting unit that accepts the service process and when the accepting unit accepts the execution request for the service process, if the sequence processing program is executed in the programmable controller, an elapsed time from when the request for executing the service process is accepted
  • a control unit that switches the execution of the sequence processing program from the execution of the sequence processing program and executes the service processing corresponding to the execution request when the predetermined threshold value is exceeded.
  • a programmable controller control method includes: a programmable controller that exclusively executes a sequence processing program for controlling a device and a service process including a network communication process; When the sequence processing program is executed in the programmable controller when the request is received and the execution request for the service process is received, an elapsed time from when the execution request for the service process is received is determined in advance. When the first threshold value is exceeded, the programmable controller switches from execution of the sequence processing program to execute the service process corresponding to the execution request.
  • a programmable controller is a programmable controller that exclusively performs execution of a sequence processing program for controlling a device and execution of service processing including network communication processing, and requests execution of the service processing.
  • An accepting unit that accepts the service process and when the accepting unit accepts the execution request for the service process, if the sequence processing program is executed in the programmable controller, an elapsed time from when the request for executing the service process is accepted
  • a control unit that switches the execution of the sequence processing program from the execution of the sequence processing program and executes the service processing corresponding to the execution request when the predetermined threshold value is exceeded.
  • the service process execution request is not waited longer than the first threshold time, and the response time to the communication request is improved.
  • a programmable controller control method includes: a programmable controller that exclusively executes a sequence processing program for controlling a device and a service process including a network communication process; When the sequence processing program is executed in the programmable controller when the request is received and the execution request for the service process is received, an elapsed time from when the execution request for the service process is received is determined in advance. When the first threshold value is exceeded, the programmable controller switches from execution of the sequence processing program to execute the service process corresponding to the execution request.
  • the service process execution request is not waited longer than the first threshold time, and the response time to the communication request is improved.
  • FIG. 3 is a diagram schematically illustrating a hardware configuration when actually operating the programmable controller illustrated in FIGS. 1 and 2 according to the embodiment.
  • FIG. 3 is a diagram schematically illustrating a hardware configuration when actually operating the programmable controller illustrated in FIGS. 1 and 2 according to the embodiment.
  • FIG. 5 It is a flowchart which illustrates operation
  • FIG. 7 It is a flowchart which illustrates operation
  • It is a figure which illustrates the implementation condition (pri 3) of the process switching in the process execution part when the communication request generate
  • FIG. 1 is a diagram conceptually showing the configuration of the programmable controller and other configurations related to this embodiment.
  • the programmable controller 1 includes a processing execution unit 2, a data holding unit 3 that is a rewritable storage device that stores a waiting time upper limit value 4, a ratio value 5, and a priority value 6, A priority setting unit 7 and a peripheral interface 8 for connecting to the computer device 9 are provided.
  • the process execution unit 2 performs execution of a sequence process program, execution of a service process, switching control between the sequence process and the service process, and the like.
  • Examples of data used by the processing execution unit 2 include a waiting time upper limit value 4, a ratio value 5, and a priority value 6.
  • the waiting time upper limit value 4 is data defining the waiting time for a service processing request.
  • the ratio value 5 is data defining the ratio between the execution time of the sequence processing program and the execution time of the service process.
  • the priority value 6 is data that defines how much priority is given to any of the execution of the sequence processing program and the execution of the service processing.
  • the priority setting unit 7 is a functional unit for setting the priority value 6 to be changeable from the outside.
  • the computer device 9 illustrated in FIG. 1 is disposed outside the programmable controller 1.
  • FIG. 2 is a diagram showing the configuration of the processing execution unit 2 shown in FIG. 1 in more detail.
  • the processing execution unit 2 includes a sequence processing unit 10, a service processing unit 11, a reception and measurement unit 13, a waiting time excess detection unit 14, a service processing excess detection unit 15, And a switching control unit 12.
  • the sequence processing unit 10 executes the sequence processing program and measures the execution time of the sequence processing program.
  • the service processing unit 11 executes the service process and measures the execution time of the service process.
  • the acceptance and measurement unit 13 accepts an execution request for service processing. In addition, the reception and measurement unit 13 measures an elapsed time from the time when the execution request is generated.
  • the waiting time excess detection unit 14 detects whether or not the elapsed time from the time when the reception and measurement unit 13 receives the service processing execution request exceeds a prescribed waiting time upper limit value 4.
  • the service process excess detection unit 15 detects whether or not the time when the service process is executed exceeds the upper limit value of the service process.
  • the switching control unit 12 performs process switching of the sequence process being executed or the service process being executed based on the information from the waiting time excess detection unit 14 and the information from the reception and measurement unit 13.
  • FIGS. 3 and 4 are diagrams schematically illustrating a hardware configuration when the programmable controller illustrated in FIGS. 1 and 2 is actually operated.
  • a processing circuit 102 a that performs an operation
  • a storage device 103 that can store information
  • input and output device 104 that can These configurations are the same in other embodiments described later.
  • FIG. 4 as a hardware configuration for realizing the programmable controller illustrated in FIGS. 1 and 2, a processing circuit 102 b that performs an operation and an input and output device 104 that can input and output information are illustrated. . These configurations are the same in other embodiments described later.
  • the data holding unit 3 is realized by the storage device 103.
  • the storage device 103 includes, for example, a hard disk (Hard disk drive, ie, HDD), random access memory (random access memory, ie, RAM), read only memory (read only memory, ie, ROM), flash memory, erasable programmable read only memory (ie, ROM). EPROM) and electrically erasable programmable read-only memory (EEPROM), etc., depending on memory (storage media) including volatile or non-volatile semiconductor memory, magnetic disk, flexible disk, optical disk, compact disk, mini disk, DVD, etc. Composed It composed of such as a memory (storage medium) containing Runado.
  • the processing circuit 102 a may execute a program stored in the storage device 103.
  • a central processing unit CPU
  • a microprocessor for example, a central processing unit (CPU), a microprocessor, a microcomputer, or a digital signal processor (DSP) may be used.
  • DSP digital signal processor
  • the processing execution unit 2 and the priority setting unit 7 are realized by software, firmware, or a combination of software and firmware. Note that these functions may be realized by, for example, cooperation of a plurality of processing circuits.
  • the processing circuit 102a implements the above functions by reading and executing a program stored in the storage device 103.
  • the storage device 103 stores a program that results in the above functions being executed by the processing circuit 102a.
  • processing circuit 102b may be dedicated hardware. That is, for example, a single circuit, a compound circuit, a programmed processor, a parallel programmed processor, an integrated circuit (application specific integrated circuit, that is, ASIC), a field-programmable gate array (FPGA), or a combination thereof. It may be.
  • ASIC application specific integrated circuit
  • FPGA field-programmable gate array
  • processing circuit 102b When the processing circuit 102b is dedicated hardware, the processing execution unit 2 and the priority setting unit 7 are realized by the processing circuit 102b operating. Note that these functions may be realized by separate circuits or may be realized by a single circuit.
  • processing execution unit 2 and the priority setting unit 7 described above are realized in the processing circuit 102a that partially executes a program stored in the storage device 103, and a part thereof is dedicated hardware. It may be realized in a certain processing circuit 102b.
  • peripheral interface 8 is realized by the input and output device 104.
  • FIG. 5 is a diagram exemplifying a process switching execution state in the process execution unit 2 when a communication request is generated 9 ms after the execution start of the sequence process program.
  • the vertical axis indicates the length of the waiting time for service processing
  • the horizontal axis indicates the time elapse of sequence processing or service processing.
  • FIG. 6 is a flowchart illustrating the operation of the process execution unit 2 in the case illustrated in FIG.
  • the communication request is a request that requires at least a response by service processing.
  • the switching control unit 12 determines whether or not a communication request has occurred (see step ST1 in FIG. 6). Specifically, it is determined whether the reception and measurement unit 13 has received a communication request. If it is determined that a communication request has occurred, the switching control unit 12 proceeds to step ST2 in FIG. On the other hand, when it is determined that a communication request has not occurred, the process returns to step ST1 in FIG.
  • the switching control unit 12 determines whether or not the waiting time from the time when the communication request is generated exceeds the time given by thres (3 ms in the above setting) (see step ST2 in FIG. 6). ). Specifically, the waiting time excess detection unit 14 determines whether or not it has detected that the elapsed time from the time when the service processing execution request is received exceeds the time given by thres. The elapsed time from when the service process execution request is received is measured by the reception and measurement unit 13. When the waiting time from the time when the communication request is generated exceeds the time given by thres, the switching control unit 12 switches the process from the sequence process to the service process (see step ST3 in FIG. 6). . On the other hand, when the waiting time from the time when the communication request is generated does not exceed the time given by thres, the process returns to step ST2 in FIG.
  • the point in time when the communication request is generated means the point in time when the communication request is received by the programmable controller.
  • the switching control unit 12 performs processing switching from the sequence processing to the service processing (see step ST3 in FIG. 6).
  • the switching control unit 12 determines whether or not the execution time of the service process exceeds the time obtained by multiplying the execution time of the sequence processing program executed until the process is switched and the ratio (see FIG. (Refer to step ST4 in 6). Specifically, the service processing excess detection unit 15 exceeds the time obtained by multiplying the execution time of the sequence processing program executed before switching the process and the ratio by the ratio. Is detected. And when the said time is exceeded, the switching control part 12 performs the process switching from a service process to a sequence process (refer step ST5 in FIG. 6). On the other hand, when the said time is not exceeded, it returns to step ST4 in FIG.
  • the sequence processing program is executed until the waiting time for the generated communication request exceeds the time given by thres. That is, the process returns to step ST1 in FIG.
  • the process can be switched using a method different from the above.
  • the switching control unit 12 may perform the process switching when the sum of the waiting times for the communication requests exceeds thres.
  • the waiting time upper limit value 4 is set to thres
  • the ratio value 5 is set to ratio.
  • FIG. 7 shows the execution of process switching in the process execution unit 2 when a first communication request is generated 9 ms after the start of execution of the sequence processing program and a second communication request is generated 12 ms after the start of execution of the sequence process program. It is a figure which illustrates a situation.
  • the vertical axis indicates the length of the waiting time for service processing
  • the horizontal axis indicates the time elapse of sequence processing or service processing.
  • FIG. 8 is a flowchart illustrating the operation of the process execution unit 2 in the case illustrated in FIG.
  • the switching control unit 12 determines whether or not a communication request has occurred (see step ST11 in FIG. 8). Specifically, it is determined whether the reception and measurement unit 13 has received a communication request. If it is determined that a communication request has occurred, the switching control unit 12 proceeds to step ST12 in FIG. On the other hand, when it is determined that a communication request has not occurred, the process returns to step ST11 in FIG.
  • the switching control unit 12 determines whether or not the waiting time from the time when the communication request is generated exceeds the time given by thres (7 ms in the above setting) for all communication requests generated at the present time. (See step ST12 in FIG. 8). Specifically, the waiting time excess detection unit 14 determines whether or not it has detected that the elapsed time from the time when the service processing execution request is received exceeds the time given by thres. The elapsed time from when the service process execution request is received is measured by the reception and measurement unit 13.
  • a time obtained by adding the waiting times of the plurality of communication requests is a time given by thres. The waiting time is to be compared.
  • the switching control unit 12 continues the sequence process. That is, the switching control unit 12 temporarily holds the response to the first communication request and the response to the second communication request, and does not perform process switching.
  • the switching control unit 12 switches the process from the sequence process to the service process (see step ST13 in FIG. 8). .
  • the process returns to step ST12 in FIG.
  • the switching control unit 12 switches the process from the sequence process to the service process.
  • first communication response in FIG. 7 When executing the service process, first, a response (first communication response in FIG. 7) is made with respect to the first communication request that is the request that has occurred first. Thereafter, a response (second communication response in FIG. 7) is made to the second communication request.
  • the responses are performed in the order in which the requests are generated.
  • a priority is set for each service processing type, and a response is performed from a service process with a high priority.
  • Other methods may be used to determine the order.
  • the switching control unit 12 determines whether or not the execution time of the service process exceeds the time obtained by multiplying the execution time of the sequence processing program executed until the process is switched and the ratio (see FIG. (See step ST14 in FIG. 8). Specifically, the service processing excess detection unit 15 exceeds the time obtained by multiplying the execution time of the sequence processing program executed before switching the process and the ratio by the ratio. Is detected. When the time is exceeded, the switching control unit 12 switches the process from the service process to the sequence process (see step ST15 in FIG. 8). On the other hand, when the said time is not exceeded, it returns to step ST14 in FIG.
  • the sequence processing program is executed until the waiting time for the generated communication request exceeds the time given by thres. That is, the process returns to step ST11 in FIG.
  • thres and ratio can be set based on the set priority value 6.
  • the priority value 6 can be set by the priority setting unit 7 or the computer device 9.
  • the process execution unit 2 has a function of writing the priority value 6 set by the computer device 9 to the data holding unit 3, and the priority value 6 is set by the computer device 9. If this happens, the priority value 6 is changed using this function.
  • a method for calculating the waiting time upper limit value 4 (thres) and the ratio value 5 (ratio) based on the priority value 6 set by the priority setting unit 7 or the computer device 9 will be described below.
  • FIG. 9 is a diagram illustrating a correspondence relationship between the priority value 6, the waiting time upper limit value 4 (thres), and the ratio value 5 (ratio).
  • the vertical axis represents the waiting time upper limit 4 (thres)
  • the horizontal axis represents the ratio value 5 (ratio).
  • FIG. 9 also shows that the priority value 6 is set.
  • the value of the waiting time upper limit value 4 (thres) and the value of the ratio value 5 (ratio) are determined in proportion to the priority value 6 will be described.
  • thres and ratio a maximum value and a minimum value that can be set are provided for thres and ratio, respectively. Further, the maximum value of thres is set as max t, and the minimum value of thres is set as min t . Further, the maximum value of ratio is set as max r, and the minimum value of ratio is set as min r .
  • the priority value 6 is pri
  • thres and ratio are calculated according to the following formula.
  • FIG. 10 and FIG. 11 are diagrams exemplifying the execution status of process switching in the process execution unit 2 when a communication request is generated.
  • the process switching from the sequence process to the service process is performed when the time (8 ms) set by thres is exceeded. Then, a response (first communication response in FIG. 10) is made during execution of the service process.
  • the service processing is a time obtained by multiplying the execution time of the sequence processing program by the ratio, that is, Only executed and switched to sequence processing.
  • the process switching from the sequence process to the service process is performed when the time (6 ms) set by thres is exceeded. Then, a response is made during the execution of the service process (first communication response in FIG. 11).
  • the service processing is a time obtained by multiplying the execution time of the sequence processing program by the ratio, that is, Only executed and switched to sequence processing.
  • the response time is shorter for both of the two communication requests than in the case illustrated in FIG.
  • the time that can be allocated to the sequence process is shorter than in the case illustrated in FIG.
  • the processing is switched from the sequence processing program to the service processing.
  • the service process is not waited longer than the value of thres, and the response time of the service process is improved. Also, the time for performing the service process can be adjusted by the set value of ratio.
  • thres and ratio can be calculated based on the priority value pri according to the calculation formula shown in the present embodiment. Therefore, when the priority value is set to service processing priority, the response time of service processing can be improved. Further, when the priority value is set to sequence processing priority, the time allocatable to the sequence processing can be increased.
  • a service process executed on the programmable controller 1 information related to the operation status of the programmable controller or information related to a sequence processing program is transmitted to and received from the externally connected computer device 9.
  • the service process executed on the programmable controller is not limited to this. That is, for example, a file writing process to a memory area connected to the programmable controller 1 or a file reading process from the memory area may be used.
  • Second Embodiment A programmable controller according to this embodiment will be described.
  • the same components as those described in the above embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted as appropriate.
  • a calculation formula is used in which the waiting time upper limit value 4 and the ratio value 5 are determined in proportion to the priority value 6.
  • the following formulas (3) and (4) that can adjust the execution performance of the sequence processing program of the programmable controller 1 and the response performance of the service processing may be used in accordance with the user's intention. .
  • the value ratio next and the updated thres value thres next are as follows.
  • the above calculation formula is configured such that the execution time of the sequence program and the execution time of the service process are proportionally changed with respect to the variable of the priority value pri.
  • T svc is the average value of the service process execution time
  • S is the time required for the switching control unit 12 to switch the process executed on the process execution unit 2 from the sequence process to the service process or vice versa. The total value.
  • Equation (12) and Equation (13) are substituted into Equation (10). It becomes. Furthermore, by substituting Equation (13) and Equation (14) into Equation (11), Is obtained.
  • Equation (14) and Equation (16) Is obtained. Further, from the equations (15) and (17), Is obtained.
  • the amount of change in ratio is the amount of change in pri, It can be calculated by multiplying. Also, the amount of change in thres is the amount of change in pri, It can be calculated by multiplying.
  • equations (22) and (23) are respectively In the equations (22) and (23), Can be used to derive equations (3) and (4).
  • FIG. 12 and FIG. 13 are diagrams illustrating an example of a process switching execution state in the process execution unit 2 when a communication request is generated 9 ms after the execution start of the sequence processing program.
  • the process is switched from the sequence process to the service process when the time set by thres (11 ms) is exceeded. Then, a response (communication response in FIG. 12) is made during the execution of the service process.
  • the execution time of the service process can be calculated by multiplying the execution time of the sequence processing program and the ratio, It becomes.
  • the allocation time for sequence processing is shorter in the case illustrated in FIG. 13 than in the case illustrated in FIG.
  • the allocation time for service processing is longer in the case illustrated in FIG. 13 than in the case illustrated in FIG. 12. It will be adjusted.
  • the calculation formula for obtaining thres and ratio is configured such that the execution time of the sequence program and the execution time of the service process are changed in proportion to the variable of the priority value pri.
  • the process switching operation can be changed as intended by the user of the programmable controller.
  • thress next and ratio next are calculated using Expression (3) and Expression (4), but other calculation expressions may be used.
  • S may be derived using a calculation formula that is inversely proportional to thres.
  • the value is immediately applied to thres and ratio when the variation value (pri new -pri old ) of the priority value pri is changed to 1 or more. It was. However, when the change value of pri is changed to be 1 or more, the work of changing the value of thrs and the value of ratio with the change value of pri being 1 is changed by the actual change value at regular intervals. May be repeated.
  • the programmable controller includes the reception and measurement unit 13 as the reception unit and the switching control unit 12 as the control unit.
  • the acceptance and measurement unit 13 accepts an execution request for service processing.
  • the switching control unit 12 when the sequence processing program is being executed in the programmable controller 1 when the reception and measurement unit 13 receives the service process execution request, the elapsed time from when the service process execution request was received When thres exceeds a predetermined first threshold value thres, the programmable controller 1 switches from execution of the sequence processing program to execute service processing corresponding to the execution request.
  • the programmable controller includes the processing circuit 102a that executes the program and the storage device 103 that stores the program.
  • the programmable controller 1 switches the execution of the sequence processing program to execute the service process corresponding to the execution request.
  • the programmable controller includes the processing circuit 102b.
  • the processing circuit 102b performs the following operation.
  • the processing circuit 102b when the sequence processing program is executed in the programmable controller 1 when the service process execution request is received, the processing circuit 102b has a predetermined elapsed time from when the service process execution request is received. When the threshold value exceeds thres, the programmable controller 1 switches from execution of the sequence processing program to execute service processing corresponding to the execution request.
  • the switching control unit 12 is programmable when the time when the service process is executed after switching from the execution of the sequence processing program exceeds a predetermined second threshold value.
  • the controller 1 executes the sequence processing program.
  • the second threshold value is calculated by multiplying the execution time of the sequence processing program executed until the process is switched and the ratio.
  • the upper limit value is provided for the execution time of the service process, so that the ratio between the execution time of the sequence processing program and the execution time of the service process can be adjusted. Specifically, the ratio between the execution time of the sequence processing program and the execution time of the service process can be adjusted by changing the ratio value.
  • the execution time of the service process is suppressed from being increased depending on the contents of the service process, the execution time of the sequence processing program is suppressed from being shortened compared to the execution time of the service process.
  • the second threshold value is set as a predetermined third threshold value at the time when the sequence processing program is executed before switching to the service processing. The multiplied value.
  • the upper limit value is provided for the execution time of the service process, so that the ratio between the execution time of the sequence processing program and the execution time of the service process can be adjusted. Specifically, the ratio between the execution time of the sequence processing program and the execution time of the service process can be adjusted by changing the ratio value.
  • the execution time of the service process is suppressed from being increased depending on the contents of the service process, the execution time of the sequence processing program is suppressed from being shortened compared to the execution time of the service process.
  • the programmable controller is provided with the priority value setting part 7 which sets the priority value which shows the degree of giving priority to execution of a service process over execution of a sequence processing program so that change is possible from the outside. .
  • the priority value can be changed in the priority value setting unit 7.
  • the priority value can be set and changed from the computer device 9 externally connected to the programmable controller 1.
  • At least one of thres and ratio is predetermined based on the priority value.
  • the user can easily adjust the balance between the execution of the sequence processing program of the programmable controller 1 and the execution of the service processing according to the use environment.
  • Priority that defines the execution performance of the sequence processing program and the response performance of the communication processing is desirably adjustable after the programmable controller is attached to the equipment or mechanical system. For that purpose, it is necessary to be able to set the priority value using a functional unit attached to the programmable controller main body.
  • the programmable controller may be installed in a place where it cannot be directly touched by human hands. In this case, it is necessary that the priority value can be set from an external device connected to the programmable controller.
  • the priority value can be set and changed in the priority value setting unit 7. Further, according to the above embodiment, the priority value can be set and changed from the computer device 9 externally connected to the programmable controller 1. Therefore, the priority value can be easily adjusted even after the programmable controller is attached to the facility or mechanical system.
  • the programmable controller includes the sequence processing unit 10, the service processing unit 11, the waiting time excess detection unit 14, and the service processing excess detection unit 15.
  • the sequence processing unit 10 executes the sequence processing program and measures the time when the sequence processing program is executed.
  • the service processing unit 11 performs the service process and measures the time when the service process is performed.
  • the waiting time excess detection unit 14 detects that the elapsed time from the reception of the service processing execution request has exceeded thres.
  • the service process excess detection unit 15 detects that the time when the service process is executed exceeds the second threshold value.
  • the reception and measurement unit 13 measures the elapsed time from when the service processing execution request is received.
  • the switching control unit 12 detects the detection information and service processing in the waiting time excess detection unit 14. Based on the detection information in the excess detection unit 15, the service processing unit 11 executes service processing corresponding to the execution request by switching from execution of the sequence processing program.
  • the programmable controller 1 switches the execution of the sequence processing program to execute the service process corresponding to the execution request.
  • the service process corresponding to the execution request can be immediately executed. it can.
  • the programmable controller 1 switches from the execution of the sequence processing program and executes the service process corresponding to the execution request. Make it.
  • each service process execution request is not waited longer than the thres time, and the response time to the service process execution request is improved.
  • the second threshold value is calculated by multiplying the execution time of the sequence processing program executed until the process is switched and the ratio.
  • the upper limit value is provided for the execution time of the service process, so that the ratio between the execution time of the sequence processing program and the execution time of the service process can be adjusted. Specifically, the ratio between the execution time of the sequence processing program and the execution time of the service process can be adjusted by changing the ratio value.
  • the execution time of the service process is suppressed from being increased depending on the contents of the service process, the execution time of the sequence processing program is suppressed from being shortened compared to the execution time of the service process.
  • the second threshold is set to a predetermined ratio at the time when the sequence processing program is executed before switching to the execution of the service processing. The multiplied value.
  • the upper limit value is provided for the execution time of the service process, so that the ratio between the execution time of the sequence processing program and the execution time of the service process can be adjusted. Specifically, the ratio between the execution time of the sequence processing program and the execution time of the service process can be adjusted by changing the ratio value.
  • the execution time of the service process is suppressed from being increased depending on the contents of the service process, the execution time of the sequence processing program is suppressed from being shortened compared to the execution time of the service process.
  • At least one of thres and ratio is based on a priority value indicating a degree of giving priority to execution of service processing over execution of sequence processing program. Predetermined.
  • the user can easily adjust the balance between the execution of the sequence processing program of the programmable controller 1 and the execution of the service processing according to the use environment.
  • the time allocated to the execution of the communication process can be changed by editing a table that defines the execution time for each type of the communication process.
  • advanced knowledge about each communication process is required, so it is not possible to specify the time to execute for each communication type by a general programmable controller user Have difficulty.
  • the user can easily adjust the balance between the execution of the sequence processing program of the programmable controller 1 and the execution of the service processing according to the use environment.
  • thres and ratio can be determined simultaneously based on the priority value.
  • the user can easily adjust the balance between the execution of the sequence processing program of the programmable controller 1 and the execution of the service processing according to the use environment.
  • thres and ratio can be adjusted at the same time, and the ratio between the execution time of the sequence processing program and the execution time of the service processing can be adjusted.
  • thres and ratio are proportional to the priority value.
  • the user can easily adjust the balance between the execution of the sequence processing program of the programmable controller 1 and the execution of the service processing according to the use environment.
  • thres and ratio can be adjusted simultaneously, and the ratio between the execution time of the sequence processing program and the execution time of the service processing can be adjusted as intended by the user.
  • thres becomes smaller as the priority value becomes larger. Further, the ratio increases as the priority value increases.
  • the user can easily adjust the balance between the execution of the sequence processing program of the programmable controller 1 and the execution of the service processing according to the use environment.
  • thres and ratio can be adjusted simultaneously, and the ratio between the execution time of the sequence processing program and the execution time of the service processing can be adjusted as intended by the user.
  • each component is a conceptual unit, and one component consists of a plurality of structures, one component corresponds to a part of the structure, and a plurality of components. And the case where the component is provided in one structure.
  • Each component includes a structure having another structure or shape as long as the same function is exhibited.
  • each component described in the above embodiment is assumed to be software or firmware, or hardware corresponding thereto, and in both concepts, each component is a “unit” or “processing circuit” or the like. Called.
  • the present technology may be a case where each component is distributed and provided in a plurality of devices (that is, an aspect like a system).
  • the data holding unit 3 is illustrated as being mounted in the programmable controller 1 in FIG. 1, but may be an external functional unit. In that case, the function of the data holding unit 3 is achieved as a whole by interacting with other functional units in the programmable controller 1.
  • 1 programmable controller 2 processing execution unit, 3 data holding unit, 4 waiting time upper limit value, 5 ratio value, 6 priority value, 7 priority setting unit, 8 peripheral device interface, 9 computer device, 10 sequence processing unit, 11 Service processing unit, 12 switching control unit, 13 reception and measurement unit, 14 waiting time excess detection unit, 15 service processing excess detection unit, 102a, 102b processing circuit, 103 storage device, 104 input and output device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Programmable Controllers (AREA)

Abstract

La présente invention concerne un automate programmable et son procédé de commande permettant de réduire au minimum des augmentations du temps requis pour répondre à une requête de communication. L'automate programmable est pourvu : d'une unité de réception (13) qui reçoit une requête d'exécution de traitement de service ; et d'une unité de commande (12) qui, si un programme de traitement séquentiel est en cours d'exécution sur l'automate programmable lorsque l'unité de réception reçoit la requête d'exécution de traitement de service, amène l'automate programmable à différer la commutation de l'exécution du programme de traitement séquentiel à l'exécution du traitement de service indiqué par la requête d'exécution de traitement de service jusqu'à ce que le temps écoulé depuis la réception de la requête d'exécution de traitement de service dépasse une première valeur seuil prédéterminée.
PCT/JP2015/067826 2015-06-22 2015-06-22 Automate programmable et procédé de commande pour automate programmable WO2016207937A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015550878A JP5866082B1 (ja) 2015-06-22 2015-06-22 プログラマブルコントローラおよびプログラマブルコントローラの制御方法
PCT/JP2015/067826 WO2016207937A1 (fr) 2015-06-22 2015-06-22 Automate programmable et procédé de commande pour automate programmable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/067826 WO2016207937A1 (fr) 2015-06-22 2015-06-22 Automate programmable et procédé de commande pour automate programmable

Publications (1)

Publication Number Publication Date
WO2016207937A1 true WO2016207937A1 (fr) 2016-12-29

Family

ID=55347015

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/067826 WO2016207937A1 (fr) 2015-06-22 2015-06-22 Automate programmable et procédé de commande pour automate programmable

Country Status (2)

Country Link
JP (1) JP5866082B1 (fr)
WO (1) WO2016207937A1 (fr)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165623A (ja) * 1997-08-20 1999-03-09 Denso Corp プログラマブルコントローラ
JP2001265412A (ja) * 2000-03-15 2001-09-28 Omron Corp プログラマブルコントローラ
JP2004362100A (ja) * 2003-06-03 2004-12-24 Sony Corp 情報処理装置、プロセス制御方法、並びにコンピュータ・プログラム
JP2005293312A (ja) * 2004-03-31 2005-10-20 Omron Corp コントローラおよびツール
JP2010277158A (ja) * 2009-05-26 2010-12-09 Fujitsu Semiconductor Ltd 割り込み通知制御装置および半導体集積回路
JP2011134197A (ja) * 2009-12-25 2011-07-07 Hitachi Industrial Equipment Systems Co Ltd プログラマブルコントローラ、及びプログラマブルコントローラにおける複数処理の時分割方法
JP2012203519A (ja) * 2011-03-24 2012-10-22 Toshiba Corp 制御装置およびプログラム

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165623A (ja) * 1997-08-20 1999-03-09 Denso Corp プログラマブルコントローラ
JP2001265412A (ja) * 2000-03-15 2001-09-28 Omron Corp プログラマブルコントローラ
JP2004362100A (ja) * 2003-06-03 2004-12-24 Sony Corp 情報処理装置、プロセス制御方法、並びにコンピュータ・プログラム
JP2005293312A (ja) * 2004-03-31 2005-10-20 Omron Corp コントローラおよびツール
JP2010277158A (ja) * 2009-05-26 2010-12-09 Fujitsu Semiconductor Ltd 割り込み通知制御装置および半導体集積回路
JP2011134197A (ja) * 2009-12-25 2011-07-07 Hitachi Industrial Equipment Systems Co Ltd プログラマブルコントローラ、及びプログラマブルコントローラにおける複数処理の時分割方法
JP2012203519A (ja) * 2011-03-24 2012-10-22 Toshiba Corp 制御装置およびプログラム

Also Published As

Publication number Publication date
JPWO2016207937A1 (ja) 2017-07-06
JP5866082B1 (ja) 2016-02-17

Similar Documents

Publication Publication Date Title
US10642250B2 (en) Servo control system equipped with learning control apparatus having function of optimizing learning memory allocation
JP2015079496A (ja) チップ上のマルチコアシステムの全域チップ電力を管理する方法およびその装置。
JP2007133481A (ja) 分散システム
US20140344518A1 (en) Apparatus and method for performing data transfer between storages
KR20130109788A (ko) 디바이스의 온도 예측 방법
CN104243531A (zh) 一种数据处理的方法、装置及系统
KR20200131178A (ko) 분산 시스템 아키텍처에서 애플리케이션을 실행하기 위한 방법
JP2009277022A (ja) 情報処理システム、負荷制御方法、および負荷制御プログラム
JP5866082B1 (ja) プログラマブルコントローラおよびプログラマブルコントローラの制御方法
US9569132B2 (en) Path selection to read or write data
US20180077056A1 (en) Cross-domain service request placement in a software defined environment (sde)
JP2005327138A (ja) データベースサーバ、プログラム、記録媒体、及び制御方法
JP6517706B2 (ja) 効率的に数値制御データの受け渡しをする数値制御システム
US9537740B2 (en) Monitoring device usage
JP2010282352A (ja) Dma転送制御装置
US20160036677A1 (en) Monitoring device usage
KR101543074B1 (ko) 동적 전압 및 주파수 스케일링(dvfs)에 따른 컴퓨터 프로세서의 성능 변화 예측 방법 및 이를 이용한 프로세서 동작속도 조절 방법
JP2017228223A (ja) 信号処理装置
JP2018095142A (ja) 車載制御装置
JP6281354B2 (ja) 情報処理システム、情報処理装置、情報処理方法、及び、プログラム
JP2019144715A (ja) 情報処理装置、情報処理システム、及びプログラム
JP2021105772A (ja) リソース利用量の予測管理システム、リソース利用量の予測管理方法
US10169182B2 (en) Monitoring levels of utilization of device
JP5056346B2 (ja) 情報処理装置、情報処理システム、仮想サーバの移動処理の制御方法、及び、プログラム
US9798491B2 (en) Semiconductor system and operating method thereof

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2015550878

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15896260

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15896260

Country of ref document: EP

Kind code of ref document: A1