A non-transitory computer-readable recording medium storing a program that causes a substrate processing apparatus, by a computer, to perform:
- (a) supporting a container capable of accommodating a substrate with a first container support;
- and
- (b) controlling:
- a rotating shaft capable of revolving a plurality of placement structures of a second container support, wherein the plurality of placement structures are capable of supporting the container, and the second container support is arranged above the first container support and provided with the plurality of placement structures arranged in a circumferential direction;
- an elevating structure capable of elevating and lowering a transfer robot along an elevating shaft;
- and the transfer robot capable of transferring the container to and from the first container support or the second container support, wherein the rotating shaft, the elevating structure and the transfer robot is controlled such that, when transferring the container from the transfer robot to a predetermined placement structure among the plurality of placement structures, a second moving speed of the elevating structure at which the transfer robot is elevated along the elevating shaft is faster than a first moving speed at which the predetermined placement structure is moved to a transfer position where the container is transferable from the transfer robot.