A method of conveying a product by using a robot comprising an actuator configured to hold the product, a movement portion configured to move the actuator, a first position detection portion configured to detect a position of the actuator, a second position detection portion configured to detect a position of the product held by the actuator, and a controller configured to control the actuator, the movement portion, the first position detection portion, and the second position detection portion,
- the method comprising:
- a first position storing step in which the controller causes the actuator not holding the product to move to a predetermined position, detects the position of the actuator by the first position detection portion, and stores the position detected by the first position detection portion as a first position;
- a holding step in which the controller causes the actuator to move on a basis of a movement instruction value that is stored in advance and hold the product;
- a second position storing step in which the controller causes the actuator that has held the product in the holding step to move to the predetermined position, detects the position of the product held by the actuator by the second position detection portion, and stores the position detected by the second position detection portion as a second position;
- and
- a movement instruction value update step in which the controller corrects and updates the movement instruction value on a basis of difference between the first position and the second position.