Program creation apparatus and storage medium
A program creation apparatus acquires a work sequence executed by a robot, and creates a motion program based on the work sequence and a work information file in which information on work contained in the work sequence is recorded. Further, the work sequence is corrected from the work information file, and a new motion program based on a corrected new work sequence is created.
1. A program creation apparatus comprising:
a memory configured to store a program; and
a processor configured to execute the program so as to:
receive operation information relating to a plurality of operations of a robot, the operation information including:
a start position and an end position of an end effector of the robot;
a coordinate indicating the start position and the end position;
a pressing direction along which the end effector presses an object;
a pressing force that the end effector uses when the end effector presses the object;
a movement speed of the end effector; and
a rotation speed of a tool held by the end effector, wherein each of the plurality of operations is performed by the robot based on the operation information having specific values relating to the start position and the end position, the coordinate, the pressing direction, the pressing force, the movement speed, and the rotation speed;
generate a plurality of operation groups, each of the plurality of operation groups being assigned by one of the plurality of operations;
determine a waiting period of time between two adjacent operation groups of the plurality of operation groups;
generate a work sequence executed by the robot based on the plurality of operation groups and the waiting period of time; and
create a motion program based on the work sequence and a work information file in which the operation information contained in the work sequence is recorded.
2. The program creation apparatus according to claim 1 , wherein
the work sequence is corrected from the work information file, and
a new motion program based on a corrected new work sequence is created.
3. The program creation apparatus according to claim 1 , wherein
the operation information contained in the work information file is selectable.
4. The program creation apparatus according to claim 3 , wherein
the work sequence contains polishing work to polish the object using an abrasive wheel as the tool, and
the operation information contains the pressing direction in which the abrasive wheel is pressed against the object, the pressing force, the movement speed of the abrasive wheel, and the rotation speed of the abrasive wheel.
5. A non-transitory computer-readable storage medium storing a program for causing a computer to execute a process by a processor so as to perform the steps of:
receiving operation information relating to a plurality of operations of a robot, the operation information including:
a start position and an end position of an end effector of the robot;
a coordinate indicating the start position and the end position;
a pressing direction along which the end effector presses an object;
a pressing force that the end effector uses when the end effector presses the object;
a movement speed of the end effector; and
a rotation speed of a tool held by the end effector, wherein each of the plurality of operations is performed by the robot based on the operation information having specific values relating to the start position and the end position, the coordinate, the pressing direction, the pressing force, the movement speed, and the rotation speed;
generating a plurality of operation groups, each of the plurality of operation groups being assigned by one of the plurality of operations;
determining a waiting period of time between two adjacent operation groups of the plurality of operation groups;
generating a work sequence executed by the robot based on the plurality of operation groups and the waiting period of time; and
creating a motion program based on the work sequence and a work information file in which the operation information contained in the work sequence is recorded.