A textile machine comprising: yarn processing apparatuses which are aligned in a predetermined direction intersecting with a vertical direction; a single rail member which extends in the predetermined direction; an operational robot (4, 4a, 4b) which is configured to move in the predetermined direction while being suspended from the single rail member and to perform a predetermined operation for the yarn processing apparatuses; and a fixed portion (35, 38, 62) which is fixedly provided at a location remote from a floor surface on which the yarn processing apparatuses are provided, the operational robot (4, 4a, 4b) including: a main body which is suspended from the rail member; a moving unit which is configured to move the main body in the predetermined direction; a working unit (32, 33) which is provided at the main body to perform the predetermined operation while the moving unit is stopped; and a swing suppressor (40, 50, 60, 70, 80) which is provided at the main body to suppress swing of the main body in an orthogonal direction which is orthogonal to both the vertical direction and the predetermined direction, one of the swing suppressor (40, 50, 60, 70, 80) and the fixed portion (35, 38, 62) including a regulatory portion (41, 53, 62) which sandwiches the other one of the swing suppressor (40, 50, 60, 70, 80) and the fixed portion (35, 38, 62) at least in the orthogonal direction, while the working unit (32, 33) is in operation; characterized in that the swing suppressor (40, 50, 60, 70, 80) includes a state switching unit (42, 51) which switches a state of the swing suppressor between a contact state in which the other one of the swing suppressor (40, 50, 60) and the fixed portion (35, 38, 62) is in contact with the regulatory portion (41, 53, 62) and a non-contact state in which the other one of the swing suppressor and the fixed portion (35, 38, 62) is not in contact with the regulatory portion (41, 53, 62). yarn processing apparatuses which are aligned in a predetermined direction intersecting with a vertical direction; a single rail member which extends in the predetermined direction; an operational robot (4, 4a, 4b) which is configured to move in the predetermined direction while being suspended from the single rail member and to perform a predetermined operation for the yarn processing apparatuses; and a fixed portion (35, 38, 62) which is fixedly provided at a location remote from a floor surface on which the yarn processing apparatuses are provided, the operational robot (4, 4a, 4b) including: a main body which is suspended from the rail member; a moving unit which is configured to move the main body in the predetermined direction; a working unit (32, 33) which is provided at the main body to perform the predetermined operation while the moving unit is stopped; and a swing suppressor (40, 50, 60, 70, 80) which is provided at the main body to suppress swing of the main body in an orthogonal direction which is orthogonal to both the vertical direction and the predetermined direction, one of the swing suppressor (40, 50, 60, 70, 80) and the fixed portion (35, 38, 62) including a regulatory portion (41, 53, 62) which sandwiches the other one of the swing suppressor (40, 50, 60, 70, 80) and the fixed portion (35, 38, 62) at least in the orthogonal direction, while the working unit (32, 33) is in operation; characterized in that the swing suppressor (40, 50, 60, 70, 80) includes a state switching unit (42, 51) which switches a state of the swing suppressor between a contact state in which the other one of the swing suppressor (40, 50, 60) and the fixed portion (35, 38, 62) is in contact with the regulatory portion (41, 53, 62) and a non-contact state in which the other one of the swing suppressor and the fixed portion (35, 38, 62) is not in contact with the regulatory portion (41, 53, 62). a main body which is suspended from the rail member; a moving unit which is configured to move the main body in the predetermined direction; a working unit (32, 33) which is provided at the main body to perform the predetermined operation while the moving unit is stopped; and a swing suppressor (40, 50, 60, 70, 80) which is provided at the main body to suppress swing of the main body in an orthogonal direction which is orthogonal to both the vertical direction and the predetermined direction, one of the swing suppressor (40, 50, 60, 70, 80) and the fixed portion (35, 38, 62) including a regulatory portion (41, 53, 62) which sandwiches the other one of the swing suppressor (40, 50, 60, 70, 80) and the fixed portion (35, 38, 62) at least in the orthogonal direction, while the working unit (32, 33) is in operation; characterized in that the swing suppressor (40, 50, 60, 70, 80) includes a state switching unit (42, 51) which switches a state of the swing suppressor between a contact state in which the other one of the swing suppressor (40, 50, 60) and the fixed portion (35, 38, 62) is in contact with the regulatory portion (41, 53, 62) and a non-contact state in which the other one of the swing suppressor and the fixed portion (35, 38, 62) is not in contact with the regulatory portion (41, 53, 62).