<p>The arrangement (1) has a master sensor designed as light curtains (2, 12). One or multiple slave sensors designed as optical sensors. Connection of the master sensor to the slave sensor and/or the slave sensor to the master sensor is automatically configured. A configuration is stored or encoded in the master sensor or the slave sensor and utilized for connection of the slave sensor or the master sensor. The configuration comprises a certain mode or a number of parameters. An exchangeable terminal and a non-interchangeable terminal are arranged between the sensors. The light curtain is designed as a safety sensor.</p>