Method for controlling a plurality of spray tools disposed at different stations of a coating line for vehicles or parts thereof being moved through the coating line, with the method utilizing a coating control comprising a centralized control with stored program capability which releases setting magnitudes determining the paint throughput of each spray tool to actuators for the spray tools which, during coating, are moved by respective drives along paths whose beginning and end depends on signals from the control with stored program capability, said method comprising the steps of:
- transmitting path points to which the spray tools are to be moved in two or more axial directions of a Cartesian system of coordinates, which path points are stored in the control with stored program capability with coarse division of a path segment or are obtained from stored path points by course interpolation between the stored points of a path, with said path points being transmitted as set values via a serial bus to respective position control circuits for respective drives for the spray tools;
- intermediately storing the transmitted respective set values in the respective position control circuits, which are provided with cascade speed control circuits;
- within the respective position control circuits, determining, by a further fine interpolation, further path points between the transmitted and intermediately stored respective set values as further set values, and processing the respective determined further set values with actual position values to position the respective spray head;
- and,
- determining, in the respective position control circuits, the speed for respective drives from the difference between successively transmitted and stored respective set values and the time interval between the transmission of these successively transmitted set values.