Download (TIA) MODULE M1

Transcript
Industry Automation and Drive Technologies - SCE
5.7.2 OR Operation
Example of an OR operation:
A lamp is to light up when one or both <<?>> of two switches are operated as make contacts.
Diagram:
S1
24V
S2
24V
P1
M
Explanation:
The lamp lights up exactly when one or both switches are operated.
That is, if switch S1 or S2 is operated, lamp P1 is lit.
Wiring the PLC:
To apply this logic to a PLC program, both switches have to be connected to inputs at the PLC, of
course. Here, S1 is connected to input I 0.0 and S2 to input I 0.1.
In addition, lamp P1 has to be connected to an output; for example, Q 0.0.
24V
Switch S1
I 0.0
Inputs
24V
I 0.1
Switch S2
M
PLC
Outputs
Q 0.0
T I A Ausbildungsunterlage
Ausgabestand: 05/2010
Lamp P1 is to be lit
when switch S1 or
S2 is operated.
Seite 21 von 59
Modul M1
‚Startup’ Programmierung der SIMATIC S7-1200 mit TIA- Portal V10