发表于:2006-11-17 21:56:00
18楼
Example of use:
Filling a tank with a group of four pumps operating in parallel. The operating duration of each pump is the same.
The "number of outputs controlled" parameter is fixed at 4.
On initialisation, PILOT OUTPUT NUMBER has the value 1. On initialisation, if the tank is in the state indicated and if a sensor above the water is in the ON state, when the user program is executed, the INPUT 1 and INPUT 2 inputs are ON, INPUT 3 and INPUT 4 are OFF and OUTPUT 1 and OUTPUT 2 are ON.
Assuming that the tank is full, INPUT 2 changes to OFF and OUTPUT 1 changes to OFF. PILOT OUTPUT NUMBER indicates the value 2.
Assuming that the tank is empty, INPUT 2 changes back to ON, OUTPUT 3 changes to ON and OUTPUT 2 remains ON.
Assuming that the tank refills, INPUT 2 changes back to OFF, OUTPUT 2 changes to OFF and PILOT OUTPUT NUMBER indicates the value 3.
Assuming that the tank continues to refill, INPUT 1 changes to OFF, OUTPUT 3 changes to OFF and PILOT OUTPUT NUMBER indicates the value 4.