Abstract
A method for controlling an articulated robot is a method for controlling an articulated robot with L (L is a natural number of seven or more) joints, wherein a controller receives a selected drive mode among a plurality of drive modes, wherein at least one joint of the L joints is associated, as a drive target joint, with each of the plurality of drive modes, executes calculation processing including an inverse kinematics calculation to calculate an amount of displacement of the drive target joint identified based on the selected drive mode from among the L joints, calculates, based on the calculation processing executed, a joint value relating to a state of each of the L joints such that the articulated robot is in a target state, and controls an operation of the articulated robot based on the joint value calculated for each of the L joints.