A special task of control a multi-agent system is considered --- the problem of locating several identical agents on a segment, which is a special case of a formation control problem. The constructed control stabilizes the predetermined position for each agent. In the considered task, a decentralized control is built based on receiving signals from other agents, provided that each agent can receive a signal from other agents with a constant positive delay. The control is constructed in such a way that the desired distribution of agents on the segment is an asymptotically stable equilibrium position.