A method for operating a production plant having a robot and a programmable logic controller, wherein the robot is designed to apply multiple technologies and multiple functional units, and wherein a communication between the robot, a functional unit assigned to the robot and the programmable logic controller takes place via a field bus, the method comprising:
- for initialization of the robot, allocating signal declarations for the technologies and signal declarations for the functional units a plurality of address ranges, comprising address fields, that can be accessed via the field bus;
- and
- allocating the signal declarations of each technology and the signal declarations of each functional unit a starting address;
- wherein the respective starting address is defined relative to a permanently defined reference address.