Control system
阅读说明:本技术 控制系统 (Control system ) 是由 平沼琢也 于 2020-03-02 设计创作,主要内容包括:本发明提供一种控制系统。在该控制系统中,数值控制装置在成为切换对象的机械结构树的数量增加时,与以往相比降低不必要的存储器消耗量。工业用机械的控制系统通过以构成要素为节点的图表形式的机械结构树来表现控制对象的机械结构,并且包含机械结构编辑装置和机械结构管理装置,机械结构编辑装置取得用于生成机械结构树的机械结构数据,机械结构管理装置具备:机械结构树生成部,其基于机械结构数据,生成多个机械结构树;以及节点信息变更部,其生成单一的机械结构树,该单一的机械结构树在多个机械结构树之间共通的节点与不同的节点的边界所对应的位置具有分支节点,并以从分支节点朝向前端部分支的方式具有多个机械结构树之间不同的节点。(The invention provides a control system. In this control system, when the number of machine structure trees to be switched increases, the numerical controller reduces unnecessary memory consumption compared to the conventional system. The control system for an industrial machine expresses a machine structure of a control target by a machine structure tree in a graph format in which constituent elements are nodes, and includes a machine structure editing device that acquires machine structure data for generating the machine structure tree and a machine structure management device that includes: a machine structure tree generation unit that generates a plurality of machine structure trees based on the machine structure data; and a node information changing unit that generates a single mechanical structure tree having a branch node at a position corresponding to a boundary between a common node and a different node among the plurality of mechanical structure trees, and having a node different among the plurality of mechanical structure trees so as to branch from the branch node toward the tip end.)
1. A control system for an industrial machine, which expresses a machine structure of a control target by a machine structure tree in the form of a graph having components as nodes, and which includes a machine structure editing device and a machine structure management device,
it is characterized in that the preparation method is characterized in that,
the machine structure editing device acquires machine structure data for generating the machine structure tree,
the mechanical structure management device is provided with:
a machine structure tree generation unit that generates a plurality of machine structure trees based on the machine structure data; and
and a node information changing unit that generates a single mechanical structure tree having a branch node at a position corresponding to a boundary between a common node and a different node among the plurality of mechanical structure trees, and having a node different among the plurality of mechanical structure trees so as to branch from the branch node toward a tip end.
2. The control system of claim 1,
the mechanical structure editing device is provided with:
a machine configuration data input unit that inputs machine configuration data corresponding to any one of the plurality of machine configuration trees; and
and a change data input unit that inputs change data corresponding to a different machine structure from the certain one of the plurality of machine structure trees.
3. The control system according to claim 1 or 2,
the control system is further provided with branch node generation means,
the branch node generation device includes:
a mechanical structure tree difference determination unit that determines different nodes by searching for nodes simultaneously from a root node for the plurality of mechanical structure trees;
a branch node generation unit that generates the branch node set between the common node and the different node; and
and a branch node output unit that outputs the generated branch node to the node information change unit.
4. The control system of claim 3,
the node information changing unit sets the branch node in a plurality of stages.
5. The control system according to any one of claims 1 to 4,
the control system is also provided with a numerical control device and a branch instruction control device,
the numerical controller includes a conditional branch instruction unit that outputs a branch instruction for instructing which node of a branch destination is selected at the branch node,
the branch instruction control device includes:
a branch node selection unit that selects a node in the machine structure tree input from the machine structure management device based on the branch instruction; and
and a mechanical structure extraction unit that extracts a part of the mechanical structure from the mechanical structure tree based on the selected node.
6. The control system of claim 5,
a tool node corresponding to a tool is set before the branch node,
inserting information on a type of the tool and information on a tool length correction of the tool into the tool node,
selecting a tool from a plurality of tools based on the branch instruction and altering the tool length correction.
7. The control system according to claim 5 or 6,
the branch instruction control device includes:
a pattern information generating unit that generates pattern information that covers a plurality of patterns of the machine structure tree; and
a mechanical structure determination unit that compares the branch command with the graphics information and determines whether or not the branch command corresponds to a graphics included in the graphics information,
the numerical controller includes an alarm unit that issues an alarm when the branch instruction does not correspond to a graph included in the graph information.
8. The control system according to any one of claims 1 to 7,
the control system is also provided with a mechanical structure display device,
the mechanical structure editing device is provided with:
a machine structure pattern changing unit that outputs a change command to the node information changing unit, the change command changing the machine structure tree displayed on the machine structure display device by the machine structure tree including the branch node or by a plurality of machine structure trees corresponding to the machine structure tree without including the branch node; and
a mechanical structure restoration unit that restores a mechanical structure tree that does not include all the graphs of the branch nodes, based on the mechanical structure tree that includes the branch nodes and is input from the mechanical structure management device,
the mechanical structure display device includes:
a single machine structure display unit that displays a machine structure tree including the branch node input from the machine structure management device; and
and a plurality of machine structure group display units that display the machine structure trees of all the graphs input from the machine structure restoration unit, the machine structure trees not including the branch nodes.
Technical Field
The present invention relates to a control system.
Background
In the conventional numerical controller, there is a limitation on the mechanical structure of the machine tool to be controlled, and therefore, it is necessary to individually cope with a special mechanical structure. Regarding this problem, a technique is known in which a machine tool is controlled using a machine structure tree corresponding to the structure of the machine tool (see, for example, patent document 1).
The mechanical structure tree is used to flexibly set and hold a mechanical structure by expressing the mechanical structure in a tree structure in which each axis, each workpiece, each tool, and the like are nodes. The nodes of the mechanical structure tree include various node information (offset, attitude, axis number, axis name)···Etc.), the more the number of nodes increases, the larger the mechanical structure data becomes.
Patent document 1: japanese patent laid-open publication No. 2019-012342
The conventional numerical controller has the following functions called "mechanical structure selection function": a plurality of pieces of machine configuration information are held in advance, and the machine configuration is switched to a desired machine configuration according to the G code when a program is generated. For example, in the case where a plurality of axes near a tool or a table are used as a unit during machining, and another structure is mounted, this function changes parameters of a mechanical structure by one touch.
In the field of numerical control devices that set a machine configuration using a machine configuration tree, when switching to a desired machine configuration, it is necessary to switch the entire machine configuration tree from one machine configuration tree to another, and there are problems in that the number of machine configuration trees to be switched increases, and in that, when there are redundant nodes, memory is wasted by a factor.
Fig. 27 shows an example of the mechanical structure tree of set No. 1 to set No. 3. In fig. 27, the configurations of the origin, X-axis, Y-axis, and Z-axis indicated by the broken lines are repeated between the mechanical structure trees of
Disclosure of Invention
Therefore, it is desirable that the numerical controller reduce unnecessary memory consumption compared to the conventional art when the number of machine structure trees to be switched increases.
One aspect of the present disclosure is a control system for an industrial machine, the control system expressing a machine structure of a control target by a machine structure tree in a graph format in which constituent elements are nodes, the control system including a machine structure editing device and a machine structure management device, the machine structure editing device acquiring machine structure data for generating the machine structure tree, the machine structure management device including: a machine structure tree generation unit that generates a plurality of machine structure trees based on the machine structure data; and a node information changing unit that generates a single mechanical structure tree having a branch node at a position corresponding to a boundary between a node common to the plurality of mechanical structure trees and a different node, and having a node different from the plurality of mechanical structure trees so as to branch from the branch node toward a front end.
According to one aspect, the numerical controller reduces unnecessary memory consumption compared to the conventional art when the number of machine structure trees to be switched increases.
Drawings
Fig. 1 shows an outline of a control system according to an embodiment.
Fig. 2 is an overall configuration diagram of a control system according to an embodiment.
Fig. 3 shows an outline of the operation of the control system according to one embodiment.
Fig. 4 is an explanatory diagram of a method of generating a mechanical structure tree according to an embodiment.
Fig. 5 is an explanatory diagram of a method of generating a mechanical structure tree according to an embodiment.
Fig. 6 is an explanatory diagram of a method of generating a mechanical structure tree according to an embodiment.
Fig. 7 is a flowchart showing a method of generating a mechanical structure tree according to an embodiment.
Fig. 8A is an explanatory diagram of parent-child relationships of constituent elements of a machine according to an embodiment.
Fig. 8B is an explanatory diagram of parent-child relationships of constituent elements of a machine according to an embodiment.
Fig. 9A is an explanatory diagram of a method of inserting a unit into a mechanical structure tree.
Fig. 9B is an explanatory diagram of a method of inserting a unit into a mechanical structure tree.
Fig. 9C is an explanatory diagram of a method of inserting a unit into a mechanical structure tree.
Fig. 10 shows an example of a mechanical structure according to an embodiment.
Fig. 11A shows an example of a machine to be generated as a machine structure tree.
Fig. 11B shows an example of a machine structure tree corresponding to a machine to be generated as a machine structure tree.
Fig. 12 shows an example in which a coordinate system and a control point are inserted into each node of a machine in one embodiment.
Fig. 13 shows an example of a mechanical structure tree into which a coordinate system and a control point are inserted according to an embodiment.
Fig. 14A shows an example of a machine for inserting a bias and a posture matrix into each node according to one embodiment.
Fig. 14B shows an example of inserting a bias and a posture matrix into each node of the machine in one embodiment.
Fig. 15 shows an operation flow of inserting a control point into a mechanical structure tree according to an embodiment.
Fig. 16 shows an example of a mechanical structure tree into which a coordinate system and a control point are inserted according to an embodiment.
Fig. 17 is a flowchart showing an operation of the control system according to the embodiment.
Fig. 18 is an overall configuration diagram of a control system according to an embodiment.
Fig. 19A shows an outline of a control system according to an embodiment.
Fig. 19B shows an outline of a control system according to an embodiment.
Fig. 19C shows an outline of a control system according to an embodiment.
Fig. 20A shows an outline of a control system according to an embodiment.
Fig. 20B shows an outline of a control system according to an embodiment.
Fig. 21 is an overall configuration diagram of a control system according to an embodiment.
Fig. 22A shows an outline of a control system according to an embodiment.
Fig. 22B shows an outline of a control system according to an embodiment.
Fig. 22C shows graphic information used in the control system of the embodiment.
Fig. 22D shows a comparison result with the pattern information used in the control system of the embodiment.
Fig. 23 is an overall configuration diagram of a control system according to an embodiment.
Fig. 24 shows an outline of a control system according to an embodiment.
Fig. 25 is an overall configuration diagram of a control system according to an embodiment.
Fig. 26 is a flowchart showing an operation of the control system according to the embodiment.
Fig. 27 shows an example of a mechanical structure tree of the prior art.
Detailed Description
[ 1 embodiment 1]
[ 1.1 Abstract ]
Fig. 1 shows an outline of a control system according to
In this case, as described in the description of the background art, when the entire mechanical structure tree is stored in the memory for each of the 3 mechanical structure trees, 3 redundant structures are stored, and the memory is unnecessarily consumed.
Therefore, as shown in the lower part of fig. 1, in the new single mechanical structure tree, first, nodes having a common structure are set between the mechanical structure trees of
Further, as the "single structure tree", the mechanical structure tree of the set
With such a setting, a machine structure tree that does not include a plurality of SWITCH nodes can be represented as a single machine structure tree that includes SWITCH nodes. The numerical controller controls a plurality of machine tools of different types using a single machine structure tree including a SWITCH node.
[ 1.2 Structure ]
Fig. 2 shows an overall configuration of the
The
The machine
The machine
The machine configuration
The change
The machine
The machine
The machine
The node
Thus, the new machine structure tree can be collectively expressed as a plurality of basic machine structure trees.
In particular, in the present embodiment, as will be described later, the node
The machine structure
The branch
The branch
The mechanical structure tree
The branch
Fig. 3 shows an outline of an operation example of the mechanical structure tree
As a result, as shown in the lower stage of fig. 3, the branch
The branch
[ 1.3 method for generating mechanical Structure Tree ]
The applicant filed an invention of a control device for controlling a machine tool using a mechanical structure tree, for example, in japanese patent application No. 2017-233786. In addition, the applicant has applied for an invention of a virtual object display system using a mechanical structure tree, for example, in japanese patent application No. 2017-. Hereinafter, the outline of the method for generating the mechanical structure tree will be described as an overlap of the contents of a part of the description of these applications.
The machine
A method of generating a machine structure tree representing the structure of a machine shown in fig. 4 will be described as an example. In the machine of fig. 4, the X axis is set perpendicular to the Z axis, and the
First, as shown in fig. 5, only the
Next, the axis name (axis type) of each axis, the name of each tool, the name of each workpiece, the name of each origin, and the physical axis number (axis type) of each axis are set. Next, a parent node (axis type) of each axis, a parent node of each tool, and a parent node of each workpiece are set. Finally, the cross-offsets for the axes (axis types), the cross-offsets for the tools, and the cross-offsets for the workpieces are set. As a result, the mechanical structure tree shown in fig. 6 is generated.
Each node of the mechanical structure tree is not limited to the above-described information, and may or may not have, for example, an identifier (name), an identifier of its parent node, identifiers of all child nodes having their own parent node as a parent node, a relative offset (cross offset) with respect to the parent node, a relative coordinate value with respect to the parent node, a relative movement direction (unit vector) with respect to the parent node, a node type (a linear axis/a rotation axis/a cell (described later)/a control point/a coordinate system/an origin, and the like), a physical axis number, and information on a conversion expression between an orthogonal coordinate system and a physical coordinate system.
By setting the values for the nodes in this manner, data having a data structure of a machine structure tree is generated in the machine
Fig. 7 is a flowchart summarizing the above-described mechanical structure tree generation method, particularly, a setting method of setting each value to each node.
In step S11, the machine
In step S12, if the set parameter item is "parent node of itself" (yes in S12), the process proceeds to step S13. If not "parent node of itself" (S12: NO), the process proceeds to step S17.
In step S13, in the case where a parent node has been set for the node for which the parameter is set (S13: yes), the process moves to step S14. If the parent node is not set (S13: NO), the process proceeds to step S15.
In step S14, the mechanical
In step S15, the machine
In step S16, the machine
In step S17, the machine
By using the above-described method for generating data having a data structure of a machine structure tree, the parent-child relationship between the components of the machine can be set.
Here, for example, as shown in fig. 8A, the parent-child relationship is a relationship in which, when there are 2 rotation axis nodes 504 and 505, a change in the coordinate value of one node 504 unilaterally affects the geometric state (typically, position and orientation) of the other node 505. In this case, the nodes 504 and 505 are said to be in a parent-child relationship, the node 504 is said to be a parent node, and the node 505 is said to be a child node.
However, for example, as shown in fig. 8B, in a mechanical structure including 2
In this way, the mechanism in which the change of a certain node affects other nodes mutually is captured as one unit from the viewpoint of convenience, and the unit is inserted into the mechanical structure tree, thereby generating the entire mechanical structure tree. As shown in fig. 9A, a cell has two connection points, i.e., a
[ equation 1]
When is set as
When, byRepresents:MB=TMA
wherein the content of the first and second substances,
the unit representing the mechanical structure has a homogeneous transformation matrix such as T in the expression of [ expression 1 ]. The homogeneous matrix is a 4 × 4 matrix that can collectively express positions and postures as in the following expression of [ expression 2 ].
[ equation 2]
Even when parent-child relationships are not related to each other, a unit in which a plurality of certain nodes are combined into one node in advance may be defined and configured in the mechanical structure tree in order to simplify calculation processing and setting.
As described above, in the present embodiment, a unit in which a plurality of axes are integrated into one may be included as a component in a diagram of a mechanical structure.
[ 1.4 automatic insertion of control points and coordinate values ]
Since various positions on the machine structure are designated as control points and coordinate systems of the various positions on the machine structure are set, the following method is implemented using the machine structure tree generated by [ 1.3 generation of machine structure tree ] described above.
For example, in the rotary index machine 350 shown in fig. 11A, the X1 axis is set perpendicular to the Z1 axis, and the
Taking a series of nodes connecting each workpiece to the origin of the machine as an example, as shown in fig. 12, a coordinate system and a control point are automatically inserted into the origin of the machine, the C axis, the C1 axis, the C2 axis, the
As shown in fig. 14A, each control point and the coordinate system have an offset. Therefore, a point away from the node center can be set as a control point or a coordinate system origin. Each control point and the coordinate system have a posture matrix. The posture matrix represents the posture (orientation, inclination) of the control point in the case of the posture matrix of the control point, and represents the posture of the coordinate system in the case of the posture matrix of the coordinate system. In the mechanical structure tree shown in fig. 14B, the bias and the posture matrix are expressed by being associated with the corresponding nodes, respectively. Each control point and the coordinate system have information indicating whether or not "movement" and "cross offset" of a node present on a path up to the root node of the mechanical structure tree are considered, respectively, and these pieces of information can be set.
Fig. 15 is a flowchart summarizing the above-described automatic insertion method of the control point. Specifically, the flowchart includes fig. a and B, and as described later, the configuration of fig. B is executed in the process of fig. a.
First, fig. a will be explained.
In step S21, the machine
In step S22, diagram B is executed, and the flow of diagram a ends.
Next, fig. B will be explained.
In step S31 of fig. B, if the control point and the coordinate system have already been inserted into the node (S31: yes), the flow ends. If the control point and the coordinate system are not already inserted into the node (no in S31), the process proceeds to step S32.
In step S32, the machine
In step S33, when the nth child node exists at the node (S33: YES), the process moves to step S34. When there is no nth child node at the node (S33: NO), the process moves to step S36.
In step S34, the graph B itself is recursively executed for the nth child node.
In step S35, n is increased by 1. That is, n is n +1, and the process returns to step S33.
In step S36, a variable n is popped (pop), and the flow of fig. B ends.
In the above method, the machine structure
[ 1.5 actions ]
Fig. 17 is a flowchart showing an outline of the operation of the
In step S41, the branch node generation device 30 (mechanical structure tree difference determination unit 31) performs depth-first search simultaneously from the root node for all the mechanical structure trees.
If the node to be searched for in step S42 is the same node in all the mechanical structure trees (yes in S42), the process proceeds to step S43. When there is a node different from any one of the mechanical structure trees (S42: NO), the process proceeds to step S44.
In step S43, the machine structure management device 20 (the machine structure tree generation unit 21) keeps copying the nodes as they are. After that, the process proceeds to step S42.
In step S44, branch node generation device 30 (branch node generation unit 32) generates a branch node, and branch node generation device 30 (branch node output unit 33) outputs the branch node to machine
In step S45, the machine configuration management device 20 (node information changing unit 22) sets a different node as a child node of the branch node, and branches from the branch node.
[ 1.6 Effect ]
With the
[ 2 embodiment 2]
[ 2.1 Abstract ]
In the control system according to
[ 2.2 Structure ]
Fig. 18 shows a control system 1A according to
Since the control system 1A does not have the branch
[ 2.3 Effect ]
In the control system 1A according to
[ 3 embodiment 3 ]
[ 3.1 Abstract ]
The
More specifically, in the 6 mechanical structure trees shown in fig. 19A, the root node is common to the G axis and the H axis, and therefore these nodes are common nodes. Further, by setting branch nodes adjacent to a common node in the front end direction and setting different nodes (CASE nodes) between the mechanical structure trees before the branch nodes, it is possible to integrate the single mechanical structure tree shown in fig. 19B. Thus, the number of nodes of 34 in 6 machine structure trees can be reduced to 21 in a single machine structure tree.
However, in the mechanical structure tree of fig. 19B, when the CASE nodes are compared with each other, a common node exists between the CASE nodes.
Therefore, as shown in fig. 19C, by further setting the branch nodes from the branch node toward the front end, that is, by setting the branch nodes in multiple stages, the number of nodes can be reduced to 12 in a single mechanical structure tree.
Specifically, in the
Note that the overall configuration of the control system of the present embodiment is common to the
[ 3.2 Effect ]
With the control system of the present embodiment, when data relating to a plurality of machine configurations needs to be held, the data to be held can be further reduced.
[ 4 embodiment 4 ]
[ 4.1 Abstract ]
Fig. 20A and 20B show an outline of
As shown in fig. 20A, the control system prepares a plurality of tool nodes, and inserts tool management data such as the type of tool and the tool length correction amount into these tool nodes as attribute values. The tool node is branched at a branch node dedicated to the tool, and the branch instruction set in the instruction program is set to the instruction value of the "T code" for tool selection, whereby tool exchange and change of the tool length correction amount can be performed.
For example, by setting the branch instruction set in the instruction program as a branch instruction (select 1-2, select 2-1, and select t-4), the mechanical structure shown in the mechanical structure tree of fig. 20B can be extracted.
[ 4.2 Structure ]
Fig. 21 is an overall configuration diagram of a control system 1B according to
The branch instruction control device 40 receives the instruction value at the time of branching and extracts the mechanical structure after branching.
The branch instruction control device 40 includes a control unit (not shown) in the same manner as the machine
The branch node selecting unit 41 receives a branch instruction instructing which node is selected at the branch node from the numerical controller 50 (conditional branch instruction unit 53) described later. The branch node selecting unit 41 selects a node in the machine structure tree input from the machine structure management device 20 (the machine structure tree output unit 23) based on the branch instruction.
The mechanical structure extracting unit 42 extracts the branched mechanical structure from the mechanical structure tree based on the selected node.
The
The
The program command unit 51 analyzes a machining program for performing machining work by the machine tool, and extracts a command from the machining program. The program command unit 51 includes a coordinate value command unit 52 and a conditional branch command unit 53.
The coordinate value command unit 52 generates a coordinate value command for commanding a coordinate value as a movement destination of each axis in order to perform a machining operation by the machine tool.
The conditional branch instruction unit 53 generates a branch instruction for extracting a mechanical structure corresponding to the generated coordinate value instruction from the mechanical structure tree, and outputs the branch instruction to the branch instruction control device 40 (branch node selecting unit 41).
The command coordinate calculation unit 54 calculates coordinate values of the movement destination of each axis (i.e., the control target) of the machine tool using the mechanical structure extracted by the branch command control device 40 (mechanical structure extraction unit 42).
The servomotor control section 55 receives the calculated value, which is the movement instruction amount for each axis calculated by the instruction coordinate calculation section 54, and outputs the instruction for each axis to a servomotor (not shown).
[ 4.3 Effect ]
With the control system according to the present embodiment, MTB and the user can manage tools in the same manner as in the management of the machine configuration, and the trouble of instructions can be reduced.
[ 5 th embodiment ] of
[ 5.1 Abstract ]
Fig. 22A to 22D show an outline of
Therefore, after the mechanical structure tree is generated, the branch instruction control device generates, for example, a table including all the graphs of the mechanical structure tree, as shown in fig. 22C. When a branch instruction is output from the numerical controller to the branch instruction controller, the branch instruction controller changes the figure number by comparing the set value at each branch node included in the branch instruction with the table of fig. 22C. As shown in fig. 22D, when there is no figure number to be converted, the numerical controller issues an alarm.
[ 5.2 Structure ]
Fig. 23 is an overall configuration diagram of a control system 1C according to
The branch instruction control device 40C includes a graphic information generation unit 43 and a mechanical configuration determination unit 44 in addition to the components included in the branch instruction control device 40.
The pattern information generating unit 43 generates pattern information of a pattern covering a plurality of machine structure trees. This information may be a table shown in fig. 22C, for example.
The mechanical configuration determination unit 44 compares the branch command input from the numerical controller 50C with the graphics information, and determines whether or not the branch command corresponds to the graphics included in the graphics information. The mechanical configuration determination unit 44 outputs the determination result to a numerical controller 50C (alarm unit 56) described later.
The numerical controller 50C includes an alarm unit 56 in addition to the components included in the
The alarm unit 56 issues an alarm when the branch instruction does not correspond to the pattern included in the pattern information, based on the determination result input from the branch instruction control device 40C (mechanical structure determination unit 44).
[ 5.3 Effect ]
With the control system of the present embodiment, when a user designates a mechanical structure tree other than the setting target, the user can recognize a designation error.
[ 6 th embodiment ] of
[ 6.1 Abstract ]
Fig. 24 shows an outline of the control system according to
More specifically, when editing is performed by displaying a single mechanical structure, the editing operation may be directly and manually performed as described in
[ 6.2 Structure ]
Fig. 25 is an overall configuration diagram of a control system 1D according to
The machine configuration editing apparatus 10D includes a machine configuration restoration unit 14 in addition to the components included in the machine
The mechanical structure restoration unit 14 restores the mechanical structure tree of all the graphs not including the branch node, based on the data of the mechanical structure tree including the branch node input from the mechanical structure management device 20 (mechanical structure tree output unit 23). The machine structure restoration unit 14 outputs the data of the machine structure tree of all the graphs including no branch node to the machine structure display device 60 (a plurality of machine structure group display units 61) described later.
The mechanical structure display device 60 includes a plurality of mechanical structure group display units 61 and a single mechanical structure display unit 62.
The plurality of machine configuration group displays 61 display all the machine configuration trees of the graphs input from the machine configuration editing apparatus 10D (the machine configuration restoration unit 14) without including the branch nodes.
The single machine structure display unit 62 displays the machine structure tree including the branch pattern input from the machine structure management device 20 (the machine structure tree output unit 23).
[ 6.3 actions ]
Fig. 26 is a flowchart showing the operation of the control system 1D.
In step S51, when the single mechanical structure display (S51: single mechanical structure display) is performed, the process moves to step S52. When the plurality of machine configuration group displays are performed (S51: plurality of machine configuration group displays), the process proceeds to step S55.
In step S52, the machine configuration data is output from the machine
In step S53, the machine configuration editing apparatus 10D (the change
In step S54, the edited machine configuration data is output to the machine configuration management apparatus 20 (node information change unit 22), and the process ends.
In step S55, the machine configuration data is output from the machine
In step S56, the machine configuration data is output from the machine
In step S57, the machine configuration editing apparatus 10D (the change
In step S58, the branch node generation device 30 (branch node generation unit 32) generates a branch node.
In step S59, the branch node generation device 30 (branch node output unit 33) outputs the branch node to the machine configuration management device 20 (node information change unit 22).
In step S60, the machine structure management device 20 (node information change unit 22) converts the plurality of machine structure trees into a single machine structure tree, and the process ends.
[ 6.4 Effect ]
With the control system of the present embodiment, when editing the mechanical structure tree, the user can select a display method that is easy to edit between the single mechanical structure display and the plurality of mechanical structure group displays.
[ 7 modification ]
[ 7.1 modified example 1]
For example, as the
Similarly, in
[ 7.2 modification 2]
For example, the machine configuration editing device 10D, the machine
[ 7.3 Effect ]
The control system according to the modified example can flexibly change the configuration of the control system.
(description of reference numerals)
1. 1A, 1B, 1C, 1D control system
10. 10D mechanical structure editing device
11 mechanical structure data input unit
12 changed data input unit
13 mechanical structure pattern changing part
14 mechanical structure restoring part
20 management device for mechanical structure
21 mechanical structure tree generating part
22 node information changing unit
23 mechanical structure tree output
30-branch node generation device
31 mechanical structure tree different point determination part
32-branch node generation unit
33 branching node output unit
40-branch instruction control device
41 mechanical structure extraction part
42 branching node selection unit
43 mechanical structure determination unit
50 numerical controller
51 program instruction part
52 coordinate value command unit
53 conditional branch instruction section
54 instruction coordinate calculating part
55 servo motor control part
56 alarm part
60 mechanical structure display device
61 multiple mechanical structure group display part
62 a single mechanical structure display.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种基于DRIVE-CLIQ电机切换控制系统