Multiprocessor Operation/Coordinators

Principle of

Bus arbitration

Operation

The COR 923A cyclically allocates a bus enable signal to each of the two to

 

 

four CPUs in the S5-135U/155U PLC. Only during this time can the relevant

 

CPU utilize the common S5 bus.

The assignment of bus enable signals takes place in time-division multiplex operation. On the COR 923A, you set the number of CPUs with jumpers. The enable time for access to the S5 bus is preset at 2 ms for all CPUs. If the bus enable signal has been emitted by the coordinator for a CPU, this CPU can extend the enable time with the bus lock signal. However, the user has no influence on this.

The bus enable assignment sequence begins with CPU 1 after the Reset signal is removed by the power supply, and enables the CPUs in the following order according to the preset number of CPUs:

CPU 1, CPU 2, CPU 3, CPU 4, CPU 1, CPU 2 etc. (see Figure 6-5)

Bus Enable for:

CPU1

2s

CPU2

CPU3

2s +

Bus Lock

CPU4

Bus Lock

Reset

CPUs in Operation

Time

Figure 6-5 Timing Sequences of the Bus Signals

Communication memory

The communication memory comprises a central battery-backed RAM in the

PLC. It has two areas: the communication flags and the semaphores.

The communication flags on the COR 923A allow the cyclic interchange of data between the CPUs. The semaphores are mainly used to coordinate the exchange of data in the I/O area.

6-16

System Manual

C79000-G8576-C199-06

Page 278
Image 278
Siemens S5-135U/155U appendix Principle, CPU utilize the common S5 bus