This document contains 14 slides about the LOGO! automation and drives system. It discusses mounting and wiring LOGO!, basic functions like AND, OR, and edge evaluation logic, installing and uninstalling LOGO! modules, wiring inputs and outputs, and how LOGO! responds after power on depending on the state prior to power off. The slides include diagrams of LOGO! hardware configurations and examples of connecting sensors and loads to LOGO! inputs and outputs.
This document contains 14 slides about the LOGO! automation and drives system. It discusses mounting and wiring LOGO!, basic functions like AND, OR, and edge evaluation logic, installing and uninstalling LOGO! modules, wiring inputs and outputs, and how LOGO! responds after power on depending on the state prior to power off. The slides include diagrams of LOGO! hardware configurations and examples of connecting sensors and loads to LOGO! inputs and outputs.
This document contains 14 slides about the LOGO! automation and drives system. It discusses mounting and wiring LOGO!, basic functions like AND, OR, and edge evaluation logic, installing and uninstalling LOGO! modules, wiring inputs and outputs, and how LOGO! responds after power on depending on the state prior to power off. The slides include diagrams of LOGO! hardware configurations and examples of connecting sensors and loads to LOGO! inputs and outputs.
This document contains 14 slides about the LOGO! automation and drives system. It discusses mounting and wiring LOGO!, basic functions like AND, OR, and edge evaluation logic, installing and uninstalling LOGO! modules, wiring inputs and outputs, and how LOGO! responds after power on depending on the state prior to power off. The slides include diagrams of LOGO! hardware configurations and examples of connecting sensors and loads to LOGO! inputs and outputs.
Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Automation and Drives Slide 2 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Mounting and Wiring N K2 L1 K2 I : 0. , 1. , 2. 123456789 0123456789 01234 4 Automation and Drives Slide 3 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Hardware Configuration of LOGO! ..0BA3 Power supply Power supply expansion module RUN/STOP LED 4 outputs 4 inputs 2 sets of 4 inputs Slide for electrical connection 4 outputs Maximum Configuration: 24 digital inputs + 8 analog inputs + 16 digital ouputs Automation and Drives Slide 4 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Installing and Uninstalling LOGO! N P R S Installing Mount LOGO! on a DIN rail as follows: 1. Place LOGO! onto the DIN rail. 2. Swivel LOGO! around the DIN rail until the mounting slide at the rear is engaged. 3. Remove the cover of the connector located on the right side of the LOGO! Basic or LOGO! expansion module. 4. Place the digital module to the right of LOGO! Basic (see steps 1 and 2). 5. Slide the digital module left toward LOGO! Basic. 6. Using a screwdriver, press down and move the integrated slide to the left. The module is installed when the slide locks into place in the LOGO! Basic unit. Uninstalling Uninstall LOGO! as follows: 1. Using a screwdriver, press down and move the integrated slide to the right. 2. Slide the expansion module to the right, and 3. Insert a screwdriver into the loop on the bottom of the mounting rail and pull down. 4. Swivel the expansion module away from the DIN rail. 5. Follow steps 3 and 4 for the basic module. N O N O P Q Automation and Drives Slide 5 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Wiring LOGO! Connect LOGO! to the power supply as follows: j i H fN fO fP fQ fR i N i H k j i l dl >=KKKKK= a` = i l dl >=KKKKK= ^` = m= = ==E F=W NOLOQ=o` KKKW===MKU=^ OQW=======OKM=^ f=~== ~=I= ~=Ej l sF= =~= K==OMB = = ~=~= ~= ~K fN fO fP fQ i N k Automation and Drives Slide 6 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Connecting LOGO! Inputs L1 N N L1 I1 I2 I3 I4 I5 I6 L3 L2 L+ M M L+ I1 I2 I3 I4 I5 I8 Connect sensors to the inputs. Sensors include: Momentary-contact pushbuttons, maintained-contact switches, photoelectric light barriers, etc. Temperature, pressure, or ultrasonic sensors (Beros), etc., with 0 V to 10 V outputs direct to 2 analog inputs of the 12 and 24 VDC basic units or the AM2 analog module. Or the corresponding units with 0 mA to 20 mA/4 mA to 20 mA current output direct to inputs of the AM2 analog module. Program Program cycle The inputs of these units are grouped into 2 blocks with 4 inputs each. Different phases are only possible between the blocks, and not within the blocks. LOGO! 230 ... LOGO! 12/24 ... For LOGO! to detect a 0 or 1 switching status, the switching status must be present for at least one program cycle. The inputs of these units are non- isolated and thus require the same reference potential (ground) as the power supply. Automation and Drives Slide 7 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Connecting LOGO! Outputs N=======O n N n O N=======O n R n S N========O N=======O DM8...R n N n O j j n R n S j j DM8 24 Different loads can be connect to the outputs, e.g., Lamps, Motors, Contactors, etc. LOGO! with transistor outputs LOGO! with relay outputs Maximum switched current is 0.3 A per output Maximum switched current is 10 A/5 A per output for the expansion modules Automation and Drives Slide 8 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise LOGO! Response to Power ON Depends on: Whether a program is stored in the internal LOGO! memory Whether a program module is inserted LOGO! No Program Press ESC No program in the program module and no program in the internal memory LOGO! Program PC/Card.. Clock.. Start > Program in the program module or program in the internal memory If there is a program in the program module, it is automatically copied to the internal LOGO! memory. Any program already present in the internal LOGO! memory is overwritten. SIEMENS SIEMENS Automation and Drives Slide 9 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise LOGO! Response to Power ON Depends on: LOGO! Q1 SIEMENS Before Power OFF LOGO! I : 0. , 1. , 2. 123456789 0123456789 01234 Before Power OFF SIEMENS LOGO! state prior to power OFF LOGO! LOGO! After Power ON In editor mode In RUN mode If a power outage occurs while a program is being entered, the program is deleted once power is restored. After Power ON No Program Press ESC I : 0. , 1. , 2. 123456789 0123456789 01234 SIEMENS SIEMENS Automation and Drives Slide 10 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Basic Functions AND AND (Edge) NAND NAND (Edge) OR NOR XOR NOT Automation and Drives Slide 11 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (BF) AND Logic Operation The state of the AND output = 1 only if the state of all inputs = 1. An unconnected input pin in this block is automatically assigned state = 1. Input 2 Input 3 Output 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 Logic Table for AND Block: & S1 S2 x H1 AND S1 S2 H1 Referring to the circuit diagram, it can be seen that lamp H1 illuminates only if S1 and S2 are both closed. There is a dependency between the input and output states. The circuit shown on the right is referred to as an AND logic operation. This means that switches S1 and S2 must be energized in order for lamp H1 to illuminate. Symbolically, this operation is represented by . Input 1 Series circuit with normally open contacts Automation and Drives Slide 12 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (BF) OR Logic Operation The state of the OR output =1 if the state of at least one input = 1. An unconnected input pin in this block is automatically assigned state = 0. Input 2 Input 3 Output 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 Logic Table for OR Block: > S3 S4 x H2 OR For lamp H2 to illuminate, switch S3 or S4 must be closed. This dependency of the output state on the input states is referred to as an OR logic operation. This means that at least one of the two switches--S3 or S4-- must be closed in order for lamp H2 to illuminate. The symbol for this operation is Input 1 S3 S4 H2 Parallel circuit with normally open contacts Automation and Drives Slide 13 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (BF) AND with Edge Evaluation The state of the output of the AND with edge evaluation operation = 1 only if the state of all inputs = 1 and the state of at least one input during the previous cycle = 0. An unconnected input pin in this block is automatically assigned state = 1. & S1 S2 S3 H2 AND with edge evaluation S1 S2 S3 H2 S1 S2 H2 S3 Electromechanical counter 5 1 6 0 Automation and Drives Slide 14 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (BF) NAND Logic Operation The state of the NAND (Not AND) output = 0 only if the state of all inputs = 1. An unconnected input pin in this block is automatically assigned state = 1. Logic Table for NAND Block: & S1 S2 x H2 NAND (Not AND) Referring to the circuit diagram, it can be seen that lamp H2 is always illuminated, unless all of the switches are activated. The circuit shown on the right is referred to as a NAND (Not And) logic operation. This means that switches S1, S2, and S3 must be activated in order for lamp H2 not to be illuminated. The symbol for this operation is . Input 2 Input 3 Output 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 Input 1 Parallel circuit with normally closed contacts S1 S3 S3 H2 Automation and Drives Slide 15 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (BF) NAND with Edge Evaluation S1 S2 S3 H2 The state of the output of the NAND (Not And) with edge evaluation operation = 1 only if the state of at least one input = 0 and the state of all inputs during the previous cycle = 1. An unconnected input pin in this block is automatically assigned state = 1. & S1 S2 S3 H2 NAND with edge evaluation Electromechanical counter S1 S3 S3 H2 5 1 6 0 Automation and Drives Slide 16 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (BF) NOR Logic Operation The state of the NOR (Not OR) output = 1 only if the state of all inputs = 0. As soon as any input is switched on (state = 1), the output is switched off. An unassigned input pin in this block is automatically assigned state = 0. NOR (Not OR) S1 S2 H1 Referring to the circuit diagram, it can be seen that lamp H1 is illuminated only if normally closed switches S1 and S2 are not activated. The circuit diagram shown on the right is referred to as a NOR (Not OR) logic operation. This means that if at least one of the switches S1 or S2 is activated, lamp H1 is not illuminated. The symbol for this operation is . Input 2 Input 3 Output 0 0 0 1 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0 Logic Table for AND Block: Input 1 Series circuit with normally closed switches >1 S1 S2 x H1 Automation and Drives Slide 17 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (BF) XOR Logic Operation The state of the XOR (Exclusive OR) output = 1 if the state of the inputs is different. An unconnected input pin in this block is automatically assigned state = 0. XOR (Exclusive OR) S1 S2 H1 Referring to the circuit diagram, it can be seen that lamp H1 is not illuminated only if all of the switches are activated. The circuit diagram on the right is referred to as an XOR (Exclusive OR) logic operation. This means that if either switch S1 or switch S2 is activated, lamp H1 will illuminate. The symbol for this operation is . Logic Table for XOR Block: Input 2 Output 0 0 0 0 1 1 1 0 1 1 1 0 Input 1 =1 S1 S2 H1 Automation and Drives Slide 18 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (BF) NOT Logic Operation The state of the output = 1 if the input = 0, that is, NOT inverts the input state. One advantage of the NOT operation is that normally closed contacts are no longer needed for LOGO! A normally open contact is used and is converted to a normally closed contact with the NOT operation. An unconnected input pin in this block is automatically assigned state = 1. NOT (Exclusive OR) 1 S1 H1 Referring to the circuit diagram, it can be seen that lamp H1 is only illuminated if switch S1 is not activated. The circuit diagram on the right implements a NOT logic operation. The symbol for this operation is . S1 Logic Table for NOT Block: Output 0 1 1 0 Input 1 H1 K1 Automation and Drives Slide 19 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Special Functions On-Delay Off-Delay On/Off Delay Retentive On-Delay Latching Relay Pulse Relay Internal Time-Delay Relay Edge-Triggered Internal Time-Delay Relay Weekly Timer Yearly Timer Up/Down Counter Elapsed Time Counter Clock Pulse Generator Pulse Relay Random Generator Threshold Switch Staircase Lighting Time Delay Multifunction Switch Message Text Analog Threshold Switch Analog Comparator Softkey Automation and Drives Slide 20 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) On-Delay Function Description: If the state at input Trg changes from 0 to 1, the timer starts running. If the state at input Trg =1 for a sufficient amount of time, the output is set to 1 once time T expires. There is a delay in switching on the output as compared to the input. The output is reset to 0 if the state at input Trg = 0. If the state at input Trg changes back to 0 before time T expires, the timer is reset. The expired timer is reset after a power failure. Referring to the circuit diagram, it can be seen that the motor starts running only after the set time delay expires. This function is referred to as an on-delay. This means that the motor is switched on after a set time delay. The symbol for this function is . S1 K1 K1 M Diagram: Trg Q Ta T T (Timer active) Automation and Drives Slide 21 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Off-Delay Referring to the circuit diagram, it can be seen that the motor is switched off only after the set time delay expires. This function is referred to as an off-delay. This means that the motor is switched of after a set time delay. The symbol for this function is . S1 K1 K1 M Function Description If the state at input Trg = 1, the state at output Q switches immediately to 1. If the state at input Trg changes from 1 to 0, the timer in LOGO! is activated and the output state is retained. When the timer reaches the value set using T (Ta =T), the state at output Q is reset to 0. If the input Trg is switched on and off again, time Ta is restarted. Time Ta and the output are reset using input R (reset) before time T expires. Diagram: Trg Q Ta T (Timer active) R T Automation and Drives Slide 22 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) On/Off-Delay Referring to the circuit diagram, it can be seen: If S1 is closed, contact K1 closes after a time delay and the motor runs. If S1 is opened, contact K2 opens after a time delay and the motor stops. S1 K1 K1 M K2 K2 This function is referred to as an on/off delay. This means that the motor is switched on and off after a set time delay. The symbol for this function is . Function Description If the state at input Trg changes from 0 to 1, time TH runs. If the state at input Trg remains 1, the output is set to 1 once the time TH expires. If the input state changes back to 0, time TL runs. If the state at input Trg remains 0 for the duration of time TL, the output is set to 0 once time TL expires. Trg TL Q TH Diagram: Automation and Drives Slide 23 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Retentive On-Delay Function Description: If the state at input Trg changes from 0 to 1, the current time Ta starts running. When time Ta reaches time T, the state at output Q is set to 1. Output Q is reset to 0 only when the state at input R = 1. Further switching actions at input Trg have no influence on output Q. Referring to the circuit diagram, it can be seen that motor M runs after a set time delay following activation of momentary- contact pushbutton S1. Momentary-contact pushbutton S2 (normally closed) causes the motor to switch off again. This function is referred to as a retentive on-delay. The symbol for this operation is . Trg R Ta Q T S2 K1 K2 M S1 K1 K1 K2 Diagram: Automation and Drives Slide 24 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Latching Relay Referring to the circuit diagram, it can be seen that coil K1 is energized with momentary-contact pushbutton S1, causing maintained-contact switch K1 to close (latching). This function is referred to as a latching relay. The symbol for this operation is . S2 K1 M S1 K1 K1 K2 Diagram: S R Q Function Description Output Q is set by means of input S; output Q is reset by means of a second input R. Q S R Par Automation and Drives Slide 25 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Pulse Relay Function Description Each time that the state at input Trg changes from 0 to 1, output Q changes its state, i.e., the output is switched on or off. The state of the latching relay is set to 0 using input R. Referring to the circuit diagram, it can be seen that lamp H1 can be switched on and off with momentary-contact pushbuttons S1 or S2. This function is referred to as a pulse relay. This means that lamp H1 is switched on and off by a brief pulse in S1 or S2, respectively. The symbol for this operation is . K1 S1 K1 S2 H1 Diagram: Trg R Q Automation and Drives Slide 26 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Interval Time-Delay Relay/Pulse Output Referring to the circuit diagram, it can be seen that lamp H1 is illuminated only if maintained-contact switch S1 is closed, but at most for the time period set on timer T1. The symbol for this operation is . T1 S1 H1 T1 Diagram: Trg Ta Q Function Description If the state at input Trg = 1, the state at output Q immediately switches to 1. Simultaneously, the current time Ta starts in LOGO!, and the output setting is retained. When Ta reaches the value set using T (Ta =T), the state at output Q is reset to 0 (pulse output). If the state at input Trg changes from 1 to 0 before the specified time expires, the state at the output also changes immediately from 1 to 0. Automation and Drives Slide 27 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Edge-Triggered Internal Time-Delay Relay T1 S1 H1 T1 Diagram: Trg Ta Q T1 T T Referring to the circuit diagram, it can be seen that lamp H1 illuminates for a period of time set in timer T1 when maintained-contact switch S1 is activated. The symbol for this operation is . Function Description If the state at input Trg = 1, the state at output Q switches to 1. Simultaneously, time Ta starts. When time Ta reaches the value set using T (Ta=T), the state at output Q is reset to 0 (pulse output). If the state at input Trg changes back from 0 to 1 before the specified time expires (retriggering), time Ta is reset and the output remains switched on. Q Trg T Automation and Drives Slide 28 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Weekly Timer The output is controlled by means of an assignable on and off date. Any combination of weekdays is supported. Active weekdays are selected by removing inactive weekdays. Mo Tu We Th Fr Sa Su On Off 07 : 30 16 05 Cam 1 08 : 00 12 00 Cam 2 10 : 00 12 30 Cam 3 Wednesday Monday Function Description Each weekly timer has three cams which can be used to assign parameters for each time window. The on and off times are specified using the cams. Automation and Drives Slide 29 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Yearly Timer Function Description Each yearly timer has an on and off time. The yearly timer switches the output on at a specified on time and switches it off at a specified off time. The off date identifies the day when the output is to be reset to 0. Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec On May 10 Off Oct 20 Automation and Drives Slide 30 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Up/Down Counter Referring to the circuit diagram, it can be seen that the time pulse is generated with maintained-contact switch S1. Maintained-contact switch S2 determines whether the counter counts up or down. If the counter content has a value >= 10, the lamp is switched on. Function Description For every rising edge at input Cnt, the internal counter counts up by one (Dir = 0) or down by one (Dir = 1). If the internal counter value is equal to or greater than the value specified using Par, output Q is set to 1. The internal counter value and the output can be reset to 0 using input R. As long as R = 1, the output is 0, and pulses at input Cnt are not counted. C1 S1 S2 + - >=5 H1 Diagram: Cnt Dir R 1 2 3 4 5 6 5 4 3 2 3 4 5 6 Q 0 1 2 3 Counter Q R Par Dir Ent Automation and Drives Slide 31 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Elapsed Time Counter Function Description The elapsed time counter monitors input En. As long as the value at this input = 1, LOGO! quantifies elapsed time OT and the remaining residual time MN. LOGO! indicates the times in parameter assignment mode. If the remaining residual time MN = 0, output Q is set to 1. The reset input R is used to reset output Q and to set the counter for the residual time to the specified value MI. Internal counter OT resumes counting. The reset input Ral is used to reset output Q and to set the counter for the residual time MN to the specified value MI. The internal counter OT is reset to 0. 1 2 3 4 3 2 1 0 MN = MI MN = 0 Q Ral En 3 2 1 0 R OT Automation and Drives Slide 32 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Symmetrical Clock Pulse Generator Referring to the circuit diagram, it can be seen that lamp H1 flashes with a pulse time set using a clock pulse generator when maintained-contact switch S1 is activated. The symbol for this operation is . Function Description Parameter T is used to specify the length of the on and off time. En (Enable) is used to switch the clock pulse generator on. The clock pulse generator sets the output to 1 for time T, and then to 0 for time T, and so on, until EN = 0 at the input. The time T specified must be > 0.1 seconds at all times. G H1 S1 Diagram: En Q T T Automation and Drives Slide 33 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Asynchronous Pulse Generator The pulse form of the output can be modified by means of the assignable pulse/pause ratio. The symbol for this function is . Function Description Pulse length and pause length can be set by means of parameters. The time base can be divided into seconds, minutes, or hours. Both parameters have the same time basis, and a different setting is not possible. Input Inv causes the output to be inverted if the block is enabled by means of EN. Diagram: En Q Pulse length/Pause length Inv Automation and Drives Slide 34 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Random Generator Function Description If input En changes from 0 to 1, a random time of between 0 and 10 seconds is started. If En =1 for at least the duration of the on-delay time, the output is set to 0 when the on-delay time expires. If the state at input En changes back to 0 before the on-delay time expires, the time is reset. If input En changes from 1 to 0, a random time (off-delay time) of between 0 and 15 seconds is started. If En = 0 for at least the duration of the off-delay time, the output is set to 0 once the off-delay time expires. If the state at input En changes to 1 before the off-delay time expires, the time is reset. The random generator switches the output on or off within an assignable time. The symbol for this function is . Diagram: En Q Maximum On-Delay/Maximum Off-Delay Q Automation and Drives Slide 35 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Frequency Threshold Switch The output is switched on and off depending on two assignable frequencies. The symbol for this function is . Function Description The threshold switch measures the signals at input Fre. The pulses are detected over an assignable time period (peak time). If during the peak time, the measured values are greater than the upper threshold value, output Q switches on. Output Q switches off again when the measured values are less than the lower threshold value. SWOn is the on threshold. The permitted range is 0000 to 9999. SWOff is the off threshold. The permitted range is 0000 to 9999. Peak time is the time interval during which the pulses at Fre are measured. The permitted range is 0.05 seconds to 99.95 seconds. Diagram: Fre Q Peak time Fre > SWOn Fre > SWoff Fre < SWOff Fre < SWOn Fre =12 Fre = 5 Fre = 3 Fre = 5 Automation and Drives Slide 36 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Staircase Lighting Time Delay An assignable time runs following an input pulse (edge triggering). The output is reset after the time expires. An early shutdown warning is issued 15 seconds before the time expires. The symbol for this function is . Function Description If the state at input Trg changes from 0 to 1, the current time Ta runs and output Q is set to 1. Fifteen seconds before Ta reaches time T, output Q is reset to 0 for 1 second. If Ta reaches time T, output Q is reset to 0. Further switching actions at input Trg while Ta is running resets Ta (retrigger option). Diagram: Ta Trg Q T (Off-delay) 1 s 15 s Automation and Drives Slide 37 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Multifunction Switch Switch with two different functions: Pulse switch with off-delay Switch (steady light) The symbol for this function is . Function Description If the state at input Trg changes from 0 to 1, output Q is set to 1. If input Trg changes back to 0 before the steady light time expires, the output is reset to 0 after a time delay of 5 seconds. If the state at input Trg changes from 0 to 1 and remains 1 for at least 20 seconds, the steady light function is enabled and output Q is switched on for the duration. Further switching actions from 0 to 1 and back to 0 at input Trg causes output Q to switch off. Diagram: Q Trg 5 s >20 s Automation and Drives Slide 38 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Message Text Display of an assigned message text in RUN mode. The symbol for this function is . Function Description If the input state changes from 0 to 1, the appropriate message text is output on the display during RUN mode. If the input state changes from 1 to 0, the message text is removed. If more than one message text has been triggered with En=1, the highest priority message is displayed. It is possible using the keys to toggle between the standard display and the message text display. If acknowledge message is selected, the corresponding message text is removed only after pressing a button on LOGO!, provided En = 0. SIEMENS LOGO OK ESC 1 2 3 4 I : 0. , 1. , 2. 123456789 0123456789 01234 Motor on in 2 min 01:15 m Alarm! Pressure in % 95.0 Automation and Drives Slide 39 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Analog Threshold Switch Function Description The output is switched off if the analog value exceeds an assignable on threshold. The output is switched off if the analog value is less than an assignable off threshold (hysteresis). The function reads analog value AI1 or AI2. The offset parameter is then added to the analog value. This value is then multiplied by the gain parameter. If this value exceeds the on threshold (SW), output Q is set to 1. Q is reset to 0 if the value falls below the off threshold (SW). Note: In the effective range, the minimum and maximum must be assigned the same ones digit. Diagram Pinout Automation and Drives Slide 40 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Analog Comparator Function Description This function generates the difference between the analog values Ax and Ay. The offset parameter is then added to the difference. The difference is then multiplied by the gain parameter. If the difference of this value exceeds the assigned threshold, output Q is set to 1. Output Q is reset to 0 if the valued falls below the threshold again. Diagram Pinout Automation and Drives Slide 41 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise (SF) Softkey Function Description This logic function works like a mechanical momentary-contact pushbutton or a maintained-contact switch. If input En is set and the switch parameter is switched to On and confirmed with OK in parameter assignment mode, the output is switched on. Whether the function was configured as a maintained-contact switch or a momentary-contact pushbutton is irrelevant. The output is reset to 0 in the following three cases: If the state at input En changes from 1 to 0. If the function was configured as a momentary-contact push- button and a cycle has run since it was switched on. If the Switch parameter was switched to Off and confirmed with OK in parameter assignment mode. Diagram Q En Par Pinout Automation and Drives Slide 42 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Operating the Unit You have designed a circuit and want to input it into LOGO! What is the procedure? LOGO! OK ESC No Program Press ESC Connect your LOGO! unit to a power supply and switch on the power. The following display appears. . Press ESC to access the main menu. SIEMENS LOGO! OK ESC Program .. PC / Card .. Clock .. Start > SIEMENS Automation and Drives Slide 43 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Main Menu/Program Menu In the first position of the first line, you see a >. Using the keys, you move the > up and down. Move the > to Program and press . LOGO! switches to the program menu. LOGO! 12/24 RC OK ESC Program .. PC / Card .. Clock .. Start > OK LOGO! 12/24 RC OK ESC Edit Prg Prg Name Clear Prg Password > In addition, you can move the > up and down using the keys. Move the > to Edit Prg and press the key. LOGO! now displays the first output (Q1). OK OK ESC Q1 Using the keys, you can select the other outputs (Q1, Q2, Q3, etc.). When entering your circuit, take into account the following rules .... SIEMENS SIEMENS SIEMENS LOGO! Automation and Drives Slide 44 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Rules for Operating LOGO! 1. Always enter a circuit from the output to the input. I I1 Q Q1 Q Q1 & I1 > I2 & Q1 Q Q2 & I1 2. You can connect one output to more than one input. 3. However, you cannot connect an output to a input preceding it in the same path (no feedback loops). Automation and Drives Slide 45 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Rules for Operating LOGO! 4. If the cursor appears as an underscore (_), you can move it using the keys: Q1 B01 Q1 B01 Q1 B02 B01 I1 x & Q1 B02 B01 I1 x & B01 B02 I3 1 Automation and Drives Slide 46 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Rules for Operating LOGO! Use to accept the selection Use to go back one step OK OK Q1 BF Q1 SF Q1 Co Q1 B01 & Q1 B01 & Q1 B01 >1 OK Q1 B01 & OK Q1 B01 & Co Q1 B01 & x OK Q1 B01 & I1 5. If the cursor appears as a (solid block), you can use the keys to select a connector (Co), a basic function (BF), or a special function (SF). ESC Automation and Drives Slide 47 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Initial Program Refer to the following parallel circuit containing two switches. S1 S2 K1 K1 E1 v Switch S1 and switch S2 switch the load. The parallel circuit of S1 and S2 is an OR operation in LOGO!, because S1 or S2 switches on the output. >1 I1 I2 x Q1 Automation and Drives Slide 48 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Wiring L1 N S1 LOGO! 12/24 RC OK ESC Q1 I1 I2 I3 I4 I5 I6 L1 N Q1 Q2 Q3 Q4 S2 L N Switch S1 acts on input I1 and switch S2 acts on input I2. The load is connected at relay Q1. You now enter the program (from the output to the input!). To start, LOGO! displays output Q1. Below the Q of Q1, you see an underscore (_). We refer to the underscore as a cursor. The cursor indicates your current location in the program. SIEMENS I7 I8
Automation and Drives Slide 49 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Entering a Program Now, press the key. The cursor moves to the left. The cursor indicates your location in the program. You enter the first block (the OR block) at this location. Change to editing mode by pressing . OK The cursor now appears as a solid block ( ) :. Now, use the keys to select one of the following: Connector (Co) Basic function (BF) Special function (SF) LOGO! 12/24 RC OK ESC Q1 LOGO! 12/24 RC OK ESC Q1 LOGO! OK ESC Q1 Co SIEMENS SIEMENS SIEMENS Automation and Drives Slide 50 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Entering a Program Select the basic function using (GF) and confirm with . The first block on the list of basic functions (BF) is the AND block. Now use the keys to select one of the following: OK AND AND (Edge) NAND NAND (Edge) OR NOR XOR NOT Select the OR block ( >1 ) and confirm with . OK LOGO! 12/24 RC OK ESC Q1 BF LOGO! 12/24 RC OK ESC Q1 B01 & LOGO! OK ESC Q1 B01 >1 SIEMENS SIEMENS SIEMENS Automation and Drives Slide 51 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Entering a Program You have entered the first block. Each block that you enter has a block number (B01). Now all you have to do is connect the inputs of the block (B01). Press the key. OK The cursor now appears as a solid block ( ). Now, use the keys to select from the following: Connector (Co) Basic function (BF) Special function (SF) Select connector (Co) and confirm with . OK The first element in the list (Co) is an x, which is the character for input not used. Select input I1 using the keys. Confirm the selection with . OK LOGO! 12/24 RC OK ESC Q1 B01 >1 LOGO! 12/24 RC OK ESC Q1 B01 >1 Co LOGO! OK ESC Q1 B01 >1 I1 SIEMENS SIEMENS SIEMENS Automation and Drives Slide 52 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Entering a Program Now connect input I2 to the input of the OR block. You already know the procedure for this: 1. Change to editor mode with 2. Select the Co list with 3. Accept the Co list with 4. Select I2 with 5. Accept I2 with OK OK OK We do not need the last input of the OR block for this program. In a LOGO! program, we designate an unused input with an x. You now know the principle behind doing this: 1. Change to editor mode with 2. Select the Co list with 3. Accept the Co list with 4. Select x with 5. Accept x with OK OK OK OK ESC Q1 B01 >1 I1 SIEMENS LOGO! 12/24 RC OK ESC Q1 B01 >1 I1 I2 SIEMENS LOGO! OK ESC Q1 B01 >1 I1 I2 x SIEMENS Automation and Drives Slide 53 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Starting a Program Now, all inputs of the block are connected. LOGO! considers the program to be complete. LOGO! jumps back to output Q1. If you still want to view your initial program, you can move the cursor through the program using the keys. In order to be able to start the program, you must return to the main menu using the key. ESC LOGO! 12/24 RC OK ESC Q1 B01 OK ESC Edit Prg Prg Name Clear Prg Password > LOGO! 12/24 RC LOGO! OK ESC Program .. PC / Card .. Clock .. Start > Using the keys, move the cursor to Start and confirm with the key. OK SIEMENS SIEMENS SIEMENS However, we now leave the program entering step and return to the program menu using the key. ESC Automation and Drives Slide 54 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise LOGO! in RUN Mode LOGO! displays the following in RUN mode: Input states: State of input I = 1 State of input I = 0 1 1 Output states: State of output Q = 1 State of output Q = 0 1 1 Refer to our example below: If switch S1 is closed, input I1 is energized and the state of input I1 = 1. The LOGO! program determines the output states. In this example, the state of output Q1 = 1. If the state of Q1 = 1, LOGO! enables relay Q1 and the load at Q1 is energized. L1 S1 =1 S2 =0 I :0.,1.,2. 23456789 0123456789 01234 N Q1 =1 Mo 09:00 06.21.01 1 Q :0.,1. 23456789 0123456 1 The window on the left shows the time of day and the date. The window in the center shows the input states (I1 to I9; I10 to I19; I20 to I24). The window on the right shows the output states (Q1 to Q9; Q10 to Q16) Automation and Drives Slide 55 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise LOGO! 12/24 RC LOGO! OK ESC I :0.,1.,2. 123456789 0123456789 01234 SIEMENS LOGO! 12/24 RC LOGO! OK ESC Stop Set Param Set Clock Set Name > SIEMENS Assigning Parameters in LOGO! Assigning parameters of functions: You can assign the following: Time delays of time functions Switching times for timer switches Threshold for a counter Monitoring interval of an elapsed time counter On and off thresholds for the threshold switch By assigning parameters, we mean the assignment of parameters of functions. You can assign parameters in the following operating modes: Programming Parameter assignment You reach parameter assignment mode by pressing the key in RUN mode, placing the cursor on Set Param, and confirming with the key. OK ESC Automation and Drives Slide 56 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Assigning Parameters in LOGO! LOGO! 12/24 RC OK ESC B01:Par Lim=005 Cnt=000000 LOGO! 12/24 RC LOGO! 12/24 RC OK ESC B04: T T = 5.0s Ta=0.0s When the setting for the required block has been made, press the key. The cursor jumps to the first parameter to be modified. You can now modify the value using the keys. OK When the setting for the required value has been made, press the key. The cursor jumps to the block number. Using the keys, you can select the next block to be changed, and so on. OK LOGO! 12/24 RC LOGO! 12/24 RC LOGO! OK ESC B07: T T = 8.0s Ta=0.0s SIEMENS SIEMENS SIEMENS Select a block: In parameter assignment mode, select the appropriate block using the keys. Automation and Drives Slide 57 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Assigning Parameters in LOGO! ESC Use the key to return to the menu. ESC Use the key to return to RUN mode.
LOGO! 12/24 RC LOGO! 12/24 RC LOGO! OK ESC B07: T T = 8.0s Ta=0.0s SIEMENS LOGO! 12/24 RC LOGO! OK ESC Stop Set Param Set Clock Set Name > SIEMENS LOGO! 12/24 RC LOGO! OK ESC I :0.,1.,2. 123456789 0123456789 01234 SIEMENS Automation and Drives Slide 58 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Using LOGO! Soft Comfort 1. Place CD (LOGO!Soft Comfort) in CD-ROM drive. 2. Display the CD contents using Explorer. 3. Double-click on Setup.exe. 2. 3. Automation and Drives Slide 59 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Installing LOGO! Soft Comfort 4. Select a language and click OK to confirm 5. If you consent to the license agreement, click Continue to confirm 4. 5. Automation and Drives Slide 60 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Installing LOGO! Soft Comfort 6. 7. 6. Where is the program to be installed? If you do not want to accept the recommended file location: C:\Programs\Siemens\LOGOSoft_V2, specify another directory using Browse. 7. If you want to accept the recommended file location, click Continue to confirm. Automation and Drives Slide 61 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Installing LOGO! Soft Comfort 8. In this example, the program icon is to be placed on the desktop. Use Continue to proceed. Program is being installed. . . . . 8. Automation and Drives Slide 62 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Installing LOGO! Soft Comfort 9. The installation is finished. You can start the LOGO! Soft Comfort program immediately or later by double-clicking the icon on the desktop. 9. 9. Automation and Drives Slide 63 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Getting Started with LOGO! Soft Comfort Title bar Menu bar Symbol bar Toolbar Status bar Message window Program tab Automation and Drives Slide 64 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Help Functions General help is activated using the Help ->Content menu command. You can find additional information arranged according to subject in the content directory. By clicking on a topic of interest, you obtain detailed information on this subject. Automation and Drives Slide 65 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Help Functions Whats This? can be accessed by means of the context menu (click with the right mouse button) for each function. Automation and Drives Slide 66 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Help Functions Whats This? is also activated using the Help ->Whats This? menu command. Objects on which help is needed can now be selected by pointing the mouse. Automation and Drives Slide 67 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Help Functions Using the Help ->Update Center menu command, you can install additional languages, program upgrades, and service packs. Automation and Drives Slide 68 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Typical LOGO! Applications If the water level drops below level (I1), the drinking water supply is to switch on automatically. If the water level reaches level (I2), the drinking water supply is to switch off automatically. P I3 (Pump off) I1 (Drinking water supply on) I2 (Drinking water supply off) I4 (Pump off) Q1 (Drinking water supply line) Automation and Drives Slide 69 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 1: Inserting Connectors (CO) How many inputs and outputs are needed to solve this task? 1. The tool must be selected if you want to place input blocks, output blocks, memory bits, or constants (high, low) on the programming interface. 2. Then, the specific function blocks are selected using this symbol bar: 3. The following symbol now appears in the work area: Now, move the mouse to the required position. The function is inserted by clicking the left mouse button. 1. 2. 3. Automation and Drives Slide 70 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 2: Inserting Basic Functions (BF) Which basic functions are needed to solve this task? 1. Select the tool if you want to place simple basic logic elements of Boolean algebra on the programming interface. 2. A specific function block is selected using the symbol bar. 3. The following symbol appears in the work area: Now, move the mouse to the required position. The function is inserted by clicking the left mouse key. 1. 2. 3. Automation and Drives Slide 71 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 3: Inserting Special Functions (SF) Which special functions are needed to solve this task? 2. A specific function block is selected using the symbol bar. 3. The following symbol now appears in the work area: Now, move the mouse to the required position. The function is inserted by clicking the left mouse button. 1. Select the tool if you want to place additional functions on the programming interface. 1. 2. 3. Automation and Drives Slide 72 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 4: Connecting In order to complete the circuit, the individual blocks must be connected to one another: 1. The tool must be selected if you want to connect the inputs and outputs of the function blocks to one another. Now, point the mouse to a connection pin of a block and click using the left mouse button. Keeping the mouse button pressed, move the mouse until it is pointing at the pin that you want to connect to and release the mouse button. LOGO!Soft Comfort then connects the two pins together. This results in a connection between two block pins. Use the same procedure for the other connections. Automation and Drives Slide 73 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 5: Inserting Text Fields Inserting text fields makes the program easier to understand. LOGO! Soft Comfort gives you several options for inserting text in the program structure: 1. Use the context menu to inserting a comment for each block in the program. Automation and Drives Slide 74 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 5: Inserting Text Fields 2. Insert your own text field. A 1. 2. 3. 4. Automation and Drives Slide 75 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 6: Moving Once the function blocks are inserted and connected, the circuit program is done. Some follow-up work is needed, however, to obtain a view of the created circuit that is visible at a glance and easy to understand. Objects placed in the work area such as function blocks, lines, and text fields can be moved: 1. Select the tool if you want to move function blocks, text fields, or connection lines. Automation and Drives Slide 76 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 7: Aligning To achieve a more attractive and easier-to-view appearance for your program, you can align the individual function blocks vertically or horizontally. 1. First, the function blocks that are to be aligned must be selected. 2. Activate the button to vertically align the selected function blocks. Automation and Drives Slide 77 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 8: Assigning Parameters to Function Blocks In the case of special functions and basic functions, there us a tab for comments and one or more tabs for parameters. Here, you can specify values or settings that are to be adopted by the function block in its circuit. 1. Double-click the function using the left mouse button. 3. Another address can be assigned for each individual input and output block by means of block parameter assignment. However, only the inputs and outputs not already assigned in the circuit program are considered in the selection. 1. Select function and click using the right mouse button. 2. Select the Block Properties menu item. or 2. Automation and Drives Slide 78 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 8: Assigning Parameters to Function Blocks In addition, you have the option of changing and checking all of the block properties centrally. Automation and Drives Slide 79 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 9: Assigning Connection Names For the sake of clarity, you can also assign symbolic names for the input and output connectors in addition to the text fields in the program: Automation and Drives Slide 80 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 10: Formatting Comments Automation and Drives Slide 81 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 11: Documentation For purposes of program documentation, you can display all of the connectors, basic functions, and special functions used in the program. A list of all blocks used in the program is displayed using the Edit ->Go to Block menu command. The list contains information on the block number and the type of the block. For example, you can display the special functions that you used. You can enter the brief description of the block, I1, Q2, B02, etc., in the search function, and you will be shown the position of the block in the list. Clicking OK causes the block that you searched for to be highlighted. Automation and Drives Slide 82 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 11: Documentation You obtain additional information for program documentation from the information window. It is usually located at the lower edge of the screen. The View ->Information Window menu command displays program messages. Following simulation of a circuit program, the resources used along with the current date and time of day are displayed in the information window. Automation and Drives Slide 83 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 11: Documentation Program or system data can be entered using the File ->Properties menu item in the General tab. These data are displayed in the program printout in the parent window below. Automation and Drives Slide 84 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 11: Documentation Automation and Drives Slide 85 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 11: Documentation You can define which documents are to be printed under Properties in the Print Preview window. The circuit diagram, the parameter list, and the list of connector names are normally selected. Automation and Drives Slide 86 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 11: Documentation In the case of large or complex programs, it is often useful to divide up the circuit diagram onto several pages. Automation and Drives Slide 87 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 11: Documentation Various connection lines must be separated when the program is divided onto several pages. The connection lines can be easily separated using the selected cut tool. The interfaces are uniquely labeled by the page number, block number, and input pin. By clicking on one of the interface wildcards again using the cut tool, the separation is undone. Automation and Drives Slide 88 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 12: Program Testing Once the programming and documentation is completed, the program is tested. I1 I2 I4 Q1 (Drinking water supply) You know that your program can run in LOGO!, but you still have to check whether it functions as intended. You may also want to modify some parameters.You can experimentally change the input values, test the response to a power failure, and compare your calculations or expectations with the actual output behavior. Automation and Drives Slide 89 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 12: Program Testing An excellent tool is available for testing your program. 1. Select the tool if you want to test your program. 2. Once the simulation is activated, a symbol bar for operator control and monitoring of inputs and outputs is called. A software switch is used to simulate a power failure in order to test the retentive features of the circuit behavior. 3. The input states can be modified by clicking the button in the symbol bar (2) or clicking on the inputs in the display. 1. 2. 3. 3. The connection sequence can be tracked by the change in color of the connection lines from blue (low signal) to red (high signal). This facilitates the detection and removal of errors significantly. Automation and Drives Slide 90 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 12: Program Testing As an additional aid for program testing, a particular switch function can be assigned to each input. The context menu (right mouse click) can be used to assign an appropriate switch function to each of the inputs used in the program. You can select from a momentary-contact switch, maintained-contact switch, and frequency input. For frequency inputs, the simulated frequency setting in Hz can be entered. For analog inputs, the range and the starting value is specified. These parameters can also be changed and reviewed centrally using the Extras ->Simulation parameters menu command. Automation and Drives Slide 91 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 13: Assigning a Program Password In order to protect the program and the knowledge it contains, you can assign a 10-digit password to be applicable to this program alone. This password protects your program only on LOGO! Without the password, you cannot change or view the program, only delete it. The password is also needed to download a password-protected program to a PC. To delete a previously assigned password, enter the old password and leave the new password blank. Automation and Drives Slide 92 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 14: Transferring Program to LOGO! When programming in LOGO!Soft Comfort 3, you have the option of first implementing your circuit program and then determining the required unit using the Extras ->Define LOGO! menu command, or you can use the Extras ->Unit Selection menu command to first define the LOGO! unit for which you want to create your circuit program. The unit selection shows the available function blocks and memory resources for each selected unit. Automation and Drives Slide 93 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 14: Transferring Program to LOGO! Once a successful program test has been performed, the program should be transferred to the LOGO! Certain requirements must be satisfied for this. LOGO! OK ESC Program .. PC / Card .. Clock .. Start > SIEMENS LOGO! OK ESC SIEMENS PC <-> -> Card Card -> > LOGO! OK ESC SIEMENS PC <->
Stop? Press ESC 1. 2. The LOGO! unit must be connected with the PC cable and prepared for the transfer using the PC/Card, PC <-> setting. Automation and Drives Slide 94 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 14: Transferring Program to LOGO! All preparations have been made. The program can now be transferred. Select the function to transfer a circuit program created in the PC with LOGO! Soft Comfort to a LOGO! unit. Prior to transferring, LOGO! identifies the minimum version required for the created circuit program. If the created circuit program cannot be transferred to the available LOGO! unit, an error message is displayed and the transfer is canceled. If LOGO! is not suitably prepared for the data transfer, an error message is displayed. A message is displayed in the status bar indicating that the data transfer was successful. Automation and Drives Slide 95 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 15: Starting LOGO! LOGO! OK ESC SIEMENS PC <->
Stop? Press ESC LOGO! OK ESC Program .. PC / Card .. Clock .. Start > SIEMENS LOGO! OK ESC Program .. PC / Card .. Clock .. Start > SIEMENS 1. 2. 3. P I3 (Pump off) I1 I2 I4 Q1 LOGO! 12/24 RC LOGO! OK ESC SIEMENS I :0.,1.,2. 23456789 0123456789 01234 1 Automation and Drives Slide 96 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 16: Setting Time of Day The software can also be used to set the system clock in LOGO! Of course, the time of day can also be set directly on the unit. To be able to use this function, the LOGO! must be placed in the PC/Card, PC <-> transfer mode again. Pressing the Write button transfers the time-of-day setting to the LOGO! Automation and Drives Slide 97 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Step 16: Setting Time of Day With LOGO! Modular, you have the option of configuring the system clock to automatically change for seasonal time variations. This can be done by means of the software and directly on the device. The LOGO! Must be placed in the PC/Card, PC <-> transfer mode for this function. The time change in effect for the selected region is applied. Automation and Drives Slide 98 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Miscellaneous Options Various other settings can be made using the Extras ->Options menu command. Automation and Drives Slide 99 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Application Example Automation and Drives Slide 100 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Conveyor Control I1 (ON) I3 (OFF) I2 (Fill) Function Description A bottle filling machine is to be controlled. Part 2 When the sensor (I2) detects a bottle, the motor is switched off for 3 seconds (filling operation). Afterwards, the motor starts running again. Part 1 The conveyor control is switched or or off using (I1). When the conveyor control is switched on, the motor for the conveyor belt (Q1) runs. The motor is able to be switched off at any time by means of Off (I3). Automation and Drives Slide 101 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Solution: Conveyor Control Part 1 I1 (ON) I3 (OFF) I2 (Fill) Part 1 The conveyor control is switched on or off using (I1). When the conveyor control is switched on, the motor for the conveyor belt (Q1) runs. The motor is able to be switched off at any time by means of Off (I3). OK ESC Edit Prg Prg Name Clear Prg Password > LOGO! 12/24 RC SIEMENS Q1 B01 Q1 B01 Q1 B02 B01 I1 x & Q1 B02 B01 I1 x & B01 B02 I3 1 Automation and Drives Slide 102 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Solution: Conveyor Control Part 1 I1 (ON) I3 (OFF) I2 (Fill) Part 1 The conveyor control is switched on or off using (I1). When the conveyor control is switched on, the motor for the conveyor belt (Q1) runs. The motor is able to be switched off at any time by means of Off (I3). Automation and Drives Slide 103 SM8 October 2001; S.Brodte; Nbg-M; 3007 Mounting and Wiring Basic Functions Special Functions Operating the Unit Using LOGO! Soft Comfort Exercise Solution: Conveyor Control Part 2 I1 (ON) I3 (OFF) I2 (Fill) Part 2 When the sensor (I2) detects a bottle, the motor is switched off for 3 seconds (filling operation). Afterwards, the motor starts running again.