Tải bản đầy đủ (.pdf) (103 trang)

LogoIn detail

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (4.24 MB, 103 trang )

Automation and Drives

Mounting and
Wiring

Basic Functions

Special Functions

Operating the Unit

Using LOGO! Soft
Comfort

Exercise

Slide 1

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

Mounting and Wiring
Mounting and
Wiring

L1
K2

Basic Functions



Special Functions
I : 0. , 1. , 2.
4
123456789
0123456789
01234

Operating the Unit

Using LOGO! Soft
Comfort

Exercise

K2

N

Slide 2

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

Hardware Configuration of LOGO! ..0BA3
Mounting and
Wiring


Power supply

2 sets of 4 inputs

Power supply
expansion module

4 inputs

Basic Functions
Slide for
electrical
connection

Special Functions

RUN/STOP
LED

Operating the Unit

Using LOGO! Soft
Comfort

Exercise

4 outputs

4 outputs


Maximum Configuration:
24 digital inputs + 8 analog inputs + 16 digital ouputs
Slide 3

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

Installing and Uninstalling LOGO!
Mounting and
Wiring

Installing
Mount LOGO! on a DIN rail as follows:
1. Place LOGO! onto the DIN rail.

Basic Functions

Special Functions

Operating the Unit

2. Swivel LOGO! around the DIN rail until the mounting
slide at the rear is engaged.
3. Remove the cover of the connector located on the right
side of the LOGO! Basic or LOGO! expansion module.

Uninstalling
Uninstall LOGO! as follows:

1. Using a screwdriver, press down and move the
integrated slide to the right.
2. Slide the expansion module to the right, and
3. Insert a screwdriver into the loop on the bottom of the
mounting rail and pull down.

4. Place the digital module to the right of LOGO! Basic (see 4. Swivel the expansion module away from the DIN rail.
steps 1 and 2).
5. Follow steps 3 and 4 for the basic module.
5. Slide the digital module left toward LOGO! Basic.
6. Using a screwdriver, press down and move the
integrated slide to the left. The module is installed when the
slide locks into place in the LOGO! Basic unit.

Using LOGO! Soft
Comfort

N

S

N
Exercise

O

P

R
O


Q
N

Slide 4

P
SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

Wiring LOGO!
Connect LOGO! to the power supply as follows:

Mounting and
Wiring

ildl>=KKKKK=ùỏớĩ
a`=ởỡộộọú

Basic Functions

Special Functions

Operating the Unit

ildl>=KKKKK=ùỏớĩ
^`=ởỡộộọú


iH

iN

j

k

iH

j

fN

fO

fP

fQ

fR

iN

k

fN

fO


fP

fQ

Using LOGO! Soft
Comfort

Exercise
mờỗớẫớỏỗồ=ùỏớĩ=ẹỡởẫở
ỏẹ=ầẫởỏờẫầ=EờẫỗóóẫồầẫầF=ẹỗờW
NOLOQ=o`KKKW===MKU=^
OQW=======OKM=^

Slide 5

fồ=~ởẫ=ỗẹ=ợỗọớ~ệẫ=ởộỏõẫởI=ỡởẫ
ợ~ờỏởớỗờ=EjlsF=ùỏớĩ=~=óỏồK=ỗẹ=OMB
óỗờẫ=ùỗờõỏồệ=ợỗọớ~ệẫ=ớĩ~ồ=ớĩẫ
ờ~ớẫầ=ợỗọớ~ệẫK

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

Connecting LOGO! Inputs
Mounting and
Wiring

Basic Functions


Special Functions

Connect sensors to the inputs.
Sensors include:
• Momentary-contact pushbuttons, maintained-contact
switches, photoelectric light barriers, etc.
• Temperature, pressure, or ultrasonic sensors (Beros), etc.,
with 0 V to 10 V outputs direct to 2 analog inputs of the 12
and 24 VDC basic units or the AM2 analog module.

For LOGO! to detect a 0 or 1
switching status, the switching
status must be present for at
least one program cycle.

• Or the corresponding units with 0 mA to 20 mA/4 mA to 20
mA current output direct to inputs of the AM2 analog module.
LOGO! 230 ...

Operating the Unit

L3
L2
L1

Using LOGO! Soft
Comfort

N


LOGO! 12/24 ...

L+
M

Program
L+

L1

N

I1

I2

I3

I4

I5

M

I1

I2

I3


I4

I5

I8

Program
cycle

I6

Exercise

The inputs of these units are grouped
into 2 blocks with 4 inputs each.
Different phases are only possible
between the blocks, and not within the
blocks.
Slide 6

The inputs of these units are nonisolated and thus require the same
reference potential (ground) as the
power supply.
SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

Connecting LOGO! Outputs

Mounting and
Wiring

Basic Functions

DM8 24

LOGO! with
transistor outputs

nR j
nN j

nS j

nO j

Special Functions

Operating the Unit

Different loads can be
connect to the outputs,
e.g.,
• Lamps,

Using LOGO! Soft
Comfort

Maximum switched current is 0.3 A per

output

• Motors,

DM8...R

• Contactors, etc.

N========O
nR
N=======O
nN

Exercise

N=======O
nS

N=======O
nO

LOGO! with
relay outputs

Maximum switched current is 10 A/5 A per output for the
expansion modules
Slide 7

SM8 October 2001; S.Brodte; Nbg-M; 3007



Automation and Drives

LOGO! Response to Power ON Depends on:
Mounting and
Wiring

• Whether a program is stored in the internal LOGO! memory
• Whether a program module is inserted

Basic Functions
SIEMENS
Special Functions
No Program
Operating the Unit

Using LOGO! Soft
Comfort

Press ESC

LOGO!

SIEMENS
No program in
the program
module and no
program in the
internal memory


> Program
PC/Card..
Clock..
Start

Program in
the program
module or
program in
the internal
memory

LOGO!
If there is a program in the
program module, it is
automatically copied to the
internal LOGO! memory. Any
program already present in
the internal LOGO! memory is
overwritten.

Exercise

Slide 8

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives


LOGO! Response to Power ON Depends on:
Mounting and
Wiring

• LOGO! state prior to power OFF
Before Power OFF
SIEMENS

Basic Functions

Special Functions

In editor mode

Q1

After Power ON
SIEMENS

No Program
Press ESC

Operating the Unit
LOGO!

LOGO!

If a power outage occurs while a program is being entered, the program is deleted
once power is restored.
Before Power OFF

After Power ON

Using LOGO! Soft
Comfort

SIEMENS

Exercise

In RUN mode

Slide 9

SIEMENS

I : 0. , 1. , 2.
123456789
0123456789
01234

I : 0. , 1. , 2.
123456789
0123456789
01234

LOGO!

LOGO!
SM8 October 2001; S.Brodte; Nbg-M; 3007



Automation and Drives

Basic Functions
Mounting and
Wiring

AND

AND NAND NAND
(Edge)
(Edge)

OR

NOR

XOR

NOT

Basic Functions

Special Functions

Operating the Unit

Using LOGO! Soft
Comfort


Exercise

Slide 10

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(BF) AND Logic Operation
Mounting and
Wiring

Basic Functions

Special Functions

Referring to the circuit diagram, it can be seen that lamp H1
illuminates only if S1 and S2 are both closed. There is a
dependency between the input and output states.

S1

The circuit shown on the right is referred to as an AND logic
operation.

S2

This means that switches S1 and S2 must be energized in
order for lamp H1 to illuminate.


H1

Symbolically, this operation is represented by

Operating the Unit

.

AND
S1

Using LOGO! Soft
Comfort

&

S2
x

H1

Exercise
The state of the AND output = 1 only if the state of all
inputs = 1.
An unconnected input pin in this block is
automatically assigned state = 1.

Slide 11


Series circuit with normally
open contacts
Logic Table for AND Block:
Input 1
Input 2
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1

Input 3
0
1
0
1
0
1
0

1

Output
0
0
0
0
0
0
0
1

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(BF) OR Logic Operation
Mounting and
Wiring

Basic Functions

For lamp H2 to illuminate, switch S3 or S4 must be closed.
This dependency of the output state on the input states is
referred to as an OR logic operation.
This means that at least one of the two switches--S3 or S4-must be closed in order for lamp H2 to illuminate.

S3


S4

H2

The symbol for this operation is

Special Functions

Parallel circuit with normally
open contacts

Operating the Unit

OR
S3

Using LOGO! Soft
Comfort

>

S4
x

H2

Exercise
The state of the OR output =1 if the state of at least
one input = 1. An unconnected input pin in this block is
automatically assigned state = 0.


Slide 12

Logic Table for OR Block:
Input 1
Input 2
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1

Input 3
0
1
0
1
0
1

0
1

Output
0
1
1
1
1
1
1
1

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(BF) AND with Edge Evaluation
Mounting and
Wiring

Basic Functions

S1

S1
Electromechanical counter

S2


0 6 1 5

Special Functions
S3

Operating the Unit

Using LOGO! Soft
Comfort

S2
S3

H2

H2

AND with edge evaluation
S1

Exercise

&

S2
S3

Slide 13


H2

The state of the output of the AND with edge evaluation
operation = 1 only if the state of all inputs = 1 and the
state of at least one input during the previous cycle = 0.
An unconnected input pin in this block is automatically
assigned state = 1.

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(BF) NAND Logic Operation
Mounting and
Wiring

Basic Functions

Referring to the circuit diagram, it can be seen that lamp H2 is
always illuminated, unless all of the switches are activated.
The circuit shown on the right is referred to as a NAND (Not
And) logic operation.
This means that switches S1, S2, and S3 must be activated in
order for lamp H2 not to be illuminated.

Special Functions

The symbol for this operation is


S1

S3

S3

H2

.
Parallel circuit with
normally closed contacts

Operating the Unit

NAND (Not AND)
S1

Using LOGO! Soft
Comfort

&

S2
x

H2

Exercise
The state of the NAND (Not AND) output = 0 only if
the state of all inputs = 1.

An unconnected input pin in this block is
automatically assigned state = 1.

Slide 14

Logic Table for NAND Block:
Input 1
Input 2
Input 3
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0

1
1
1

Output
1
1
1
1
1
1
1
0

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(BF) NAND with Edge Evaluation
Mounting and
Wiring
Electromechanical counter

S1
Basic Functions
S1

S3


S3

0 6 1 5
S2

Special Functions
S3

H2

Operating the Unit

Using LOGO! Soft
Comfort

H2

NAND with edge evaluation
S1

Exercise

&

S2
S3

Slide 15

H2


The state of the output of the NAND (Not And) with
edge evaluation operation = 1 only if the state of at least
one input = 0 and the state of all inputs during the
previous cycle = 1.
An unconnected input pin in this block is automatically
assigned state = 1.

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(BF) NOR Logic Operation
Mounting and
Wiring

Basic Functions

Special Functions

Referring to the circuit diagram, it can be seen that lamp H1 is
illuminated only if normally closed switches S1 and S2 are not
activated.

S1

The circuit diagram shown on the right is referred to as a NOR
(Not OR) logic operation.


S2

This means that if at least one of the switches S1 or S2 is
activated, lamp H1 is not illuminated.

H1

The symbol for this operation is

.

Series circuit with
normally closed switches

Operating the Unit
NOR (Not OR)
S1

Using LOGO! Soft
Comfort

>1

S2
x

H1

Exercise
The state of the NOR (Not OR) output = 1 only if the

state of all inputs = 0. As soon as any input is
switched on (state = 1), the output is switched off.
An unassigned input pin in this block is automatically
assigned state = 0.

Slide 16

Logic Table for AND Block:
Input 1
Input 2
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1

Input 3
0
1

0
1
0
1
0
1

Output
1
0
0
0
0
0
0
0

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(BF) XOR Logic Operation
Mounting and
Wiring

Basic Functions

Referring to the circuit diagram, it can be seen that lamp H1 is
not illuminated only if all of the switches are activated.

The circuit diagram on the right is referred to as an XOR
(Exclusive OR) logic operation.

S1

S2

This means that if either switch S1 or switch S2 is activated,
lamp H1 will illuminate.

Special Functions

The symbol for this operation is

.

H1

Operating the Unit
XOR (Exclusive OR)
S1

Using LOGO! Soft
Comfort

S2

=1
H1


Exercise

Logic Table for XOR Block:
Input 1
Input 2
0
0
0
1
1
0
1
1

Output
0
1
1
0

The state of the XOR (Exclusive OR) output = 1 if the
state of the inputs is different.
An unconnected input pin in this block is
automatically assigned state = 0.

Slide 17

SM8 October 2001; S.Brodte; Nbg-M; 3007



Automation and Drives

(BF) NOT Logic Operation
Mounting and
Wiring

Basic Functions

Referring to the circuit diagram, it can be seen that lamp H1 is
only illuminated if switch S1 is not activated.

S1

The circuit diagram on the right implements a NOT logic
operation.
The symbol for this operation is

.

K1

Special Functions
H1

NOT (Exclusive OR)
Operating the Unit

1
S1


H1

Using LOGO! Soft
Comfort

Exercise

The state of the output = 1 if the input = 0, that is, NOT
inverts the input state. One advantage of the NOT
operation is that normally closed contacts are no longer
needed for LOGO! A normally open contact is used and is
converted to a normally closed contact with the NOT
operation.
An unconnected input pin in this block is automatically
assigned state = 1.

Slide 18

Logic Table for NOT Block:
Input 1
Output
0
1
1
0

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives


Special Functions
Mounting and
Wiring

On-Delay

Random Generator

Threshold Switch

Multifunction Switch

Pulse Relay

On/Off Delay

Basic Functions
Internal Time-Delay Relay

Off-Delay

Special Functions

Staircase Lighting
Time Delay

Pulse Relay

Operating the Unit

Clock Pulse
Generator

Latching Relay
Elapsed Time Counter

Analog Comparator

Message Text

Yearly Timer
Analog Threshold Switch

Using LOGO! Soft
Comfort
Edge-Triggered Internal
Time-Delay Relay
Retentive On-Delay

Exercise

Up/Down Counter
Softkey
Weekly Timer

Slide 19

SM8 October 2001; S.Brodte; Nbg-M; 3007



Automation and Drives

(SF) On-Delay
Mounting and
Wiring

Referring to the circuit diagram, it can be seen that the motor starts
running only after the set time delay expires.

S1

K1

This function is referred to as an on-delay.

Basic Functions

This means that the motor is switched on after a set time delay.
K1

The symbol for this function is

Special Functions

M

.
Diagram:
Trg


Operating the Unit
Q
T

Using LOGO! Soft
Comfort

T

Ta
(Timer active)

Exercise
Function Description:
If the state at input Trg changes from 0 to 1, the timer starts running. If the state at input Trg =1 for a sufficient amount
of time, the output is set to 1 once time T expires. There is a delay in switching on the output as compared to the input.
The output is reset to 0 if the state at input Trg = 0.
If the state at input Trg changes back to 0 before time T expires, the timer is reset.
The expired timer is reset after a power failure.

Slide 20

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(SF) Off-Delay
Mounting and
Wiring


Referring to the circuit diagram, it can be seen that the
motor is switched off only after the set time delay expires.

S1

K1

This function is referred to as an off-delay.

Basic Functions

This means that the motor is switched of after a set time
delay.
K1

Special Functions

The symbol for this function is

M

.
Diagram:

Operating the Unit

Trg
Ta


Using LOGO! Soft
Comfort

T

T

R

Q

Exercise

(Timer active)

Function Description
If the state at input Trg = 1, the state at output Q switches immediately to 1. If the state at input Trg changes from 1
to 0, the timer in LOGO! is activated and the output state is retained. When the timer reaches the value set using T
(Ta =T), the state at output Q is reset to 0.
If the input Trg is switched on and off again, time Ta is restarted.
Time Ta and the output are reset using input R (reset) before time T expires.
Slide 21

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(SF) On/Off-Delay
Mounting and

Wiring

Basic Functions

Referring to the circuit diagram, it can be seen:
• If S1 is closed, contact K1 closes after a time delay and the
motor runs.

S1

K1

K2

• If S1 is opened, contact K2 opens after a time delay and the
motor stops.
This function is referred to as an on/off delay. This
means that the motor is switched on and off after a set
time delay.

K1

K2

M

Special Functions
The symbol for this function is

Operating the Unit


.

Diagram:
Trg
Q

Using LOGO! Soft
Comfort

TH

TL

Exercise

Function Description
If the state at input Trg changes from 0 to 1, time TH runs. If the state at input Trg remains 1, the output is set to 1
once the time TH expires.
If the input state changes back to 0, time TL runs. If the state at input Trg remains 0 for the duration of time TL, the
output is set to 0 once time TL expires.
Slide 22

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(SF) Retentive On-Delay
Mounting and

Wiring

Basic Functions

Referring to the circuit diagram, it can be seen that motor M
runs after a set time delay following activation of momentarycontact pushbutton S1. Momentary-contact pushbutton S2
(normally closed) causes the motor to switch off again.

S1

K1

K1

K2

S2

This function is referred to as a retentive on-delay.
The symbol for this operation is

Special Functions

K1

.

K2

M


Diagram:
Trg

Operating the Unit

R

Using LOGO! Soft
Comfort

Q

Ta

T

Exercise
Function Description:
If the state at input Trg changes from 0 to 1, the current time Ta starts running. When time Ta reaches time T,
the state at output Q is set to 1. Output Q is reset to 0 only when the state at input R = 1.
Further switching actions at input Trg have no influence on output Q.

Slide 23

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives


(SF) Latching Relay
Mounting and
Wiring

Referring to the circuit diagram, it can be seen that coil K1 is
energized with momentary-contact pushbutton S1, causing
maintained-contact switch K1 to close (latching).

S1

This function is referred to as a latching relay.
The symbol for this operation is

Basic Functions

K1

K1

S2

.
K1

K2

M

Special Functions
Diagram:


S
R
Par

Operating the Unit

Using LOGO! Soft
Comfort

S

Q
R

Q

Exercise

Function Description
Output Q is set by means of input S; output Q is reset by means of a second input R.

Slide 24

SM8 October 2001; S.Brodte; Nbg-M; 3007


Automation and Drives

(SF) Pulse Relay

Mounting and
Wiring

Basic Functions

Referring to the circuit diagram, it can be seen that lamp H1
can be switched on and off with momentary-contact
pushbuttons S1 or S2. This function is referred to as a pulse
relay.
This means that lamp H1 is switched on and off by a brief
pulse in S1 or S2, respectively.
The symbol for this operation is

S1

S2

K1

.

K1

H1

Special Functions
Diagram:

Operating the Unit


Trg
R

Using LOGO! Soft
Comfort

Q

Exercise

Function Description
Each time that the state at input Trg changes from 0 to 1, output Q changes its state,
i.e., the output is switched on or off. The state of the latching relay is set to 0 using input R.
Slide 25

SM8 October 2001; S.Brodte; Nbg-M; 3007


Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×