1. Field of the Invention
The embodiments disclosed herein relate to an engineering tool.
2. Description of the Related Art
Japanese Unexamined Patent Application Publication No. 2005-293569 describes a multi-axis control system which includes a programmable logic controller (PLC), a motion controller, and a motor driving apparatus and which serves as a control apparatus for a plurality of motors in factory automation installed in production factories.
According to an aspect of the present disclosure, an engineering tool including a function that allows a user to perform, through a selection operation and a geometrical figure input operation, various motion-control-related setting operations for a motion controller configured to perform motion control on a motor via a motor driving apparatus.
During manufacturing of production machinery serving as factory automation including a multi-axis control system, work such as design, assembly, a test operation, and adjustment has been collaboratively performed by or divided among mechanical engineers and electrical engineers because of the following reason, for example. A mechanical section which is the main portion of the production machinery is manufactured by mechanical engineers alone. On the other hand, because work related to a PLC, a motion controller, and a motor driving apparatus which serve as a control system of the mechanical section involves technical skills related to electric and computer fields, such work involves help of electrical engineers in most cases. In particular, as for motion control of motors, the motion controller executes a motion program and a sequence program that is described as a ladder program just like the one for the PLC. For this reason, in many cases, it has been very difficult for mechanical engineers who have not mastered various programing techniques to make settings of motion control by themselves. In the case where work related to motion control of motors which serve as driving sources of the production machinery is collaboratively performed by two parties, i.e., mechanical engineers and electrical engineers, in this way, the work efficiency is very low. In particular, in adjustment work, the two parties alternately and repeatedly investigate which of the mechanical section and the control system has caused a trouble, making the work significantly troublesome.
Inventors who have noticed such a background have performed a research and development of an engineering tool that allows average mechanical engineers to perform motion-control-related work from design to adjustment by themselves, and have arrived at an embodiment.
An embodiment will be described below with reference to the accompanying drawings.
The general-purpose PC 2 is a personal computer configured to run an application program on a general-purpose operating system (OS) so as to perform a certain process. Note that, in this embodiment, an engineering tool including a set of applications used to perform various settings, a test operation, and adjustment of a motor control system S of the production machinery 1 is pre-installed in this general-purpose PC 2. This general-purpose PC 2 is used to perform settings, a test operation, and adjustment of the motor control system S through the engineering tool, and thus is removed when the production machinery 1 is actually put into operation.
The PLC 3 is a control device configured to perform sequence control on the entire production machinery 1 through a process based on a sequence program (described later). Note that, although not particularly illustrated in
The touch panel display 4 is an operation unit configured to display various pieces of information output from the PLC 3 and configured to receive operation information input from the user. The touch panel display 4 functions, in place of the general-purpose PC 2, as a human interface for the user during the actual operation of the production machinery 1.
The motion controller 5 is a control device configured to perform motion control on motors via the motor driving apparatuses 6 and 7 in cooperation with the remote I/O 8 that performs two-level I/O control, in accordance with a motion-and-sequence timing chart (described later). In the illustrated example according to this embodiment, this motion controller 5 includes a CPU 51, a device memory 52, a shared memory 53, a higher-layer network interface (I/F) 54, and a motion network I/F 55. The device memory 52 is a memory configured to hold and store programs and data exclusively used by the motion controller 5. The shared memory 53 is a memory which shares part of stored content with a shared memory (not particularly illustrated) included in the PLC 3. In the example according to this embodiment, the higher-layer network I/F 54 and the motion network I/F 55 are interfaces that support a network ENW based on Ethernet (registered trademark) and a network MNW based on MECHATROLINK (registered trademark) so as to control transmission and reception of information, respectively. The networks ENW and MNW will be described later. Note that a network such as the one based on EtherCAT (registered trademark) may be used as the motion network MNW in addition to the one based on MECHATROLINK (registered trademark).
The motor driving apparatuses 6 and 7 are control devices each configured to supply a corresponding motor included in the mechanical section 9 with a driving power in accordance with a motor driving command received from the motion controller 5 so as to control driving of the motor.
The remote I/O 8 is a control device configured to perform two-level I/O control on an input device and an output device included in the mechanical section 9. Specifically, this remote I/O 8 outputs two-level input information (i.e., ON or OFF) of a sensor or switch included in the mechanical section 9, to the PLC 3 and the motion controller 5 via the higher-layer network ENW and/or the motion network MNW. The remote I/O 8 also switches a two-level output state of a lamp or valve-opening/closing solenoid included in the mechanical section 9 between ON and OFF, in accordance with a command received from the PLC 3 and the motion controller 5 similarly via the higher-layer network ENW and/or the motion network MNW.
The mechanical section 9 is a main section of the production machinery 1. The mechanical section 9 includes various motors (such as (IM) rotary motors 91 and (IM) linear motors 92 in
In the illustrated example according to this embodiment, the general-purpose PC 2, the PLC 3, the touch panel display 4, and the motion controller 5 are connected to one another via the higher-layer network ENW based on Ethernet (registered trademark) so as to be able to transmit and receive information. Also, in the example according to this embodiment, the motion controller 5, the motor driving apparatuses 6 and 7, and the remote I/O 8 are connected to one another via the motion network MNW based on MECHATROLINK (registered trademark) so as to be able to transmit and receive information. Ethernet (registered trademark) and MECHATROLINK (registered trademark) are used as specific standards for the higher-layer network ENW and the motion network MNW, respectively, in the example according to this embodiment; however, the higher-layer network ENW and the motion network MNW may be configured using standards other than these standards. In addition, the motion controller 5 may be connected to the general-purpose PC 2 or the like via Universal Serial Bus (USB) just for the purpose of power supply.
In this embodiment, the term “sequence control” refers to collectively controlling coordination between many pieces of two-level input information and a two-level output state in the production machinery 1 in accordance with a preset coordinated relationship. Almost all pieces of information handled are information having two levels (i.e., ON and OFF).
Also, the term “motion control” typically refers to causing the plurality of motors 91 and 92 to individually perform quantitative operations in parallel and in coordination with each other, and corresponds to control such as so-called locus control or interpolation control. Because this motion control also includes coordination with the sequence control, two-level information described above as well as quantitative information such as the position, velocity, or torque/thrust for rotational or linear movement are handled.
The motor control system S at least includes the motion controller 5, the motor driving apparatuses 6 and 7, and the motors 91 and 92. Comparative example of motion-control-related part according to related art
Now, a comparative example of manufacturing of motion-control-related part that has been performed in the related art will be described.
In the comparative example according to the related art illustrated in
Only mechanical engineers who have designed the mechanical section 9 of the production machinery 1 and have considered motion operations at individual axes can create this motion operation chart. In order to realize coordinated operation between portions that move objects such as workpieces and tools included in the mechanical section 9, mechanical engineers set and define, using the motion operation chart, a coordinated relationship between quantitative coordinated driving that is performed in parallel at individual axes and two-level I/O control for a sensor, a limit switch, a lamp, a solenoid, and so on.
Then, based on the content written in this motion operation chart, electrical engineers create a motion program and a sequence ladder program. Here, a description is given only of motion control performed by the motion controller 5; however, complicated motion involves sequential operation as well as motion operation with respect to the axes. Thus, two programs (i.e., the motion program and the sequence ladder program) are ultimately used.
A sequence ladder program is a program that is stored in and executed by the motion controller 5 according to the related art and describes a procedure of sequence control. Hitherto, sequence control has been typically performed in accordance with a ladder program. A ladder program is a program having a format based on a relay control method that has been performed before development and utilization of computer-based control using the CPU. For example, as illustrated in
In contrast, a motion program is a program that is stored in and executed by the motion controller 5 according to the related art and that describes a procedure of motion control. For example, as illustrated in
In order to create these motion program and sequence ladder program, a computer-related programming technique (so-called coding technique) is used. Accordingly, in the related art, mechanical engineers who have not mastered the programming technique are unable to create the programs in general, and thus the motion program and the sequence ladder program are created mainly by electrical engineers alone by converting the content of the motion operation chart. These two programs are created by performing input using an edition application that runs on the general-purpose PC 2 as well as by handwriting the programs on paper.
Then, as illustrated in
As described above, the motion program and the sequence ladder program have different execution formats. Specifically, the sequence ladder program is of a scan execution type in which all program lines are collectively executed within one control scan. In contrast, the motion program is of a sequential execution type in which one program line is executed over multiple scans, and thus another processing is not to be performed while one program line is being executed. Complicated motion operation of the production machinery 1 is not implemented unless two programs of completely different types are written for motion control alone. Because it is not easy even for electrical engineers to correctly use two programs of different types in this way, it is a very rare case where a mechanical engineer has mastered the two programs.
The hardware setup of the motor control system S illustrated in
Subsequently, the user performs settings such as setting of various parameters of the motor driving apparatuses 61 and assignment of I/O ports of the remote I/O 8 by using an engineering tool (not illustrated in
Then, the motion program and sequence ladder program created in the general-purpose PC 2 are downloaded to the device memory 52 of the motion controller 5 via Ethernet (registered trademark). By causing the motion controller 5 to execute the motion program and the sequence ladder program, a test operation of part related to motion control becomes possible. In many cases, the individual programs and various parameters are repeatedly adjusted so that motion control is to be performed appropriately at a high precision. Through the above-described process, the hardware of the motor control system S is set.
In such a motor control system S of the comparative example according to the related art, only work for assembly, wiring, a test operation, and adjustment (test operation and adjustment of a mechanical part) of the mechanical section 9 can be performed by mechanical engineers alone in the hardware setup. However, the other work involves the knowledge and skill related to electric and computer fields, and thus is shared with electrical engineers. Among such work, work for setting and adjusting parameters of the motor driving apparatuses 61 is to be collaboratively performed by mechanical engineers and electrical engineers.
The above-described work process related to motion control in the comparative example according to the related art is chronologically summarized as illustrated in
On the other hand, in terms of the hardware aspect, electrical engineers design an electric circuit diagram in accordance with the conceptual design created by the mechanical engineers, and perform wiring of individual components of the motor control system S on a board from the designed electric circuit diagram, as their work. Then, in parallel to assembly of the production machinery 1, electrical engineers perform wiring for connecting the individual components in the production machinery 1. In terms of the software aspect, electrical engineers design various control programs including the motion program and the sequence ladder program on the basis of the motion operation chart created by the mechanical engineers, and create programs of a form of intermediate language data by using a conversion application of the general-purpose PC 2. During the operation adjustment and test operation of the production machinery 1, electrical engineers download the control programs to the motion controller 5 or the like so as to perform the operation adjustment and test operation of motion control.
As described above, within the range related to motion control alone, work performed by mechanical engineers and work performed by the electrical engineers are correlated complicatedly in the manufacturing process of the production machinery 1 in the comparative example according to the related art. In particular, during adjustment work related to motion control, adjustment of motion control in which individual axes are coordinated complicatedly is to be performed after adjustment of each axis has been individually completed. Also, in debugging work performed in the case where the mechanical section 9 does not operate expectedly, debugging of the mechanical section 9 is performed by mechanical engineers alone, whereas debugging of the control programs is performed by electrical engineers alone. Such debugging is collaborative work which includes part unfamiliar to mechanical engineers and part unfamiliar to electrical engineers, and thus is a reason of a long work time. In addition to motion control, electrical engineers have their main work related to the electrical system, such as design of sequence control of the entire production machinery 1 performed by the PLC 3 and design of interface windows displayed on the touch panel display 4. Accordingly, there is a constraint that makes it difficult for the electrical engineers to take time for debugging of motion control. The reasons described above make it very difficult to shorten the development period of the production machinery 1 including the motor control system S of the comparative example according to the related art.
In order to address this issue fundamentally, it is effective to reconsider the motion controller 5. That is, it is desirable to allow average mechanical engineers to perform work from design to adjustment and debugging of the motion related part of the motor control system S in terms of both the hardware aspect and the software aspect by themselves.
Motion Control Related Part in Accordance with Embodiment
Accordingly, in this embodiment, part related to motion control is manufactured in a manner described below.
In this example according to this embodiment illustrated in
By causing the motion controller 5 to download the above-described motion-and-sequence time chart to the device memory 52 thereof and to execute the motion-and-sequence time chart, mechanical engineers can perform a test operation and adjustment of motion control which is performed as a result of coordination of axes in the mechanical section 9. That is, this embodiment allows average mechanical engineers to perform work from design to adjustment of the motion-related part in terms of both the hardware aspect and the software aspect of the motor control system S by themselves. In particular, mechanical engineers can debug the control program easily because all they have to do is to appropriate edit the motion-and-sequence operation chart using the above-described operation chart conversion tool, re-create the motion-and-sequence time chart, and re-download the motion-and-sequence time chart to the motion controller 5.
Also, all the motion controller 5 according to this embodiment has to do is to repeatedly output the position data sequence included in the motion-and-sequence time chart as an alignment command to the corresponding motor driving apparatus 6 during motion control. In this way, the motor driving apparatus 6 that repeatedly receives the position data can keep performing a certain motion operation by means of its alignment function. Accordingly, compared with the comparative example according to the related art in which the motion program and the sequence ladder program which are of different types are interpreted and processed from the form of intermediate language data, a processing load of the CPU 51 of the motion controller 5 according to this embodiment is reduced by a large amount.
The work process related to motion control in accordance with this embodiment described above is chronologically summarized, with distinction between work performed by mechanical engineers and work performed by electrical engineers as illustrated in
Functions of individual applications included in the above-described engineering tool will be described below with reference to display examples of execution windows. Note that each execution window illustrated below is displayed using a graphical user interface (GUI) of a so-called multi-window format.
In this embodiment, the time axis is set as an operation schedule time. The term “operation schedule time” refers to an elapsed period from when motion control is actually started in the production machinery 1, and the progress is chronologically managed by the operation chart conversion tool. The switching schedules for the servo velocities, the two-level output signals, and the two-level input signals are managed in accordance with the same operation schedule. If this operation schedule is stopped because of a failure during motion control, the progress of the switching schedules for the servo velocities, the two-level output signals, and the two-level input signals are also stopped in accordance with the operation schedule time.
Also, lines along the same time-axis direction can be deformed so that the two-level output signals and the two-level input signals are each discretely switched between heights corresponding to two levels (i.e., high (ON) and low (OFF)) at given positions. Further, a timing at which a signal is switched between two levels can be coordinated with a timing at which the servo velocity is switched. That is, a switching timing of one of the signal level and the servo velocity can be set as a trigger for a switching timing of the other of the signal level and the servo velocity.
By geometrically inputting the switching schedules of the servo velocities, the two-level output signals, and the two-level input signals in the above-described manner, the user can easily input the motion-and-sequence operation chart into the operation chart conversion tool. The operation chart conversion tool then creates a motion-and-sequence time chart corresponding to this motion-and-sequence operation chart.
The operation chart conversion tool according to this embodiment enables management and listing of a plurality of motion-and-sequence operation charts as illustrated in
Further, the operation chart conversion tool according to this embodiment enables edition of an execution order, the number of repetitions, and a conditional branch on a chart-by-chart basis as illustrated in
The engineering tool according to this embodiment also includes an application used to select capacities of the motors 91 and 92.
Moreover, the engineering tool according to this embodiment includes an application used to set network settings easily.
In addition, the engineering tool according to this embodiment includes an application used to easily perform parameter setting and gain adjustment for the motor driving apparatuses 6 and the motor driving apparatus 7 (which are hereinafter collectively referred to as “motor driving apparatuses 6 and 7”).
For example,
Currently available products of the motor driving apparatus have a function that enables operation by auto tuning, instead of separately setting individual gains (such as a velocity gain, a positional gain, a ratio of moment of inertia) of the motor driving apparatus 6 or 7. In the case where the motion controller 5 and the motor driving apparatus 6 or 7 are connected to each other via the motion network MNW, data of the motor driving apparatus 6 or 7 can be loaded via the motion controller 5 to the general-purpose PC 2 connected to the motion controller 5. Therefore, the function of the motor driving apparatus 6 or 7 can be controlled on the window illustrated in
As described later, in the case where the motor driving apparatus 6 or 7 and the motion controller 5 are connected to each other using an analog signal, such as a velocity command or torque command, velocity control or position control is configured within the motion controller 5. Thus, by configuring the motion controller 5 to include the function of the motor driving apparatus 6 or 7 therein, operations equivalent to those described above can be performed.
In the case where servo adjustment or the like is performed by connecting the motor driving apparatus 6 or 7 and the motion controller 5 to each other using a pulse train and connecting the PC to a USB or serial I/F of the motor driving apparatus 6 or 7, the general-purpose PC 2 and the motor driving apparatus 6 or 7 are directly connected to each other and the motor driving apparatus 6 or 7 is directly recognized by the engineering tool included in the general-purpose PC 2. In this way, the adjustment operation described in
Moreover, a monitoring function of the motor driving apparatus 6 or 7 for monitoring the operation state of the motor driving apparatus 6 or 7 can be easily displayed by defining appropriate buttons and changing the display window to the one illustrated in
In the related art, individual adjustment manuals for the motor driving apparatuses 6 and 7 are thoroughly read for adjustment and a servo-exclusive engineering tool is used. In contrast, in accordance with the present disclosure, setting and adjustment of the motor driving apparatuses 6 and 7 can be performed just by starting an engineering tool for the motion controller 5 which is installed into the general-purpose PC 2 illustrated in
In the embodiment described above, the motors 91 and 92 included in the mechanical section 9 of the production machinery 1 each correspond to a motor recited in the claims, the motion-and-sequence operation chart corresponds to a motion operation chart and a sequence operation chart recited in the claims, a motion-and-sequence time chart corresponds to a motion time chart and a sequence time chart recited in the claims, the alignment command corresponds to a motor driving command recited in the claims, and a position data sequence corresponds to a command data sequence recited in the claims.
As described above, the engineering tool according to this embodiment allows a user to perform, through a selection operation and a geometrical figure input operation, various motion-control-related setting operations for the motion controller 5 configured to perform motion control on the motors 91 and 92 via the motor driving apparatuses 6 and 7. With this configuration, even people who do not have sufficient knowledge and skill related to the electric and computer fields and the programming technique can easily perform a test operation and adjustment of the motors 91 and 92 included in the mechanical section 9 in the example according to this embodiment; parameter setting, a test operation, and adjustment of the motion control apparatus 61; I/O port assignment setting of the remote I/O 8; and network settings of the higher-layer network ENW and the motion network MNW. That is, mechanical engineers can complete operation testing and machinery adjustment at each axis of the machinery; machine precision measurement; and description of a programmed operation in which individual axes operate complicatedly in coordination with each other and operation checking by themselves. As a result, average mechanical engineers become able to perform motion-control-related work from design to adjustment by themselves.
As described above, the PLC 3 is an apparatus configured to perform sequence control on the entire production machinery 1. Motion control performed by the motion controller 5 is often incorporated in sequence control performed by the PLC 3. That is, a timing at which motion control is started is often controlled in accordance with a two-level output from the PLC 3 (so-called I/O control). Also, the PLC 3 and the motion controller 5 are often connected to each other via serial communication such as Ethernet (registered trademark) in order to reduce the number of wirings; however, the control configuration of the entire production machinery 1 can be simplified by configuring the PLC 3 to command the motion controller 5 to start motion control in response to the aforementioned two-level output instead of a command. Also, motion control can be started in response to an operation of a switch.
In the production machinery 1 having such a configuration, mechanical engineers can check, by using the engineering tool according to this embodiment, a control operation at each axis of the production machinery 1 and a motion control operation in which multiple axes operate complicatedly in a coordinated manner by themselves first. Thereafter, the ultimately intended operation of the entire production machinery 1 can be set only by electrical engineers by using sequence control performed by the PLC 3. Debugging work regarding axis control and motion control is no longer performed collaboratively by mechanical engineers and electrical engineers unlike in the comparative example according to the related art. Thus, the electrical engineers can focus on work regarding the intended operation of the production machinery 1, setting of the human interface of the touch panel display 4, an electric process of the production machinery 1, and so on, which are their work. As a result, the lead time taken for development of the production machinery 1 can be shortened by a large amount. That is, unlike the development procedure of the production machinery 1 according to the related art, a range of work performed by mechanical engineers and a range of work performed by electrical engineers can be clearly distinguished, and the production machinery 1 can be completed through a simple takeover between mechanical and electrical engineers. Therefore, the development period of the production machinery 1 can be shortened.
In accordance with this embodiment, the engineering tool includes the operation chart conversion tool that creates, in response to input of a motion-and-sequence operation chart including a chronological and geometrical description from a user, a motion-and-sequence time chart to be referred to by the motion controller 5 so as to allow an operation command for the motor driving apparatus 6 or 7 to be chronologically output. With this configuration, the motion operation chart that gives a description of operations of the motors 91 and 92 (servo velocities in
Also, in accordance with this embodiment, the motion-and-sequence time chart is created by adding a position data sequence to an alignment command that uses an alignment function of the motor driving apparatus 6 or 7. With this configuration, the motion controller 5 just repeatedly outputs (for example, using a pulse train), to each motor driving apparatus 6 or 7, as the alignment command, the position data sequence included in the motion-and-sequence time chart during motion control. Accordingly, a processing load of the CPU 51 is reduced by a large amount, compared with the case where the motion program and the sequence ladder program which are of different types are interpreted and processed from their intermediate language data forms as in the comparative example according to the related art. As a result, the motion controller 5 can be formed using the CPU 51 which is relatively simple, and thus the cost of the motion controller 5 can be reduced.
Note that, depending on the specifications of the motion controller 5 and the motor driving apparatuses 6 and 7, there is a case where alignment control is performed by the motion controller 5 and only velocity control and torque control are performed by the motor driving apparatuses 6 and 7, for example. In such a case, the motion controller 5 may output a command to the motor driving apparatuses 6 and 7 using an analog signal. By configuring the motion-and-sequence time chart so as to include a data sequence corresponding to the command in accordance with such specifications, the motion controller 5 can cause the motor driving apparatuses 6 and 7 to keep performing a certain motion operation.
Also, in accordance with this embodiment, in response to input of a motion-and-sequence operation chart including a chronological and geometrical description from a user, the motion-and-sequence chart is created which includes a sequence time chart that describes a coordinated relationship between motion control of the motor 91 or 92 and a certain two-level input/output signal relating to the motion control of the motor 91 or 92. With this configuration, the motion controller 5 becomes able to perform sequence control in coordination with each two-level input/output device connected to the remote I/O 8. Also, depending on the scale or specifications of the production machinery 1, sequence control of the entire production machinery 1 can be performed using this motion-and-sequence time chart alone. In such a case, the PLC 3 may be omitted from the production machinery 1.
Also, in accordance with this embodiment, the motion-and-sequence time chart supports the plurality of motor driving apparatuses 6 and 7, and is created in accordance with a single operation schedule time, based on which progress is chronologically managed. This configuration enables time-concept-based motion control setting, which has not been implemented by the sequence ladder program of the scan execution type and the motion program of the sequential execution type that are used in the comparative example according to the related art, and a relationship between an operation period and a stop period of a coordinated operation performed by the motor driving apparatuses 6 and 7 at multiple axes can be collectively defined and set in detail on the time axis.
Also, in accordance with this embodiment, the operation schedule time is operable so that the progress is to be stopped under a certain condition. As described above, each axis and each two-level input/output signal which are control targets of the motion-and-sequence time chart operate in accordance with the progress of the same operation schedule time. Thus, by stopping the progress of the operation schedule time, the change in each control-target axis and each control-target two-level input/output signal over time can be collectively stopped. As a result, an erroneous-operation-avoiding interlock function, which is made available by the ladder program, can be implemented also by the motion-and-sequence time chart.
Also, in accordance with this embodiment, the engineering tool has a function of creating an execution order list in which an execution order, a number of repetitions, and a conditional branch used in the motion controller 5 are settable for a plurality of motion-and-sequence time charts created in accordance with different operation schedule times. With this function, the entire motion control performed by the motion controller 5 can be divided in terms of each characteristic part, and each characteristic part can be set in detail using the motion-and-sequence time chart. Also, the entire motion control can be created by performing functional edition on a motion-and-sequence time chart basis.
Also, in accordance with this embodiment, the engineering tool includes an Ethernet (registered trademark) connection setting tool used to switch a network connection setting set for the general-purpose PC 2 and the motion controller 5 in response to a selection operation from the user. This tool allows average mechanical engineers who do not have sufficient knowledge regarding the network to easily switch between connection of the general-purpose PC 2 to the motion controller 5 via the higher-layer network ENW based on Ethernet (registered trademark) and connection of general-purpose PC 2 to another LAN based on Ethernet (registered trademark).
Although not particularly illustrated in the drawings, the engineering tool may include a tool used to drive the motor 91 or 92 in real time via the motion controller 5 and the motor driving apparatus 6 or 7 in response to a selection operation from the user. The use of this tool allows mechanical engineers to check operation of each motor 91 or 92 and perform adjustment for a failure by themselves.
Although not particularly illustrated in the drawings, the engineering tool may include a tool used to virtually set a destination to which or from which a certain two-level input signal relating to motion control of the motor 91 or 92 is to be input or output in response to a selection operation from the user. The use of this tool allows mechanical engineers unfamiliar with specific models or specifications of the remote I/O 8 included in the production machinery 1 to cause the motion controller 5 to temporarily perform a test motion control operation. In this case, the tool can be implemented by storing the same I/O settings in the shared memory 53 of the motion controller 5 and the shared memory (not illustrated) of the PLC 3.
In the embodiment described above, the operation chart conversion tool creates the motion-and-sequence time chart; however, the present disclosure is not limited to this configuration. For example, the operation chart conversion tool may create, in accordance with the input motion-and-sequence operation chart, a motion program and a sequence ladder program corresponding to the content. In this case, even for the motion controller 5 configured to interpret and execute intermediate language data of the motion program and the sequence ladder program, mechanical engineers who have not mastered the programming technique can perform setting, a test operation, and adjustment of motion control by themselves similarly.
In the embodiment described above, the term “motion control” refers to control causing a motor to perform a quantitative operation; however, the present disclosure is not limited to such control. In addition to this control, controlling the operation of a solenoid-valve-controlled pneumatic (hydraulic) cylinder (not particularly illustrated) that functions as an actuator just like the motor is also covered by the broad meaning of motion control, and similar benefits are obtained when the present disclosure is applied to such a case. A pneumatic cylinder is generally operated as a result of two-level control based on ON and OFF of a solenoid valve. In this case, the motion controller 5 can perform motion control on the pneumatic cylinder by referring to the motion-and-sequence time chart created based on an operation chart which is illustrated in
For example, referring to
As in the embodiment described above, for example, in the case where SOLENOID #01 is assigned to the air cylinder via the remote I/O 8 in the chart of the two-level output signal in the operation chart illustrated in
As described above, by using the operation chart as in the case of driving motors, the air cylinder can be driven without using the ladder program. In the related art, the air cylinder is operated after an operation sequence is set in the PLC 3 or the motion controller 5 by writing a ladder program. For this reason, it is difficult to perform a test operation or debugging of operation of the machinery only by mechanical engineers as in the above-described case of motion control for motors. However, the present disclosure makes it possible to operate the air cylinder only by mechanical engineers.
Other than the methods described above, methods according to the embodiment and modifications may be appropriately used in combination.
Although not illustrated separately, various alterations may be added and carried out within a range not departing from the gist.
It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.
The present application is a continuation application of PCT/JP2011/080525, filed Dec. 28, 2011, the contents of which are incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2011/080525 | Dec 2011 | US |
Child | 14316717 | US |