Presentation on theme: "Innovative Switching & Control"— Presentation transcript:
1 Innovative Switching & Control The internal qualities countOGO! -Innovative Switching & Control
2 LOGO! – Innovative Switching & Control ... In detail IntroductionLOGO! – Innovative Switching & Control ... In detailThe Original!
3 LOGO! in detail overview IntroductionWiringHardware assemblyConnecting power supplyConnecting inputs and outputsSwitch-on behaviorIntegrated functionsConnectorsBasic functionsSpecial functionsOperation on deviceControl for operationFirst programLOGO! in run modeConfiguring LOGO!LOGO! Soft Comfort V6.1Help functionsRealizing typical tasks step by stepModem wizardOther optionsApplication exampleControl of bottle filling conveyor
4 LOGO! wiring L1 N I : 0.. 123456789 1..0123456789 4 2..01234 K2 Wiring 4K2N
5 LOGO! ..0BA5 hardware structure 8 inputsPower supply for expansion modulesPower supply4 inputsWiringSwitch for electrical connectionConnection interface forLOGO! TDThe internal qualities countBacklit displayRUN/STOPAdjustable contrastE-Stand (ESx)4 outputs4 outputsMaximum configuration: 24 digital inputs + 8 analog inputs digital outputs + 2 analog outputs
6 LOGO! wiring To connect LOGO! to the power supply: LOGO! with DC supply voltageLOGO! with AC supply voltageWiringProtection by fuseif required (recommended) for:12/24 RC...: 0.8 A 24: 2.0 AWith voltage spikes, use a varistor(MOV) with an operating voltage at least 20% higher than nominal voltage.
7 Connecting LOGO! inputs Connect sensors to the inputs. Sensors may be:pushbuttons, switches, photoelectric barriers, etc.temperature, pressure or ultrasound sensors (Beros) etc., with V outputs directly at the 4 analog inputs of the 12 and 24 V DC basic devices or the analog module AM2or the appropriate device with current output mA/4...20mA to the inputs of the analog module AM2or connect up to 2 resistance thermometer PT100 to AM2 PT100 in 2 or 3 wire connection technologyWiringLOGO!LOGO! 12/24 ...2-wire technology3-wire technologyL+MI1I2I3I4I5I8L1NI1I2I3I4I5I6L3L2The inputs of these devices are grouped into 2 blocks of 4 I each. Different phases are only possible between, not within the blocks.The inputs of these devices are non–isolated and therefore require the same reference potential (ground) as the power supply.With 2-wire connections no correction of the impedance of the measurement line occurs. 3-wire connection suppresses this influence.
8 Connecting LOGO! outputs DM8 24Q5MQ6loadQ1Q2LOGO! with transistor outputsWiringYou can connect different loads to the outputs, e.g.:lightsmotorsswitchesetc. ...max. switched current per output is 0.3 Amax. switched current per output is 10 A / for expansion modules 5 AQ2Q112Q5Q6DM8...RloadN / ML1 / L+LOGO! with relay outputs
9 Connecting LOGO! outputs GroundProfile railLOGO! withanalog outputsWiringYou can connect different devices to analog outputs, e.g.:frequency converter to control drivesOutput signals: *)0-10V0-20mA4-20mA*) 6ED MM00-0BA0: V 6ED MM00-0BA1: V and 0/4..20mA.
10 Connecting LOGO! TD text display Connection interface for LOGO! TD CableLOGO! ..0BA6 basic moduleWiringBeispiel: TextZweite EbeneDritte EbeneVierte EbeneFünfte EbeneFunction keysStandard LOGO! keysLOGO! TD Cable 2,5m,extendable to up to 10 meters with standard Sub-D serial cableunipolar power supply connector12V DC, 24V AC/DCRecommended fuse: 0,5A
11 LOGO! reaction when switched on depends on: whether a program is stored in the internal LOGO! memoryorwhether a memory card (memory module) is connectedWiringLOGO!No Program Press ESCsNo program on memory card and no program in internal memoryWarning!If there is a program on the memory card, it is automaticallycopied to the internal LOGO! memory when switching on . Any program in the internal LOGO! memory is overwritten.LOGO!> Program.. Card.. Setup.. StartsProgram on memory card or program in internal memory
12 LOGO! reaction when switched on depends on: in which state LOGO! was prior to POWER–OFFPrior to power-offAfter power-onWiringLOGO!Q1sLOGO!> Program.. Card.. Setup.. StartsIn editing mode or menu in stop statusPrior to power-offAfter power-onLOGO!I :sLOGO!I :sIn RUN time
13 Connectors Connectors (CO) AI1 AQ1 C I1 Q1 AI2 AQ2 I2 Q2 AI3 I3 Q3 . . .I21 Q13I22 Q14I23 Q15I24 Q16Inputs/outputsbasic/pure- variantsAI1AI2AI3.AI8M1M8M25M26M27hiloAQ1AQ2AM1.AM6Analog I/OCCursor KeysI3-I6 up to 5 KHz switching- frequency on DCpowered optionsIntegrated functionsFlags/Analog flagsF1F2F3F4LOGO! TD Function keysInitialization flagBacklight flagsCharacter set flagSignal status„1“„0“Connectors
15 Series circuit normally open contact AND functionA 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.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.Symbol for this connection isS2S3H1S1Integrated functions&S1S2xH1ANDS3Series circuit normally open contactLogic table for AND block:Input 3Output1Input 2Input 1Output of the AND function is 1 only when all inputs are 1.If one input pin of this block is not connected, the status is automatically 1.
16 Parallel circuit normally open contact OR functionTo 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.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 isS1S2H2S3Integrated functionsParallel circuit normally open contact>S1S2S3H2ORxLogic table for OR block:Input 3Output1Input 2Input 1Output of the OR function is 1, when at least one input is 1.If one input pin of this block is not connected, the status is automatically 0.
17 AND with edge triggering S1S2H2S3Electro mechanical counter516S1S2S3H2Integrated functionsAND with edge triggering&S1S2xH2S3Output of AND with edge triggering is 1, only when all inputs are 1 and in the previous cycle at least one input was 0. If one input pin of this block is not connected, the status is automatically 1.
18 NAND (not-AND) function 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.In words S1 and S2 and S3 have to be switched for the light H2 not to burn.Symbol for this connection isS1S2S3H2Integrated functionsParallel circuit normally closed contact&S1S2S3H2NANDxLogic table for NAND block:Input 3Output1Input 2Input 1Output of NAND is 0, only when all inputs are 1.If one input pin of this block is not connected, the status is automatically 1.
19 NAND (not-AND) with edge triggering S1S3H2516S1S2S3H2Integrated functionsElectro mechanical counterNAND with edge triggeringOutput of NAND with edge triggering is 1, only when at least one input is 0 and in the previous cycle all inputs were 1.If one input pin of this block is not connected, the status is automatically 1.&S1S2S3H2x
20 Series circuit normally closed contact NOR (not-OR) functionA 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.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 isS1S2H1S3Integrated functionsNOR>1S1S2S3H1xSeries circuit normally closed contactLogic table for NOR block:Input 3Output1Input 2Input 1Output of NAND is 1, only when all inputs are 0. As soon as any input is switched (status 1), the output is switched off. If one input pin of this block is not connected, the status is automatically 0.
21 XOR functionA 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.Symbol for this connection isS1S2H1Integrated functionsXOR=1S1S2H1Logic table for XOR block:Input 2Output1Input 1Output of XOR is 1, when inputs have different states.If one input pin of this block is not connected, the status is automatically 0.
22 NOT functionA look at the circuit diagram shows that the light H1 is only on, when the switch S1 is not switched.This circuit is called NOT logic.Symbol for this connection isS1H1K1Integrated functionsNOT1S1H1Output 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.Logic table for NOT block:Output1Input 1
24 Timer – On-delay Diagram: 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 isS1K1MIntegrated functionsDiagram:TrgQTaT(Timer active)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.
25 Timer – Off-delay Diagram: 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 isS1K1MIntegrated functions(Timer active)TrgQTaTRDiagram: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.
26 Timer – On-/Off-delay Diagram: A look at the circuit diagram shows that:when S1 is closed, contact K1 closes with a delay time and the motor runs.when S1 is opened, contact K2 opens with a delay time and the motor stops.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 isK1S1MK2Integrated functionsTrgTLQTHDiagram: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.
27 Timer – Retentive On-delay 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.This function is called retentive On-delay.Symbol for this connection isS2K1K2MS1Integrated functionsTrgRTaQTDiagram: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.
28 Timer – Wiping relay (pulse output) 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 isT1S1H1Integrated functionsTrgTaQDiagram: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.
29 Timer – Edge triggered wiping relay A look at the circuit diagram shows that the light H1 remains on for the time specified on the timer T1 when the switch S1 is closed.Symbol for this connection isT1S1H1Integrated functionsTrgTaQTDiagram: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 theoutput remains switched on.
30 Timer – Weekly timerThe output is controlled via a specified on–/ off–date. The function supports any combination of weekdays. You select the active weekdays by deselecting the inactive days.MonTueWedThursFriSaSoOnOffIntegrated functions:Cam 107301605:Cam 208001200:Cam 310001230WednesdayDescription of the function:Every weekly timer has three cams. You can configure a time hysteresis for each cam. Within the cam setting you 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.Monday
31 Timer – Yearly timer Description of the function: Every yearly timer has an on- and off-timer. At the specified on-time the yearly timer switches on the output. At the specified off–time the yearly timer switches off the output. The off–date specifies the day/year on which the output is reset to 0 again.By selecting the option field“Monthly”, the timer switches on or off at a specified day each month.“Yearly”, the timer switches on or off each year at a specified month and day.“Pulse Output”, the timer output switches on at the specified On Time for one cycle. Then it is reset.Integrated functionsJanFebMarAprMayJunJulAugSepOctNovDecOn 05.10Off 10.20
32 Timer – Asynchronous pulse generator The pulse profile of the output can be customized via pulse/ pause ratio.Symbol for this function isDiagram:Integrated functionsEnQpulse period / pause widthInvDescription 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.
33 Timer – Random generator With a random generator the output is switched on and off again within a specified time.Symbol for this function isDiagram:Integrated functionsEnQmax. ON delay / max. OFF delayDescription 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.
34 Timer – Stairway lighting switch 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 isDiagram:TaTrgQT (OFF delay)1s15sIntegrated functionsDescription 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).
35 Timer – Multiple function switch Switch with two different functions:Pulse switch with off delaySwitch (continuous lighting)Symbol for this function isIntegrated functionsQTrg5s>20sDiagram: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 isswitched on continuously. If the input Trg is switched once again from 0 to 1 and again to 0, the output Q is switched off.
36 Counter – Up and Down counter 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:Integrated functionsCntS1Dir66555S24443333222-+11C1CounterR>=5QH1Description 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.
37 Counter – Hours counter 1234MN = MIMN = 0QRalEnROTIntegrated functionsDescription 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 time–to–go MN. LOGO! displays the times in parameter assignment mode. Output Q is set to 1 when the time–to–go MN = 0. Use input R to reset output Q and time–to–go counter to the specified value MI. The internal counter OT continues the count. Use input Ral to reset output Q and the time–to–go counter MN to the specified value MI. The internal counter OT is reset to 0.
38 Counter – Threshold trigger The output is switched on and off, depending on two specified frequencies.Symbol for this function isDiagram:FreQgate timeFre > OnFre > OffFre < OffFre < OnFre =12Fre = 5Fre = 3On = 10 Off = 4Integrated functionsDescription of the function: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.
39 Analog – Analog threshold trigger Diagram:Description of the function:The output is switched on when the analog value exceeds a specified on threshold. The output is switched off when the analog value drops below a specified off threshold (hysteresis).This function reads the analog value AI1 to AI8 as a value between 0 and The offset parameter is then added to the analog value. The result is multiplied by the gain parameter. Output Q is set to 1 if this value exceeds the on threshold (On). Q is reset to 0 again after the value drops below the off threshold (Off).Integrated functions
40 Analog – Analog comparator Description of the function:The function calculates the difference between the analog values Ax-Ay. The offset parameter is added to the difference.Then the difference is multiplied by the gain parameter.If this differential value exceeds the parameterized threshold, output Q is set to 1. Q is reset to 0, when the threshold drops below again.Integrated functionsDiagram:
41 Analog – Analog differential trigger Description of the function:The function reads the analog value of the signal at analog input Ax. This value is multiplied by the gain parameter. The offset parameter is added to the analog value. Output Q is set or reset depending on the specified threshold (On) and the differential value ( ).Integrated functionsDiagram:Timing diagram A: Function with negative differential delta valueTiming diagram B: Function with positive differential delta value
42 Analog – Analog watchdog 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 will be saved. This saved value is called “Aen”. The updated values Ax and Aen are each multiplied by the gain parameter. Then the offset parameter is 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 +/Threshold 1 defines the difference value above Aen, Threshold 2 defines the difference value below Aen.Integrated functionsDiagram:12
43 Analog – Analog amplifier Description of the function:The function reads the analog value of the signal at analog input Ax. This value is multiplied by the gain parameter. Then the offset parameter is added to the analog value, i.e. (Ax * gain) + offset = updated value Ax. Output AQ shows the updated value Ax.Integrated functions
44 Analog – PI controller Description of the function: 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. 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 of the formulas.The updated value PV is used within the formulas. Updated value PV = (PV * gain) + offsetIf the updated value PV = SP, then the function does not change the value of AQ. With a disturbance, AQ continues to increase / decrease until the updated value PV again corresponds to SP. The speed with which AQ changes depends on the parameters KC and TI. If the input PV exceeds the parameter Max, then the updated value PV is set to the value of Max. If the PV falls short 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.Integrated functions
45 Analog – PI controller Parameter: Sensor: Type of sensor used Min: Minimum value for PVMax: Maximum value for PVGain: Gain for PVOffset: Zero offset for PVSP: Set point assignmentMq: Value of AQ in manual mode Parameter sets: applied presets for KC, TI and DirKC: GainTI: Integral timeDir: Action direction of the controller Number of decimal places in message textIntegrated functions
46 Analog – PI controller Parameter sets: To simplify the use of the PI controller, parameters for KC, TI and Dir are preset as sets for the following applications:Parameter SetApplicationsParameter KCParameter TI (s)Parameter DirTemperature fastTemperature, low temperature control for small rooms; small volumes0.530+Temperature slowHeater, ventilation, temperature, low temperature control for large rooms, large volumes1.0120Pressure 1Fast pressure change,compressor control3.05Pressure 2Slow pressure change,Differential pressure control(flow control)1.212Filling level 1Barrel, container filling without downpipe/ drain1Filling level 2Barrel, container filling with downpipe/ drain0.720Integrated functionsParameters can manually be specified via the parameter set “User defined”.
47 Analog – Ramp 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 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 from value StSp + offset to either level 1 or level 2 at the acceleration set in Rate.If the input St is set, the function runs to the value StSp + offset at the acceleration set in Rate. Then the function issues the value StSp + offset at output AQ for 100 ms. Finally offset is issued at output AQ.If the input St is set, the function can only be restarted once the inputs St and En have been reset.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.Integrated functions
48 Analog - Ramp Parameter: Gain: Gain for AQ in message text Offset: Zero offset for AQ in message textL1 and L2: Levels to be reachedLargest output value: Maximum value that must not be exceeded under any circumstancesStart/ 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 textIntegrated functions
50 Analog – Analog MUX Description of the function: 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 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 dynamically changed in runtime (e.g. via potentiometer at an analog input).Integrated functions
51 Analog – Pulse Width Modulator (PWM) Integrated functionsDescription of the function:The PWM function modulates the analog input value Ax into a pulsed digital output signal. The pulse width is proportional to the analog value Ax.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 AxThe 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.
52 Analog – Pulse Width Modulator (PWM) Calculation rule :Q = 1, for Ax / (Max - Min) of time period PT Q = 0, for PT - [Ax / (Max - Min)] of time period PTNote: 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 functionsExample 1:Periodic time (PT) = 4 sec.Ax = 5001) 500 / (1000-0) = 0,52) 4 sec. * 0,5 = 2 sec.Q = 2 sec. high , 2 sec. lowExample 2:Periodic time (PT) = 10 sec.Ax = 3001) 300 / (1000-0) = 0,32) 10 sec. * 0,3 = 3 sec.Q = 3 sec. high , 7 sec. low
53 Analog - Analog Math Description of the function: The function combines four values and three operators to form an equation. The operator can be any one of the four standard operators:+ , - , x , /For each operator, you must set a unique priority of High ("H"), Medium ("M"), or Low ("L").The high operation will be performed first, followed by the medium operation and the low operation. The operand values can reference another previously-defined function to provide the value.You can also configure the behavior of the function when the Enable parameter "En"=0.The function block can either retain its last value or be set to 0.The result is an internal analog value ( ). A result out of this range causes an overflow-error.Operator / PriorityValue 1Value 2Value 3Value 4Integrated functions
54 Analog - Analog MathExamples:Integrated functions
55 Miscellaneous - Analog Math Error Detection Integrated functionsDescription 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.
56 Miscellaneous – Latching relay A look at the circuit diagram shows that the coil K1 has current with the pushbutton S1. The switch K1 closes (latch).This function is called latching relay.Symbol for this connection isS2K1MS1K2Integrated functionsSRQDiagram:Description of the function:Input S sets output Q, input R resets output Q again.
57 Miscellaneous – Pulse relay A look at the circuit diagram shows that the light H1 is switched on and off with the pushbuttons S1 or 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 isK1S1S2H1Integrated functionsTrgRQDiagram: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.
58 Miscellaneous – Message text Integrated functionsFeatures:Only one programming tool for basicmodule and LOGO! TDSelection / enabling of differentcharacter setsUp to 24/32 characters per line(depending on selected character set)Ticker textSelection of message destinationBar graph functionalityDisplay state of analog input valuesDigital I/O statesDisplay of remaining time of alltimers (except weekly/yearly timer)
59 Miscellaneous – Message text Display of a configured message text in run mode.Symbol for this function isIntegrated functionsDescription of the function:With a 0 to 1 transition of the input signal and when the system is in RUN, the corresponding message text is output to the display. The message text is hidden when the status of the signal at input changes from 1 to 0. When multiple message text functions are triggered with En=1, the message text that has the highest priority is shown. Changing between the standard display and the message texts display is possible by using the keys and If “acknowledge message” is chosen, the respective message text will be hidden by pressing any key on LOGO!, if En=0.LOGOOK1234Motor onESCI :Alarm!Current Temp97 °Cs
60 Miscellaneous – Message text Selection/enabling of character sets To be able to use all features of the message text function in LOGO! ..0BA6, “Use new feature” must be enabled(File -> Message text settings).LOGO! ..0BA6 supports several languages.To ensure, that all characters of a language used in a message text can be displayed correctly, it is necessary to activate an accordant character set.Integrated functions6 character sets are available *)ISO_8859_1German, English, Italian, Spanish (partly), Dutch (partly)ISO_8859_5RussianISO_8859_9TurkishISO_8859_16FrenchGBKChineseSJIS *)Japanese (partly)*) since E-Stand 3 (ES3)
61 Miscellaneous – Message text Selection/enabling of character sets (e.g. ISO_8859_1)Integrated functionsIn the same message text 2 different character sets can be selected.By using the Flag M27 character set 1 or character set 2 gets activated.Character set 2(e.g. GBK)
62 Miscellaneous – Message text Settings for the ticker text 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 orLine by lineIntegrated functionsCharacter by character …(one character after another tickers through the display)… or Line by line.(the display alternates between the 1st half and the 2nd half of the message text)1st half2nd halfIn the function block message text you can choose “Character by character” or “Line by line” and enable one or more lines which shall be tickered.
63 Miscellaneous – Message text Settings for the ticker text 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).Integrated functions“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 displayLOGO! TDBoth displays
64 Miscellaneous – Message text Inserting bar graphs Example 1:Step 1: Click at„Insert a bar graph into the message“Step 2: Select a function block which is already placed in the circuit diagram to indicate its value.Integrated functionsStep 3: Scale the bar graph by defining the range of the value, bar graph size and its direction on the display.The vertical adjustment of the bar graph is from the bottom to the top !
65 Miscellaneous – Message text Inserting bar graphs Example 2:The analog value of a temperature sensor (PT100) is to be indicated over its entire measuring range as bar graph horizontally in the message text.Integrated functionsThe horizontal adjustment of the bar graph is from left to right !
66 Miscellaneous – Message text Status indication of the analog input values 2 analog input values (AI) can be displayed in one message text if they are used in the circuit diagram.The value is updated according to the “analog input filter timer”.Integrated functions
67 Miscellaneous – Message text Analog input filter timer If an analog input value is indicated in a message text, via the menu itemFile -> Message Text Settings can be defined, how often LOGO! refreshes the analog values in a message text.Integrated functions
68 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. With the LOGO! 0BA6 series, you can display this name of a digital I/O state in a message text.Example:Integrated functionsStep 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.
69 Miscellaneous – Message text Status indication of the digital inputs/outputs Step 3:Select “Digital Inputs”Integrated functionsStep 4:Automatically the first input “I1” is selected.Type in a text you want to display for both states of “I1”.
70 Miscellaneous – Message text Status indication of the digital inputs/outputs Step 5:Do the same for “Digital Outputs” and display the state of “Q1”.Integrated functionsNow try out the program in simulation mode!
71 Miscellaneous – Message text Static editor (Edit manually) LOGO! Soft Comfort V6.1 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. 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.Integrated functions
72 Miscellaneous – Softkey Diagram:Description of the function:This special function has the effect of a mechanical pushbutton or switch. In parameter 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 function was configured for pushbutton or switching action is of no concern here. The output is reset to “0” in the following three cases:After a 0 to 1 transition at input En.When the function was configured for momentary pushbutton action, and one cycle has expired since it was switched on.When the position “Off” was selected at the “Switch” parameter and confirmed with OK in parameter assignment mode.Integrated functions
73 Miscellaneous – Shift register Description of the function:The function reads the value at input In with a positive edge at input Trg. This value is 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 previous value at S1 is shifted to S2; the previous value at S2 is shifted to S3 etc.Output Q returns the value of the configured shift register bit. If retentivity is disabled, the shift function restarts at S1 to S8 after a power failure. When enabled, retentivity always applies to all shift register bits.Diagram:Integrated functionsS4 = Q (example)Shift upShift down
74 Operation on device s No Program Press ESC LOGO! s Have you designed a circuit?Do you want to enter it into LOGO! ?How do you do this?LOGO!No Program Press ESCOKESCsConnect LOGO! to the power supply and switch it on. The display now shows you this message.Operation on deviceLOGO!> Program.. Card.. Setup.. StartOKESCsPress to get to the main menu.ESC
75 Main menu / programming menu > Program.. Card.. Setup.. StartOKESCsThe first character in the first line is the ”>” cursor. Press to move the ”>” cursor up and down.Move it to “Program..” and confirm withLOGO! opens the programming menu.LOGO!> Edit.. Clear Prg Password Msg ConfigOKESCsOKOperation on deviceLOGO!> Edit Prg Edit Name AQ Memory?OKESCsHere you can also move the ”>” cursor by pressingMove the ”>” cursor to ”Edit..” and confirm withIn the next sub-menu please chose “Edit Prg.” You are now in programming menu.OKLOGO!OKESCB1 Q1sPress to select all output, marker and open connectors.The following applies when you edit a circuit: ....
76 LOGO! - rules for operation QQ11. You have to create your circuit by working from the output to the input.B002Q1&QOperation on device2. You can connect an output to several inputs.B002>B001Q2B0023. You can’t connect an output to an upstream input within the same path (recursion).&Q&
77 LOGO! - rules for operation 4. You can move the cursor with if it appears in the form of an underscore ( _ ) :Operation on deviceQ1B01B02I1x&I31xx
78 LOGO! - rules for operation 5. When the cursor appears as a solid square ( ), press with to select a connector (Co), a basic function (GF) or a special function:Confirm withPress to return to the previous step.OKB1Operation on deviceESCIn1&In2Q1SFQ1In3In4B1B1B1B1I1CoIn1In1&&&&In2In2In2In2Q1GFQ1OKQ1OKQ1OKQ1OKIn3In3In3In3In4In4In4In4B1B1I2In1&>1In2In2Q1CoQ1Q1In3In3In4In4
79 Your first LOGO! program Let us now take a look at the following parallel circuit consisting of two switches.Circuit diagramS1S2K1The load is switched on with S1 or S2.Operation on deviceK1E1Solution with LOGO!>1I1I2XQ1LOGO! interprets the parallel circuit of S1 and S2 as an ’OR’ logic, because S1 or S2 switches on the output.X
80 WiringL1NS1LOGO! 230RCOKQ1I1I2I3I4I5I6Q2Q3Q4S2I7I8ESCE1S1 switches input I1, while S2 switches input I2. The load (E1) isconnected to the relay Q1.Operation on devicesLet us now input the program (starting at the output and working towards the input). LOGO! initially shows the output Q1. You will see an underscore ( _ ) below the Q in Q1. It is called a cursor. The cursor indicates your current position in the program.
81 Program input s LOGO! s LOGO! s LOGO! Now press the key . The cursor moves to the left.LOGO!OKESCQ1sThe cursor indicates your current position in the program. At this point you only enter the first block (the OR block). Press to select editing mode.LOGO!OKESCsOperation on deviceOKQ1The cursor is displayed as a solid square ( ):Selected between the following by pressing :Connector (Co)Basic function (GF)Special function (SF)LOGO!OKESCsCo Q1
82 Program input s LOGO! s LOGO! s LOGO! Select with (GF) the basic functions and confirm withLOGO!OKESCGF Q1sOKLOGO!OKESCQ1B1>1In1In2In3In4sOperation on deviceThe AND is the first block of the basic functions (GF) list.You can choose between the following by pressing :ANDAND (edge)NANDNAND (edge)ORNORXORNOTSelect the OR block ( >1 ) and confirm withLOGO!OKESCQ1B1>1In1In2In3In4sOK
83 Program input s LOGO! s LOGO! s LOGO! B1 OKESCQ1B1>1CoIn2In3In4sYou have now entered the first block. Each new block is automatically assigned a block number (B1). Now you interconnect the block inputs (B1).PressThe cursor is displayed as a solid square( ):You can choose between the following by pressing :Connector (Co)Basic functions (GF)Special functions (SF)Please select Connector (Co) and confirm withThe first element of the list (Co) is input I1 Confirm with The underscore cursor automatically jumps to the next input (In2) that needs to be allocated.OKLOGO!OKESCQ1B1>1I1In2In3In4sOperation on deviceOKLOGO!OKESCQ1B1>1I1In2In3In4sOK.
84 Program input s LOGO! s LOGO! s LOGO! OKESCQ1B1>1I1CoIn3In4sNow you connect input I2 to the input of the OR block. You already know how to do this:1. Switch to editing mode: Press2. To select the Co list: Press3. To confirm the Co list: Press4. To select I2: Press5. To apply I2: PressWe do not need the last two inputs of the OR block for this program. In the LOGO! program you mark the unused inputs with an ’X’. The process is the same:1. Switch in editing mode: Press3. To accept the Co list: Press4. To select X: Press5. To apply X: PressOKOKLOGO!OKESCQ1B1>1I1I2In3In4sOperation on deviceOKOKOKsOKB1I1I2>1Q1XXESCOKLOGO!
85 Program start s LOGO! LOGO! s > Edit Prg Edit Name AQ Memory? LOGO! B1I1I2>1Q1XXESCOKNow all block inputs are connected. For LOGO! the program is complete.You can review your first program by pressing the cursor with the 4 arrow keys ( _ ) and moving through the program.We now exit program input mode and return to the programming menu with The program is automatically saved in the internal memory (E2PROM).To start the program, return to the main menu withMove the cursor to “Start”: Press To confirm pressLOGO!LOGO!> Edit Prg Edit Name AQ Memory?OKESCLOGO!sESCOperation on devices> Edit.. Clear Prg Password Msg ConfigESCOKESCOKsProgram Card Setup > StartESCOKLOGO!
86 LOGO! in RUN mode 1 In RUN mode LOGO! shows the following display: Let us have a look at our example:L1S1=1S2=0I :NQ1Tu 09:14Q :1AI :Status of inputsInput I status is „1“Input I status is „0“Status of outputsOutput Q status is „1“Output Q status is „0“11Operation on deviceThe window to the left displays time and date.The window in the middle displays the inputs states (I1 to I9; I10 to I19; I20 to I24).The window to the right displays outputs 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.
87 LOGO! parameterization mode Parameterization of functions:When speaking of parameterization, we refer to theconfiguration of functions.You can configure the parametersin programming modeorin parameter assignment modeYou can configure:the delay times of timer functionsthe switching times of timer switchcounter thresholdsthe monitoring interval for a hour counteron and off threshold for a trigger thresholdand some other functionsTo get to configuration mode press in RUN mode, set the cursor to Set Param and confirm withLOGO! 12/24 RCLOGO!OKESCI :sOperation on deviceLOGO! 12/24 RCLOGO!OKESCStopSet ParamSet..Prg Name>sESCOK
88 LOGO! parameterization mode B2T =10:00sTa =00:00OKESCsBlock selection:Choose In parameterization mode the desired block withIf the desired block is chosen, press The cursor jumps to the first parameter that can be modified. The value can be changed pressing the arrow keysIf the desired value is configured, then pressThe next blocks requiring modification, can be chosen with etc..OKB2T =15:00sTa =00:00OKESCLOGO!sOperation on deviceOKB2T =15:00sTa =00:00OKESCLOGO!s
89 LOGO! parameterization mode To return to menu pressESCLOGO!B2T =10:00sTa =00:00OKESCs> Stop Set Param Set Prg NameOKESCLOGO!Operation on deviceTo return to RUN mode pressESCsI :OKESCLOGO!s
90 LOGO! ..0BA6 – setting the menu language You can select the menu language via the LOGO! menu and acknowledge with(LOGO! must be in Stop-mode).Available languages:EN – EnglishIT – ItalianNL – DutchES – SpanishFR – FrenchCN – ChineseDE – GermanTR – TurkishRU – RussianJP – Japanese *)LOGO!Program.. Card..> Setup.. StartsOKESCOKBeispiel: TextZweite EbeneDritte EbeneVierte EbeneFünfte EbeneLOGO!Clock..LCD..> Menu Lang BM AI NUMsOKESCOperation on deviceLOGO!sOKESC> ENThis setting can be separately done for LOGO! TD .*) since E-Stand 3 (ES3)
91 LOGO! ..0BA6 – backlight function Program.. Card..> Setup.. StartsOKESCBacklight function for the basic module:LOGO!Clock..> LCD.. Menu Lang BM AI NUMsOKESCTo activate the backlight of the LOGO! display permanently, follow these steps.Beispiel: TextZweite EbeneDritte EbeneVierte EbeneFünfte EbeneOperation on deviceLOGO!Contrast> BackLightsOKESCYou can select between:Default (Backlight is ON for 20 sec.or controlled by user program)Always OnLOGO!> DefaultsOKESCThis setting can be separately done for LOGO! TD .
92 LOGO! TD parameterization mode In the menu of LOGO! TD nearly the same menu items are available as in the menu of LOGO! basic module - except the possibility to edit the program.> Stop Set Param Msg ConfigSet..The following table shows on which device which menu items are available …Operation on deviceMenu itemLOGO! Basic moduleLOGO! TDIn STOP modeProgram..√-Card..Setup..LCD Contrast / BacklightMenu language2 or 4 AI used on basic moduleStart / Stop√ *)In RUN modeSet ParamMsg Config (e.g. Tick Time)*) Since E-Stand 4 (ES4) of LOGO! and LOGO! TD, switching into stop mode can be protected by password.
93 LOGO! program creation on a PC with LOGO! Soft Comfort V6.1 Support for LOGO! TDNo separate software necessaryModem wizardfor standard 11-bit analog modemsWindows Look and Feele.g. context menu, toolbarCreate the control programs by „drag and drop“Control programs „drawing“ – directly on a PC in FBD or LADTesting of control programsOffline simulation with status for each function (color change) and forcingOnline test in FBD and LAD with color change for each function and 30 actual valuesProfessional print and documentation functionsDevice selection0BA0, 0BA1, 0BA2, 0BA3, 0BA4, 0BA5, 0BA6 with function checkAdditionally on the CD ROM:Manual and 28 complete, usable examplesLOGO! Soft Comfort V6.1
94 Installing LOGO! Soft Comfort V6.1 2.LOGO! Soft Comfort V6.13.1. Insert CD (LOGO! Soft Comfort V6.1) in CD-ROM drive2. Display CD content with help of ExplorerDouble click on start.html
95 Installing LOGO! Soft Comfort V6.1 Start.html functionsDirect choice of 10 languagesSoftware installationDirect start of software from CD-ROMDisplay manuals on CD-ROMDisplay online helpChoice of example programs on CD-ROMChoice of CAD drawings on CD-ROMInstallation of necessary tools such as Acrobat Reader or printer driversLOGO! Soft Comfort V6.1
96 Installing LOGO! Soft Comfort V6.1 The USB cable driver for the LOGO! USB programming cable is also included on theCD-ROM. During the installation process of LSC V6.1 you will be asked if you want to install the driver.HINT: Follow the correct order !1. Install the driver (administrator privileges are required!)2. Then connect the LOGO! USB programming cable with your PCLOGO! Soft Comfort V6.1
97 LOGO! Soft Comfort V6.1 : Overview Standard WindowsPC -> LOGO!LOGO! -> PC!Title barMenu barSymbol bar for program installationTree structure for fast choice of all generation elementsSwitch to selecting modeDrawing of connection linesLOGO! Soft Comfort V6.1Display connectors (Co)Display basic functions (GF)Display special functions (SF)Text fields for additional commentsFor a better overview separation of connectionsOffline simulationOnline testControl program generation in the overview control plan via drag & drop
98 Help functions – online help The general help can be activated via the menu item Help -> Content. You can find further information sorted by functional groups in the contents.LOGO! Soft Comfort V6.1With a mouse click on the desired topic you get detailed information about the corresponding functional group.
99 Help functions – direct help Direct help can be selected via the context menu (right mouse key) of each function.LOGO! Soft Comfort V6.1
100 Help functions – direct help The direct help will also be activated via the menu item Help -> Context-sensitive Help. Via mouse pointer you can now select objects, you would like to have help text with.LOGO! Soft Comfort V6.1
101 Help functions – Update Center You can install program expansions, service packs and additional languages via the menu item Help -> Update Center.LOGO! Soft Comfort V6.1
102 Typical tasks for LOGO! P Cistern control When the water level drops below the level (I1), the drinking water supply (Q1) shall automatically be switched on. When the water level has reached the level (I2), the drinking water supply shall automatically be switched off again.PI3 (Pump OFF)I1 (drinking water supply ON)I2 (drinking water supply OFF)I4 (Pump OFF)Q1 (drinking water supply)LOGO! Soft Comfort V6.1
103 Step 1: Insert connectors (CO) How many inputs and outputs are necessary to solve the task?Within the tree structure on the left side of the software you can choose quickly and clearly all necessary input and output blocks, markers or constants (high, low) and all basic and special functions and you can place them on the configuration interface.1.LOGO! Soft Comfort V6.1After having chosen an element the following cursor will appear on the configuration interface:Move the mouse to the desired position. Clicking on the left mouse button inserts the block.2.
104 Step 2: Insert basic functions (GF) Which basic functions are necessary to solve the task?LOGO! Soft Comfort V6.12.1.After placing both inputs I1 and I2 and the 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.
105 Step 3: Insert special functions (SF) Which special functions are necessary to solve the task?LOGO! Soft Comfort V6.12.1.As the last function element a special 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.
106 Step 3: Insert special functions (SF) In this programming example the NOT function block could be replaced by a direct negation of the S-input of the latching relay function.LOGO! Soft Comfort V6.1Via 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.
107 Step 4: ConnectingTo complete the control circuit you need to connect the blocks with one another:1.LOGO! Soft Comfort V6.12.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.
108 Step 5: Insert text fields By inserting text fields the program can be understood more easily. With LOGO! Soft Comfort V6.1 there are several ways of embedding text into the program structure:Adding a comment to each block in the program via the context menu (right mouse key).LOGO! Soft Comfort V6.1
109 Step 5: Insert text fields By inserting a free text field.1.LOGO! Soft Comfort V6.1A3.2.4.
110 Step 6: Assigning connection names For better program readability, comprehensive names can be assigned to inputs and outputs in addition to the text fields.LOGO! Soft Comfort V6.1
111 Step 7: Moving elementsThe control program is completed with insertion of function blocks and their connections. 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.This tool has to be selected, when you want to move function blocks, text fields or connection lines.LOGO! Soft Comfort V6.1
112 Step 8: AligningTo design everything more neatly and more clearly, you can align the individual function blocks vertically and horizontally.This button has to be activated to align the highlighted function blocks vertically.LOGO! Soft Comfort V6.1Firstly the function blocks must be selected to align them.
113 Step 9: Parameterization of blocks With special functions and basic functions in addition to the dialogues for comments there also exists one or more dialogues for parameters. Here you can preset set points or settings for each particular function block.double clickLOGO! Soft Comfort V6.1In the configuration another address can be allocated for each single input and output block. Only inputs and outputs are regarded in the selection when they are not yet assigned in the control program.Select function block, click right mouse key and select menu item Block attribute.ORDouble click with left mouse key on the function block.
114 Step 9: Parameterization of blocks Additionally there is the possibility to change and check all block attributes centrally.LOGO! Soft Comfort V6.1
115 Step 10: Formatting texts Comments and text fields can be given user-designed formatting.LOGO! Soft Comfort V6.1
116 Step 11: DocumentationFor program documentation all used connectors, basic functions and special functions can be displayed.LOGO! Soft Comfort V6.1A 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.
117 Step 11: DocumentationFurther information about the program documentation can be viewed via the information window. It is shown at the bottom window frame by default.LOGO! Soft Comfort V6.1You can access the information window 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.
118 Step 11: DocumentationProgram and plant information can be entered under File -> Attributes on the properties dialogue General. They appear in the program printout in the footer.LOGO! Soft Comfort V6.1
119 Step 11: DocumentationThe program including the entered plant data can be viewed from the attribute window under File -> Print preview.LOGO! Soft Comfort V6.1
120 Step 11: DocumentationYou can select which documents shall be printed, under Properties… in the print preview window. By default the circuit diagram, the parameter list and the list with connection names are selected.LOGO! Soft Comfort V6.1
121 Step 11: DocumentationIt makes sense to divide the circuit diagram onto more pages for larger or more complex programs.LOGO! Soft Comfort V6.1
122 Step 11: DocumentationDue to the split-up of the program across several pages, connection lines might have to be separated.LOGO! Soft Comfort V6.1Connections 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.
123 Step 12: Program testingAfter configuration and documentation, program testing via offline simulation is the next step.LOGO! Soft Comfort V6.1Now 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.
124 Step 12: Program testingAn excellent tool is available for program testing.This toolhas to be selected when you want to test the program. With the activation of the offline simulation a tool bar for monitoring and operation of inputs and outputs is selected. A plug symbol provides a simulation of power failure to test the behavior in regards to retentivity.By clicking on the buttons on the tool bar or on the inputs in the circuit diagram you can change the status of the inputs. The signal run can be tracked with the color change from blue (low signal) to red (high signal) of the connection lines. This makes error tracking a lot easier.LOGO! Soft Comfort V6.1For time-critical simulations you can also set the output of a block (forcing), by clicking the output with the right mouse button.
125 Step 12: Program testingAs an additional program testing feature, each input can be allocated to a certain switch function.LOGO! Soft Comfort V6.1Each 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.
126 Step 13: Assign program password To protect the program and your know how you can place a valid up to 10-digit password for that program.LOGO! Soft Comfort V6.1This password protects your program only on LOGO!. There you can not delete, change or 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
127 Step 14: Transfer program to LOGO! With LOGO! Soft Comfort V6.1 you have the possibility to either first realize your circuit 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.LOGO! Soft Comfort V6.1In the device choice you can view for every LOGO! generation which resources are available. All available function blocks or resources are offered in configuration mode depending on the selected version.
128 Step 14: Transfer program to LOGO! After testing the program successfully you need to transfer it to the LOGO!. Therefore LOGO! has to be connected with the PC cable to the PC.You have to click on this button to transfer a circuit diagram to LOGO!. Before transferring, the LOGO! version required for the configured circuit program, is identified. If the configured circuit program cannot be transferred to the available LOGO!, an error message is displayed and the transfer is aborted.LOGO! Soft Comfort V6.1Upon successful transfer a message appears in the status bar.If the connection between LOGO! and PC is not established correctly, an error message will be displayed.
129 Step 15: Starting LOGO! P > > s s s After transferring the program LOGO! has to be set to RUN-mode. Then the program can be tested in real life.LOGO! 12/24 RCLOGO!OKESCProgram..Card..Setup..Start>sLOGO! 12/24 RCLOGO!OKESCProgram..Card..Setup..Start>sLOGO! 12/24 RCLOGO!OKESCI :sLOGO! Soft Comfort V6.1PI3I1I2I4Q1
130 Step 16: Online-TestAdditional to the offline simulation an online test can be done in FBD and LAD after transferring the program to the LOGO! device.To start the online test after transferring the program this button has to be activated After this the LOGO! device can be set into RUN-mode with this button To see now the online-status off the device the eyeglasses-symbol has to be activated Now you can simulate your program online on the device by using the real inputs.If you have to watch function blocks which contain actual values, you have to click at the eyeglasses-symbol below the respective block separately, e.g.:LOGO! Soft Comfort V126.96.36.199.
131 Step 17: Setting the clock With help of the software you can set the system clock of LOGO! as well. Of course, you can also set the time directly on the device.LOGO! Soft Comfort V6.1LOGO! and PC have to be connected via the PC cable to transfer the set time to LOGO!, then you have to click on the button Write.
132 Step 17: Setting the clock With LOGO! you have the possibility to configure an automatic summer / winter clock change. You can do this on the software or directly on the device.LOGO! Soft Comfort V6.1LOGO! and PC have to be connected via the PC cable to transfer the set summer / winter clock change to LOGO!. Depending on the chosen region this clock change is used.
133 Setting the position of analog inputs AI3 and AI4 With Set AI3 and AI4 position you can choose to enable the optional AI3 and AI4 on the LOGO! 0BA6 devices that have an option of four analog inputs. Your choices are as follows:2 AIs: Only AI1 and AI2 corresponding to input terminals I7 and I8 are available for use in your circuit program.4 AIs: AI1 and AI2 corresponding to input terminals I7 and I8 are available for use in your circuit program. Additionally, AI3 and AI4 corresponding to input terminals I1 and I2 are available for use.Set via software:Double-click at in your circuit programor go to File -> Properties -> Parameteror at LOGO! basic module:Setup > BM AI NUMBeispiel: TextZweite EbeneDritte EbeneVierte EbeneFünfte EbeneLOGO! Soft Comfort V6.1
134 Modem wizardLOGO! 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.LOGO! Soft Comfort V6.1
135 Modem wizard 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.LOGO! Soft Comfort V6.1The port settings must be as follows:Bits per second: 9600Data bits: 8Parity: EvenStop bits: 1Flow control: None
136 Modem wizardSelect the Tools -> Connect Modem menu command to start the wizard. LOGO! Soft Comfort V6.1 displays a dialog that guides you through the configuration process.1.LOGO! Soft Comfort V6.12.
137 Modem wizardFirst the remote modem has to be configured. This configuration has to be made via a direct connection between PC and modem.4.LOGO! Soft Comfort V6.15.Every modem that you configure gets a name. In the wizard default AT-commands are already entered which are used of most modems. You can type in other AT- commands if necessary for your modem. Disable default in this case.Now you can click at “Configure Remote Modem”.
138 Modem wizardNext step is to configure the local modem. The procedure is similar to the configuration of the remote modem.7.LOGO! Soft Comfort V6.18.The modem wizard 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.
139 Modem wizardAfter dialing the remote modem, you are able to up-/download the user program, set LOGO! in run/stop and do online- test.LOGO! Soft Comfort V6.1
140 Delete user program and password 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. *)In LOGO! ..0BA6 it is possible to delete user program and password by LOGO! Soft Comfort V6.1 .This function is especially helpful for LOGO! pure versions, where it is not possible to delete the program directly on the device via the keys. In generations prior ..0BA6, a memory cartridge was necessary to get the program deleted.Use Tool -> Transfer -> Clear User Program and Password.Beispiel: TextZweite EbeneDritte EbeneVierte EbeneFünfte EbeneLOGO! Soft Comfort V6.1*) since E-Stand 4 (ES4) only possible via software or memory card
141 Power-on Screen for LOGO! TD Use Tools -> Transfer -> Set LOGO! TD Power-on Screen to configure a power-on screen for the LOGO! TD. This screen gets displayed during LOGO! TD powers up.Beispiel: TextZweite EbeneDritte EbeneVierte EbeneFünfte EbeneLOGO! Soft Comfort V6.1
142 Miscellaneous options Other miscellaneous settings can be made via the menu item Tools -> Options.LOGO! Soft Comfort V6.1
144 Conveyor control I1 (ON/OFF) I3 I2 (filling) Q1 Function description: (light barrier)I2 (filling)Q1Function description:A bottle filling conveyor shall be controlled.Part 1The 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 (I3) is interrupted, the motor shall be switched off.Part 2When the sensor (I2) detects a bottle, the motor is to be switched off for 3 sec. (filling action). After that the motor runs again.Applicationexample
145 Solution: Conveyor control part 1 I1 (ON/OFF)I3(light barrier)I2 (filling)Q1Function description:Part 1The 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 (I3) is interrupted, the motor shall be switched off.ApplicationexampleInvertierterEingang
146 Solution: Conveyor control part 2 I1 (ON/OFF)I3(light barrier)I2 (filling)Q1Function description:Part 2When the sensor (I2) detects a bottle, the motor is to be switched off for 3 sec. (filling action). After that the motor runs again.ApplicationexampleEdge triggered wiping relay