The invention relates to a method for controlling a machine tool cell
consisting of a press brake (6) and one or more robots (9) serving the
same. According to the invention, the data needed for designing the
movement plan (200), or the like, for the robot (9) is collected in
connection with designing the bending program (100) for the press brake
(6), and said data is automatically compiled to a bend line table (BLT),
which table indicates, for bendings to which a sheet is subjected in the
press brake (6), the bend lines and their locations and positions in a
coordinate system (X, Y, Z), whose origin is the sheet centre (AKP) of
the sheet to be machined. Said bend line table (BLT) is further set to be
used as a variable in movement programs (200) for one or more robots (9)
serving the press brake (6). When the bending program (100) of the press
brake (6) is changed for a new product, it is also easy and fast, by
means of the invention, to generate a new movement program (200) of the
robot (9) for the new product.