41
41
41
41
3.
3.
3.
3.6
6
6
6.2
.2
.2
.2 The
The
The
The first
first
first
first circuit
circuit
circuit
circuit program
program
program
program
Let us now take a look at the following parallel circuit consisting of two switches.
Circuit diagram
The corresponding circuit diagram
Translated into a xLogic circuit program this means: Relay K1 is (at output Q1) is controlled by
means of an OR block.
Circuit program
S1 is connected to the I1 and S2 to the I2 input connector of the OR block.
The corresponding layout of the circuit program in xLogic:
Wiring
Wiring
Wiring
Wiring
The corresponding wiring:
S1 switches input I1, while S2 switches input I2. The load is connected to the relay Q1.
3.
3.
3.
3.6
6
6
6.3
.3
.3
.3 Circuit
Circuit
Circuit
Circuit program
program
program
program input
input
input
input
Let us now write the circuit program, starting at the output and working towards the input.
xLogic initially shows the output:
Summary of Contents for xLogic
Page 1: ......
Page 2: ......
Page 102: ...100 100 100 100 B B B B Blocks Blocks Blocks Blocks...
Page 105: ...103 103 103 103 G G G G M M M M status status status status...
Page 106: ...104 104 104 104 H H H H AM AM AM AM value value value value...
Page 164: ...162 162 162 162 If the Memory Read block had been triggered the Q1 of ELC 12 CPU will be set 1...
Page 204: ...202 202 202 202 Step Step Step Step 6 6 6 6 Moving Moving Moving Moving...
Page 226: ...224 224 224 224...