Logo8 in Detail en 1 of 4
Logo8 in Detail en 1 of 4
L1
K2
I: 1/9
0123456789 Sensors
10+ 0123456789
20+ 01234
K2
N
Micro-SD
Card-Slot
Slider switch for bus
connections
Display with
3 selectable
colors
LED LAN
4 Outputs
Ethernet-
connection 4 Outputs
▪ temperature, pressure or ultrasound sensors (Beros) etc., with 0...10V outputs directly at 4 analog inputs of the LOGO! 12/24 RCE or LOGO! 24CE basic devices
or the analog module AM2
▪ or the appropriate sensor with current output 0...20mA/4...20mA to the inputs of the analog module AM2
▪ or connect up to 2 temperature sensors PT100 or PT1000 to AM2 RTD in 2 or 3 wire connection technology
LOGO! with
transistor outputs
◼ lights
◼ motors
◼ switches
◼ etc. ...
LOGO! with
relay outputs
LOGO! with
analog outputs
Ethernet-
interfaces
Functions keys
Error:
No program on Micro
Empty program
SD-Card and no
program in internal
memory
Warning!
If there is a program on the Micro SD-card, it
is automatically copied to the internal LOGO!
memory when switching on . Any program in
Start the internal LOGO! memory is overwritten.
Program
Setup Program on Micro SD-card or
Network in internal memory
Diagnostics
Card
Start
In editing mode or Program
Setup
menu in stop status Network
Diagnostics
Card
A look at the circuit diagram shows that the light H1 is only on when S1 and S2 and S3 are closed. Input and output
states are dependent on each other. S1
The circuit to the right is called AND logic.
In words contact S1 and S2 and S3 have to be closed for the light to burn. S2
Symbol for this connection is .
S3
H1
0 0 0 0
0 0 1 0
Output of the AND function is 1 only when all inputs are 1.
0 1 0 0
If one input pin of this block is not connected, the internal status is 0 1 1 0
automatically 1.
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1
To turn the lamp H2 on, the contact S1 or S2 or S3 have to be closed. The dependence of output states from
inputs states is called OR logic.
S1 S2 S3
In words at least one of the contacts S1 or S2 or S3 have to be closed for the lamp H2 to light up.
Symbol for this connection is .
H2
0 0 0 0
0 0 1 1
Output of the OR function is 1, when at least one input is 1.
0 1 0 1
If one input pin of this block is not connected, the internal status
0 1 1 1
is automatically 0.
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
S1
H2
A look at the circuit diagram shows that the light H2 is not on, only when all contacts are switched. The
circuit to the right is called NAND logic.
S1 S2 S3
In words S1 and S2 and S3 have to be switched for the light H2 not to burn.
Symbol for this connection is .
H2
0 0 0 1
0 0 1 1
Output of NAND is 0, only when all inputs are 1. 0 1 0 1
If one input pin of this block is not connected, the internal status is 0 1 1 1
automatically 1. 1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
Unrestricted © Siemens AG 2016
Page 19 02.12.2016
NAND (not-AND) with edge triggering
0 6 1 5
S1 S3 S3
H2
S1
A look at the circuit diagram shows that the light H1 is only on, when the normally closed contact S1 and S2
and S3 are not switched.
S2
The circuit to the right is called NOR logic. In words when S1 or S2 or S3 are switched, the light is not on.
Symbol for this connection is .
S3
H1
NOR
S1 >1 Series circuit normally
S2
H1
closed contact
S3
x Logic table for NOR block:
0 0 0 1
0 0 1 0
Output of NAND is 1, only when all inputs are 0. As soon as any input 0 1 0 0
is switched (status 1), the output is switched off. If one input pin of
this block is not connected, the internal status is automatically 0. 0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
S1
A look at the circuit diagram shows that the light H1 is only on, when only one of either S1 or S2 is switched.
This circuit is called XOR logic. In words when either contact S1 or contact S2 are switched, the light is on. S2
Symbol for this connection is .
H1
XOR
S1 =1
H1
S2
A look at the circuit diagram shows that the light H1 is only on, when the switch S1 is not switched.
S1
This circuit is called NOT logic. Symbol for this connection is .
K1
Output is 1, when the input is 0, i.e. NOT inverts the status at the input.
The advantage of NOT is for instance: You will not need a normally closed contact any more for LOGO!.
You can use a normally open contact and change it with NOT to a normally closed contact. If the input pin
of this block is not connected, the status is automatically 1. H1
!
It´s possible to negate connectors by choosing “invert connector” on the window which appears
after a right mouse click on a connector.
(Or double click with the left mouse key)
For an example have a look at the AND-Block on the right.
2
The NOT function has to be used in front of flags and outputs .
Pulse duration
Analog modulator (PWM) Error Arithmetic Stop Astronomical Annual Float/Integer- Integer/Float- Data Log
filter detection instruction watch clock time switch Converter Converter
S1 K1
A look at the circuit diagram shows that the motor only starts after expiry of the delay time.
This function is called On-delay.
In words the motor will be switch on with a programmed ON delay time. Symbol for this function is .
K1 M
S1 K1
A look at the circuit diagram shows that the motor only stops after expiry of the delay time.
This function is called Off-delay.
In words the motor will be switch off with a programmed OFF delay time. Symbol for this function is .
K1 M
This function is called On-/Off-delay. In words the motor is switched on and off with a programmed delay
time.
Symbol for this function is .
K1 K2 M
S1 K1 K1 K2
A look at the circuit diagram shows that the motor M starts delayed after pressing the pushbutton S1.
Pushbutton S2 (n.c. contact) stops the motor again. S2
This function is called retentive On-delay. Symbol for this connection is .
K1 K2 M
A look at the circuit diagram shows that the light H1 is only on, when the switch S1 is closed, but only as
long as the set time at timer T1.
Symbol for this connection is .
S1
T1
T1 H1
A look at the circuit diagram shows that the light H1 remains on for the time specified on the timer T1 S1 T1
when the switch S1 is closed.
Symbol for this connection is .
T1
T1 H1
The output is controlled via a specified on–/ off–time for any week day. The function supports any
combination of weekdays. Active weekdays have to be selected .
For activating On Time and OFF Time the disabled button has to be deselected.
Monday
Wednesday
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Diagram:
The pulse profile of the output can be customized via pulse/ pause ratio.
Symbol for this function is .
With a random generator the output is switched on and off again within a
specified time.
Symbol for this function is .
Diagram:
En
Diagram:
The input pulse (edge control) starts a specified time. The output is reset on expiration of
this time. Prior to the expiration of this time (e.g. 15 s) an off pre–warning is generated.
Symbol for this function is . Trg
Ta T (OFF delay)
Q 1s
15s
Q
5s >20s
Diagram:
The stopwatch function counts the elapsed time between a start stopwatch signal and a stop
stopwatch signal.
Functional description:
➢ If En = 1, the current time rises
➢ If En = 0, pauses the current time counting
➢ If En = 1 and Lap = 0, Using the selected time base, the stopwatch outputs the current time
(CurT) to AQ.
➢ If En = 1 and Lap = 1, the stopwatch leaves AQ at its last value when Lap = 0. This value is
recorded as LapT for stopwatch pause time.
➢ If En = 0 and Lap = 1, the stopwatch pauses counting time
➢ If En = 0 and Lap = 0, the stopwatch outputs the current time (CurT) to AQ.
➢ If R = 1, the current time as well as the pause time will be reset
Diagram:
The astronomical clock function is used to set an output when the current time of
your LOGO! Base Module is between the time of sunrise (TR) and the time of
sunset (TS). LOGO! automatically calculates these times based on the
geographical location, the settings for automatic summertime/ wintertime
conversion, and the current time of the module.
Note
From LOGO! Soft Comfort V8.0, you can choose from several pre-defined time Functional description:
zone locations. If you select one of these locations, LOGO! Soft Comfort uses the The function calculates the values at the input and sets Q when Ta (Ta is the
latitude, longitude, and the time zone of your selection. This location pre- current LOGO! time) is between TR and TS; otherwise, the function resets Q.
configuration is only possible from LOGO! Soft Comfort. If automatic summertime/ wintertime conversion is enabled, the function takes
the configured time difference into consideration when calculation the TR and
TS values.
At a glance:
→ 10 pre-configured time zones
→ Configuration of user-defined coordinates of the installation place
→ On-/ Offtime in each case for +/- 59 minutes manipulable
→ E.g. usage in animal breeding, building technology, neon signs and many more…
A look at the circuit diagram shows that the switch S1 triggers the counter pulses. Switch S2 determines whether the counter increases or decreases.
When the counter status reaches a value >= 5, the light switches on.
Diagram:
Cnt S1
Dir
6 6
5 5 5 S2
4 4 4
3 3 3 3
2 2 2 - +
1 1 C1
Zähler 0
R >=5
Q H1
En
Ral
MN = MI 3 3
2 2
1 1
MN = 0 0 0
4
3
2
1
OT
Q
Fre =12 Fre = 5 Fre = 3 Fre = 5
Fre
Torzeit
On = 10 Off = 4
Diagram:
Diagram:
Diagram:
Timing diagram A: Function with negative differential delta value
Diagram:
Parameter:
Sensor: Type of sensor used
Min: Minimum value for PV
Max: Maximum value for PV
Gain: Gain for PV
Offset: Zero offset for PV
SP: Set point assignment
Mq: Value of AQ in manual mode Parameter sets: applied
presets for KC, TI and Dir
KC: Gain
TI: Integral time
Dir: Action direction of the controller Number of decimal
places in message text
Parameter sets:
To simplify the use of the PI controller, parameters for KC, TI and Dir are preset as sets for the following applications:
Parameters can manually be specified via the parameter set “User defined”.
If input Sel has been changed, depending on the connection of Sel, the function runs from level 1 to
level 2 or the other way 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.
Diagram:
Parameter:
Gain: Gain for AQ in message text
Offset: Zero offset for AQ in message text
L1 and L2: Levels to be reached
Largest output value: Maximum value that must not be exceeded under
any circumstances
Start/ stop offset: value that is issued for 100ms in addition to parameter
offset after starting the function and before reaching the offset value
(prompted by input St). This parameter is intended for controlling
motors.
Speed of change: Acceleration with which level 1, level 2 or offset is
reached.
Steps/ second are input.
Number of decimal places in message text
The Pulse Width Modulator (PWM) modulates the analog input value Ax to a pulsed digital
output signal. The pulse width is proportional to the analog value Ax.
As parameter besides the scaling of the analog value can be defined:
▪ Range Min./Max. for modulating as well as
▪ Periodic time PT
Functional description:
The function reads the value of the signal at the 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 actual value Ax to the range. The block
sets the digital output Q high for the same proportion of the T (periodic time) parameter, and
sets Q low for the remainder of the time period.
Calculation rule :
Q = 1, for Ax / (Max - Min) of time period PT
Q = 0, for PT - [Ax / (Max - Min)] of time period PT
Example 1:
Periodic time (PT) is set to 4 sec.
Ax = 500
500 / (1000-0) = 0,5
4 sec. * 0,5 = 2 sec.
The proportion is: 2 sec. high , 2
sec. low
Example 2:
Periodic time (PT) is set to 10 sec.
Ax = 300
300 / (1000-0) = 0,3
10 sec. * 0,3 = 3 sec.
The proportion is: 3 sec. high ,
7 sec. low
Operator /
Priority
Value 1
Value 2
Examples :
Diagram:
The Max/Min function records the maximum or minimum value of Ax.
Diagram:
The average value function calculates the average value of an analog input over a
configured time period.
Diagram:
Note
There are a maximum of eight analog filter function blocks available for use in the
circuit program in LOGO!.
A look at the circuit diagram shows that the coil K1 has current with the pushbutton S1. The switch K1
S1 K1
K1 closes (latch).
This function is called latching relay. S2
Symbol for this connection is .
K1 K2 M
Diagram:
A look at the circuit diagram shows that the light H1 is switched on and off with the pushbuttons S1 or S1 S2 K1
S2.
This function is called pulse relay.
In words a short pulse at S1 or S2 switches the light H1 on and off.
Symbol for this connection is . K1 H1
Diagram:
Trg
Features:
ISO_8859_9 Turkish
ISO_8859_16 French
GBK Chinese
For the LOGO! on-board display and for LOGO! TD ticker text can be used.
You can ticker the text in 2 ways:
▪ Character by character or
▪ Line by line
Character by character …
(one character after another tickers through the display)
The ticker speed can be adjusted via the menu item File -> Message Text Settings -> Ticker 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).
Step 1: Click at
Step 2: Select a function block which is already placed in the
„Insert a bar graph into the message“
circuit diagram to indicate its value.
Example:
Example:
Step 1:
Place 1 input, 1 output and an enabled message text
in your circuit diagram.
Step 2:
Open message text with a double click, define area for the status
indication of “I1” with a mouse click and select “ON/OFF” button.
Step 5:
Do the same for “Digital Outputs” and display the state of “Q1”.
LOGO! Soft Comfort V8.0 provides a static editor for message texts that can
help when you need to reposition text elements.
For example, it has a “recycle bin” area where you can temporarily move
message text elements in order to rearrange the position of elements on the
display area. You can move elements up, down, left, or right without changing
the position of any other elements.
To use the static editor, click the "Edit manually" button above the message
text area. You will also be prompted to edit manually if you try to place or
move elements in the message area that have a position conflict with existing
elements.
Diagram:
Diagram:
This function convert a float stored in VM to an integer and output the result via the parameter (eAQ) or AQ.
LOGO! only deals with integers. If you transfer some float from outer system by network with S7/Modbus
protocol, LOGO! cannot deal with it directly. With float to integer converter, you can convert floating numbers
stored in VM to integers. This SFB does the conversion by dividing the float by a resolution. You need to set a
suitable resolution for the input float in the parameter tab.
Functional description:
The Data Log – function block saves actual values of selected functions blocks
and memory areas of a switching program which are able to be put out in a CSV-
format on a PC or a standard micro SD-card. The internal memory can save up to
200 data records. With an external memory it is able to save up to 20.000 records
(max. 50 log files).
The Data Log starts recording data with a rising flank (change from 0 to 1) at the
input En (Enable).
The usage per switching program is limited to one Data Log function block. After
selection and inserting in the function chart, the symbol will be greyed out in the
navigation register.
Current values of the following function blocks are able to be recorded with the Data
Log function block:
• I
• Q
• M
• AI
• AQ
• AM
At digital I/O and memory the data have to be recorded in 8 bit groups, e.g. I1 to I8, Q9
to Q16, M17 to M24. For analog data you have to choose a to-be-recorded value, e.g.
AI1, AQ2 or AM1. You configure function block values in 8 bit groups or single values,
depending on the type of the value (digital or analog).
You can record a maximum of 32 elements in the Data Log (analog values or digital
values in 8 bit groups).
You can configure the Data Log only in LOGO! SoftComfort. Via the LOGO! device it
is not possible to create, configure or delete a Data Log function block.
→ Editing at LOGO! 0BA8 only at the in- or outputs which are connected to the UDF-
UDF-blocks (UDF – user defined function) only can be configured in the LOGO!
block.
SoftComfort and complies with a personal created switching program which can be
saved and afterwards added to other or further switching programs at any time
(macro). → Automatic version handling (changes at macros)
DF FA S MP PLC 1
90475 Nürnberg
siemens.com/answers