You are on page 1of 146

LOGO!

- The internal
qualities
count

Innovative
Switching & Control
LOGO!
Introduction

Wiring
Innovative
Integrated
functions Switching & Control ... In detail
Operation on
device

LOGO! Soft
The Original!
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! in detail overview

Wiring
Introduction
Hardware assembly
Connecting power supply
Wiring Connecting inputs and outputs
Switch-on behavior

Integrated Integrated functions


functions Connectors
Basic functions
Operation on Special functions
device Operation on device
Control for operation
LOGO! Soft First program
Comfort V6.1 LOGO! in run mode
Configuring LOGO!
Application
example LOGO! Soft Comfort V6.1
Help functions
Realizing typical tasks step by step
Modem wizard
Other options
Application example
Control of bottle filling conveyor

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! wiring

Introduction L1
K2
Wiring

Integrated
functions
I:
Operation on
device 0.. 123456789
4
1..0123456789
LOGO! Soft 2..01234
Comfort V6.1

Application
example

K2
N

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! ..0BA5 hardware structure

Introduction 8 inputs Power supply for expansion modules

Power supply 4 inputs


Wiring

Integrated Switch for


functions electrical
connection
Connection
Operation on interface for
device LOGO! TD

The internal
LOGO! Soft
Backlit display qualities RUN/STOP
Comfort V6.1
Adjustable contrast count
Application
example
E-Stand (ESx)

4 outputs 4 outputs

Maximum configuration: 24 digital inputs + 8 analog inputs


+16 digital outputs + 2 analog outputs
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
LOGO! wiring

Introduction To connect LOGO! to the power supply:

LOGO! ..... with LOGO! ..... with


Wiring AC supply voltage
DC supply voltage
Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Protection by fuse
if required (recommended) for: With voltage spikes, use a varistor
(MOV) with an operating voltage
12/24 RC...: 0.8 A at least 20% higher than nominal
24: 2.0 A voltage.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Connecting LOGO! inputs

Introduction Connect sensors to the inputs. Sensors may be:


pushbuttons, switches, photoelectric barriers, etc.
temperature, pressure or ultrasound sensors (Beros) etc., with 0...10V outputs directly at
Wiring the 4 analog inputs of the 12 and 24 V DC basic devices or the analog module AM2
or the appropriate device with current output 0...20mA/4...20mA to the inputs of the
analog module AM2
Integrated
or connect up to 2 resistance thermometer PT100 to AM2 PT100 in 2 or 3 wire connection
functions
technology
Operation on LOGO! 230 ... LOGO! 12/24 ... 2-wire technology 3-wire technology
device L+
L3 M
L2
LOGO! Soft L1
Comfort V6.1 N

L+ M I1 I2 I3 I4 I5 I8
Application
L1 N I1 I2 I3 I4 I5 I6
example

The inputs of these devices are The inputs of these devices are With 2-wire connections no
grouped into 2 blocks of nonisolated and therefore correction of the impedance of
4 I each. Different phases are require the same reference the measurement line occurs.
only possible between, not potential (ground) as the 3-wire connection suppresses
within the blocks. power supply. this influence.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Connecting LOGO! outputs

Introduction DM8 24

LOGO! with Q5 M Q6 M
Wiring transistor outputs Q1 M Q2 M

Integrated
functions load load
You can connect
Operation on different loads to the
device outputs, e.g.:
max. switched current per output is 0.3 A
lights
LOGO! Soft motors
Comfort V6.1 switches
DM8...R
L1 / L+
etc. ...
Application 1
Q5
2 1
Q6
2
example
1 2 1 2
Q1 Q2

load load
LOGO! with
N/M
relay outputs
max. switched current per output is 10 A /
for expansion modules 5 A
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Connecting LOGO! outputs

Introduction

LOGO! with
Wiring analog outputs Ground
Profile rail

Integrated
functions You can connect
different devices to
Operation on
analog outputs, e.g.:
frequency converter to
device
control drives
LOGO! Soft
Comfort V6.1 Output signals: *)
0-10V
Application 0-20mA
example 4-20mA

*) 6ED1 055-1MM00-0BA0: 0..10V


6ED1 055-1MM00-0BA1: 0..10V and 0/4..20mA.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Connecting LOGO! TD text display

Introduction Connection interface for


LOGO! TD Cable
LOGO! ..0BA6 basic
module
Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
Function keys
example
Standard LOGO! TD Cable 2,5m,
LOGO! keys extendable to up to 10
meters with standard
Sub-D serial cable
unipolar power supply
connector
12V DC, 24V AC/DC
Recommended fuse: 0,5A

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! reaction when switched on depends on:

Introduction whether a program is stored in the internal LOGO! memory


or
whether a memory card (memory module) is connected
Wiring

s
Integrated
functions
No Program No program on
Operation on Press ESC memory card and no
device program in internal
memory
LOGO!
Warning!
LOGO! Soft If there is a program on the memory
Comfort V6.1 card, it is automatically
copied to the internal LOGO! memory
Application when switching on . Any program in
example s the internal LOGO! memory is
overwritten.
> Program..
Card.. Program on memory
Setup.. card or program in
internal memory
Start
LOGO!

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! reaction when switched on depends on:

Introduction
in which state LOGO! was prior to POWEROFF

Prior to power-off After power-on


Wiring
s s
Integrated In > Program..
functions editing mode or Card..
Q1
menu in stop Setup..
Operation on status
device Start
LOGO! LOGO!
LOGO! Soft
Comfort V6.1
Prior to power-off After power-on
Application
example s s

I: I:
In 0.. 123456789 0.. 123456789
RUN time 1..0123456789 1..0123456789
2..01234 2..01234

LOGO! LOGO!

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Connectors (CO)

Introduction AI1 C
I1 Q1 Inputs/outputs AQ1 Analog Cursor
basic/pure- I/O Keys
I2 Q2 variants AI2 AQ2 C
Wiring
I3 Q3 AI3 C
I3-I6 up to 5 KHz . C
I4 Q4 switching-
Integrated .
functions I5 . frequency on DC
powered options
I6 . AI8
Operation on I7 . M1 AM1 Flags/ F1 LOGO! TD
device Analog flags
I8 . . . F2 Function
keys
LOGO! Soft . . . AM6 F3
Comfort V6.1 . . M8 Initialization flag F4
I21 Q13 M25 Backlight flags
Application
example I22 Q14 M26
I23 Q15 M27 Character set flag

I24 Q16 hi Signal status


1
lo 0

Connectors
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Basic functions

AND AND NAND NAND OR NOR XOR NOT


Introduction (edge) (edge)

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example 8 basic
functions The
internal
qualities
count

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
AND function

A look at the circuit diagram shows that the light H1 is only on when
Introduction
S1 and S2 and S3 are closed. Input and output states are dependent S1
on each other.
The circuit to the right is called AND logic. S2
Wiring
In words contact S1 and S2 and S3 have to be closed for the light to
burn. S3
Integrated Symbol for this connection is .
functions
H1

Operation on
device AND Series circuit
normally open
S1 &
LOGO! Soft S2 H1 contact
Comfort V6.1 S3
x Logic table for AND block:

Application Input 1 Input 2 Input 3 Output


example
0 0 0 0
0 0 1 0
Output of the AND function is 1 only 0 1 0 0
when all inputs are 1. 0 1 1 0
If one input pin of this block is not
1 0 0 0
connected, the status is automatically 1.
1 0 1 0
1 1 0 0
1 1 1 1
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
OR function

To turn the lamp H2 on, the contact S1 or S2 or S3 have to be


Introduction closed. The dependence of output states from inputs states is S1 S2 S3
called OR logic.
In words at least one of the contacts S1 or S2 or S3 have to be
Wiring closed for the lamp H2 to light up.
Symbol for this connection is . H2
Integrated
functions
Parallel circuit
Operation on OR normally open contact
device S1 >
S2 H2
LOGO! Soft S3
Comfort V6.1 x Logic table for OR block:

Application Input 1 Input 2 Input 3 Output


example
Output of the OR function is 1, when at 0 0 0 0
least one input is 1. 0 0 1 1
If one input pin of this block is not 0 1 0 1
connected, the status is automatically 0. 0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
AND with edge triggering

Introduction
S1 S1
Electro mechanical counter
Wiring S2 S2
0 6 1 5
Integrated S3
functions S3

Operation on H2
H2
device

LOGO! Soft
Comfort V6.1

Application AND with edge triggering


example
S1 & Output of AND with edge triggering is 1, only when all
S2 inputs are 1 and in the previous cycle at least one
H2
S3 input was 0. If one input pin of this block is not
x connected, the status is automatically 1.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
NAND (not-AND) function

A look at the circuit diagram shows that the light H2 is not on,
Introduction only when all contacts are switched. S1 S2 S3
The circuit to the right is called NAND logic.
In words S1 and S2 and S3 have to be switched for the light H2
Wiring not to burn.
Symbol for this connection is . H2
Integrated
functions
Parallel circuit
Operation on normally closed
device NAND contact

LOGO! Soft S1 &


Comfort V6.1 S2 H2 Logic table for NAND block:
S3
x
Application Input 1 Input 2 Input 3 Output
example
0 0 0 1
Output of NAND is 0, only when all 0 0 1 1
inputs are 1. 0 1 0 1
If one input pin of this block is not 0 1 1 1
connected, the status is automatically 1. 1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
NAND (not-AND) with edge triggering

Introduction 0 6 1 5
S1 S3 S3 S1

Wiring S2
H2

Integrated
functions S3
Electro mechanical counter
Operation on H2
device

LOGO! Soft
Comfort V6.1

Application NAND with edge triggering Output of NAND with edge triggering is 1, only when
example at least one input is 0 and in the previous cycle all
S1 & inputs were 1.
S2 H2 If one input pin of this block is not connected, the
S3
status is automatically 1.
x

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
NOR (not-OR) function

A look at the circuit diagram shows that the light H1 is only on,
Introduction when the normally closed contact S1 and S2 and S3 are not S1
switched.
The circuit to the right is called NOR logic. S2
Wiring In words when S1 or S2 or S3 are switched, the light is not on.
Symbol for this connection is .
S3
Integrated
functions
H1
NOR
Operation on
device S1 >1 Series circuit
S2 normally closed
H1
LOGO! Soft S3 contact
x
Comfort V6.1 Logic table for NOR block:

Application Input 1 Input 2 Input 3 Output


example
0 0 0 1
0 0 1 0
Output of NAND is 1, only when all inputs
are 0. As soon as any input is switched 0 1 0 0
(status 1), the output is switched off. If one 0 1 1 0
input pin of this block is not connected, the 1 0 0 0
status is automatically 0. 1 0 1 0
1 1 0 0
1 1 1 0
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
XOR function

A look at the circuit diagram shows that the light H1 is only on,
Introduction
when only one of either S1 or S2 is switched. S1
This circuit is called XOR logic.
In words when either contact S1 or contact S2 are switched, the S2
Wiring
light is on.
Symbol for this connection is .
Integrated H1
functions
XOR
Operation on S1 =1
device
H1
S2
LOGO! Soft
Comfort V6.1
Logic table for XOR block:
Application
example Input 1 Input 2 Output
Output of XOR is 1, when inputs have 0 0 0
different states.
0 1 1
If one input pin of this block is not
connected, the status is automatically 0. 1 0 1
1 1 0

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
NOT function

A look at the circuit diagram shows that the light H1 is only on,
Introduction S1
when the switch S1 is not switched.
This circuit is called NOT logic.
Wiring Symbol for this connection is . K1

Integrated
H1
functions
NOT
Operation on 1
device H1
S1

LOGO! Soft
Comfort V6.1

Application
example Output is 1, when the input is 0, i.e. NOT inverts the status Logic table for NOT block:
at the input. Input 1 Output
The advantage of NOT is for instance: You will not need a
normally closed contact any more for LOGO!. You can use a 0 1
normally open contact and change it with NOT to a normally 1 0
closed contact.
If the input pin of this block is not connected, the status is
automatically 1.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Special functions - overview

Introduction Timer Analog


On-delay On-/ Off-delay Analog comparator Analog amplifier
Retentive
Off-delay On-delay PWM
Wiring Analog threshold
trigger

Analog differential Analog


Integrated Wiping relay Pulse generator
(pulse output) trigger MUX
functions
Edge triggered Random
wiping relay generator Analog Analog Math
Operation on
watchdog
device
PI controller
Stairway Weekly Ramp
lighting switch timer
LOGO! Soft Multiple function Yearly
Comfort V6.1 switch timer

Application
example
Miscellaneous
Latching relay Message text
Pulse relay

Up/Down
Counter
31 counter
Hours
Threshold trigger
Softkey Analog Math
Error Detection
special counter Shift register

functions
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Timer On-delay

A look at the circuit diagram shows that the motor only starts after
Introduction
expiry of the delay time. S1 K1
This function is called On-delay.
Wiring In words the motor will be switch on with a programmed ON delay
time.
K1 M
Integrated Symbol for this function is .
functions
Diagram:
Operation on
device Trg

LOGO! Soft Q
Comfort V6.1 T T

Ta
Application (Timer active)
example

Description of the function:


With 0 to 1 transition of input Trg the timer starts. If the status of input Trg is 1 for long
enough, the output is set to 1 on expiration of the time T. The output follows the input with
on delay. The output is reset to 0 when the status at input Trg is 0.
If the status of input Trg changes to 0 before the time T has expired, the time is reset. The
time elapsed is reset after a power failure.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Timer Off-delay

A look at the circuit diagram shows that the motor only stops after
Introduction expiry of the delay time. S1 K1

This function is called Off-delay.


Wiring In words the motor will be switch off with a programmed OFF delay
time.
K1 M
Integrated Symbol for this function is .
functions Diagram:

Operation on Trg
device
Ta T T

LOGO! Soft
R
Comfort V6.1
Q
Application (Timer active)
example

Description of the function:


When the input Trg is 1, the output Q is switched instantaneously to 1. When the status of
Trg changes from 1 to 0, the timer will be activated. The output remains set. When the timer
reaches the configured value (Ta=T), output Q is reset to 0. When input Trg is switched on
and off again, the time Ta restarts. Input R (Reset) is used to reset the time Ta and the
output before Ta has expired.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Timer On-/Off-delay

Introduction A look at the circuit diagram shows that:


S1 K1 K2
when S1 is closed, contact K1 closes with a delay
time and the motor runs.
Wiring when S1 is opened, contact K2 opens with a delay
time and the motor stops.
K1
This function is called On-/Off-delay. In words the motor is K2 M
Integrated
functions switched on and off with a programmed delay time.
Symbol for this function is .
Operation on Diagram:
device
Trg
LOGO! Soft
Q
Comfort V6.1
TH
Application
example TL

Description of the function:


The time TH starts after a 0 to 1 transition at input Trg. If the status at input Trg is 1 for the
duration of the time TH, the output is set to 1 on expiration of the time TH.
(the output follows the input on delayed). When the status at input returns to 0, TL starts. If
the status at input Trg is 0 for the duration of time TL, the output is set to 0 on expiration of
the time TL.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Timer Retentive On-delay

A look at the circuit diagram shows that the motor M starts


Introduction K1 K2
delayed after pressing the pushbutton S1. Pushbutton S2 S1 K1
(n.c. contact) stops the motor again.
S2
Wiring This function is called retentive On-delay.
Symbol for this connection is .
K1 K2 M
Integrated
functions

Operation on Diagram:
device
Trg
LOGO! Soft
Comfort V6.1
R

Application
example Q

Ta T

Description of the function:


The current time Ta starts with a 0 to 1 transition at input Trg. Output Q is set to 1 when Ta
reaches the time T. The output Q is only reset to 0 when the status at input R is 1. Further
switching actions at input Trg have no influence on output Q.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Timer Wiping relay (pulse output)

A look at the circuit diagram shows that the light H1 is only on,
Introduction S1
when the switch S1 is closed, but only as long as the set time at
timer T1.
Wiring Symbol for this connection is . T1

T1 H1
Integrated
functions
Diagram:
Operation on
device
Trg

LOGO! Soft
Comfort V6.1 Ta

Application
Q
example

Description of the function:


When the input Trg is set to 1, the output Q is immediately switched to 1. The current time
Ta starts in LOGO! at the same time and the output remains set. When Ta reaches the value
specified in T (Ta=T), the status of output Q is reset to 0 (pulse output). On input Trg
transition from 1 to 0 before the specified time has expired, the output follows immediately
with a 1 to 0 transition.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Timer Edge triggered wiping relay

A look at the circuit diagram shows that the light H1 remains on


Introduction S1 T1
for the time specified on the timer T1 when the switch S1 is
closed.
Wiring Symbol for this connection is . T1

T1 H1
Integrated
functions
Diagram:
Operation on
device Trg

T T
LOGO! Soft Ta
Comfort V6.1

Application Q
example

Description of the function:


The output status is switched to 1 after the input Trg is set to 1. Time Ta is started at the
same time. After Ta has reached the value specified in T (Ta=T) the output Q status is reset
to 0 (pulse output). If input Trg changes again from 0 to 1 (retriggering) before the specified
time has expired, the time Ta is reset and the
output remains switched on.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Timer Weekly timer

The output is controlled via a specified on/


Introduction
offdate. The function supports any
combination of weekdays. You select the
active weekdays by deselecting the inactive
Wiring
days.
Mon TueWedThurs Fri Sa So On: Off
Integrated
Cam 1 07 : 30 16 05
functions
Cam 2 08 : 00 12 00
Operation on Cam 3 10 00 12 30
device

LOGO! Soft Wednesday


Comfort V6.1

Application
example Description of the function:
Every weekly timer has three cams.
You can configure a time hysteresis for
each cam. Within the cam setting you
Monday specify the on/off times.
If you enable pulse output, the timer
will be reset after one cycle. Pulse
output applies to all three cams.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Timer Yearly timer

Description of the function:


Introduction
Every yearly timer has an on- and off-timer. At the
specified on-time the yearly timer switches on the output.
Wiring At the specified offtime the yearly timer switches off the
output. The offdate specifies the day/year on which the
output is reset to 0 again.
Integrated
By selecting the option field
functions Monthly, the timer switches on or off at a specified
day each month.
Operation on Yearly, the timer switches on or off each year at a
device specified month and day.
Pulse Output, the timer output switches on at the
LOGO! Soft specified On Time for one cycle. Then it is reset.
Comfort V6.1
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Application
example
On 05.10 Off 10.20

15.05.2005 15.05.2005 08.11.2005 08.11.2005

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Timer Asynchronous pulse generator

The pulse profile of the output can be


Introduction
customized via pulse/ pause ratio.
Symbol for this function is .
Wiring
Diagram:

Integrated
functions En

Operation on
Inv
device

LOGO! Soft Q
Comfort V6.1
pulse period / pause width

Application
example

Description of the function:


In the parameters you can adjust the pulse period and the pause width. With input INV you
can also invert the output. You can customized the time period in seconds, minutes or
hours. The time basis of both parameters can be set independently. The input block INV
only negates the output if it is enabled via EN.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Timer Random generator

With a random generator the output is


Introduction
switched on and off again within a specified
time.
Wiring Symbol for this function is .

Diagram:
Integrated
functions

Operation on En
device

Q
LOGO! Soft
Comfort V6.1
Q
Application
max. ON delay / max. OFF delay
example

Description of the function:


With a 0 to 1 transition of the input En a random time e.g. between 0 and 10 seconds is
started. The output is set to 1 on expiration of the on delay time, if the input En is 1 at
least for the duration of the on delay time. The time is reset if the status at input En
returns to 0 before the on delay time has expired. When the input En changes from 1 to
0, a random off delay time between 0 and e.g. 15 seconds is started. The time is reset if
the status at input En returns to 1 before the on delay time has expired.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Timer Stairway lighting switch

The input pulse (edge control) starts a


Introduction
specified time. The output is reset on
expiration of this time. Prior to the expiration Diagram:
of this time (e.g. 15 s) an off prewarning is
Wiring
generated. Trg
Symbol for this function is .
Integrated Ta T (OFF delay)
functions
Q 1s

Operation on 15s
device

LOGO! Soft
Comfort V6.1

Application
example

Description of the function:


With a 0 to 1 transition at input Trg, the current time starts and the output Q is set to 1. E.g.
15 s before Ta reaches the time T, the output Q is reset to 0 for a time of 1 s (configurable
time). When Ta reaches the time T, the output Q is reset to 0. When input Trg is switched on
and off again before Ta expires, Ta is reset (retriggering option).
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Timer Multiple function switch

Switch with two different functions:


Introduction
Pulse switch with off delay
Switch (continuous lighting)
Wiring Symbol for this function is .

Integrated
functions Diagram:

Operation on
Trg
device
Q
LOGO! Soft 5s >20s
Comfort V6.1

Application
example
Description of the function:
The output Q is set to 1 with a 0 to 1 transition of the status at input Trg. When the input Trg
changes to 0 before expiration of the continuous lighting time, the output resets to 0 with
an off delay of e.g. 5 seconds. With a 0 to 1 transition of the status at input Trg and if the
status 1 is set at least for the duration of e.g. 20 seconds, the continuous lighting function
is enabled and the output Q is
switched on continuously. If the input Trg is switched once again from 0 to 1 and again to
0, the output Q is switched off.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Counter Up and Down counter

A look at the circuit diagram shows that the switch S1 triggers the counter pulses. Switch
Introduction S2 determines whether the counter increases or decreases. When the counter status
reaches a value >= 5, the light switches on.

Wiring
Diagram:
Integrated
functions Cnt S1
Dir
6 6
Operation on 5 5 5 S2
4 4 4
device 3 3 3 3
2 2 2 - +
1 1 C1
LOGO! Soft Counter 0

Comfort V6.1 R >=5

Application Q H1
example
Description of the function:
With every positive edge at input Cnt the internal counter increments (Dir = 0) or
decrements (Dir = 1) by one count. Output Q is set to 1 when the internal value is greater
than or equal to the value specified in Par. You can use reset input R to reset the output and
the internal count value to the start value. When R=1, the output is 0 and the pulses at input
Cnt are not counted.
If you set a Start Value the counter begins to count either up or down from this value.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Counter Hours counter

Introduction
R

En
Wiring
Ral

Integrated Q
functions
MN = MI 3 3
2 2
Operation on 1 1
device MN = 0 0 0

4
LOGO! Soft 3
2
Comfort V6.1 1
OT
Application
example

Description of the function:


The hours counter monitors the input En. As long as the status of this input is 1, LOGO!
determines the expired time OT and the timetogo MN. LOGO! displays the times in
parameter assignment mode. Output Q is set to 1 when the timetogo MN = 0. Use input R
to reset output Q and timetogo counter to the specified value MI. The internal counter OT
continues the count. Use input Ral to reset output Q and the timetogo counter MN to the
specified value MI. The internal counter OT is reset to 0.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Counter Threshold trigger

The output is switched on and off, depending


Introduction Diagram:
on two specified frequencies.
Symbol for this function is .
Fre > On Fre > Off Fre < Off Fre < On
Wiring
Q
Fre =12 Fre = 5 Fre = 3 Fre = 5
Integrated
functions Fre
gate
time
Operation on
On = 10 Off = 4
device

LOGO! Soft
Comfort V6.1

Application Description of the function:


example
The threshold trigger measures the signals at input Fre. The pulses are captured across a
specified period (gate time).
Output Q is switched on, if the value measured within the gate time is higher than the ON
threshold. Q is switched off again when the threshold drops below OFF.
On : is the ON threshold. It may be between 0000 and 9999.
Off : is the OFF threshold. It may be between 0000 and 9999.
Gate time: is the time interval during which the pulses at Fre are measured.
It may be 00.05s and 99.99s.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Analog Analog threshold trigger

Description of the function: Diagram:


Introduction
The output is switched on when the analog
value exceeds a specified on threshold. The
Wiring output is switched off when the analog value
drops below a specified off threshold
(hysteresis).
Integrated This function reads the analog value AI1 to
functions AI8 as a value between 0 and 1000. The offset
parameter is then added to the analog value.
Operation on The result is multiplied by the gain parameter.
device Output Q is set to 1 if this value exceeds the
on threshold (On). Q is reset to 0 again after
LOGO! Soft the value drops below the off threshold (Off).
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog Analog comparator

Description of the function:


Introduction
The function calculates the difference
between the analog values Ax-Ay. The offset
Wiring parameter is added to the difference.
Then the difference is multiplied by the gain
parameter.
Integrated If this differential value exceeds the
functions parameterized threshold, output Q is set to 1.
Q is reset to 0, when the threshold drops
Operation on below again.
device

LOGO! Soft Diagram:


Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog Analog differential trigger

Description of the function:


Introduction
The function reads the analog value of the
signal at analog input Ax. This value is
Wiring multiplied by the gain parameter. The offset
parameter is added to the analog value.
Output Q is set or reset depending on the
Integrated specified threshold (On) and the differential
functions value ( ).

Operation on Diagram:
device Timing diagram A: Function with negative differential delta value

LOGO! Soft
Comfort V6.1

Application
example

Timing diagram B: Function with positive differential delta value

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog Analog watchdog

Introduction Description of the function:


If the status at input En changes from 0 to 1, then
the analog value of the signal at analog input Ax
Wiring will be saved. This saved value is called Aen. The
updated values Ax and Aen are each multiplied by
Integrated the gain parameter. Then the offset parameter is
functions added to the analog value. Output Q is set, if the
input En is 1 and the updated value at the input Ax
is outside of the range of Aen +/- .
Operation on
device Threshold 1 defines the difference value above Aen,
Threshold 2 defines the difference value below Aen.
LOGO! Soft
Comfort V6.1
Diagram:
Application
example
1

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog Analog amplifier

Description of the function:


Introduction
The function reads the analog value of the
signal at analog input Ax. This value is
Wiring multiplied by the gain parameter. Then the
offset parameter is added to the analog value,
i.e. (Ax * gain) + offset = updated value Ax.
Integrated Output AQ shows the updated value Ax.
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog PI controller

Description of the function:


Introduction
If the input A/M is set to 0, then the special function sets
output AQ with the value that is set with parameter Mq.
Wiring If the input A/M is set to 1, then automatic mode
commences. As an integral sum the value Mq is
adopted, the controller function begins the calculations
Integrated of the formulas.
functions The updated value PV is used within the formulas.
Updated value PV = (PV * gain) + offset
Operation on If the updated value PV = SP, then the function does not
device change the value of AQ. With a disturbance, AQ
continues to increase / decrease until the updated value
LOGO! Soft PV again corresponds to SP. The speed with which AQ
Comfort V6.1 changes depends on the parameters KC and TI. If the
input PV exceeds the parameter Max, then the updated
Application value PV is set to the value of Max. If the PV falls short
example of the parameter Min, then the updated value PV is set
to the value of Min. If the input R is set to 1, then the AQ
output is reset. As long as R is set, the input A/M is
disabled. The sampling time is fixed at 500 ms.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog PI controller

Introduction

Wiring Parameter:
Sensor: Type of sensor used
Min: Minimum value for PV
Integrated
Max: Maximum value for PV
functions
Gain: Gain for PV
Offset: Zero offset for PV
Operation on SP: Set point assignment
device Mq: Value of AQ in manual mode
Parameter sets: applied presets for KC,
LOGO! Soft TI and Dir
Comfort V6.1 KC: Gain
TI: Integral time
Application Dir: Action direction of the controller
example Number of decimal places in message
text

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog PI controller

Parameter sets:
Introduction
To simplify the use of the PI controller, parameters for KC, TI and Dir are preset as
sets for the following applications:
Wiring
Parameter Parameter
Parameter Set Applications Parameter Dir
KC TI (s)
Integrated
functions Temperature Temperature, low temperature control
0.5 30 +
fast for small rooms; small volumes
Operation on
device Temperature
Heater, ventilation, temperature, low
temperature control for large rooms, 1.0 120 +
slow
large volumes
LOGO! Soft
Comfort V6.1 Fast pressure change,
Pressure 1 3.0 5 +
compressor control
Slow pressure change,
Application
Pressure 2 Differential pressure control 1.2 12 +
example
(flow control)
Barrel, container filling without
Filling level 1 1.0 1 +
downpipe/ drain
Barrel, container filling with downpipe/
Filling level 2 0.7 20 +
drain

Parameters can manually be specified via the parameter set User defined.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog Ramp

Introduction Description of the function:


At the analog output, this special function starts up one of two
levels or offset. Here you can set how quickly the level should
Wiring be reached. If the input En is set, then the function issues the
value StSp + offset at output AQ for the first 100 ms.
Then, depending on the connection of Sel, the function runs
Integrated from value StSp + offset to either level 1 or level 2 at the
functions acceleration set in Rate.
If the input St is set, the function runs to the value StSp + offset
Operation on at the acceleration set in Rate. Then the function issues the
device value StSp + offset at output AQ for 100 ms. Finally offset is
issued at output AQ.
LOGO! Soft If the input St is set, the function can only be restarted once the
Comfort V6.1 inputs St and En have been reset.
If input Sel has been changed, depending on the connection of
Application Sel, the function runs from level 1 to level 2 or the other way
example round. If the input En is reset, the function immediately issues
offset at output AQ. The analog value at the output is
recalculated every 100 ms.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog - Ramp

Introduction

Parameter:
Wiring
Gain: Gain for AQ in message text
Offset: Zero offset for AQ in message text
Integrated L1 and L2: Levels to be reached
functions Largest output value: Maximum value that
must not be exceeded under any
Operation on circumstances
device Start/ stop offset: value that is issued for
100ms in addition to parameter offset after
LOGO! Soft starting the function and before reaching the
Comfort V6.1 offset value (prompted by input St). This
parameter is intended for controlling motors.
Application Speed of change: Acceleration with which
example level 1, level 2 or offset is reached.
Steps/ second are input.
Number of decimal places in message text

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog - Ramp

Introduction
Diagram:

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog Analog MUX

Description of the function:


Introduction
This special function outputs one of four predefined analog values or 0 at the analog
output. If input En is set, then the function issues one of 4 possible analog values V1 to V4
Wiring at output AQ, depending on the value of S1 and S2. If the input En is not set, then the
function issues the analog value 0 at output AQ. All 4 analog values V1 to V4 can be
parameterized as a reference to another analog function, so the analog values can be
Integrated dynamically changed in runtime (e.g. via potentiometer at an analog input).
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog Pulse Width Modulator (PWM)

Introduction

Wiring

Integrated
functions

Operation on
device Description of the function:
The PWM function modulates the analog input
LOGO! Soft
value Ax into a pulsed digital output signal. The
Comfort V6.1
pulse width is proportional to the analog value Ax.
Application The function reads the value of the signal at the
example analog input Ax. This value is multiplied by the
value of parameter A (gain). Parameter B (offset) is
added to the product, as follows:
(Ax * Gain) + Offset = Actual value Ax
The function block calculates the proportion of the
value Ax to the range. The block sets the digital
output Q high for the same proportion of the PT
(periodic time) parameter, and sets Q low for the
remainder of the time period.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Analog Pulse Width Modulator (PWM)

Calculation rule :
Introduction
Q = 1, for Ax / (Max - Min) of time period PT
Q = 0, for PT - [Ax / (Max - Min)] of time period PT
Wiring
Note: Ax in this calculation refers to the actual value Ax as calculated using the Gain and Offset.
Min and Max refer to the minimum and maximum values specifed for the range.
Integrated
functions
Example 1:
Operation on
device Periodic time (PT) = 4 sec.
Ax = 500
LOGO! Soft 1) 500 / (1000-0) = 0,5
Comfort V6.1 2) 4 sec. * 0,5 = 2 sec.

Application Q = 2 sec. high , 2 sec. low


example
Example 2:
Periodic time (PT) = 10 sec.
Ax = 300
1) 300 / (1000-0) = 0,3
2) 10 sec. * 0,3 = 3 sec.

Q = 3 sec. high , 7 sec. low


Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Analog - Analog Math

Description of the function:


Introduction
The function combines four values
and three operators to form an
Wiring equation. The operator can be any
one of the four standard operators:
+,-,x,/
Integrated
functions For each operator, you must set a
Operator / unique priority of High ("H"), Medium
Operation on Priority Value 1 ("M"), or Low ("L").
device The high operation will be performed
first, followed by the medium
LOGO! Soft Value 2 operation and the low operation. The
Comfort V6.1 operand values can reference
another previously-defined function
Value 3 to provide the value.
Application
example You can also configure the behavior
of the function when the Enable
Value 4 parameter "En"=0.
The function block can either retain
its last value or be set to 0.
The result is an internal analog value
(-32768 - +32767). A result out of
this range causes an overflow-error.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Analog - Analog Math

Introduction Examples:

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous - Analog Math Error Detection

Introduction

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example
Description of the function:
The analog math error detection block sets the output when the referenced analog math
function block has an error. You can program the function to set the output on a zero
division error, an overflow error, or when either type of error occurs.
If you select the Automatically reset checkbox, the output is reset prior to the next
execution of the function block. If not, the output retains its state until the analog math error
detection block is reset with the R parameter.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Miscellaneous Latching relay

A look at the circuit diagram shows that the coil K1 has current
Introduction
with the pushbutton S1. The switch K1 closes (latch). S1 K1 K1

This function is called latching relay.


S2
Wiring Symbol for this connection is .

K1 K2 M
Integrated
functions

Operation on Diagram:
device
S
LOGO! Soft
Comfort V6.1
R
Application
example
Q

Description of the function:


Input S sets output Q, input R resets output Q again.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Pulse relay

A look at the circuit diagram shows that the light H1 is switched


Introduction
on and off with the pushbuttons S1 or S2. S1 S2 K1

This function is called pulse relay.


Wiring In words a short pulse at S1 or S2 switches the light H1 on and
off.
K1 H1
Integrated Symbol for this connection is .
functions

Operation on Diagram:
device

Trg
LOGO! Soft
Comfort V6.1
R
Application
example
Q

Description of the function:


Output Q changes its status, i.e. the output is set or reset, with each 0 to 1 transition at
input Trg. You reset the pulse relay to 0 with a signal at input R.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text

Introduction

Wiring

Integrated Features:
functions
Only one programming tool for basic
Operation on module and LOGO! TD
device Selection / enabling of different
character sets
LOGO! Soft
Comfort V6.1 Up to 24/32 characters per line
(depending on selected character set)

Application Ticker text


example
Selection of message destination
Bar graph functionality
Display state of analog input values
Digital I/O states
Display of remaining time of all
timers (except weekly/yearly timer)

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text

Display of a configured message text in run


Introduction mode.
Symbol for this function is .
Wiring

Integrated
functions

Operation on
device
Description of the function:
LOGO! Soft With a 0 to 1 transition of the input signal and
Comfort V6.1 when the system is in RUN, the corresponding
message text is output to the display. The
Application message text is hidden when the status of the
example signal at input changes from 1 to 0. When
multiple message text functions are triggered s
with En=1, the message text that has the highest Motor on
priority is shown. Changing between the I:
standard display and the message texts display 0..1123456789
234
is possible by using the keys and . If Alarm!
1..0123456789
2..01234 ESC OK
Current Temp
acknowledge message is chosen, the LOGO
97 C
respective message text will be hidden by
pressing any key on LOGO!, if En=0.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Selection/enabling of character sets

To be able to use all features of the


Introduction
message text function in LOGO! ..0BA6,
Use new feature must be enabled
(File -> Message text settings).
Wiring

LOGO! ..0BA6 supports several languages.


Integrated
functions To ensure, that all characters of a language
used in a message text can be displayed
Operation on correctly, it is necessary to activate an
device accordant character set.

6 character sets are available *)


LOGO! Soft
Comfort V6.1 ISO_8859_1
German, English, Italian, Spanish
(partly), Dutch (partly)

Application ISO_8859_5 Russian


example
ISO_8859_9 Turkish

ISO_8859_16 French

GBK Chinese

SJIS *) Japanese (partly)

*) since E-Stand 3 (ES3)


Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Selection/enabling of character sets

Introduction

Wiring

Integrated
functions
In the same
Character set 1 message text 2
Operation on (e.g. ISO_8859_1) different
device character sets
can be selected.
LOGO! Soft
Comfort V6.1 By using the Flag
M27 character set
Application 1 or character set
example 2 gets activated.

Character set 2
(e.g. GBK)

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Settings for the ticker text

For the LOGO! on-board display and for LOGO! TD ticker text can be used.
Introduction
You can ticker the text in 2 ways:
Character by character or
Wiring Line by line

Integrated
functions
Character by character
Operation on (one character after another tickers through the display)
device

LOGO! Soft
Comfort V6.1

Application
example

In the function block


1 half
st 2 half
nd message text you can choose
Character by character or
or Line by line. Line by line and enable one
(the display alternates between the 1st half and the or more lines which shall be
2nd half of the message text) tickered.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Settings for the ticker text

The ticker speed can be adjusted via the menu item File -> Message Text Settings -> Ticker
Introduction
Timer Setting .
You can set the speed for Character by character in milliseconds. This time has also
effect to the time for Line by line (Character by character x10).
Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example Message destination is another
properties parameter in the function
block message text:
Here you can decide, on which device
the message text shall appear:
LOGO! on-board display
LOGO! TD
Both displays
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Inserting bar graphs

Introduction Example 1:
Step 1: Click at Step 2: Select a function block
Insert a bar graph into the message which is already placed in the circuit
Wiring diagram to indicate its value.

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1 Step 3: Scale the bar graph by defining
the range of the value, bar graph size
Application and its direction on the display.
example

The vertical adjustment of the


bar graph is from the bottom
to the top !

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Inserting bar graphs

Introduction Example 2:

The analog value of a temperature


Wiring sensor (PT100) is to be indicated over
its entire measuring range as bar
Integrated graph horizontally in the message
functions text.

Operation on
device
The horizontal adjustment of the bar
graph is from left to right !
LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Status indication of the analog input values

2 analog input values (AI)


Introduction
can be displayed in one
message text if they are
used in the circuit diagram.
Wiring
The value is updated
according to the analog
Integrated input filter timer.
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Analog input filter timer

Introduction

Wiring

If an analog input value is indicated in a


Integrated
message text, via the menu item
functions
File -> Message Text Settings can be
defined, how often LOGO! refreshes the
Operation on analog values in a message text.
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Status indication of the digital inputs/outputs

You can assign names such as "On" or "Off" to the two states of a digital input or output.
Introduction
With the LOGO! 0BA6 series, you can display this name of a digital I/O state in a message
text.
Wiring
Example:
Integrated
functions Step 1:
Place 1 input, 1 output and an enabled
Operation on message text in your circuit diagram.
device

LOGO! Soft
Comfort V6.1

Application Step 2:
example
Open message text with a double
click, define area for the status
indication of I1 with a mouse click
and select ON/OFF button.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Status indication of the digital inputs/outputs

Step 3:
Introduction
Select Digital Inputs

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Step 4:
Automatically the first input I1 is
selected.
Type in a text you want to display for both
states of I1.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Status indication of the digital inputs/outputs

Step 5:
Introduction
Do the same for Digital Outputs and
display the state of Q1.
Wiring

Integrated
functions Now try out the program in simulation mode!

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Message text
Static editor (Edit manually)

Introduction

Wiring
LOGO! Soft Comfort V6.1 provides a static
Integrated editor for message texts that can help when
functions you need to reposition text elements.
For example, it has a recycle bin area where
Operation on you can temporarily move message text
device elements in order to rearrange the position of
elements on the display area. You can move
LOGO! Soft elements up, down, left, or right without
Comfort V6.1 changing the position of any other elements.
To use the static editor, click the "Edit
Application manually" button. You will also be prompted to
example edit manually if you try to place or move
elements in the message area that have a
position conflict with existing elements.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Softkey

Description of the function: Diagram:


Introduction
This special function has the effect of a
mechanical pushbutton or switch. In parameter
Wiring assignment mode, the output is set with a signal
at input En, if the Switch parameter is set to
On and confirmed with OK. Whether the
Integrated function was configured for pushbutton or
functions switching action is of no concern here. The
output is reset to 0 in the following three
Operation on cases:
device After a 0 to 1 transition at input En.
When the function was configured for
LOGO! Soft momentary pushbutton action, and one
Comfort V6.1 cycle has expired since it was switched on.
When the position Off was selected at the
Application Switch parameter and confirmed with OK
example in parameter assignment mode.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous Shift register

Description of the function: Diagram:


Introduction
The function reads the value at input In with a
positive edge at input Trg. This value is
Wiring applied to shift register bit S1 to S8,
depending on the shifting direction:
Shift up: The value at input In is set at S1; the S4 = Q (example)
Integrated
previous value at S1 is shifted to S2; the
functions
previous value at S2 is shifted to S3 etc. Shift Shift
up down
Operation on Output Q returns the value of the configured
device shift register bit. If retentivity is disabled, the
shift function restarts at S1 to S8 after a
power failure. When enabled, retentivity
LOGO! Soft
always applies to all shift register bits.
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Operation on device

Have you designed a circuit?


Introduction
Do you want to enter it into LOGO! ?
How do you do this?
Wiring
s
Integrated
functions
Connect LOGO! to the power supply and No Program
switch it on. The display now shows you Press ESC
Operation on
this message.
device
ESC OK
LOGO!
LOGO! Soft
Comfort V6.1

Application
example
s
> Program..
Press ESC to get to the main menu. Card..
Setup..
Start ESC OK
LOGO!

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
s
Main menu / programming menu > Program..
Card..
Setup..
Introduction The first character in the first line is the > cursor. Start ESC OK
Press to move the > cursor up and down.
LOGO!
Wiring Move it to Program.. and confirm with OK . s
LOGO! opens the programming menu. > Edit..
Integrated Clear Prg
functions Password
Msg Config ESC OK
Operation on
device LOGO!
s

LOGO! Soft Here you can also move the > cursor by pressing . > Edit Prg
Comfort V6.1 Move the > cursor to Edit.. and confirm with OK . Edit Name
In the next sub-menu please chose Edit Prg. You are AQ
Application now in programming menu. Memory? ESC OK
example
LOGO!
s

Press to select all output, marker and open B1 Q1


connectors.
ESC OK
The following applies when you edit a circuit: .... LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
LOGO! - rules for operation

Introduction I1 Q1

1. You have to create your I Q


circuit by working from the
Wiring output to the input.

Integrated
B002 Q1
functions
& Q
Operation on
device
2. You can connect an output
LOGO! Soft to several inputs. B002
Comfort V6.1
>
Application
example

B001 Q2
B002
3. You cant connect an output to & Q
&
an upstream input within the
same path (recursion).

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! - rules for operation

Introduction

Wiring
4. You can move the cursor with if it appears in the form of an
underscore ( _ ) :
Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application B02 x x
B01 B01
example 1 B02 & B02 &
I3 B01 I1 I1 B01 Q1 B01 Q1
Q1 Q1
x x

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! - rules for operation

Introduction

5. When the cursor appears as a solid square ( ), press with


Wiring to select a connector (Co), a basic function (GF) or a special function:

Integrated
functions
Confirm with OK . B1
Operation on Press ESC to return to the In1
In2 &
device previous step. Q1
In3 SF Q1
In4
LOGO! Soft
Comfort V6.1
B1 B1 B1 B1
I1 Co In1 In1
Application In2 & In2 & In2 & In2 &
Q1 OK Q1 OK Q1 OK Q1 OK
example In3 In3 In3 In3 GF Q1
In4 In4 In4 In4

B1 B1
I2 In1
& In2
>1
In2
Q1 Q1
In3 In3 Co Q1
In4 In4

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Your first LOGO! program

Introduction Let us now take a look at the following parallel circuit consisting of two switches.

Wiring Circuit diagram



Integrated
functions
S1 S2 K1 The load is switched on with S1 or S2.
Operation on
device

K1 E1
LOGO! Soft
Comfort V6.1
Application Solution with LOGO!
example

I1 LOGO! interprets the parallel circuit of


I2 >1 S1 and S2 as an OR logic, because S1
Q1 or S2 switches on the output.
X
X

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Wiring

Introduction
S1 switches input I1, while S2 switches
L1
N
input I2. The load (E1) is
Wiring connected to the relay Q1.

S1 S2
Integrated
L1 N I1 I2 I3 I4 I5 I6 I7 I8
functions

Operation on
device s
Let us now input the program (starting at
the output and working towards the
LOGO! Soft input). LOGO! initially shows the output
Comfort V6.1 Q1. You will see an underscore ( _ )
Q1 below the Q in Q1. It is called a cursor.
Application The cursor indicates your current
ESC OK
example position in the program.
LOGO! 230RC

L1 Q1 Q2 Q3 Q4

E1
N

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Program input

Now press the key . s


Introduction
The cursor moves to the left.

Wiring
Q1
Integrated ESC OK
functions The cursor indicates your current LOGO!
position in the program. At this point you
Operation on only enter the first block (the OR block).
s
device Press OK to select editing mode.

LOGO! Soft
Comfort V6.1 Q1
ESC OK
Application LOGO!
example
The cursor is displayed as a solid square s
( ):
Selected between the following by
pressing :
Connector (Co) Co Q1
Basic function (GF)
ESC OK
Special function (SF) LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Program input

Select with (GF) the basic functions and s


Introduction
confirm with OK .

Wiring
GF Q1
Integrated ESC OK
functions LOGO!

Operation on s
device The AND is the first block of the basic
functions (GF) list. B1
In1
LOGO! Soft In2 >1
You can choose between the following by Q1
Comfort V6.1 pressing : In3
AND In4
ESC OK
Application AND (edge)
LOGO!
example NAND
NAND (edge) s
OR
NOR B1
In1
XOR
In2 >1
NOT Q1
In3
Select the OR block ( >1 ) and confirm with In4
ESC OK
OK .
LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Program input

Introduction s

You have now entered the first block. Each B1


Co
Wiring new block is automatically assigned a In2 >1
block number (B1). Now you interconnect Q1
In3
the block inputs (B1). In4
Integrated ESC OK
functions Press OK . LOGO!
The cursor is displayed as a solid square
Operation on ( ): s
device You can choose between the following by B1
pressing : I1
LOGO! Soft Connector (Co) In2 >1
Q1
Comfort V6.1 Basic functions (GF) In3
Special functions (SF) In4
ESC OK
Application Please select Connector (Co) and confirm LOGO!
example with OK .
The first element of the list (Co) is input I1 s
Confirm with OK . The underscore cursor
automatically jumps to the next input (In2) B1
I1
that needs to be allocated. In2 >1
Q1
In3
In4
ESC OK
LOGO!
Logic module LOGO! I IA AS FA PS4
. Siemens AG 2009 - Subject to modifications
Program input

Introduction s
Now you connect input I2 to the input of B1
the OR block. You already know how to do I1
Wiring Co >1
this: Q1
In3
1. Switch to editing mode: Press OK In4
Integrated 2. To select the Co list: Press ESC OK
functions 3. To confirm the Co list: Press OK LOGO!
4. To select I2: Press
Operation on s
5. To apply I2: Press OK
device
We do not need the last two inputs of the B1
OR block for this program. In the LOGO! I1
I2 >1
LOGO! Soft Q1
program you mark the unused inputs with In3
Comfort V6.1
an X. The process is the same: In4
1. Switch in editing mode: Press OK ESC OK
Application LOGO!
2. To select the Co list: Press
example
3. To accept the Co list: Press OK
s
4. To select X: Press
5. To apply X: Press OK B1
I1
I2 >1
Q1
X
X
ESC OK
LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
s
Program start B1
I1
I2 >1
Q1
X
Introduction X
ESC OK
Now all block inputs are connected. For LOGO!
LOGO!
s
LOGO! the program is complete.
Wiring
You can review your first program by > Edit Prg
pressing the cursor with the 4 arrow keys
Integrated Edit Name
( _ ) and moving through the program.
functions AQ
We now exit program input mode and
return to the programming menu with ESC . Memory? ESC OK
Operation on The program is automatically saved in the LOGO!
device internal memory (E2PROM). s
To start the program, return to the main > Edit..
LOGO! Soft menu with ESC .
Comfort V6.1 Clear Prg
Move the cursor to Start: Press . To
confirm press OK .
Password
Application Msg Config
example ESC OK

s
Program..
Card..
Setup..
> Start ESC OK
LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
LOGO! in RUN mode

In RUN mode LOGO! shows the Let us have a look at our example:
Introduction
following display:

Status of inputs
L1

Wiring =1 =0
1 Input I status is 1 S1 S2
1 Input I status is 0
Integrated
I: Q: AI :
functions Status of outputs 0.. 1 23456789 0.. 1 23456789
Tu 09:14
1 Output Q status is 1 1.. 0123456789 1..0123456
Operation on 1 Output Q status is 0 2009-09-22 2.. 01234
device
=1
The window to the left displays time and date.
LOGO! Soft Q1
The window in the middle displays the inputs
Comfort V6.1
states (I1 to I9; I10 to I19; I20 to I24).
The window to the right displays outputs
Application N
example
states (Q1 to Q9; Q10 to Q16).
Also the internal values of all analog
inputs/outputs can be displayed.

When switch S1 is closed, input I1 is supplied with voltage and the status at input I1 is 1.
LOGO! program calculates the status for the outputs.
Output Q1 is 1, in this case.
When Q1 is 1, LOGO! sets relay Q1, and the load connected to Q1 is supplied with
voltage.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
LOGO! parameterization mode

Introduction
Parameterization of functions: LOGO! 12/24 RC
s
When speaking of parameterization, we refer
Wiring
to the
I:
configuration of functions.
You can configure the parameters 0.. 123456789
Integrated
functions in programming mode 1..0123456789
or 2..01234
Operation on in parameter assignment ESC OK
device mode LOGO!
You can configure:
LOGO! Soft the delay times of timer functions LOGO! 12/24 RC
Comfort V6.1 s
the switching times of timer switch
counter thresholds
Application Stop
example the monitoring interval for a hour counter
on and off threshold for a trigger threshold > Set Param
and some other functions Set..
To get to configuration mode press ESC Prg Name
ESC OK
in RUN mode, set the cursor to Set Param
and confirm with OK . LOGO!

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! parameterization mode

Introduction s

B2
Wiring T =10:00s
Block selection: Ta =00:00
Integrated Choose In parameterization mode the desired
ESC OK
functions block with . LOGO!
If the desired block is chosen, press OK . The
Operation on cursor jumps to the first parameter that can be
s
device modified. The value can be changed pressing the
arrow keys .
B2
LOGO! Soft If the desired value is configured, then press OK . T =15:00s
Comfort V6.1 The next blocks requiring modification, can be Ta =00:00
chosen with etc..
ESC OK
Application LOGO!
example
s

B2
T =15:00s
Ta =00:00
ESC OK
LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
LOGO! parameterization mode

To return to menu press ESC . LOGO!


s
Introduction

B2LOGO!
Wiring T =10:00s
Ta =00:00
Integrated ESC OK
functions LOGO!

Operation on To return to RUN mode press ESC . s


device > Stop
Set Param
LOGO! Soft
Comfort V6.1 Set..
Prg Name
ESC OK
Application LOGO!
example
s

I:
0.. 123456789
1..0123456789
2..01234
ESC OK
LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
LOGO! ..0BA6 setting the menu language

Introduction You can select the menu language via the s


LOGO! menu and acknowledge with OK
(LOGO! must be in Stop-mode). Program..
Wiring Card..
Available languages: > Setup..
EN English Start
Integrated IT Italian ESC OK
functions NL Dutch LOGO!
ES Spanish
Operation on s
FR French
device CN Chinese Clock..
DE German LCD..
LOGO! Soft TR Turkish
Comfort V6.1 RU Russian > Menu Lang
JP Japanese *) BM AI NUM ESC OK
Application LOGO!
example
s

> EN
This setting can be separately done for
LOGO! TD .
ESC OK
*) since E-Stand 3 (ES3) LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
s
LOGO! ..0BA6 backlight function
Program..
Card..
Backlight function for the basic module: > Setup..
Introduction
Start ESC OK

Wiring s LOGO!
To activate the backlight of the Clock..
Integrated LOGO! display permanently, > LCD..
functions follow these steps. Menu Lang
BM AI NUM ESC OK
Operation on
device sLOGO!
Contrast
LOGO! Soft
Comfort V6.1 > BackLight

Application
You can select between:
example Default (Backlight is ON for 20 sec. ESC OK

or controlled by user program) sLOGO!


Always On
> Default

This setting can be separately done for ESC OK


LOGO! TD . LOGO!
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
LOGO! TD parameterization mode

In the menu of LOGO! TD nearly the same menu items are available as in the
Introduction
menu of LOGO! basic module - except the possibility to edit the program.

Wiring
> Stop
Set Param
Integrated Msg Config
functions Set..
The following table shows on which device
Operation on which menu items are available
device
Menu item LOGO! Basic module LOGO! TD
LOGO! Soft In STOP mode
Comfort V6.1 Program.. -
Card.. -
Application Setup..
example LCD Contrast / Backlight
Menu language
2 or 4 AI used on basic module -
Start / Stop *)
In RUN mode
Set Param
Msg Config (e.g. Tick Time) -

*) Since E-Stand 4 (ES4) of LOGO! and LOGO! TD, switching into stop mode can be protected by password.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! program creation
on a PC with LOGO! Soft Comfort V6.1

Introduction
Support for LOGO! TD
No separate software necessary

Modem wizard
Wiring for standard 11-bit analog modems

Windows Look and Feel


Integrated e.g. context menu, toolbar
functions
Create the control programs by drag and drop
Operation on Control programs drawing
device directly on a PC in FBD or LAD

LOGO! Soft
Testing of control programs
Offline simulation with status for each function
Comfort V6.1
(color change) and forcing
Online test in FBD and LAD with color change
Application
example for each function and 30 actual values
Professional print and documentation functions
Device selection
0BA0, 0BA1, 0BA2, 0BA3, 0BA4, 0BA5, 0BA6
with function check
Additionally on the CD ROM:
Manual and 28 complete, usable examples
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Installing LOGO! Soft Comfort V6.1

Introduction

Wiring

Integrated
functions
2.
Operation on
device

LOGO! Soft 3.
Comfort V6.1

Application
example

1. Insert CD (LOGO! Soft Comfort V6.1) in CD-ROM drive


2. Display CD content with help of Explorer
3. Double click on start.html
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Installing LOGO! Soft Comfort V6.1

Introduction

Wiring

Integrated
functions Start.html functions
Direct choice of 10 languages
Operation on Software installation
device Direct start of software from CD-ROM
Display manuals on CD-ROM
LOGO! Soft
Display online help
Comfort V6.1
Choice of example programs on CD-ROM
Choice of CAD drawings on CD-ROM
Installation of necessary tools such as
Application
Acrobat Reader or printer drivers
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Installing LOGO! Soft Comfort V6.1

The USB cable driver for the LOGO! USB programming cable is also included on the
Introduction
CD-ROM. During the installation process of LSC V6.1 you will be asked if you want to install
the driver.
Wiring HINT: Follow the correct order !
1. Install the driver (administrator privileges are required!)
2. Then connect the LOGO! USB programming cable with your PC
Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
LOGO! Soft Comfort V6.1 : Overview
Standard Windows PC -> LOGO! LOGO! -> PC!
Introduction

Title bar
Wiring Menu bar

Symbol bar for


Integrated program installation
functions
Tree structure for fast choice
of all generation elements
Operation on
device Switch to selecting mode
Drawing of connection lines
LOGO! Soft
Comfort V6.1 Display connectors (Co)

Display basic functions (GF)


Application
example Display special functions (SF)
Text fields for additional
comments
For a better overview
separation of connections
Offline simulation
Online test

Control program generation in the overview control plan via drag & drop
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Help functions online help

Introduction

The general help can be activated


Wiring via the menu item Help ->
Content. You can find further
information sorted by functional
Integrated groups in the contents.
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example
With a mouse click on the
desired topic you get detailed
information about the
corresponding functional
group.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Help functions direct help

Introduction

Wiring

Integrated
functions
Direct help can be selected
Operation on via the context menu (right
device mouse key) of each function.

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Help functions direct help

Introduction
The direct help will also be
activated via the menu item
Wiring Help -> Context-sensitive Help.
Via mouse pointer you can
now select objects, you would
Integrated like to have help text with.
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Help functions Update Center

Introduction

You can install program expansions,


Wiring service packs and additional
languages via the menu item Help ->
Update Center.
Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Typical tasks for LOGO!

Cistern control
Introduction
When the water level drops below the level (I1),
the drinking water supply (Q1) shall automatically
be switched on. When the water level has
Wiring reached the level (I2), the drinking water supply
Q1
(drinking water supply) shall automatically be switched off again.
Integrated
functions

Operation on I3 (Pump OFF)


device

LOGO! Soft
Comfort V6.1

Application
example I2
(drinking water
supply OFF)
I1
(drinking water
supply ON)
I4
(Pump P
OFF)

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 1: Insert connectors (CO)

How many inputs and outputs are necessary to solve the task?
Introduction

Wiring

Within the tree structure on the left side of the


Integrated software you can choose quickly and clearly
functions 1. all necessary input and output blocks,
markers or constants (high, low) and all basic
Operation on and special functions and you can place them
device on the configuration interface.

LOGO! Soft After having chosen an element the following


Comfort V6.1 cursor will appear on the configuration
interface:
Application
example
Move the mouse to the desired position.
Clicking on the left mouse button inserts the
block.
2.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 2: Insert basic functions (GF)

Which basic functions are necessary to solve the task?


Introduction

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example 2.
After placing both inputs I1 and I2 and the
1. output Q1 on the interface a basic function
(NOT) is necessary. As already learned in
the first step you choose via the tree
structure on the left the appropriate
function and place it via a simple mouse
click.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 3: Insert special functions (SF)

Which special functions are necessary to solve the task?


Introduction

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1
2.
Application
example
As the last function element a special
1. function (latching relay) is also necessary. As
already learned in the previous steps you
choose via the tree structure at the left the
appropriate function and place it via simple
mouse click.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 3: Insert special functions (SF)

In this programming example the NOT function block could be replaced by a direct negation
Introduction
of the S-input of the latching relay function.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Via the context menu (right mouse button) on


the digital input pins of all function blocks it
is possible to negate the signal directly. This
is also possible by a double click on the pin.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 4: Connecting

To complete the control circuit you need to connect the blocks with one another:
Introduction

Wiring

Integrated
functions

Operation on
1.
device

LOGO! Soft
Comfort V6.1

Application 2.
example
Normally you can directly draw the connection line with the cursor
after placing a block. If you are in a different mode, you will have to
select the tool to get to the connecting mode.
Now move the cursor over the connection pin of a block (a small blue
box will be shown) and click the left mouse key. While holding down
the key move the cursor to the pin you would like to connect with the
first pin, and release the mouse key. The connection is drawn.
Continue the same way with the other connections.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Step 5: Insert text fields

By inserting text fields the program can be understood more easily.


Introduction
With LOGO! Soft Comfort V6.1 there are several ways of embedding text into the program
structure:
Wiring

Adding a comment to each block in the


Integrated program via the context menu (right
functions mouse key).

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 5: Insert text fields

Introduction

Wiring
By inserting a free text field.
Integrated
functions

Operation on
device

LOGO! Soft 1.
Comfort V6.1

Application
example
A 3.

2.
4.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 6: Assigning connection names

For better program readability, comprehensive names can be assigned to inputs and
Introduction
outputs in addition to the text fields.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 7: Moving elements

The control program is completed with insertion of function blocks and their connections.
Introduction
To get a reasonable, i.e. a clear view of the prepared control program, some further work is
necessary. Placed objects such as function blocks, lines, and text fields can be moved
accordingly.
Wiring

Integrated
functions This tool has to be
selected, when you want to
move function blocks, text
Operation on
fields or connection lines.
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 8: Aligning

To design everything more neatly and more clearly, you can align the individual function
Introduction
blocks vertically and horizontally.

Wiring
This button has to be activated to
align the highlighted function blocks
Integrated vertically.
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Firstly the function blocks must be


selected to align them.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 9: Parameterization of blocks

With special functions and basic functions in addition to the dialogues for comments there
Introduction
also exists one or more dialogues for parameters. Here you can preset set points or
settings for each particular function block.
Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

In the configuration another


address can be allocated for each
Select function block, click right mouse single input and output block.
key and select menu item Block attribute. Only inputs and outputs are
OR regarded in the selection when
Double click with left mouse key on the they are not yet assigned in the
function block. control program.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Step 9: Parameterization of blocks

Additionally there is the possibility to change and check all block attributes centrally.
Introduction

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 10: Formatting texts

Comments and text fields can be given user-designed formatting.


Introduction

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 11: Documentation

For program documentation all used connectors, basic functions and special functions can
Introduction
be displayed.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

A list of all used blocks can be displayed via the menu item Edit
-> Go to block. The list comprises information about block
number and block type. You can display e.g. which special
functions you have used. The abbreviations of the block I1, Q2,
B02, etc. can be entered in the search function (block number)
and it will be displayed where the block is located in the list.
When you complete the dialog field with OK, the desired block
will be highlighted in the program.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Step 11: Documentation

Further information about the program documentation can be viewed via the information
Introduction
window. It is shown at the bottom window frame by default.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application You can access the information window


example anytime via the menu item View -> Info
Window or the F4 key. In the information
window the resources used in the program,
are displayed with current date and time.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 11: Documentation

Program and plant information can be entered under File -> Attributes on the properties
Introduction
dialogue General. They appear in the program printout in the footer.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 11: Documentation

The program including the entered plant data can be viewed from the attribute window
Introduction
under File -> Print preview.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 11: Documentation

You can select which documents shall be printed, under Properties in the print preview
Introduction
window. By default the circuit diagram, the parameter list and the list with connection
names are selected.
Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 11: Documentation

It makes sense to divide the circuit diagram onto more pages for larger or more complex
Introduction
programs.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 11: Documentation

Due to the split-up of the program across several pages, connection lines might have to be
Introduction
separated.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Connections can easily be separated by selecting the scissor symbol. The interfaces are
clearly labeled with the page number, block number and input pin. Clicking a second time
with the scissor symbol on one of the interface placeholders undoes the separation.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Step 12: Program testing

After configuration and documentation, program testing via offline simulation is the next
Introduction
step.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Now you know that the program can be run in LOGO!, but you still have to check whether
your program works the way you intended it. Perhaps you would like to change some
parameters. You can effortlessly change input values, check the behavior upon power
failure and compare your calculations or expectations with the real behavior of the outputs.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Step 12: Program testing

An excellent tool is available for program testing.


Introduction

This tool
Wiring has to be selected when
you want to test the
program. With the
Integrated activation of the offline
functions simulation a tool bar for
monitoring and operation
Operation on of inputs and outputs is
device By clicking on the
selected. A plug symbol
buttons on the tool
provides a simulation of
bar or on the inputs in
LOGO! Soft power failure to test the
the circuit diagram
Comfort V6.1 behavior in regards to
you can change the
retentivity.
status of the inputs.
Application The signal run can be
example tracked with the color For time-critical simulations you can also set
change from blue (low the output of a block (forcing), by clicking the
signal) to red (high output with the right mouse button.
signal) of the
connection lines. This
makes error tracking
a lot easier.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 12: Program testing

As an additional program testing feature, each input can be allocated to a certain switch
Introduction
function.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Each input of a block can be allocated to a certain switch function via the context menu
(right mouse key) of an input block. You can chose between pushbutton (n.o. contacts, n.c.
contacts), switches and frequency inputs at digital inputs. With frequency inputs the
simulated frequency can be adjusted in Hz. With analog inputs the value range and the start
value is preset. These parameters can centrally be changed and reviewed as well via the
menu item Tools -> Simulation parameters.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Step 13: Assign program password

To protect the program and your know how you can place a valid up to 10-digit password
Introduction
for that program.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
This password protects your program only on LOGO!. There you can not delete, change or
example
view it without the password! To load a password protected program onto a PC, the
password is necessary as well. To delete an assigned password, enter Old password and
leave New Password empty.
To be able to reuse a LOGO! with program and password when password is lost, the
password has to be entered incorrectly three times at program deletion. Then the program
and the PW is automatically deleted. This can alternatively be done by software. *)

*) since E-Stand 4 (ES4) only possible via software or memory card

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 14: Transfer program to LOGO!

With LOGO! Soft Comfort V6.1 you have the possibility to either first realize your circuit
Introduction
diagram and then determine the required device via menu item Tools -> Determine LOGO!
or you can firstly determine via Tools -> Select Hardware which LOGO! device you want to
create your circuit diagram for.
Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application In the device choice you can view for every


example LOGO! generation which resources are
available. All available function blocks or
resources are offered in configuration mode
depending on the selected version.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 14: Transfer program to LOGO!

After testing the program successfully you need to transfer it to the LOGO!. Therefore
Introduction
LOGO! has to be connected with the PC cable to the PC.

Wiring
You have to click on this
button
Integrated to transfer a circuit diagram to
functions LOGO!. Before transferring,
the LOGO! version required for
Operation on the configured circuit program,
device is identified. If the configured
circuit program cannot be
transferred to the available
LOGO! Soft
LOGO!, an error message is
Comfort V6.1 Upon successful transfer a displayed and the transfer is
message appears in the status aborted.
Application bar.
example

If the connection between LOGO! and PC is not


established correctly, an error message will be
displayed.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Step 15: Starting LOGO!

After transferring the program LOGO! has to be set to RUN-mode. Then the program can be
Introduction
tested in real life.

Wiring LOGO! 12/24 RC LOGO! 12/24 RC LOGO! 12/24 RC


s s s

Integrated > Program.. Program.. I:


functions Card.. Card.. 0.. 123456789

Setup.. 1..0123456789
Setup..
Operation on 2..01234
device Start
ESC OK > Start ESC OK ESC OK
LOGO! LOGO! LOGO!
LOGO! Soft
Comfort V6.1
Q1
Application
example I3

I2
I1
I4 P
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Step 16: Online-Test

Additional to the offline simulation an online test can be done in FBD and LAD after
Introduction
transferring the program to the LOGO! device.

Wiring

To start the online test after


Integrated transferring the program this
functions button has to be activated .
After this the LOGO! device can
Operation on be set into RUN-mode with this
device button .To see now the
online-status off the device the
LOGO! Soft eyeglasses-symbol has to be
Comfort V6.1 activated . Now you can
simulate your program online
Application on the device by using the real
example inputs.
If you have to watch function
blocks which contain actual
1. values, you have to click at the
3. 2.
eyeglasses-symbol below the
respective block separately,
e.g.:

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 17: Setting the clock

With help of the software you can set the system clock of LOGO! as well. Of course, you
Introduction
can also set the time directly on the device.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1
LOGO! and PC have to be connected via
Application the PC cable to transfer the set time to
example LOGO!, then you have to click on the
button Write.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Step 17: Setting the clock

With LOGO! you have the possibility to configure an automatic summer / winter clock
Introduction
change. You can do this on the software or directly on the device.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
LOGO! and PC have to be connected via the PC
example
cable to transfer the set summer / winter clock
change to LOGO!. Depending on the chosen
region this clock change is used.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Setting the position of analog inputs AI3 and AI4

With Set AI3 and AI4 position you can choose to


Introduction
enable the optional AI3 and AI4 on the LOGO!
0BA6 devices that have an option of four analog
inputs. Your choices are as follows:
Wiring
2 AIs: Only AI1 and AI2 corresponding to input
terminals I7 and I8 are available for use in your
Integrated circuit program.
functions 4 AIs: AI1 and AI2 corresponding to input
terminals I7 and I8 are available for use in your
Operation on circuit program. Additionally, AI3 and AI4
device corresponding to input terminals I1 and I2 are
available for use.
LOGO! Soft Set via software:
Comfort V6.1
Double-click at in your circuit program
Application or go to File -> Properties -> Parameter
example or at LOGO! basic module:
Setup > BM AI NUM

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Modem wizard

Introduction LOGO! Soft Comfort V6.1 provides a wizard to configure 11-bit analog modems that use
standard AT commands and to connect them via an analog telephone line.
You can use the modems to transfer circuit programs between LOGO! Soft Comfort V6.1
and LOGO! devices.
Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Modem wizard

Introduction First you have to make a few settings for you COM-Port:
Select in Windows Start -> Settings -> Control Panel -> System -> Hardware -> Device
Manager. Then select Ports -> open the properties window of your COM-Port.
Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

The port settings must be as follows:


Bits per second: 9600
Data bits: 8
Parity: Even
Stop bits: 1
Flow control: None
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Modem wizard

Select the Tools -> Connect Modem menu command to


Introduction
start the wizard. LOGO! Soft Comfort V6.1 displays a
dialog that guides you through the configuration process.
Wiring

Integrated
functions 1.

Operation on
device

LOGO! Soft
Comfort V6.1

Application 2.
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Modem wizard

First the remote modem has to be configured. This configuration has to be made via a
Introduction
direct connection between PC and modem.

Wiring

Integrated
functions
4.
Operation on
device

LOGO! Soft
Comfort V6.1

Application 5.
example

Every modem that you configure gets a


name. In the wizard default AT-commands
Now you can click at Configure are already entered which are used of
Remote Modem. most modems. You can type in other AT-
commands if necessary for your modem.
Disable default in this case.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Modem wizard

Next step is to configure the local modem. The procedure is similar to the configuration of
Introduction
the remote modem.

Wiring

Integrated 7.
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example
The modem wizard
8.
provides a list of
telephone numbers.
Here several numbers
of remote stations can
be entered. Select the
number you want to
call and click Dial.
Logic module LOGO! I IA AS FA PS4
Siemens AG 2009 - Subject to modifications
Modem wizard

After dialing the remote modem, you are able to up-/download the user program, set LOGO!
Introduction
in run/stop and do online- test.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Delete user program and password

To be able to reuse a LOGO! with program and password when password is lost, the
Introduction
password has to be entered incorrectly three times at program deletion. Then the program
and the PW is automatically deleted. *)
In LOGO! ..0BA6 it is possible to delete user program and password by LOGO! Soft Comfort
Wiring
V6.1 .
This function is especially helpful for LOGO! pure versions, where it is not possible to
Integrated delete the program directly on the device via the keys. In generations prior ..0BA6, a
functions memory cartridge was necessary to get the program deleted.
Use Tool -> Transfer -> Clear User Program and Password.
Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

*) since E-Stand 4 (ES4) only possible via software or memory card

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Power-on Screen for LOGO! TD

Use Tools -> Transfer -> Set LOGO! TD Power-on Screen to configure a power-on screen for
Introduction
the LOGO! TD. This screen gets displayed during LOGO! TD powers up.

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Miscellaneous options

Other miscellaneous settings can be made via the menu item Tools -> Options.
Introduction

Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Application example

Introduction Conveyor controller


Wiring

Integrated
functions

Operation on
device

LOGO! Soft
Comfort V6.1

Application
example

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Conveyor control

I2 (filling) I3
Introduction (light barrier)

Wiring

I1
Integrated
Q1 (ON/OFF)
functions

Operation on Function description:


device A bottle filling conveyor shall be controlled.
Part 1
LOGO! Soft
Comfort V6.1 The conveyor control is switched on and off via (I1).
When the conveyor control is switched on, the conveyor motor (Q1) runs. If the
Application light barrier (I3) is interrupted, the motor shall be switched off.
example
Part 2
When the sensor (I2) detects a bottle, the motor is to be switched off for 3 sec.
(filling action). After that the motor runs again.

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Solution: Conveyor control part 1

I2 (filling) I3
Introduction (light barrier)

Wiring

I1
Integrated
Q1 (ON/OFF)
functions
Function description:
Operation on Part 1
device
The conveyor control is switched on and off via (I1).
When the conveyor control is switched on, the conveyor motor (Q1) runs. If the light barrier
LOGO! Soft
(I3) is interrupted, the motor shall be switched off.
Comfort V6.1

Application
example

Invertierter
Eingang

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications
Solution: Conveyor control part 2

I2 (filling) I3
Introduction (light barrier)

Wiring

I1
Integrated
Q1 (ON/OFF)
functions
Function description:
Operation on Part 2
device
When the sensor (I2) detects a bottle, the motor is to be switched off for 3 sec.
(filling action). After that the motor runs again.
LOGO! Soft
Comfort V6.1

Application
example

Edge triggered
wiping relay

Logic module LOGO! I IA AS FA PS4


Siemens AG 2009 - Subject to modifications

You might also like