LOGO! ___________________ Preface 1 ___________________ Getting started with LOGO! LOGO! installation and 2 ___________________ wiring 3 ___________________ Programming LOGO! LOGO! 4 ___________________ LOGO! functions UDF (User-Defined 5 ___________________ Function) (0BA7 only) Manual 6 ___________________ Data Log (0BA7 only) 7 ___________________ Configuring LOGO! 8 ___________________ Applicable cards 9 ___________________ LOGO! software 10 ___________________ Applications A ___________________
Legal information Legal information Warning notice system This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.
Preface We thank you for purchasing LOGO! and congratulate you on your decision. With LOGO! you have acquired a logic module that meets the stringent quality requirements of ISO 9001. LOGO! can be used in many fields of applications. Due to its high functionality and easy operation, LOGO! offers you the utmost efficiency for almost any application.
Preface Note Some chapters/sections in this manual specifically relate to the LOGO! 0BA7 devices. For easy identification, the names of these chapters/sections end with "(0BA7 only)". Valid range of this manual The manual applies to devices of series 0BA6 and 0BA7.
Preface ● Support of configuration of elements connected to UDFs (User-Defined Functions) LOGO!Soft Comfort V7.0 provides a new circuit program editor - the UDF editor. Circuit programs created in the UDF editor can be saved as individual UDF blocks for use in an existing or a new circuit program in LOGO!Soft Comfort. A UDF block is a preconfigured circuit program that you create. If the circuit program in your LOGO! 0BA7 contains a UDF block, you can edit the elements connected to this UDF block.
Preface ● Additional optional analog inputs and fast digital inputs are available on some of the LOGO! 0BA6 Base Modules. ● LOGO! 0BA6 configuration menus can be displayed in one of ten supported languages. You have a configuration choice to specify the language for LOGO! menus. ● New instruction blocks are available: Pulse Width Modulator (PWM), Mathematic Instruction, and Mathematic Instruction Error Detection.
Preface Additional support Additional support is available on the Siemens website: Siemens LOGO! website (http://www.siemens.
Preface LOGO! 8 Manual, 04/2011, A5E03556174-01
Table of contents Preface ...................................................................................................................................................... 3 1 Getting started with LOGO!...................................................................................................................... 13 2 LOGO! installation and wiring .................................................................................................................. 29 3 2.1 2.1.1 2.1.2 2.1.3 2.1.
Table of contents 4 3.7.6 3.7.7 3.7.8 3.7.9 3.7.10 3.7.11 3.7.12 3.7.13 3.7.14 3.7.15 Switching LOGO! to RUN mode ................................................................................................. 97 Second circuit program ............................................................................................................. 100 Deleting a block.........................................................................................................................
Table of contents 4.4.13 4.4.14 4.4.15 4.4.16 4.4.17 4.4.18 4.4.19 4.4.20 4.4.21 4.4.22 4.4.23 4.4.24 4.4.25 4.4.26 4.4.27 4.4.28 4.4.29 4.4.30 4.4.31 4.4.32 4.4.33 4.4.34 4.4.35 4.4.36 Astronomical clock (0BA7 only) .................................................................................................195 Stopwatch (0BA7 only) ..............................................................................................................198 Up/down counter.........................................
Table of contents 10 Applications ........................................................................................................................................... 317 A Technical data ....................................................................................................................................... 319 A.1 General technical data .............................................................................................................. 319 A.
Getting started with LOGO! 1 Here's LOGO! LOGO! is a universal logic module made by Siemens that integrates: ● Controls ● Operator and display panel with background lighting ● Power supply ● Interface for expansion modules ● Interface for cards or cables, according to the device series: – If 0BA6, interface for a memory card, battery card, combined memory/battery card, LOGO! PC cable or USB PC cable – If 0BA7, interface for an SD card ● Interface for an optional text display (TD) module ● Pre-configured s
Getting started with LOGO! Which devices are available? LOGO! Base Modules are available in two voltage classes: ● Class 1 ≤ 24 V, i.e. 12 V DC, 24 V DC, 24 V AC ● Class 2 > 24 V, i.e. 115...
Getting started with LOGO! Features of the LOGO! TD The LOGO! TD is available beginning with the 0BA6 series. It provides an additional display that is wider than the LOGO! Basic. It has four function keys that you can program in your circuit program as inputs. Like the LOGO! Basic, it has four cursor keys, an ESC key and an OK key that you can also program in your circuit program and use for navigation on the LOGO! TD. You can create and download a power-up screen for the LOGO! TD from LOGO!Soft Comfort.
Getting started with LOGO! Note The LOGO! Base Module may only be equipped with expansion modules of the same voltage class. Mechanical encoding pins in the housing prevent you from connecting devices of a different voltage class. Exception: The interface on the left side of an analog module or communication module is galvanically isolated. This type of expansion module can therefore be connected to devices of a different voltage class (Page 36).
Getting started with LOGO! The LOGO! structure 1 , , , , , , , , /2*2 %$ /2*2 5&( / 4 4 4 4 3( /$1 0$& $''5(66 & Rx/Tx LINK 0 , , , , , , , , /2*2 %$ /2*2 5&( / 4 4 4 4 /$1 Rx/Tx 0$& $''5(66 3( & LINK ① ③ ⑤ ⑦ ⑨ ⑪ Power supply Outputs RJ45 so
Getting started with LOGO! 1 , , , , , , , , / /2*2 %$ /2*2 5& 4 4 4 4 0 , , , , , , , , /2*2 %$ /2*2 5& / 4 4 4 4 ① ③ ⑤ ⑦ ⑨ Power supply Outputs Control panel (not for RCo) LOGO! TD cable connector ② ④ ⑥ ⑧ Inputs Module slot with cap LCD (not for RCo) Expansion interface Mechanical coding sockets
Getting started with LOGO! 1 , , , , /2*2 '0 5 / 581 6723 4 4 4 4 / 1 , , , , , , , , /2*2 '0 5 581 6723 4 4 4 4 4 4 4 4 ི ① ③ ⑤ ⑦ Power supply Outputs Expansion interface Mechanical coding sockets ② ④ ⑥ ⑧ Inputs RUN/STOP LED Mechanical coding pins Slide LOGO! Manual, 04/2011, A
Getting started with LOGO! 0 , , , , /2*2 '0 5 / 581 6723 4 4 4 4 0 , , , , , , , , /2*2 '0 5 / 581 6723 4 4 4 4 4 4 4 4 ① ③ ⑤ ⑦ ② ④ ⑥ ⑧ Power supply Outputs Expansion interface Mechanical coding sockets Inputs RUN/STOP LED Mechanical coding pins Slide LOGO! AM2
Getting started with LOGO! LOGO! AM2 AQ (0 ... 10 V DC or 0/4 ...
Getting started with LOGO! LOGO! TD s /2*2 7' ཱ ) ) ) ) (6& 2. ① Communication interface ② Power supply The LOGO! TD includes a wider display area than the LOGO! onboard display. It includes four programmable cursor keys, four programmable function keys, and an ESC and an OK key. You use the included LOGO! TD cable to connect from the communication interface on the right side of the LOGO! TD to the corresponding interface on the left side of the LOGO! Base Module.
Getting started with LOGO! Symbols Version with display unit is equipped with 8 inputs, 4 outputs and 1 Ethernet interface Version with display unit is equipped with 8 inputs and 4 outputs Version without display unit is equipped with 8 inputs and 4 outputs The digital module is equipped with 4 digital inputs and 4 digital outputs The digital module is equipped with 8 digital inputs and 8 digital outputs The analog module is equipped with 2 analog inputs or 2 analog outputs, according to the device type Th
Getting started with LOGO! Versions The following LOGO! versions are available: Symbol (0BA7) Designation Supply voltage Inputs Outputs LOGO! 12/24RCE 12/24V DC 8 digital 1) 4 relays (10 A) Properties LOGO! 230RCE 115 ... 240 V AC/DC 8 digital 4 relays (10A) LOGO! 12/24RC 12/24 V DC 8 digital 1) 4 relays (10 A) LOGO! 24 24 V DC 8 digital 1) 4 solid state 24V / 0.3A LOGO! 24C 24 V DC 8 digital 1) 4 solid state 24V / 0.
Getting started with LOGO! Expansion modules The following expansion modules can be connected to LOGO!: Symbol Name Power supply Inputs Outputs LOGO! DM8 12/24R 12/24 V DC 4 digital 4 relays (5A) LOGO! DM8 24 24 V DC 4 digital 4 solid state 24V / 0.3A LOGO! DM8 24R 3) 24 V AC/DC 4 digital LOGO! DM8 230R 115 ... 240 V AC/DC 4 digital LOGO! DM16 24 24 V DC 8 digital LOGO! DM16 24R 24 V DC 8 digital LOGO! DM16 230R 115 ... 240 V AC/DC 8 digital LOGO! AM2 12/24 V DC 2 analog 0 ...
Getting started with LOGO! Communication modules The following communication modules can be connected to LOGO!: Symbol Name Power supply LOGO! CM AS Interface 30 V DC LOGO! CM EIB/KNX 24 V AC/DC Inputs Outputs the next four inputs after the physical inputs of LOGO! the next four outputs after the physical outputs of LOGO! (ln ... ln+3) (Qn ... Qn+3) max. 16 virtual digital inputs (I); max. 8 virtual analog inputs (AI) max. 12 virtual digital outputs (Q); max.
Getting started with LOGO! Certification and approvals LOGO! is certified to cULus and FM. ● cULus Haz. Loc. Underwriters Laboratories Inc. (UL) to - UL 508 (Industrial Control Equipment) - CSA C22.2 No.
Getting started with LOGO! ID for Korea Our products carrying the label shown at the side are compliant with Korean standards. WARNING Risk of death, personal injury or property damage can occur if you do not follow safety precautions for hazardous locations. In potentially explosive atmospheres, do not disconnect connectors when the system is in RUN. Always switch off the power supply to LOGO! and its components before you disconnect any connectors or components.
LOGO! installation and wiring 2 General guidelines Please note the following guidelines for installing and wiring your LOGO!: ● Always ensure that the wiring of your LOGO! is compliant with current rules and standards. Also, conform with all national and regional regulations when you install and operate the devices. For information on standards and regulations that apply to your specific case, contact your local authorities. ● Always switch off power before you wire or install/remove a module.
LOGO! installation and wiring What you must note when installing LOGO! is designed for fixed and enclosed installation in the housing or the control cabinet. WARNING Attempts to install or wire LOGO! or related equipment with power applied could cause electric shock or faulty operation of the equipment. Failure to disable all power to LOGO! and related equipment during installation or removal procedures could result in death or serious injury to personnel, and/or damage to equipment.
LOGO! installation and wiring Carrying out tests You must ensure safety in your plant. Before finally commissioning a system, carry out complete functional testing as well as all the necessary safety testing. Also, test for any predictable faults that can occur. This means that you will avoid any danger to the plant or to people during operation.
LOGO! installation and wiring 2.1 Modular LOGO! setup 2.1 Modular LOGO! setup 2.1.1 Maximum LOGO! network setup (0BA7 only) Maximum LOGO! 0BA7 network setup LOGO! 0BA7 supports SIMATIC S7 communication via 10/100 Mbit/s TCP/IP Ethernet.
LOGO! installation and wiring 2.
LOGO! installation and wiring 2.1 Modular LOGO! setup 2.1.2 Maximum setup with expansion and communication modules LOGO! supports a maximum of 24 digital inputs, 8 analog inputs, 16 digital outputs, and 2 analog outputs (Page 13).
LOGO! installation and wiring 2.1 Modular LOGO! setup High-speed/optimal communication performance For optimal and high-speed communication performance between the LOGO! Base Module and the various modules, we recommend that you install the digital modules first, then the analog modules (examples above). (The special function PI controller is an exception: the AI used for the value PV should be on the LOGO! Base Module or an analog input module adjacent to the LOGO! Base Module).
LOGO! installation and wiring 2.1 Modular LOGO! setup 2.1.3 Setup with different voltage classes Rules Digital modules can only be directly connected to devices of the same voltage class. You can connect analog and communication modules to devices of any voltage class. You can replace two similar DM8 expansion modules by one appropriate DM16 expansion module (and vice versa) without having to change the circuit program.
LOGO! installation and wiring 2.
LOGO! installation and wiring 2.1 Modular LOGO! setup 2.1.4 Compatibility The LOGO! TD module can only be used with equipment series 0BA6 or 0BA7. The ES7 version of the LOGO! TD provides new menu commands for network communication and error diagnostics that specifically relate to the LOGO! 0BA7 device. The ES7 LOGO! TD additionally provides a "Card" menu as in the LOGO! Base Module for copying the circuit program between the LOGO! 0BA7 and an SD card.
LOGO! installation and wiring 2.2 Installing/removing LOGO! 2.2 Installing/removing LOGO! Dimensions The LOGO! installation dimensions are compliant with DIN 43880. LOGO! can be snap-mounted to 35 mm DIN rails to EN 50022 or on the wall. LOGO! width: ● LOGO! TD has a width of 128.2 mm, which corresponds to 8 subunits ● LOGO! 0BA6 Base Modules have a width of 72 mm, which corresponds to 4 subunits. LOGO! 0BA7 Base Modules have a width of 107 mm, which corresponds to 6 subunits.
LOGO! installation and wiring 2.2 Installing/removing LOGO! 2.2.1 DIN rail mounting Mounting How to mount a LOGO! Base Module and a digital module onto a DIN rail: 1. Hook the LOGO! Base Module onto the rail. 2. Push down the lower end to snap it on. The mounting interlock at the rear must engage. /2*2 %$ /2*2 %$ 3. On the right side of the LOGO! Base Module/LOGO! expansion module, remove the connector cap. 4.
LOGO! installation and wiring 2.2 Installing/removing LOGO! 5. Slide the digital module towards the left until it contacts the LOGO! Base Module. 6. Using a screwdriver, push the interlock to the left. In its end position the slide interlock engages in the LOGO! Base Module. /2*2 %$ /2*2 %$ Repeat the digital module steps to mount further expansion modules. Note The expansion interface on the last expansion module must be covered.
LOGO! installation and wiring 2.2 Installing/removing LOGO! Removal To remove LOGO!: ....... if you have installed only one LOGO! Base Module: 1. Insert a screwdriver into the eyelet at the bottom of the slide interlock and move the latch downward. 2. Swing the LOGO! Base Module off the DIN rail. /2*2 %$ $ % /2*2 %$ $ % ....... if you have connected at least one expansion module to the LOGO! Base Module: 1.
LOGO! installation and wiring 2.2 Installing/removing LOGO! Repeat steps 1 to 4 for all other expansion modules. Note If you have connected more than one expansion module, it is advisable to start removal with the last module at the right-hand side. Make sure the slide interlock of the module to be installed/removed is not engaged in the next module. 2.2.2 Wall-mounting For wall-mounting, first slide the mounting slides on the rear side of the devices towards the outside.
LOGO! installation and wiring 2.
LOGO! installation and wiring 2.2 Installing/removing LOGO! 2.2.3 Mounting the LOGO! TD To prepare the mounting surface for the optional LOGO! TD and mount it, follow these steps: 1. Cut a 119.5 mm x 78.5 mm (tolerance: +0.5 mm) hole in the mounting surface. ^_U\RWU\ XX`U\RWU\ 2. Place the included gasket on the frontplate of the LOGO! TD. 3. Fit the LOGO! TD into the cutout you made in the mounting surface. 4. Attach the mounting brackets (included) to the LOGO! TD. 5.
LOGO! installation and wiring 2.3 Wiring LOGO! 2.3 Wiring LOGO! Wire LOGO! using a screwdriver with a 3-mm blade. You do not need wire ferrules for the terminals. You can use conductors with cross-sections of up to the following thicknesses: ● 1 x 2.5 mm2 ● 2 x 1.5 mm2 for each second terminal chamber Tightening torque: 0.4...0.5 Nm or 3...4 in-lbs. Note Always cover the terminals after you have completed the installation.
LOGO! installation and wiring 2.3 Wiring LOGO! Connecting LOGO! To connect LOGO! to the power supply: /2*2 ZLWK '& SRZHU VXSSO\ / 0 /2*2 ZLWK $& SRZHU VXSSO\ / 1 / 0 , , , , , 3URWHFWLRQ ZLWK VDIHW\ IXVH LI UHTXLUHG UHFRPPHQGHG IRU 5& $ $ (,% .1; $ / 1 , , , , 7R VXSSUHVV VXUJH YROWDJHV LQVWDOO YDULVWRUV 029 ZLWK DQ RSHUDWLQJ YROWDJH DW OHDVW DERYH WKH UDWHG YROWDJH Note LOGO! is a double-insulated switchgear.
LOGO! installation and wiring 2.3 Wiring LOGO! 2.3.2 Connecting the LOGO! TD power supply The LOGO! TD must be connected to an external power supply that supplies a voltage of 12 V DC or 24 V AC/DC. A power connector is included with the LOGO! TD. ཱ 9 36 56 $ 0 56 % ① Power supply ② Communication interface The power connection is non-polar.
LOGO! installation and wiring 2.3 Wiring LOGO! 2.3.3 Connecting LOGO! inputs Requirements At the inputs you connect sensor elements such as: momentary pushbuttons, switches, light barriers, daylight control switches etc. Sensor characteristics for LOGO! LOGO! 12/24RCE LOGO! 24/24o LOGO! 12/24RC LOGO! 24C/24Co LOGO! DM8 12/24R LOGO! DM8 24 LOGO! 12/24RCo I3 ... I6 I1,I2,I7,I8 I3 ... I6 I1,I2,I7,I8 I1 ... I8 I1 ...
LOGO! installation and wiring 2.3 Wiring LOGO! Sensor connections Connecting glow lamps and 2-wire proximity switches (Bero) to LOGO! 230RCE/230RC/230RCo or LOGO! DM8 230R (AC) and LOGO! DM16 230R (AC) The figure below shows how you connect a switch with a glow lamp to LOGO! The current that flows through the glow lamp allows LOGO! to detect a "1" signal even though the switch contact is not closed.
LOGO! installation and wiring 2.3 Wiring LOGO! Special features of LOGO! 12/24RCE/RC/RCo, LOGO! 24/24o and LOGO! 24C/24Co Fast digital inputs: I3, I4, I5 and I6: These versions are also equipped with fast digital inputs (up/down counters, threshold triggers). The restrictions mentioned earlier do not apply to these fast digital inputs.
LOGO! installation and wiring 2.3 Wiring LOGO! Sensor connections To connect sensors to LOGO! : LOGO! 12/24.... and LOGO! 24... The inputs of these devices are not isolated and therefore require a common reference potential (chassis ground). / 0 / 0 , , , , , With LOGO! 12/24RCE/RC/RCo, LOGO! 24/24o and LOGO! 24C/24Co modules, you can tap analog signals between the supply voltage and chassis ground (* = series resistor (6.6 kΩ) at 24 V DC). , LOGO! 230....
LOGO! installation and wiring 2.3 Wiring LOGO! LOGO! AM2 / 0 / 0 / 3( 3( WHUPLQDO IRU FRQQHFWLQJ HDUWK DQG VKLHOGLQJ WKH DQDORJ PHDVXULQJ FDEOH 0 (DUWK ཱ &DEOH VKLHOGLQJ ི ',1 UDLO ི 581 6723 3( 0 / &XUUHQW P$ , 5HIHUHQFH &XUUHQW 0 8 ཱ , 0 8 0 9 / 6HQVRU 0 &XUUHQW PHDVXUHPHQW 9ROWDJH PHDVXUHPHQW The illustration above shows an example of four-wire current measurement and two-wire voltage measurement.
LOGO! installation and wiring 2.3 Wiring LOGO! LOGO! AM2 PT100 You can connect a maximum of two 2-wire or 3-wire PT100 sensors or one 2-wire plus one 3-wire PT100 sensor to the module. Note that the sensor type supported by the module is only PT100 with the default temperature coefficient of α= 0.003850. For a 2-wire connection, you need to short-circuit terminals M1+ and IC1 or M2+ and IC2. Errors caused by the ohmic resistance of the measuring line are not compensated for this type of connection.
LOGO! installation and wiring 2.3 Wiring LOGO! LOGO! AM2 RTD You can connect a maximum of two PT100 sensors or two PT1000 or one PT100 plus one PT1000 sensor in a 2-wire or 3-wire connection or in a mixed use of 2-wire and 3-wire connection to the module. Note that the sensor type supported by the module is only PT100 or PT1000 with the default temperature coefficient of α= 0.003850. For a 2-wire connection, you need to short-circuit terminals M1+ and IC1 or M2+ and IC2.
LOGO! installation and wiring 2.3 Wiring LOGO! 2.3.4 Connecting outputs LOGO! ...R... The LOGO! ...R... version is equipped with relay outputs. The potential of the relay contacts is isolated from the power supply and the inputs. Requirements for relay outputs You can connect various loads to the outputs; e.g., lamps, fluorescent lamps, motors, contactor relays, etc. For information on the properties required for the loads connected to LOGO! ...R..., refer to the technical data (Page 319).
LOGO! installation and wiring 2.3 Wiring LOGO! Connecting This is how you connect the load to a LOGO! with solid-state outputs: '0 4 0 4 0 4 0 4 0 /RDG /RDG /RDG 9 '& $ PD[ LOGO! AM2 AQ / 0 / 0 / 0 ཱ 581 6723 3( V1, V2: 0 ... 10 V DC R1: >= 5 kΩ 287387 [ 9 RU P$ 9 0 , 9 0 , I1, I2: R2: 0 ... 10 V 0/4 ... 20mA R2 R1 ① ② 0/4 ...
LOGO! installation and wiring 2.3 Wiring LOGO! 2.3.5 Connecting the EIB bus The connection is carried out via the two-pole screw terminal (+ and -). 581 6723 %86 3URJ ൻ (,% Only the red-black core pair is used, the white-yellow core pair is not connected. Press the button "Prog ↓" to switch the CM EIB/KNX to programming mode. Note The button "Prog ↓ " should not be pressed too firmly. If the bus connection is OK, the LED lights up green. In programming mode, the LED lights up orange.
LOGO! installation and wiring 2.3 Wiring LOGO! 2.3.6 Connecting the AS interface bus To set the address of the module on the AS interface bus, you need an addressing unit. Valid addresses are in the range of 1 to 31. Use each address once only. You can set the address on the AS interface bus before or after installation. If the installed module is addressed via the address socket, the AS-Interface voltage must be disconnected beforehand. This is necessary for safety reasons.
LOGO! installation and wiring 2.3 Wiring LOGO! Logic Assignments LOGO! system AS Interface system Inputs Output data bits In DQ1 In+1 DQ2 In+2 DQ3 In+3 DQ4 Outputs Input data bits Qn DI1 Qn+1 DI2 Qn+2 DI3 Qn+3 DI4 "n" depends on the plug-in position of the expansion module relative to the LOGO! Base Module. It indicates the number of the input or output in LOGO! program code.
LOGO! installation and wiring 2.3 Wiring LOGO! 2.3.7 Connecting modems (0BA6 only) The LOGO! 0BA6 device series supports a modem connection between a PC and LOGO! 0BA6 Base Module. You can use modems to download and upload circuit programs between LOGO!Soft Comfort and LOGO! devices. Configuration of the modem connection is only possible with LOGO!Soft Comfort V6.1 or later. ] ^ ^ ` X Y Z [ _ XW \ ① ② ③ ④ ⑤ ⑥ XX PC (desktop or laptop) Local modem (Recommended: INSYS Modem) PSTN (Public Switched T
LOGO! installation and wiring 2.3 Wiring LOGO! 2.3.8 Connecting the Ethernet interface (0BA7 only) LOGO! ...E The LOGO! ...E version is equipped with a 10/100 Mbit/s Ethernet RJ45 interface. Requirements for the network cable You can connect a standard Ethernet cable to the Ethernet interface. To minimize electromagnetic interference, however, Siemens recommends you use a standard Category 5 shielded twisted-pair Ethernet cable with a shielded RJ45 connector on each end.
LOGO! installation and wiring 2.4 Putting into operation 2.4 Putting into operation 2.4.1 Switching the LOGO!/Power On LOGO! does not have a power switch. The reaction of LOGO! during startup depends on the following: ● Whether a circuit program is stored in LOGO! ● Whether a card is inserted (The card can be a LOGO! memory card, combined memory/battery card, or SD card for a LOGO! 0BA7.) ● Whether this is a LOGO! version without display unit (LOGO!...
LOGO! installation and wiring 2.4 Putting into operation The following illustration shows all possible reactions of LOGO!: $IWHU SRZHU RQ %HIRUH SRZHU RII 1R 3URJUDP 3UHVV (6& RU 1R 3URJUDP 3UHVV (6& HPSW\ !3URJUDP &DUG 6HWXS 6WDUW 1R 3URJUDP LQ PHPRU\ ZLWK SURJUDP 0R , 4 % 3DU RU HPSW\ ZLWK VWRUHG SURJUDP IURP /2*2 /2*2 LQ 581 PRGH &QW /2*2 LQ 581 PRGH ZLWK SURJUDP % 4 3URJUDP LQ PHPRU\ RU HPSW\ ZLWK
LOGO! installation and wiring 2.4 Putting into operation You can also memorize four simple rules for starting LOGO! : 1. If neither LOGO! nor the inserted card contains a circuit program, the LOGO! Basic displays the following: 1R 3URJUDP 3UHVV (6& 2. A circuit program on the card is automatically copied to LOGO!. The circuit program in LOGO! is overwritten. 3. If there is a circuit program in LOGO! or on the card, LOGO! adopts the operational state it had prior to POWER-OFF.
LOGO! installation and wiring 2.4 Putting into operation 2.4.2 Putting a CM EIB/KNX into operation 1. Bus voltage and supply voltage must be present. 2. Connect the PC to the serial EIB interface. 3. Start software ETS, using ETS2 version 1.2. 4. Configure the application program in ETS2, V 1.2. 5. The application program is loaded into the devices via the EIB interface. The application program is available on the LOGO! home page (http://www.siemens.de/logo). 6. Click on "Program Physical Address" in ETS.
LOGO! installation and wiring 2.4 Putting into operation 2.4.3 Operating states LOGO! Base Module operating states LOGO! Base Modules (LOGO! Basic or LOGO! Pure) have two operating states: STOP and RUN. STOP RUN • The display shows: 'No Program' (not LOGO!...o) • Switching LOGO! to programming mode (not LOGO!...o) • LED is red (only LOGO!...o) Action of LOGO!: • Display: Screen mask for monitoring I/O and messages (after START in the main menu) (not LOGO!...o or LOGO!...
LOGO! installation and wiring 2.4 Putting into operation CM AS Interface, communication states The CM AS Interface has three communication states: The LED is lit green, red or flashes red/yellow. LED AS-I is lit Green AS Interface communication OK Red AS Interface communication failed Red/Yellow Slave has address "0".
Programming LOGO! 3 Getting started with LOGO! Programming refers to creating a circuit program from the LOGO! Base Module. In this chapter you will learn how to use LOGO! to create the LOGO! circuit programs for your application. LOGO!Soft Comfort is the LOGO! programming software that you can use on your PC to quickly and easily create, test, modify, save and print the circuit programs. The topics in this manual, however, relate only to the creation of circuit programs on the actual LOGO! Base Module.
Programming LOGO! 3.1 Connectors 3.
Programming LOGO! 3.1 Connectors Note LOGO! can recognize, read and switch the I/O of all expansion modules regardless of their type. The I/O are presented in the installation order of the modules. Dependent upon specific LOGO! device series, the following I/O and flag blocks are available for creating your circuit program from LOGO!: • LOGO! 0BA6 I1 to I24, AI1 to AI8, Q1 to Q16, AQ1 and AQ2, M1 to M27, and AM1 to AM6.
Programming LOGO! 3.1 Connectors LOGO! has the following connectors : Connectors '0 /2*2 %$ Inputs $0 $0 $4 /2*2 %$ LOGO! 230RCE LOGO! 230RC/RCo Two groups: I1 to I4 and I5 to I8 I9 to I24 AI1 to AI8 I1, I2, I3-I6, I7, I8 AI3, AI4 ...
Programming LOGO! 3.2 EIB inputs/outputs 3.2 EIB inputs/outputs The application program "20 CO LOGO! 900E02" controls the communication between the LOGO! and the EIB/KNX bus via the communication module CM EIB/KNX. By configuring the application program in ETS (EIB Tool Software), the division of the input and output area of the LOGO! can be defined as a "hardware channel" and as a "virtual channel" on the EIB/KNX bus. This characteristic also applies for analog processing.
Programming LOGO! 3.3 Blocks and block numbers 3.3 Blocks and block numbers This chapter shows you how to use LOGO! elements to create complex circuits and how blocks and I/O are interconnected. In the topic "From circuit diagram to LOGO! Program (Page 76)" you will learn how to transform a conventional circuit into a LOGO! circuit program. Blocks A block in LOGO! represents a function that is used to convert input information into output information.
Programming LOGO! 3.3 Blocks and block numbers Block representation on the LOGO! onboard display The figure below shows a typical view of the LOGO! onboard display. As you can see, it can show only one block at a time. We have therefore introduced block numbers to help you check the circuit structure. 9LHZ RI WKH /2*2 GLVSOD\ $QRWKHU EORFN LV FRQQHFWHG DW WKLV SRLQW ,QSXW 7KLV FRQQHFWRU LV QRW UHTXLUHG [ % % ุ , 4 [ %ORFN QXPEHU DVVLJQHG E\ /2*2 2XWSXW %ORFN As
Programming LOGO! 3.4 From circuit diagram to LOGO! program Note An organizational program chart can be a valuable aid when you create the circuit program because you can enter in this chart all the block numbers that LOGO! assigns. By using the LOGO!Soft Comfort software to program LOGO!, you can directly create a function chart of your circuit program.
Programming LOGO! 3.4 From circuit diagram to LOGO! program Note Although you have four inputs available for logic operations (Page 142), most of the views will only show three inputs for reasons of clarity. You program this fourth input and assign parameters just like you do with the other three inputs. To create a circuit logic in LOGO!, start at the circuit output. The output is the load or relay that is to be switched.
Programming LOGO! 3.4 From circuit diagram to LOGO! program Wiring example The following figure shows you the wiring, based on a 230 V AC version of LOGO!.
Programming LOGO! 3.5 The four golden rules for operating LOGO! 3.5 The four golden rules for operating LOGO! Rule 1: Changing the operating mode ● You create the circuit program in programming mode. After power is on, and when the display shows "No Program / Press ESC", press the ESC key to select programming mode. ● Timer and parameter values of an existing circuit program can be edited both in parameter assignment mode and in programming mode.
Programming LOGO! 3.5 The four golden rules for operating LOGO! Rule 3: Cursor and cursor movement The following applies when you edit a circuit program: ● You can move the cursor when it appears in the form of an underscore: – Press , , or to move the cursor in the circuit program. – Press OK to change to "Select connector/block". – Press ESC to exit programming mode. ● You select a connector/block - when the cursor appears as a solid square: – Press or to select a connector or a block.
Programming LOGO! 3.6 Overview of LOGO! menus 3.6 Overview of LOGO! menus LOGO! 0BA6 menus The following illustration shows an overview of LOGO! 0BA6 menus: 3URJUDPPLQJ PRGH 0DLQ PHQX !3URJUDP &DUG 6HWXS 6WDUW 3URJUDPPLQJ PHQX 2. !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ (6& 2. 7UDQVIHU PHQX (6& /2*2 2. ! ൺ&DUG &DUG ൺ &RS\3URWHFW (6& 6HWXS PHQX !&ORFN /&' 0HQX /DQJ %0 $, 180 3DUDPHWHU DVVLJQPHQW PRGH 1RWH 7KH ಯ%0 $, 180ರ VHOHFWLRQ LV RQO\ DYDLODEOH RQ %DVLF 0RGXO
Programming LOGO! 3.6 Overview of LOGO! menus LOGO! 0BA7 menus The following illustration shows an overview of LOGO! 0BA7 menus: 3URJUDPPLQJ PRGH 3URJUDPPLQJ PHQX 0DLQ PHQX !3URJUDP &DUG 6HWXS 6WDUW 2. (6& 2. Ⴃ Ⴍ !1HWZRUN 'LDJQRVWLF !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ 7UDQVIHU PHQX (6& (6& 2. 'LDJQRVWLF PHQX !0RGXOH LQIR (UURU LQIR &OHDU HUURU 7RJJOH ! ൺ&DUG &DUG ൺ &RS\3URWHFW /2*2 6HWXS PHQX 2.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7 Writing and starting the circuit program The example below shows how to create a program for your circuit design in LOGO!. 3.7.1 Selecting programming mode You have connected LOGO! to the power supply and switched it on. The display now shows you the following message: 1R 3URJUDP 3UHVV (6& Switch LOGO! to programming mode by pressing ESC. This will take you to the main menu of LOGO!.
Programming LOGO! 3.7 Writing and starting the circuit program The LOGO!'s programming menu is as shown below: !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ Here you can also move the ">" cursor by pressing confirm with OK. and . Move the ">" cursor to "②" and The Edit menu of LOGO! is as shown below: !(GLW 3UJ (GLW 1DPH $4 0HPRU\" Move the ">" cursor to "③" (for editing the circuit program) and confirm with OK.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.2 The first circuit program Let us now take a look at the following parallel circuit consisting of two switches. Circuit diagram The corresponding circuit diagram: 6 6 7KH ORDG LV VZLWFKHG RQ ZLWK 6 25 6 /2*2 LQWHUSUHWV WKLV SDUDOOHO FLUFXLW DV DQ 25 ORJLF EHFDXVH 6 25 6 VZLWFKHV RQ WKH RXWSXW . . ( Translated into a LOGO! circuit program this means: Relay K1 is (at output Q1) controlled by means of an OR block.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.3 Circuit program input Let us now write the circuit program, starting at the output and working towards the input. LOGO! initially shows the output: 4 7KH ILUVW /2*2 RXWSXW You will see an underscore below the Q in Q1, which is the cursor. The cursor indicates your current position in the circuit program. You can move the cursor by pressing the , , and keys. Now press the key. The cursor moves to the left.
Programming LOGO! 3.7 Writing and starting the circuit program Press OK to confirm your entries and exit the dialog. 7KH GLVSOD\ QRZ VKRZV % B ุ 4
Programming LOGO! 3.7 Writing and starting the circuit program % , ุ 4 Press OK. I1 is now connected to the input of the OR block. The cursor jumps to the next input of the OR block. 7KH GLVSOD\ QRZ VKRZV
Programming LOGO! 3.7 Writing and starting the circuit program Note You can invert individual inputs of the basic and special functions; that is, if an input carries a logical "1" signal, the circuit program will output a logical "0". On the other hand, a logical "0" is inverted into a logical "1" signal. To invert an input, move the cursor to the relevant position, e.g.: , % , ุ , 4 [ Confirm with OK. Now press or to invert this input: Next, press ESC.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.4 Assigning a circuit program name You can assign your circuit program a name that consists of up to 16 uppercase/lowercase letters, numbers and special characters. When LOGO! is in the view below, follow these steps: !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ 1. Press or to move the ">" cursor to "①". 2. To confirm "①", press OK. (GLW 3UJ !(GLW 1DPH $4 0HPRU\" 3. Press or to move the ">" cursor to "②". 4.
Programming LOGO! 3.7 Writing and starting the circuit program Your circuit program is now named "ABC", and you are returned to the programming menu. To change the name of your circuit program, proceed in the same way. Note You can change the name of the circuit program only in programming mode. You can read the name both in programming and in parameter assignment mode. 3.7.5 Password for circuit program protection You can protect a circuit program from unauthorized access by assigning it a password.
Programming LOGO! 3.7 Writing and starting the circuit program Assigning a program password from the LOGO! Basic A password can have a maximum length of 10 characters, and consists only of uppercase letters. On the LOGO! Basic, you can assign, edit or deactivate the password only from the "Password" menu. To enter a password, follow these steps in the programming menu: (GLW &OHDU 3UJ !3DVVZRUG 0VJ &RQILJ 1. Move the ">" cursor to "①": Press or 2.
Programming LOGO! 3.7 Writing and starting the circuit program Note You can cancel the input of a new password with ESC. In this case, the LOGO! Basic returns to the programming menu without saving the password. You can also set your password using LOGO!Soft Comfort. You cannot edit a passwordprotected circuit program in a LOGO! Base Module or upload it to LOGO!Soft Comfort unless you enter the correct password.
Programming LOGO! 3.7 Writing and starting the circuit program Deactivating the password from the LOGO! Basic To deactivate the password to allow, for example, another user to edit your circuit program, you must know your current password (in our example "ZZ"), the same as if you were changing it. To deactivate the password, follow these steps in the programming menu: (GLW &OHDU 3UJ !3DVVZRUG 0VJ &RQILJ 1. Move the '>' cursor to "①": Press or 2.
Programming LOGO! 3.7 Writing and starting the circuit program Changing LOGO! from RUN to STOP mode from the LOGO! TD A change from RUN mode to STOP mode from the LOGO! TD requires password entry if one is assigned. You must know the existing password if one is assigned. If there is no password assigned on the LOGO! Base Module, the LOGO! TD will not prompt you for password entry. To change LOGO! from RUN mode to STOP mode from the LOGO! TD when LOGO! is password-protected, follow these steps: 1.
Programming LOGO! 3.7 Writing and starting the circuit program The main menu of the LOGO! TD (version ES7): !&DUG 6HWXS 0VJ &RQILJ 6WDUW Ⴃ Ⴍ !1HWZRUN 'LDJQRVWLF LOGO! changes to STOP mode. Note Whenever the LOGO! TD is shut down, the password is reset. The next time you start it and access this password-protected function (RUN to STOP), you will be prompted for password entry on the LOGO! TD.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.6 Switching LOGO! to RUN mode In the main menu, select RUN to start LOGO!. 3URJUDP &DUG 6HWXS !6WDUW 1. Return to the main menu: Press ESC 2. Move the '>' cursor to "①": Press or 3. Confirm "①": Press OK LOGO! runs the circuit program and shows the following display: 'LVSOD\ ILHOG RI /2*2 LQ 581 PRGH 0R 6WDUW VFUHHQ 'DWH DQG FXUUHQW WLPH RI GD\ RQO\ IRU YHUVLRQV ZLWK UHDO WLPH FORFN 7KLV HOHPHQW IO
Programming LOGO! 3.7 Writing and starting the circuit program $, $QDORJ LQSXWV $, WR $, 3UHVV ႱႧ $4 $QDORJ RXWSXWV $4 WR $4 3UHVV ႱႧ 0 )ODJV 0 WR 0 )ODJV 0 WR 0 )ODJV 0 WR 0 3UHVV ႱႧ Ⴃ Ⴕ Ⴋ Ⴍ (6& & FXUVRU NH\V IRU PDQXDO LQWHUYHQWLRQ LQ WKH FLUFXLW SURJUDP (6& NH\ What is meant by: "LOGO! is in RUN"? In RUN mode, LOGO! executes the circuit program.
Programming LOGO! 3.7 Writing and starting the circuit program Status indication on the display / /HW XV H[DPLQH WKLV XVLQJ RXU H[DPSOH 6 , 6 , , 4 :KHQ VZLWFK 6 LV FORVHG WKH VWDWXV DW LQSXW , LV KLJK /2*2 FRPSXWHV WKH RXWSXW VWDWHV E\ PHDQV RI WKH FLUFXLW SURJUDP 2XWSXW 4 ಯ ರ LQ WKLV FDVH :KHQ 4 ಯ ರ /2*2 VHWV UHOD\ 4 DQG WKH ORDG FRQQHFWHG WR 4 LV VXSSOLHG ZLWK YROWDJH 4 1 LOGO! Manual, 04/2011, A5
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.7 Second circuit program Up to this point, you have successfully created your first circuit and assigned it a name and, if desired, a program password. In this section we will show you how to modify existing circuit programs and how to use the special functions. Using this second circuit program, we will show you how to: ● Add a block to an existing circuit program. ● Select a block for a special function. ● Assign parameters.
Programming LOGO! 3.7 Writing and starting the circuit program Adding a block to a circuit program Press to move the cursor to the B in B1 (B1 is the number of the OR block): % 4 Insert the new block at this position. Confirm with OK. ൻ%1 4 Press /2*2 VKRZV \RX WKH %1 OLVW to select the SF list: ൻ6) 4 7KH 6) OLVW FRQWDLQV WKH VSHFLDO IXQFWLRQ EORFNV Press OK. The block of the first special function is shown: 7UJ 3DU :KHQ \RX VHOHFW D VSHFLDO RU EDVLF IXQFWLRQ EO
Programming LOGO! 3.7 Writing and starting the circuit program In our example we do not use the reset input of the off-delay function, and we identify it with an 'x' connector. % % [ 3DU 7KLV LV ZKDW WKH GLVSOD\ VKRXOG QRZ VKRZ 4 Assigning block parameters Now you set the off-delay time T: 1. Move the cursor to Par, if it not already at this position: Press or 2.
Programming LOGO! 3.7 Writing and starting the circuit program Showing/hiding parameters - the parameter protection mode If you want to show/hide the parameter and allow/prevent its modification in parameter assignment mode: 1. Move the cursor to the protection mode: Press 2.
Programming LOGO! 3.7 Writing and starting the circuit program Verification of the circuit program This program branch for Q1 is now completed. LOGO! shows you the output Q1. You can once again view the circuit program on the display. Use the keys to browse the circuit program; that is, press or to move from block to block, and to move between the inputs at a block.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.8 Deleting a block Let us assume you want to delete the block B2 from your circuit program and connect B1 directly to Q1. % , , [ % ุ [ 3DU 4 Proceed as follows: 1. Switch LOGO! to programming mode (as a reminder, refer to the topic "The four golden rules for operating LOGO!" (Page 79)). !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ 2. Select "①": Press or 3.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.9 Deleting block groups Assuming you intend to delete the blocks B1 and B2 from the following circuit program (corresponds with the circuit program in the "Second circuit program (Page 100)" topic), proceed as follows: % , , [ % ุ [ 3DU 4 1. Switch LOGO! to programming mode (as a reminder, refer to the topic "The four golden rules for operating LOGO! (Page 79)"). !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ 2.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.10 Correcting programming errors Programming errors can be corrected easily in LOGO!: ● Provided editing mode is not yet closed, you can revert by one step by pressing ESC. ● If you have already configured all inputs, simply reconfigure the faulty input: 1. Move the cursor to the faulty position 2. Change to editing mode. Press OK 3.
Programming LOGO! 3.7 Writing and starting the circuit program 6. Select "②": Press OK LOGO! shows the following display: !'HILQHG /DVW $4 LQ 6WRS /DVW The first two rows show your choices. The bottom row shows the current setting for the analog output channels. The default setting is 'Last'. You can select either "③" or "④". "④" means that the analog output values are held at their last value and "③" means that the analog output values are set to specific values.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.12 Defining the type of analog outputs Analog outputs can be either 0..10V/0..20mA, which is the default, or 4..20mA. To define the type of analog outputs, follow these steps starting from the programming menu: !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ 1. Move the ">" cursor to "①": Press or 2. Select "①": Press OK 3. Move the ">" cursor to 'AQ': Press or 4. Select 'AQ ': Press OK 5.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.13 Deleting the circuit program and password To delete a circuit program and the password if one is defined: 1. Switch the LOGO! to programming mode (main menu). LOGO! opens the main menu: LOGO! 0BA6 main menu: !3URJUDP &DUG 6HWXS 6WDUW LOGO! 0BA7 main menu: !3URJUDP &DUG 6HWXS 6WDUW Ⴃ Ⴍ !1HWZRUN 'LDJQRVWLF 1. On the main menu, press the programming menu. or to move the '>' cursor to "①". Press OK.
Programming LOGO! 3.7 Writing and starting the circuit program 5. Press OK. 3DVVZRUG" == 7R SUHYHQW XQLQWHQWLRQDO GHOHWLRQ RI \RXU FLUFXLW SURJUDP \RX DUH SURPSWHG WR HQWHU \RXU SDVVZRUG SURYLGHG \RX KDYH DVVLJQHG RQH 6. Enter your password. 7. Press OK. The circuit program and the password are deleted. 3.7.
Programming LOGO! 3.7 Writing and starting the circuit program 6. Move the '>' cursor to "④": Press 6HW &ORFN !6 : 7LPH 6\QF or 7. Confirm "④": Press OK LOGO! shows the following display: !2Q 2II 6 : 7LPH 2II The current setting of automatic S/W Time conversion is shown on the bottom row. The default setting is 'Off': disabled.
Programming LOGO! 3.7 Writing and starting the circuit program Enabling summertime/wintertime conversion To enable the summertime/winter time conversion and set parameters, follow these steps: 1. Move the '>' cursor to 'On': Press or 2. Confirm 'On': Press OK The display shows: (8 3. Select the desired conversion: Press or What is shown on the display ?: ● 'EU' represents the start and end of European summertime. ● 'UK' represents the start and end of summertime in the United Kingdom.
Programming LOGO! 3.7 Writing and starting the circuit program Note You can specify a time zone difference Δ between 0 and 180 minutes. The US2 selection is only supported in LOGO! devices as of the series 0BA6. Let us assume you want to enable European summertime/wintertime conversion: 1. Move the '>' cursor to 'EU': Press or 2. Confirm 'EU': Press OK LOGO! shows the following display: !2Q 2II 6 : 7LPH 2Q ൺ (8 LOGO! indicates that European S/W Time conversion is enabled.
Programming LOGO! 3.7 Writing and starting the circuit program The display shows: 00 '' ˂ PLQ 0DUFK 1RYHPEHU 7LPH GLIIHUHQFH RI PLQ ● Confirm all your entries with OK. You have now customized the summertime/wintertime conversion. The LOGO! onboard display now shows: !2Q 2II 6 : 7LPH 2Q ൺ LOGO! indicates that summertime/wintertime conversion is enabled, and that user-defined parameters ( '..' ) have been set.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.15 Synchronization Time synchronization between LOGO! and a connected communication module EIB/KNX (version 0AA1 upwards!) can be enabled/disabled ● in parameter assignment mode by means of the set menu ("Clock" menu item) ● in programming mode by means of the setup menu ("Clock" menu item). When synchronization is enabled, LOGO! can receive the time-of-day from a communication module EIB/KNX (version 0AA1 upwards).
Programming LOGO! 3.7 Writing and starting the circuit program LOGO! shows the following display: !2Q 2II 6\QF 2II The current setting of the automatic synchronization function is displayed on the bottom row. The default setting is "④"; that is, disabled.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) 3.8 Configuring additional functions for LOGO! (0BA7 only) If you are a LOGO! 0BA7 user, then after you have successfully created the second circuit program, you can configure additional functions, including the new functions for the 0BA7 device series, as described below. New menu commands ● Network ● Diagnostics Note These two menu commands are also available in the main menu of the ES7 version of the LOGO! TD.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) 3.8.1 Configuring network settings A LOGO! 0BA7 device can establish network communication with other LOGO! 0BA7 devices, SIMATIC S7 PLCs, a SIMATIC HMI, or a PC with LOGO!Soft Comfort V7.0 (For more detailed information, refer to the Maximum LOGO! network setup (0BA7 only) (Page 32) topic). You can configure the LOGO! 0BA7 network only from LOGO!Soft Comfort V7.0 .
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) 8. Press or to step into the next screen form for subnet mask setting. The default subnet mask is as shown below. To change the setting, press OK. When the cursor appears in a solid square, press or to move the cursor to a position where you want to modify the number, then press or to increase or decrease the number. To confirm your change, press OK. 6XEQHW PDVN 9. Press .
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) 3.8.3 Configuring the Data Log You can configure the Data Log block only from LOGO!Soft Comfort. You can configure a maximum of one Data Log for your circuit program using LOGO!Soft Comfort. The Data Log is used to record process measurement variables of the selected function blocks. For a detailed description of configuration of the Data Log function in LOGO!Soft Comfort, refer to the online help for LOGO!Soft Comfort V7.0.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) Viewing network connectors in LOGO! Consider a circuit program where a network digital input NI1 connects to the function block B5. B5 is connected to Q4. To view this network input, proceed as follows: 1. Switch LOGO! to programming mode. Press OK to step into the following display of your circuit program (example): 8 4 2. Press until LOGO! displays the following screen form: % 4 3.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) 3.8.5 Changing LOGO! to normal/slave mode LOGO! 0BA7 provides a menu command for network communication settings. The section Configuring network settings (Page 119) showed you how to configure the network IP address, subnet mask and gateway for your LOGO!. This section shows you how to change LOGO!'s network communication mode. A LOGO! 0BA7 device works in either normal or slave communication mode.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) 4. Confirm "②": Press OK LOGO! requires a password entry if one is assigned. If there is no password assigned on the LOGO!, LOGO! directly displays the view in Step 5. 3DVVZRUG 5. Move the cursor to ③": Press !1RUPDO 6ODYH 3DVVZRUG or 6. Confirm "③": Press OK !&RQILJ 7. Confirm "④": Press OK 0DVWHU ,3 8.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) Changing LOGO! from slave mode to normal mode LOGO! is now in the following view: !1RUPDO 6ODYH 3DVVZRUG 1. Move the cursor to "①": Press or 2. Confirm "①": Press OK &KDQJH PRGH !1R
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) Changing the password from the LOGO! After you enter the password assigned, LOGO! shows the following display: 1RUPDO 6ODYH !3DVVZRUG 1. Move the cursor to "①": Press or 2. Confirm "①": Press OK 2OG 3. Enter the password assigned (for example: AA) and press OK. The display now shows: 2OG $$ 1HZ 4. Enter a new password (for example: ZZ) and press OK to confirm your new password.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) Deactivating the password from the LOGO! To deactivate the password when LOGO! is in the following view, follow these steps: 1RUPDO 6ODYH !3DVVZRUG 1. Move the cursor to "①": Press or 2. Confirm "①": Press OK 2OG 3. Enter the current password (for example: ZZ) and press OK. The display now shows: 2OG == 1HZ 4. Clear the password by leaving the input field blank. Press OK to confirm. The password is now cleared.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) 3.8.6 Diagnosing errors from LOGO! LOGO! 0BA7 supports error diagnostics. From LOGO!, you can view basic errors including SD card read/write errors, network communication errors, and so forth. You can clear individual error messages or all error messages. You can also view the firmware version of your current LOGO!. Viewing the firmware version of LOGO! To view the firmware version, following these steps: 1.
Programming LOGO! 3.8 Configuring additional functions for LOGO! (0BA7 only) Clearing error information LOGO! 0BA7 can provide the following error messages: ● SD card read/write error ● SD card is write-protected ● EM (expansion module) bus error ● Network error To clear a specific error or all errors, proceed as follows: 1. In the diagnostic menu shown above, move the cursor to "④": Press or 2. Confirm "④": Press OK &OHDU HUURU !$OO 6SHFLILF 3.
Programming LOGO! 3.9 Memory space and circuit program size 3.9 Memory space and circuit program size The size of a circuit program in LOGO! is limited by the memory space (memory used by the blocks). Memory areas ● Program memory: LOGO! allows only a limited number of blocks in your circuit program. The second limitation is based on the maximum number of bytes a circuit program may contain.
Programming LOGO! 3.
Programming LOGO! 3.9 Memory space and circuit program size Function Program memory Rem memory* Analog multiplexer 20 - Analog ramp 36 - PI controller 40 2 Latching relay 8 1 Pulse relay 12 1 Message texts 8 - Others Softkey 8 2 Shift register 12 1 *: Bytes in the Rem memory area if retentivity is enabled.
Programming LOGO! 3.
Programming LOGO! 3.9 Memory space and circuit program size Calculating memory requirements When calculating the memory requirements of a circuit, you must always take into account all individual areas of memory. Example: %\WHV 5(0 %\WHV % 1R 5(0 % 00 '' % ุ [ 4 [ , % , 3DU % % , , [ 4 3DU The sample circuit program contains: Block no.
Programming LOGO! 3.9 Memory space and circuit program size Indication of available memory space LOGO! shows you the amount of free memory space. Proceed as follows: 1. Switch LOGO! to programming mode (as a reminder, refer to the topic "The four golden rules for operating LOGO! (Page 79)". 2. Select "①": Press or !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ 3. Confirm "①": Press OK !(GLW 3UJ (GLW 1DPH $4 0HPRU\" 4. Select "②": Press or 5.
Programming LOGO! 3.
LOGO! functions 4 LOGO! provides you with various elements in programming mode, which are organized in the following lists: ● ↓Co: Connector list (Connector) (Page 138) ● ↓GF: List of the basic functions AND, OR, ...
LOGO! functions 4.1 Constants and connectors - Co 4.1 Constants and connectors - Co Constants and connectors (Co) represent inputs, outputs, flags, constant voltage levels (constants), and network digital and analog inputs/outputs (if 0BA7). Inputs: 1) Digital inputs Digital inputs are identified with an I. The number of the digital inputs (I1, I2, ...) corresponds to the number of the input connectors of the LOGO! Base Module and of the connected digital modules, in the order of their installation.
LOGO! functions 4.1 Constants and connectors - Co 2) Analog outputs Analog outputs are identified by the letters AQ. Two analog outputs are available, namely AQ1 and AQ2. An analog output can only be connected with the analog input of a function, an analog flag AM or an analog output connector. The following figure shows an example LOGO! configuration and the numbering of the inputs and outputs for the circuit program. Inputs sR t hpZ hp[ pZ p[ p\ p] hpX hpY sR t p` pXW pXX pXY sR t y|uVz{vw sR t
LOGO! functions 4.1 Constants and connectors - Co Message text character set flag M27 The M27 flag selects between the two character sets that LOGO! uses to display message texts. State 0 corresponds to Character Set 1, and state 1 corresponds to Character Set 2. If M27=0 (low), only message texts configured for Character Set 1 will display; If M27=1 (high), only message texts configured for Character Set 2 will display.
LOGO! functions 4.1 Constants and connectors - Co Network inputs/outputs (available only in 0BA7 if configured from LOGO!Soft Comfort) You can configure the following network inputs/outputs only from LOGO!Soft Comfort. If the circuit program in LOGO! contains a network digital/analog I/O, you can not edit any of the rest of the circuit program except for the Par parameter. To edit the rest of the program, you must upload the program to LOGO!Soft Comfort and then edit from LOGO!Soft Comfort.
LOGO! functions 4.2 Basic functions list - GF 4.2 Basic functions list - GF Basic functions represent simple logical elements of Boolean algebra. You can invert the inputs of individual basic functions, that is, the circuit program inverts a logical "1" at a relevant input to a logical "0"; if "0" is set at the input, the program sets a logical "1". See the programming example at Circuit program input (Page 86). The GF list contains the basic function blocks you can use for your circuit program.
LOGO! functions 4.2 Basic functions list - GF View in the circuit diagram View in LOGO! XOR (Page 149) (exclusive OR) Name of the basic function 4 'RXEOH FKDQJHRYHU FRQWDFW NOT (Page 149) (negation, inverter) 4 %UHDN FRQWDFW 4.2.1 AND &LUFXLW GLDJUDP RI D VHULHV FLUFXLW ZLWK VHYHUDO PDNH FRQWDFWV 6\PERO LQ /2*2 4 The output of the AND is only 1 if all inputs are 1, i.e. all contacts are closed. At an unused block input (x): x = 1.
LOGO! functions 4.2 Basic functions list - GF 4.2.2 AND with edge evaluation 6\PERO LQ /2*2 ൹ 4 The output of an edge triggered AND is only 1 if all inputs are 1 and if at least one input was low in the previous cycle. At an unused block input (x): x = 1. Timing diagram for the AND with edge evaluation 4 &\FOH LOGO! 144 Manual, 04/2011, A5E03556174-01
LOGO! functions 4.2 Basic functions list - GF 4.2.3 NAND (not AND) 3DUDOOHO FLUFXLW ZLWK PXOWLSOH EUHDN FRQWDFWV LQ WKH FLUFXLW GLDJUDP 6\PERO LQ /2*2 4 The output of the NAND is only 0 if the status at all inputs is 1, i.e. the contacts are closed. At an unused block input (x): x = 1.
LOGO! functions 4.2 Basic functions list - GF 4.2.4 NAND with edge evaluation 6\PERO LQ /2*2 ൻ 4 The output status of the NAND with edge evaluation is only 1 if at least one input is 0 and if all inputs were 1 in the previous cycle. At an unused block input (x): x = 1. Timing diagram for the NAND with edge evaluation 4 &\FOH LOGO! 146 Manual, 04/2011, A5E03556174-01
LOGO! functions 4.2 Basic functions list - GF 4.2.5 OR &LUFXLW GLDJUDP RI D SDUDOOHO FLUFXLW ZLWK VHYHUDO PDNH FRQWDFWV 6\PERO LQ /2*2 ุ 4 The output status of the OR element is only 1 if at least one input is 1, i.e. at least one of the contacts is closed. At an unused block input (x): x = 0.
LOGO! functions 4.2 Basic functions list - GF 4.2.6 NOR (not OR) 6\PERO LQ /2*2 &LUFXLW GLDJUDP RI D VHULHV FLUFXLW ZLWK VHYHUDO EUHDN FRQWDFWV ุ 4 The output status of the NOR is only 1 if all inputs are 0, i.e. if switched off. The NOR output is set to 0 when one of the inputs is switched on (logical 1 status). At an unused block input (x): x = 0.
LOGO! functions 4.2 Basic functions list - GF 4.2.7 XOR (exclusive OR) 7KH ;25 LQ D FLUFXLW GLDJUDP VKRZQ DV VHULHV FLUFXLW ZLWK FKDQJHRYHU FRQWDFWV 6\PERO LQ /2*2 4 The output status of the XOR is 1 if the inputs are not equivalent. At an unused block input (x): x = 0. XOR function logic table 4.2.8 1 2 Q 0 0 0 0 1 1 1 0 1 1 1 0 NOT (Negation, Inverter) $ EUHDN FRQWDFW LQ WKH FLUFXLW GLDJUDP 6\PERO LQ /2*2 4 The output status is 1 if the input is 0.
LOGO! functions 4.3 Special Functions 4.3 Special Functions Because of their different input designation, you can see right away that there is a difference between the special functions and basic functions. Special functions (SFs) contain timer functions, retentive functions and various parameter assignment options, which allow you to adapt the circuit program to suit your own requirements.
LOGO! functions 4.3 Special Functions Connector X at SF inputs SF inputs connected to connector x are set low. That is, the inputs carry a 'lo' signal. Parameter inputs At some of the inputs you do not apply any signals. You configure the relevant block values instead. Examples: ● Par (Parameter): This input will not be connected. Here, you set the relevant block parameters (times, on/off thresholds etc.). ● No (Cam): This input will not be connected. Here, you configure the time patterns.
LOGO! functions 4.3 Special Functions Accuracy of T Because of slight tolerances in the characteristics of electronic components, the set time T can deviate. You can find a detailed description of such deviations in the "On-delay" topic (Page 160). Accuracy of the timer (weekly/yearly timer) To prevent timing inaccuracy of the real-time clock in C versions caused by this deviation, the timer value is continuously compared with a high-precision timebase and corrected.
LOGO! functions 4.3 Special Functions 4.3.4 Retentivity The switching states, counter and time values of many SFs (see the "Special functions list SF (Page 156)" topic) can be set retentive. This means that current data values are retained after a power failure, and that the block resumes operation at the break point. The timer is not reset, but resumes operation until the time-to-go has expired, for example. To enable this response, however, the relevant functions must be set retentive.
LOGO! functions 4.3 Special Functions 4.3.6 Calculating the gain and offset of analog values A sensor is connected to the analog input and converts a process variable into an electrical signal. This value of signal lies within the typical range of this sensor. LOGO! always converts the electrical signals at the analog input into digital values from 0 to 1000. A voltage of 0 to 10 V at input AI is transformed internally into a range of values from 0 to 1000.
LOGO! functions 4.3 Special Functions Example of analog values Process variable Voltage (V) Internal value Gain Offset Value shown (Ax) -30 °C 0 °C +70 °C 0 3 10 0 300 1000 0.1 0.1 0.1 -30 -30 -30 -30 0 70 1000 mbar 0 0 4 1000 1000 3700 mbar 6.75 675 4 1000 3700 5000 mbar 10 1000 4 1000 5000 0 5 10 0 500 1000 0.01 0.01 0.01 0 0 0 0 5 10 0 5 10 0 500 1000 1 1 1 0 0 0 0 500 1000 0 5 10 0 500 1000 10 10 10 0 0 0 0 5000 10000 0 5 10 0 500 1000 0.01 0.01 0.
LOGO! functions 4.4 Special functions list - SF 4.4 Special functions list - SF When you create your circuit program in LOGO!, you find the special function blocks in the SF list. You can invert the inputs of SFs individually, that is, the circuit program converts a logical "1" at the input into a logical "0"; a logical "0" it converts into a logical "1". See the programming example in topic "Circuit program input (Page 86)".
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF View in LOGO! 5 (Q 5DO 3DU K Name of the special function Rem Hours counter (Page 205) REM 4 Threshold trigger (Page 210) )UH 3DU 4 Analog Analog threshold trigger (Page 213) $ $[ 3DU 4 Analog differential trigger (Page 216) $[ 3DU $ ˂ $[ $\ 3DU ˂$ (Q $[ 3DU $ s ˂ 4 Analog comparator (Page 218) 4 Analog watchdog (Page 223) 4 Analog amplifier (Page 226) $[ 3DU (Q 6 6 3DU $ᇄ $4 Analog multiplexer (Page 248) $ᇄ $4 Pulse Wi
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF View in LOGO! ,Q 7UJ 'LU 3DU (Q 5 3DU 4.4.1 Name of the special function Rem Shift register (Page 245) REM 4 (ᇄ Mathematic instruction error detection (Page 268) 4 On-delay Short description The output is only set after a configurable on-delay time has expired. Symbol in LOGO! 7UJ 3DU 4 Wiring Description Input Trg A signal at input Trg (Trigger) triggers the on-delay timer.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Valid ranges of the timebase, if T = Actual value of an already-programmed function Timebase max. value Meaning Accuracy ms s 99990 Number of ms + 10 ms 5999 Number of s +1s m 5999 Number of min + 1 min The display in programming mode (example): % 5 7 ൺ% V If the referenced block (B6, in the example) returns a value that lies out of the valid range, the value is rounded up or down to the next valid value.
LOGO! functions 4.4 Special functions list - SF The view in parameter assignment mode (example): % 7 K RU % 7 ൺ% P 7D K FXUUHQW WLPH 7D K Timing diagram 7UJ 7KH EROG VHFWLRQ RI WKH WLPLQJ GLDJUDP LV DOVR VKRZQ LQ WKH RQ GHOD\ LFRQ 4 7 7 7D H[SLUHV Functional description The time Ta is triggered with a 0 to 1 transition at input Trg (Ta is the current LOGO! time).
LOGO! functions 4.4 Special functions list - SF 4.4.2 Off-delay Short description When an on-delay is set, the output is reset when the configured time has expired. Symbol in LOGO! 7UJ 5 3DU 4 Wiring Description Input Trg The off-delay timer starts with a negative edge (1 to 0 transition) at input Trg (Trigger) Input R A signal at input R resets the on-delay time and the output. Parameter The output switches off (transitions from1 to 0) when the delay time T expires.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.3 On-/Off-delay Short description The on-/off-delay function sets the output after the set on-delay time has expired, and resets it upon expiration of the off-delay time. Symbol in LOGO! 7UJ 3DU Wiring Description Input Trg A positive edge (0 to 1 transition) at input Trg (Trigger) triggers the on-delay time TH. 4 A negative edge (1 to 0 transition) at input Trg (Trigger) triggers the off-delay time TL.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.4 Retentive on-delay Short description A one-shot at the input triggers a configurable on-delay time. The output is set when this time has expired. Symbol in LOGO! 7UJ 5 3DU 4 Wiring Description Input Trg A signal at input Trg (Trigger) triggers the on-delay timer. Input R A signal at input R resets the on-delay time and the output. Parameter T represents the on-delay time for the output (output status transition 0 to 1).
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.5 Wiping relay (pulse output) Short description An input signal generates a signal with a configurable period at the output. Symbol in LOGO! 7UJ 3DU 4 Wiring Description Input Trg A signal at input Trg (Trigger) triggers the time for the wiping relay function. Parameter The output is switched off after the time T has expired (output signal transition 1 to 0). Retentivity: / = No retentivity R = The status is retentive.
LOGO! functions 4.4 Special functions list - SF ● Wiping relay (pulse output) (current time Ta) ● Edge triggered wiping relay (Page 172) (current time Ta) ● Asynchronous pulse generator (Page 175) (current time Ta) ● Stairway light switch (Page 179) (current time Ta) ● Multiple function switch (Page 182) (current time Ta) ● Stopwatch (Page 198) (actual value AQ) ● Threshold trigger (Page 210) (actual value Fre) Select the required function by the block number. The timebase is configurable.
LOGO! functions 4.4 Special functions list - SF 4.4.6 Edge triggered wiping relay Short description An input pulse generates a preset number of output pulses with a defined pulse/pause ratio (retriggerable), after a configured delay time has expired. Symbol in LOGO! 7UJ 5 3DU 4 Wiring Description Input Trg A signal at input Trg (Trigger) triggers the times for the edge triggered wiping relay. Input R A signal at input R resets the current time (Ta) and the output.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter View in programming mode (example): % 5 7/ V 7+ V 3URWHFWLRQ PRGH DQG UHWHQWLYLW\ ,QWHUSXOVH ZLGWK 3XOVH ZLGWK Press % 1 1XPEHU RI SXOVH SDXVH F\FOHV H[DPSOH View in parameter assignment mode (example): % 7/ V 7+ V 7D V &XUUHQW SXOVH ZLGWK 7/ RU 7+ LOGO! 174 Manual, 04/2011, A5E03556174-01
LOGO! functions 4.4 Special functions list - SF 4.4.7 Asynchronous pulse generator Short description The output pulse shape can be modified by reconfiguring the pulse/pause ratio. Symbol in LOGO! (Q ,QY 3DU 4 Wiring Description Input En You can use input EN to set and reset the asynchronous pulse generator. Input INV Input INV can be used to invert the output signal of the active asynchronous pulse generator. Parameter You can configure the pulse width TH and the interpulse width TL.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.8 Random generator Short description The output of the random generator is set or reset within a configured time. Symbol in LOGO! (Q 3DU Wiring Description Input En A positive edge ( 0 to 1 transition) at input En (Enable) triggers the on-delay time of the random generator. 4 A negative edge ( 1 to 0 transition) at input En (Enable) triggers the off-delay time of the random generator.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.9 Stairway lighting switch Short description An input edge triggers a configurable and retriggerable time. The output is reset after this time has expired. A warning signal can be output before this time has expired to warn of the impending shutdown. Symbol in LOGO! 7UJ 3DU 4 Wiring Description Input Trg A signal at input Trg (Trigger) triggers the off-delay time for the stairway lighting switch.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter Note the defaults specified in topic Time response (Page 151). Note All times must have the same timebase. View in programming mode (example): % 5 7 V 3URWHFWLRQ PRGH DQG UHWHQWLYLW\ 2II GHOD\ WLPH Press % 7 V 7 / V 6WDUW RI WKH RII ZDUQLQJ SHULRG 7 7 2II ZDUQLQJ WLPH View in parameter assignment mode (example): % 7 V 7D V &XUUHQW YDOXH RI 7 LOGO! Manual, 04/2011
LOGO! functions 4.4 Special functions list - SF 4.4.10 Multiple function switch Short description Switch with two different functions: ● Pulse switch with off-delay ● Switch (permanent lighting) Symbol in LOGO! 7UJ 5 3DU Wiring Description Input Trg A signal at input Trg (Trigger) sets output Q (permanent light) or resets Q with an off-delay. When active, output Q can be reset with a signal at input Trg. Input R A signal at input R resets the current time Ta and resets the output.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter Note the defaults specified in the topic "Time response (Page 151)". Note T, T! and T!L must all have the same timebase. View in programming mode (example): % 5 7 V 7/ V 3URWHFWLRQ PRGH DQG UHWHQWLYLW\ 2II GHOD\ 3HUPDQHQW OLJKW RQ WLPH Press % 7 V 7 / V 6WDUW RI WKH RII ZDUQLQJ SHULRG 7 7 2II ZDUQLQJ WLPH View in parameter assignment mode (example): % 7 V 7/ V
LOGO! functions 4.4 Special functions list - SF 4.4.11 Weekly timer Short description The output is controlled by means of a configurable on/off date. The function supports any combination of weekdays. You select the active weekdays by hiding the inactive days. Note Because LOGO! 24/24o does not have a real-time clock, the weekly timer function is not available for both versions.
LOGO! functions 4.4 Special functions list - SF Functional description Each weekly timer has three cams you can use to configure a time hysteresis. You specify the on- and off-times at the Cam parameters. The weekly timer sets the output at a certain on-time, if this is not already set. The weekly timer resets the output at a certain off-time if you configured an off-time, or at the end of the cycle if you specified a pulse output.
LOGO! functions 4.4 Special functions list - SF Days of the week The prefix "D=" (Day) has the following meaning: ● M: Monday ● T: Tuesday ● W: Wednesday ● T: Thursday ● F: Friday ● S: Saturday ● S: Sunday Uppercase letters indicate a specific day of the week. A "-" indicates no selection for the day of the week. On-/Off-times Any time between 00:00 h and 23:59 h is possible. You can also configure the on time to be a pulse signal.
LOGO! functions 4.4 Special functions list - SF Weekly timer: Example The output of the weekly timer switch is to be set daily from 06:30 h to 08:00 h. The output should also be set every Tuesday from 03:10 h to 04:15 h, and on the weekends from 16:30 h to 23:10 h. This requires three cams. Here are the parameter assignment screen forms of the cams No 1, 2 and 3, based on the timing diagram shown earlier. Cam1 Cam No1 must set the output of the weekly timer daily from 06:30 h to 08:00 h.
LOGO! functions 4.4 Special functions list - SF Cam3 Cam No3 must set the output of the weekly timer switch every Saturday and Sunday from 16:30 h to 23:10 h. View in LOGO! 0BA6: % ' 66 2Q 2II View in LOGO! 0BA7: % ' 66 2Q 2II Result &DP 4 0RQGD\ :HGQHVGD\ )ULGD\ 6XQGD\ 7XHVGD\ 7KXUVGD\ 6DWXUGD\ LOGO! Manual, 04/2011, A5E03556174-01 189
LOGO! functions 4.4 Special functions list - SF 4.4.12 Yearly timer Short description The output is controlled by means of a configurable on/off date. You can configure the timer to activate on a yearly, monthly, or user-defined time basis. With any mode, you can also configure the timer to pulse the output during the defined time period. The time period is configurable within the date range of January 1, 2000 to December 31, 2099.
LOGO! functions 4.4 Special functions list - SF Example 2:Yearly mode on, Monthly mode off, Pulse on, On Time = 2000-03-15, Off Time = 2099-**-**: Every year on March 15, the timer switches on for one cycle. <<<< 00 '' 2Q 2II %
LOGO! functions 4.4 Special functions list - SF Example 5:Yearly mode off, Monthly mode off, Pulse off, On Time = 2008-06-01, Off Time = 2008-08-31: On June 1, 2008 the timer output switches on and remains on until August 31, 2010. <<<< 00 '' 2Q 2II %
LOGO! functions 4.4 Special functions list - SF Example 8:Yearly mode on, Monthly mode on, On Time = 2008-**-01, Off Time = 2010-**05: Starting in 2008, on the first day of each month the timer output switches on and switches off on the fifth day of the month. The timer continues in this pattern through the last month of 2010. -DQ <<<< 00 '' 2Q 2II %
LOGO! functions 4.4 Special functions list - SF Backup of the real-time clock The internal real-time clock of LOGO! is buffered against power failure. The buffering time is influenced by the ambient temperature, and is typically 80 hours at an ambient temperature of 25°C. If you are using the optional LOGO! Battery card, or combined LOGO! Memory/Battery card, LOGO! can retain the clock time for up to two years.
LOGO! functions 4.4 Special functions list - SF 4.4.13 Astronomical clock (0BA7 only) Short description The astronomical clock function is used to set an output high when the current time of your LOGO! Base Module is between the time of sunrise (TR) and the time of sunset (TS). LOGO! automatically calculates these times based on the geographical location, the settings for automatic summertime/wintertime conversion, and the current time of the module.
LOGO! functions 4.4 Special functions list - SF Timing diagram The following illustration is an example of the timing diagram where Ta refers to the current time of the LOGO! Base Module: 0RQGD\ 7XHVGD\ 7D 7D 75 76 75 :HGQHVGD\ 7D 76 4 75 76 Functional description The function calculates the TR and TS values at the input and sets Q when Ta (Ta is the current LOGO! Time) is between TR and TS; otherwise, the function resets Q.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.14 Stopwatch (0BA7 only) Short description The stopwatch function counts the elapsed time between a start stopwatch signal and a stop stopwatch signal. Symbol in LOGO! (Q /DS 5 3DU 6: $4 Wiring Description En A signal at input En begins counting elapsed time at analog output AQ. Lap A positive edge (0 to 1 transition) at input Lap pauses the stopwatch. A negative edge (1 to 0 transition) at input Lap resumes the stopwatch.
LOGO! functions 4.4 Special functions list - SF Timing diagram (Q /DS 5 &XU7 /DS7 $4 Functional description En = 1 and Lap = 0: Using the selected timebase, the stopwatch outputs the current time (CurT) to AQ. En = 1 and Lap = 1: The stopwatch leaves AQ at its last value when Lap = 0. This value is recorded as LapT for stopwatch pause time. En = 0 and Lap = 1: The stopwatch pauses counting time. It outputs LapT to AQ. En = 0 and Lap = 0: The stopwatch outputs the current time (CurT) to AQ.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter View in programming mode (example): % 7% PV 3URWHFWLRQ PRGH DQG UHWHQWLYLW\ 7LPHEDVH To change the timebase, press to move the cursor to "1". Press timebase. To confirm your selection, press OK.
LOGO! functions 4.4 Special functions list - SF 4.4.15 Up/down counter Short description An input pulse increments or decrements an internal value, depending on the parameter setting. The output is set or reset when a configured threshold is reached. The direction of count can be changed with a signal at input Dir. Symbol in LOGO! 5 &QW 'LU 3DU 4 Wiring Description Input R A signal at input R resets the internal count value to zero.
LOGO! functions 4.4 Special functions list - SF Parameters On and Off The on threshold On and the off threshold Off can be provided by the actual value of another already-programmed function.
LOGO! functions 4.4 Special functions list - SF Timing diagram 5 &QW 'LU 2Q 2II ,QWHUQDO FRXQW YDOXH &QW 6WDUW9DO 4 Functional description The internal counter increments (Dir = 0) or decrements (Dir = 1) by one count with every positive edge at input Cnt. You can use input R to reset the internal count value to the start value. As long as R = 1, the output is also 0 and the pulses at input Cnt are not counted.
LOGO! functions 4.4 Special functions list - SF To set the start value, press or to access the following screen form: % 5 679 If the referenced block (B021, in the example) returns a value that lies out of the valid range, the value is rounded to the next valid value.
LOGO! functions 4.4 Special functions list - SF 4.4.16 Hours counter Short description A configured time is triggered with a signal at the monitoring input. The output is set when this time has expired. Symbol in LOGO! 5 (Q 5DO 3DU K Wiring Description Input R A positive edge (0 to 1 transition) at input R resets output Q and sets a configured value MI at the counter for the duration of the time-to-go (MN). Input En En is the monitoring input. LOGO! scans the on-time of this input.
LOGO! functions 4.4 Special functions list - SF Parameter MI The maintenance interval MI can be provided by the actual value of another alreadyprogrammed function. The timebase of the referenced value is "h" (for hours) only.
LOGO! functions 4.4 Special functions list - SF Timing diagram 5 (Q 5DO 4 01 0, 3DU 0, K 01 27 0, &RQILJXUHG WLPH LQWHUYDO 01 7LPH WR JR 27 7RWDO WLPH H[SLUHG VLQFH WKH ODVW KL VLJQDO DW LQSXW 5DO Functional description The hours counter monitors input En. When En = 1, LOGO! computes the time expired and the time-to-go MN. LOGO! shows these times in parameter assignment mode. Output Q is set when the time-to-go MN = 0.
LOGO! functions 4.4 Special functions list - SF Limit value of OT The value of the operating hours in OT is retained when you reset the hours counter with a signal at input R. The hours counter OT will be reset to zero with a transition from 0 to 1 at Ral. The hours counter OT continues the count as long as En = 1, irrespective of the status at the reset input R. The counter limit of OT is 99999 h. The hours counter stops when it reaches this value. In programming mode, you can set the initial value of OT.
LOGO! functions 4.4 Special functions list - SF For information on how to assign the actual value of another already-programmed function to a parameter, see the On-delay (Page 160) topic.
LOGO! functions 4.4 Special functions list - SF 4.4.17 Threshold trigger Short description The output is set and reset with two configurable threshold triggers. Symbol in LOGO! )UH 3DU Wiring Description Input Fre The function counts the 0 to 1 transitions at input Fre. 1 to 0 transitions are not counted. 4 Use Parameter • inputs I3, I4, I5, I6 for fast counting (only LOGO! 12/24RC/RCo, LOGO! 12/24RCE, LOGO! 24/24o and LOGO! 24C/24Co): max.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Calculation rule ● If the On threshold ≥ Off threshold, then: Q = 1, if fa > On Q = 0, if fa ≤ Off. ● If the On threshold < Off threshold, then Q = 1 if On ≤ fa < Off. Setting the Par parameter Note The system scans the counter limit value once per interval G_T.
LOGO! functions 4.4 Special functions list - SF 4.4.18 Analog threshold trigger Short description The output is set and reset at two configurable thresholds. Symbol in LOGO! $[ 3DU $ Wiring Description Input Ax Input Ax is one of the following analog signals: 4 Parameter • AI1 to AI8 (*) • AM1 to AM6 (if 0BA6) or AM1 to AM16 (if 0BA7) • NAI1 to NAI32 (if 0BA7) • AQ1 to AQ2 • NAQ1 to NAQ16 (if 0BA7) • Block number of a function with analog output A: Gain Range of values: ±10.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Calculation rule ● If the On threshold ≥ Off threshold, then: Q = 1, if the actual value Ax > On Q = 0, if the actual value Ax ≤ Off. ● If the On threshold < Off threshold, then Q = 1 if On ≤ actual value Ax < Off. Setting the Par parameter The gain and offset parameters are used to adapt the sensors to the relevant application.
LOGO! functions 4.4 Special functions list - SF 4.4.19 Analog differential trigger Short description The output is set and reset depending on a configurable threshold and a differential value.
LOGO! functions 4.4 Special functions list - SF Timing diagram B: Function with positive difference Δ 2II 2Q ˂ 2Q $[ 4 Functional description The function fetches the analog signal at input Ax. Ax is multiplied by the value of the A (gain) parameter, and the value at parameter B (offset) is added to product, i.e. (Ax • gain) + offset = actual value of Ax. Output Q is set or reset, depending on the set (On) threshold and difference value (Δ).
LOGO! functions 4.4 Special functions list - SF View in parameter assignment mode (example): % 2Q ෙ $[ 2Q WKUHVKROG 'LIIHUHQWLDO YDOXH IRU WKH RII WKUHVKROG 4 $[ ! 2Q Press % 2II 4.4.20 2II WKUHVKROG Analog comparator Short description The output is set and reset depending on the difference Ax - Ay and on two configurable thresholds. Symbol in LOGO! $[ $\ 3DU ˂$ Wiring Description Inputs Ax and Ay Inputs Ax and Ay are one of the following analog signals:
LOGO! functions 4.4 Special functions list - SF Gain and offset parameters For more information on the gain and offset parameters, refer to topic "Calculating the gain and offset of analog values (Page 154)". Parameters On and Off The on threshold On and the off threshold Off can be provided by the actual value of another already-programmed function.
LOGO! functions 4.4 Special functions list - SF Parameter p (number of decimals) Applies only to Ax, Ay, On, Off and Δ values displayed in a message text. Does not apply to the comparison of on and off values! (The compare function ignores the decimal point.) Timing diagram $[ $\ $[ $\ 4 IRU $[ $\ ! LI 2Q 2II Functional description The function fetches the analog values from the inputs Ax and Ay.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter The gain and offset parameters are used to adapt the sensors to the relevant application. View in programming mode: % 2Q 2II 3DUDPHWHU SURWHFWLRQ PRGH 2Q WKUHVKROG 2II WKUHVKROG Press % $ % S *DLQ 2IIVHW 'HFLPDOV LQ WKH PHVVDJH WH[W Example In a heating control system, the supply Tv and return line temperatures Tr are to be compared, for example with a sensor at AI2.
LOGO! functions 4.4 Special functions list - SF Configuration (example): % 2Q 2II 3URWHFWLRQ PRGH 2Q WKUHVKROG 2II WKUHVKROG Press % $ % S *DLQ 2IIVHW 'HFLPDOV LQ WKH PHVVDJH WH[W LI XVHG View in parameter assignment mode (example): % 2Q 2II 2Q WKUHVKROG 2II WKUHVKROG Press % $[ $\ ෙ 7HPSHUDWXUH YDOXHV 4 GLIIHUHQWLDO YDOXH ! 2Q View in the message text (example): $[ $
LOGO! functions 4.4 Special functions list - SF Function block diagram $, $, $QDORJ FRPSDUDWRU % 2Q GHOD\ ˂$ % $, 2II GHOD\ % $, 4 4.4.21 Analog watchdog Short description This special function saves the process variable of an analog input to memory, and sets the output when the output variable exceeds or drops below this stored value plus a configurable offset.
LOGO! functions 4.4 Special functions list - SF Gain and offset parameters For more information on gain and offset parameters, refer to topic "Calculating the gain and offset of analog values (Page 154)". Parameters Delta1 and Delta2 The Delta1 and Delta2 parameters can be provided by the actual value of another alreadyprogrammed function.
LOGO! functions 4.4 Special functions list - SF Parameter p (number of decimals) Applies only to the Aen, Ax, Δ 1 and Δ 2 values displayed in a message text. Timing diagram (Q $HQ ˂ $HQ $HQ ˂ $[ 4 Functional description A 0 to 1 transition at input En saves the value of the signal at the analog input Ax. This saved process variable is referred to as "Aen".
LOGO! functions 4.4 Special functions list - SF View in parameter assignment mode (example): % ෙ $HQ $[ 4 $[ LV RXW RI WKH UDQJH RI $HQ ෙ WR $HQ ෙ % ෙ 4.4.22 Analog amplifier Short description This special function amplifies the value of an analog input and outputs the result at an analog output.
LOGO! functions 4.4 Special functions list - SF Gain and offset parameters Please note the information on gain and offset parameters in topic Calculating the gain and offset of analog values (Page 154). Parameter p (number of decimals) Applies only to the AQ value in a message text. Functional description The function fetches the analog signal of input Ax.
LOGO! functions 4.4 Special functions list - SF View in parameter assignment mode (example): % $ % $4 4.4.23 Latching relay Short description Input S sets output Q, input R resets output Q again. Symbol in LOGO! 56 6 5 3DU 4 Wiring Description Input S You set output Q with a signal at input S. Input R You reset output Q with a signal at input R. If S and R = 1, the output is reset. Parameter Retentivity: / = No retentivity R = The status is retentive.
LOGO! functions 4.4 Special functions list - SF 4.4.24 Pulse relay Short description A short pulse at the input sets and resets the output. Symbol in LOGO! 7UJ 6 5 3DU 4 56 Wiring Description Input Trg You set and reset output Q with a signal at input Trg (Trigger). Input S You set output Q with a signal at input S. Input R You reset output Q with a signal at input R.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.25 Message texts Short description With the message text function block, you can configure a message that includes text and other parameters for LOGO! to display in RUN mode. You can configure simple message texts from the LOGO! onboard display. LOGO!Soft Comfort provides an extended set of features for message texts: bar graph representation of data, names for digital I/O states and more.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Programming Global Message Text Parameters (GLW (GLW &OHDU 3UJ &OHDU 3UJ 3DVVZRUG 3DVVZRUG !0VJ &RQILJ !0VJ &RQILJ 3UHVV Ⴍ 6HW WKH $QDORJ !$QDORJ 7LPH 5HIUHVK 7LPH 7LFN WLPH &KDU6HWV &XUU&KDU6HW PV 3UHVV 3UHVV Ⴑ 6HW V V 2. RU Ⴇ 6WHS WKURXJK YDOXHV RI RU PV WR LQFUHDVH RU GHFUHDVH WKH DQDORJ LQSXW UHIUHVK WLPH /2*2 XSGDWHV WKH YDOXH DQG FXUVRU SRVLWLRQ EHWZHHQ V DQG V WR VKRZ \RXU FXUUHQW VHO
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Restriction A maximum of 50 message texts are available. Functional description When LOGO! is in RUN mode, LOGO! displays the message text that you have configured along with its parameter values upon a 0 to 1 transition of the signal at input En. Based on your setting for the message destination, the message text displays on the LOGO! onboard display, the LOGO! TD, or both.
LOGO! functions 4.4 Special functions list - SF Example This is how two message texts could be shown: 'LVSOD\ ILHOG RI /2*2 LQ 581 PRGH 0RWRU 6723 $7 $FWLRQ ([DPSOH 0HVVDJH WH[W ZLWK SULRULW\ 3UHVV ႭႣ 0RWRU KRXUV 0$,17(1$1&( ([DPSOH 0HVVDJH WH[W ZLWK SULRULW\ 3UHVV ႭႣ 0R 'DWH DQG FXUUHQW WLPH RI GD\ RQO\ IRU YHUVLRQV ZLWK UHDO WLPH FORFN Message Ticking You can configure message text lines to tick or not tick.
LOGO! functions 4.4 Special functions list - SF Example: Tick Message Character by Character The following illustration shows a one-line, 24-character message text: ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; If you set this message to tick "character by character" with a tick interval of 0.
LOGO! functions 4.4 Special functions list - SF Input P configuration From the input P, you configure the following characteristics of the message text: ● Priority ● Acknowledgement ● Message destination ● Tick type, and tick setting for each line To configure the priority and the acknowledgment (programming mode): % 3ULRULW\ $FN 2II PHDQV 7KH SDUDPHWHUV DQG DFWXDO YDOXHV LQ DQ DFWLYH PHVVDJH WH[W FDQ EH HGLWHG 3ULRULW\ 6WDWXV RI WKH DFNQRZOHGJHPHQW 1.
LOGO! functions 4.4 Special functions list - SF 5. If your message text has lines that tick, press to position the cursor on the "Ch by Ch" line and then press or to select either "Ch by Ch" or "Ln by Ln" for the TickType. 6. From the Tick Type screen, press to enable or disable ticking for each line of the message text. LOGO! displays the following screen form: % 1R 1R 7.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Editing message texts Only simple message texts can be edited from the LOGO! Basic. Text messages created in LOGO!Soft Comfort that make use of new features such as bar graphs, I/O status names, and others can not be edited from the LOGO! Basic. Also, you cannot edit message texts from the LOGO! Basic that contain any of the following parameters: ● Par ● Time ● Date ● EnTime ● EnDate You can only edit such message texts from LOGO!Soft Comfort.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter View in programming mode: Press 3DUDPHWHU DVVLJQPHQW VFUHHQ IRUP IRU 3DU to select a line for the message text. Press and to select the letter to be displayed in the text. To move the cursor from one position to the other, press and . The list of available characters is the same as for the circuit program name. The character set is found in topic Circuit program input (Page 86).
LOGO! functions 4.4 Special functions list - SF 4.4.26 Softkey Short description This special function has the effect of a mechanical pushbutton or switch. Symbol in LOGO! (Q 3DU Wiring Description Input En Output Q is set with a 0 to 1 transition of the signal at input En (Enable), and if 'Switch=On' was confirmed in parameter assignment mode. Parameter Programming mode: Selecting the function for pushbutton action for the duration of one cycle, or for switching action.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter View in programming mode (example): 1. Select the 'Softkey' function. 2. Select input En and confirm with OK. The cursor is now positioned below 'Par'. 3. Change to the input mode of 'Par': Confirm with OK (the cursor is now positioned to 'On') % 2Q 6WDUW 2Q 7KH VWDWXV LV QRW UHWHQWLYH ಯ0RPHQWDU\ SXVKEXWWRQರ IXQFWLRQ 4 LV VHW LQ WKH ILUVW SURJUDP F\FOH DIWHU SURJUDP VWDUW To change 'Par' to 'Switch' action and the init
LOGO! functions 4.4 Special functions list - SF Let us assume you want to set 'Switch' (On). 1. Change to the editing mode: Confirm with OK (the cursor is now positioned on 'Off') 2. To change from 'Off' to 'On': Press or 3. Confirm your entries with Press OK % 7KH SXVKEXWWRQ VZLWFK KHUH LV VZLWFKHG RQ 6ZLWFK 2Q 4.4.27 Shift register Short description You can use the shift register function to read the value of an input and to shift its bits left or right.
LOGO! functions 4.4 Special functions list - SF Functional description The function reads the value at input In with a positive edge (0 to 1 transition) at input Trg (Trigger). If your LOGO! is a LOGO! 0BA6, this value is applied to shift register bit S1 or 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.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter (0BA7) View in programming mode (example): % 5 %\WH LQGH[ 4 6 5HWHQWLYLW\ HQDEOHG
LOGO! functions 4.4 Special functions list - SF Parameters V1...V4 The analog values for the parameters V1...V4 can be derived from another alreadyprogrammed function.
LOGO! functions 4.4 Special functions list - SF Timing diagram (Q 6 6 9 9 9 $4 9 Functional description If input En is set, then the function issues one of four possible analog values V1 to V4 at the 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. Analog output If you interconnect this special function with a real analog output, note that the analog output can only process values between 0 and 1000.
LOGO! functions 4.4 Special functions list - SF 4.4.29 Analog Ramp Short description The Analog Ramp instruction allows the output to be changed from the current level to the selected level at a specified rate. Symbol in LOGO! (Q 6HO 6W 3DU $ᇄ Wiring Description Input En A change in the status from 0 to 1 at input En (Enable) applies the start/stop level (Offset "B" + StSp) to the output for 100 ms and starts the ramp operation to the selected level.
LOGO! functions 4.4 Special functions list - SF Symbol in LOGO! Wiring Description Parameter Level 1 and Level 2: Levels to be reached Range of values for each level: -10,000 to +20,000 MaxL: Maximum value that must not be exceeded under any circumstances. Range of values: -10,000 to +20,000 StSp: Start/Stop offset:: value that is added to Offset "B" to create the start/stop level. If the Start/Stop offset is 0, then the start/stop level is Offset "B"..
LOGO! functions 4.4 Special functions list - SF Parameters L1, L2 The analog values for the parameters L1 and L2 can be derived from another alreadyprogrammed function.
LOGO! functions 4.4 Special functions list - SF Timing diagram for AQ (Q 6HO 6W H DW 5 5 H H DW DW /HYHO 5 5 DW H 0D[/ /HYHO 6W6S % $4 % PV PV PV Functional description If the input En is set, then the function sets the current level to StSp + Offset "B" for 100 ms. Then, depending on the connection of Sel, the function runs from the level StSp + Offset "B" to either level 1 or level 2 at the acceleration set in Rate.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.30 PI controller Short description Proportional-action and integral-action controllers. You can use both types of controller individually or combined. Symbol in LOGO! $ 0 5 39 3DU $ᇄ Wiring Description Input A/M Set the mode of the controller: 1: automatic mode 0: manual mode Input R Use the input R to reset the output AQ. As long as this input is set, the input A/M is disabled. Output AQ is set to 0.
LOGO! functions 4.4 Special functions list - SF Symbol in LOGO! Wiring Description Output AQ This special function has an analog output (= manipulated variable). This output can only be connected with the analog input of a function, an analog flag or an analog output connector (AQ1, AQ2). Range of values for AQ: 0...1000 Parameters SP and Mq The set-value SP and the value for Mq can be provided by another already-programmed function.
LOGO! functions 4.4 Special functions list - SF Select the required function by the block number. For information on parameter defaults, refer to the On-delay (Page 160) topic. Parameters KC, TI Please note: ● If parameter KC has value 0, the "P" function (proportional control) will not be executed. ● If parameter TI has value 99:59 m, the "I" function (integral-action control) will not be executed.
LOGO! functions 4.4 Special functions list - SF Functional description If the input A/M is set to 0, then the special function issues output AQ with the value that you 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. Note For further information on the controller basics, please refer to the online help for LOGO!Soft Comfort.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter View in programming mode (example): % 63 ൺ% 3UHVV Ⴑ Ⴇ % .& 7, 'LU 3UHVV Ⴑ Ⴇ % 0T ൺ% 0LQ 0D[ 3UHVV Ⴑ Ⴇ % $ % S View in parameter assignment mode: % 63 ൺ% 39 $4 3UHVV Ⴑ Ⴇ % .
LOGO! functions 4.4 Special functions list - SF 4.4.31 Pulse Width Modulator (PWM) Short description The Pulse Width Modulator (PWM) instruction modulates the analog input value Ax to a pulsed digital output signal. The pulse width is proportional to the analog value Ax. Symbol in LOGO! (Q $[ 3DU Wiring Description Input En A positive edge (0 to 1 transition) at input En enables the PWM function block. Input Ax Analog signal to be modulated to a pulsed digital output signal.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Examples with Timing Diagrams The following examples show how the PWM instruction modulates a digital output signal from the analog input value: Example 1 Analog input value: 500 (range 0 ...1000) Periodic time T: 4 seconds The digital output of the PWM function is 2 seconds high, 2 seconds low, 2 seconds high, 2 seconds low and continues in that pattern as long as parameter "En" = high.
LOGO! functions 4.4 Special functions list - SF Setting the Par Parameter The following illustration shows the view in programming mode that corresponds to the first example: % 0LQ 0D[ $ 3UHVV Ⴑ Ⴇ % % 7 V S Use the and keys to navigate to the Min, Max, A, B, T and P parameters. For each digit of a value, use the and keys to scroll through value choices.
LOGO! functions 4.4 Special functions list - SF 4.4.32 Mathematic instruction Short description The mathematic instruction block calculates the value AQ of an equation formed from the user-defined operands and operators. Symbol in LOGO! (Q 3DU $ᇄ Wiring Description Input En A change in the status from 0 to 1 at input En (Enable) enables the mathematic instruction function block.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Functional Description The mathematic instruction function combines the four operands and three operators to form an equation. The operator can be any one of the four standard operators: +, -, *, or /. 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 then by the low operation. You must have exactly one operation of each priority.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter The following illustration shows the view in programming mode that corresponds to the first example (12 + (6 / 3)) - 1: % 9 23 35 0 3UHVV Ⴑ Ⴇ % 9 23 35 + 3UHVV Ⴑ Ⴇ % 9 23 35 / 3UHVV Ⴑ Ⴇ % 9 4HQൺ S Use the and keys to navigate between the operand value, operator, and operation priority.
LOGO! functions 4.4 Special functions list - SF Parameter MathBN The value for the MathBN parameter references the block number of an alreadyprogrammed mathematic instruction function block. Functional description The mathematic instruction error detection block sets the output when the referenced mathematic instruction 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.
LOGO! functions 4.4 Special functions list - SF Setting the Par parameter The parameters MathBN, AutoRst, and Err can be set in programming mode or parameter assignment mode. View in programming mode (example): % 0DWK%1 % $XWR5VW 1 (UU =' 2) %ORFN QXPEHU RI DQ DOUHDG\ SURJUDPPHG DQDORJ PDWK LQVWUXFWLRQ $XWR 5HVHW < RU 1 =' 2) RU =' 2) Use the and keys to navigate between the MathBN, AutoRst, and Err parameters.
LOGO! functions 4.4 Special functions list - SF 4.4.34 Analog filter (0BA7 only) Short Description The analog filter function smooths the analog input signal. Symbol in LOGO! $[ 3DU Wiring Description Ax Input Ax is the analog input signal to be smoothed.
LOGO! functions 4.4 Special functions list - SF Functional description The function fetches the analog signal at input Ax based on the set number of samples (Sn) and outputs the average value. Note There are a maximum of eight analog filter function blocks available for use in the circuit program in LOGO! 0BA7.
LOGO! functions 4.4 Special functions list - SF 4.4.35 Max/Min (0BA7 only) Short description The Max/Min function records the maximum or minimum value of Ax. Symbol in LOGO! (Q 6 $[ 3DU $[ Wiring Description En A signal at input En (Enable) outputs an analog value to AQ, depending on the settings of parameters ERst and Mode. S1 S1 functions only when the parameter Mode is set to 2. $4 If Mode is set to 2, a change in status from 0 to 1 at input S1 (selector) outputs the maximum value to AQ.
LOGO! functions 4.4 Special functions list - SF Parameter Mode The value for parameter Mode can be provided by the actual value of another alreadyprogrammed function.
LOGO! functions 4.4 Special functions list - SF Timing diagram (example) $[ (Q ,I (5VW 6 $4 0RGH Functional description ERst = 1 and En = 0: The function sets the AQ value to 0. ERst = 1 and En = 1: The function outputs a value at AQ, depending on the settings of Mode and S1. ERst = 0 and En = 0: The function holds the value of AQ at the current value.
LOGO! functions 4.4 Special functions list - SF 4.4.36 Average value (0BA7 only) Short description The average value function calculates the average value of an analog input over a configured time period. Symbol in LOGO! (Q 5 $[ 3DU $[ Wiring Description En A change in status from 0 to 1 transition at input En starts the average value function. A change in status from 1 to 0 at input En holds the analog output value. $4 R A signal at input R clears the analog output value.
LOGO! functions 4.4 Special functions list - SF Timing diagram (example) $4 $[ (Q 5 6Q 6Q 6W V 6Q 6W V Functional description This function fetches the analog input signal according to both the set sampling time St and the number of samples Sn and outputs the average value. A signal at R sets AQ to 0. Setting the Par parameter View in programming mode (example): % 6W V 6Q 3URWHFWLRQ PRGH DQG UHWHQWLYLW\ 6DPSOLQJ WLPH LQ VHF
LOGO! functions 4.
UDF (User-Defined Function) (0BA7 only) 5 User-Defined Function (UDF) LOGO!Soft Comfort V7.0 provides you with a new option for creating circuit programs - the UDF (User-Defined Function) editor. You can save circuit programs created in the UDF editor as individual UDF blocks for use in a circuit program in the UDF or FBD editor. A UDF block is a preconfigured circuit program that you create. You can add it to an existing circuit program as you do with a function block.
UDF (User-Defined Function) (0BA7 only) Editing elements to the inputs of a UDF block: 1. Switch LOGO! to programming mode. !3URJUDP &DUG 6HWXS 6WDUW Ⴃ Ⴍ !1HWZRUN 'LDJQRVWLF 2. Select "①" on the main menu: Press or 3. Confirm "①": Press OK !(GLW &OHDU 3UJ 3DVVZRUG 0VJ &RQILJ 4. Select "②": Press or 5. Confirm "②": Press OK !(GLW 3UJ (GLW 1DPH $4 0HPRU\" 6. Select "③": Press or 7.
UDF (User-Defined Function) (0BA7 only) 8. Press until LOGO! steps into the screen form for the first UDF block U01. 8 4 3DU , 9. Press to move the cursor to "④", then press OK. The cursor appears in a flashing solid square. Note that "1" in position "④" represents the first input of the UDF block U01 that is connected to I1. "1" in position "⑤" represents the first output of U01 that is connected to Q1. 10.Press or to view other active inputs created in LOGO!Soft Comfort.
UDF (User-Defined Function) (0BA7 only) Editing elements to the outputs of a UDF block: If LOGO! shows the following screen form as shown in step 10 above and you want to change the element connected to "1" where "1" indicates the first output of the UDF block U01 that is connected to Q1, follow these steps: 8 4 3DU ) 1. Press ESC to return to the menu as shown in step 5 above. Repeat steps 6 and 7. LOGO! shows the following display: 4 8 4 2.
UDF (User-Defined Function) (0BA7 only) Setting the Par parameter You can edit the Par parameter for your UDF block if you configured parameters for this UDF using LOGO!Soft Comfort; otherwise, you cannot edit parameters for UDF blocks. In this case, the UDF block display shows no "Par": ) 8 4 If your UDF block contains the Par parameter, you can edit the parameters as described below: View in programming mode (example): 8 4 3DU , 1. Press to move the cursor to "Par" and press OK.
UDF (User-Defined Function) (0BA7 only) 4. Press to see the final view: 8 $ % You can also edit UDF parameter settings in parameter assignment mode in the same way as you do in programming mode.
6 Data Log (0BA7 only) You can configure a maximum of one Data Log for your circuit program using LOGO!Soft Comfort. The Data Log is used to record process measurement variables of the selected function blocks. You can add the Data Log instruction to your circuit program as you do with a function block. If you configured the Data Log for your circuit program, after transferring the program from LOGO!Soft Comfort to LOGO!, you can edit the elements connected to the Data Log block.
Data Log (0BA7 only) 3. You can see that a flag M1 is connected to the Data Log block L1. Press OK or move the cursor to "M" in "M1". Press OK. LOGO! shows the following display: to ൺ &R / 4. You can select a different element from available lists and press OK to confirm. In the following example, you can see that this Data Log block L1 is now connected to the B3 block: % / Ⴑ OR KL [ [ % / Note LOGO! 0BA7 provides a 1024-byte buffer for data logging.
Configuring LOGO! 7 Parameter assignment refers to the configuration of the block parameters. You can set delay times for time functions, the switching times of timers, counter threshold values, the monitoring interval of an hours counter, the on and off thresholds of the trigger, and more.
Configuring LOGO! 7.1 Selecting parameter assignment mode 7.1 Selecting parameter assignment mode Press ESC to change from RUN to parameter assignment mode: 0R 3UHVV (6& Note The following applies to earlier device versions up to 0BA2: you open parameter assignment mode by pressing ESC+OK.
Configuring LOGO! 7.1 Selecting parameter assignment mode LOGO! shows the main menu of the programming mode: LOGO! 0BA6 main menu !3URJUDP &DUG 6HWXS 6WDUW LOGO! 0BA7 main menu !3URJUDP &DUG 6HWXS 6WDUW Ⴃ Ⴍ !1HWZRUN 'LDJQRVWLF ● Menu command ② For information on the various parameters, refer to the topics "Parameters (Page 290)", "Selecting the parameters (Page 291)", and "Modifying parameters (Page 292)".
Configuring LOGO! 7.1 Selecting parameter assignment mode 7.1.1 Parameters Note The following discourse on parameters assumes that the respective default parameter mode ("+") has been maintained. This is a prerequisite for viewing and editing parameters in the parameter assignment mode! See the "Parameter protection (Page 153)" topic and the "Synchronization (Page 116)" topic.
Configuring LOGO! 7.1 Selecting parameter assignment mode 7.1.2 Selecting the parameters To select a parameter: 1. On the parameter assignment menu, select 'Set Param': Press or 6WRS !6HW 3DUDP 6HW 3UJ 1DPH 2. Confirm with OK. LOGO! shows the first parameter. If no parameter can be set, you can press ESC to return to the parameter assignment menu. %ORFN QXPEHU % 7 V 7D V 1R 3DUDP 3UHVV (6& 'LVSOD\ QXPEHU IRU IXQFWLRQV ZLWK VHYHUDO GLVSOD\V 7KH YDOXH VHW DW SDUDPHWHU 7 7LPH
Configuring LOGO! 7.1 Selecting parameter assignment mode 7.1.3 Modifying parameters You first select the parameter you want to edit (Page 291). You change the value of the parameter in the same way as you did in programming mode: 1. Move the cursor to the point at which you want to make the change: Press or 2. To change this value: Press or 3. To apply the value: OK Ⴃ RU Ⴍ &KDQJH 3UHVV % 7 V 0RYH 3UHVV 7D V 'RQH 2.
Configuring LOGO! 7.1 Selecting parameter assignment mode Current value of a counter View of a counter parameter in parameter assignment mode: % 2Q 2II &QW RU FXUUHQW FRXQW YDOXH % 2Q 2IIൺ% &QW You can change the on/off threshold. This does not apply if the on or off threshold represents the result of another function (in the "Up/down counter (Page 201)" topic, this is B021).
Configuring LOGO! 7.2 Setting the default values for LOGO! 7.
Configuring LOGO! 7.2 Setting the default values for LOGO! 7.2.1 Setting the time of day and date (LOGO! ... C) You can set the time of day and the date ● in parameter assignment mode by means of the set menu ("Clock" menu item) ● in programming mode by means of the setup menu ("Clock" menu item) To set the time of day and the date in parameter assignment mode: 1. Select parameter assignment mode (Page 288). 2. On the parameter assignment menu, select 'Set..
Configuring LOGO! 7.2 Setting the default values for LOGO! To set the time of day and the date in programming mode: If you want to set the time of day and the date in programming mode, select 'Setup' in the main menu, then menus 'Clock' and 'Set Clock'. You can now set the weekday and the time as described earlier (as of step 8.). 7.2.
Configuring LOGO! 7.2 Setting the default values for LOGO! To set the backlight choice in programming mode: You can set the default value for the backlight in programming mode only. 1. In the main menu, select "①" : Press 3URJUDP &DUG !6HWXS 6WDUW or 2. Confirm "①" : Press OK !&ORFN /&' 0HQX /DQJ %0 $, 180 3. Select "②": Press or 4. Confirm "②": Press OK !&RQWUDVW %DFN/LJKW 5. Select "③": Press or 6. Confirm "③": Press OK $OZD\V2Q GHIDXOW 7.
Configuring LOGO! 7.2 Setting the default values for LOGO! 7.2.3 Setting the menu language The language of the LOGO! menus can be one of ten predefined languages: CN (Chinese) DE (German) EN (English) ES (Spanish) FR (French) IT (Italian) NL (Dutch) RU (Russian) TR (Turkish) JP (Japanese) To set the menu language in parameter assignment mode: 1. Select parameter assignment mode (Page 288). 2. On the parameter assignment menu, select 'Set': Press or 3. Confirm 'Set..': Press OK 4.
Configuring LOGO! 7.2 Setting the default values for LOGO! 7.2.4 Setting the number of AIs in the LOGO! Basic LOGO! 12/24RC/RCo/RCE, LOGO! 24/24o and LOGO! 24C/24Co support up to four onboard inputs that can be used as either digital or analog inputs (0 ...10V). Inputs I7 (AI1) and I8 (AI2) are available as analog inputs by default, whether you use them or not. Inputs I1 (AI3) and I2 (AI4) are optional analog inputs.
Configuring LOGO! 7.2 Setting the default values for LOGO! 7.2.5 Setting the start screen You can select the default setting for the start screen that LOGO! and the LOGO! TD will display in RUN mode. You make this selection from LOGO! in parameter assignment mode. To select the start screen: 1. Select parameter assignment mode (Page 288). !6WRS 6HW 3DUDP 6HW 3UJ 1DPH 2. On the parameter assignment menu, select "①": Press or 3. Confirm "①": Press OK !&ORFN &RQWUDVW 6WDUW6FUHHQ 4.
Configuring LOGO! 7.2 Setting the default values for LOGO! LOGO! displays your selection. Power the LOGO! Basic off then on to make your changes take effect. When LOGO! is in RUN mode, both LOGO! and the LOGO! TD will display the start screen that you selected.
Configuring LOGO! 7.
Applicable cards 8 LOGO! 0BA6 provides the following cards for program storage and real-time clock backup: ● LOGO! Memory Card ● LOGO! Battery Card ● LOGO! Memory/Battery Card Each of the three cards is color-coded to make them easily distinguishable from one another. They also vary in size. The LOGO! Memory Card (purple) provides storage for the circuit program. The LOGO! Battery Card (green) provides battery backup of the real-time clock for up to two years.
Applicable cards Note You do not need a memory card or combined memory/battery card to backup the circuit program in your LOGO! The LOGO! circuit program is automatically stored in nonvolatile memory when you exit the programming mode. You can backup the LOGO! circuit program on a memory card, a combined memory/battery card, or a standard SD card. The order numbers are found in the Appendix section entitled "Order numbers (Page 363)". Compatability (Old memory cards in newer LOGO! modules) ...
Applicable cards 8.1 Security function (CopyProtect) 8.1 Security function (CopyProtect) The security function provides copy protection for circuit programs on memory cards, combined memory/battery cards or SD cards. Unprotected cards You can edit circuit programs without restrictions and exchange data between the card and the device. Protected cards A circuit program is protected when it is transferred from a protected program card to LOGO!.
Applicable cards 8.1 Security function (CopyProtect) Assigning a security function To assign a circuit program and copy protection function to the card, open the programming mode and select "Card". 1. Switch LOGO! to programming mode (ESC / >Stop). 2. Select the 'Card' command: Press or 3. To apply 'Card': Press OK 4. Move the '>' cursor to 'CopyProtect': Press or 5. To apply 'CopyProtect': Press OK LOGO! shows the following display: !1R
Applicable cards 8.2 Inserting and removing the card from LOGO! 8.2 Inserting and removing the card from LOGO! When you remove a LOGO! memory card, a combined memory/battery card, or an SD card that contains a circuit program with copy protection attributes, note the following: The circuit program stored on the card can only be executed if the card remains inserted during system runtime. After you have removed the card, LOGO! outputs the message 'No Program'.
Applicable cards 8.2 Inserting and removing the card from LOGO! To remove a battery card, or combined memory/battery card, slide a screwdriver with a 3mm blade into the slot on the upper surface of the card until it engages in the back, then with the screwdriver engaged, pull the card out with your hand. Removing the SD card slot cap from LOGO! 0BA7 To insert the SD card into the slot, you must first remove the slot cap with a screwdriver with a 3-mm blade.
Applicable cards 8.3 Copying data from LOGO! to the card 8.3 Copying data from LOGO! to the card Copying data from LOGO! to the card manually To manually copy the circuit program to the memory card, combined battery/memory card, or the SD card, follow these steps: 1. Insert the card into the slot. 2. Switch LOGO! to programming mode (ESC / >Stop). !3URJUDP &DUG 6HWXS 6WDUW /2*2 PDLQ PHQX 3. The main menu opens. To select the 'Card' command: Press or 4. Press OK. The transfer menu opens.
Applicable cards 8.3 Copying data from LOGO! to the card Copying data from LOGO! 0BA7 to the SD card automatically LOGO!Soft Comfort V7.0 provides an option for automatically copying the circuit program to the SD card when transferring the circuit program to LOGO! 0BA7. This option is available in the dialog for PC->LOGO! transfer. If you select this option, the circuit program is transferred to LOGO! 0BA7 and then automatically copied from LOGO! 0BA7 to the SD card.
Applicable cards 8.4 Copying data from the card to LOGO! 8.
Applicable cards 8.4 Copying data from the card to LOGO! Copying by means of the "Card" menu For information on the replacement of a memory card, combined memory/battery card, or an SD card, also note the information in the topic "Inserting and removing the card from LOGO! (Page 307)". To copy a program from the card to LOGO!: 1. Insert the card 2. Switch LOGO! to programming mode (ESC / >Stop). !3URJUDP &DUG 6HWXS 6WDUW 3. Move the '>' cursor to 'Card': Press or 4. Press OK.
LOGO! software 9.1 9 LOGO! software LOGO!Soft Comfort is available as a programming package for the PC.
LOGO! software 9.1 LOGO! software The LOGO! alternatives As you can see, LOGO!Soft Comfort represents an alternative to conventional engineering methods, with several advantages: ● You can develop the circuit program on your PC. ● You simulate the circuit program on your computer and verify its functions before you actually implement it in your system. ● You can add comments to the circuit program and create hard copies.
LOGO! software 9.2 Connecting LOGO! to a PC 9.2 Connecting LOGO! to a PC Connecting the PC cable (for LOGO! 0BA6 only) To connect LOGO! to a PC, you need the LOGO! PC cable. See the Appendix "Order numbers (Page 363)". Turn the power off to the LOGO! Base Module. Remove the cap, memory card, or combined memory/battery card from your LOGO! and connect the cable to this socket. Connect the other end of the cable to the serial port of your PC.
LOGO! software 9.2 Connecting LOGO! to a PC Note You can switch earlier versions up to 0BA3 with/without display to PC ↔ LOGO mode as follows: 1. Switch off the power supply to LOGO!. 2. Remove the cover or the memory, battery, or combined memory/battery card and connect the cable to this socket. 3. Switch on power. LOGO! switches automatically to PC ↔ LOGO mode. The PC can now access LOGO! For information on this function, refer to the LOGO!Soft Comfort Online Help.
Applications 10 Note LOGO! sample applications are available to all our customers free of charge on the Siemens LOGO! website (http://www.siemens.com/logo) (go to Products & Solutions → Applications → Application Examples). The examples provided are not guaranteed to be error-free; they serve as general information about the fields of application for LOGO!, and may be different from user-specific solutions. Siemens reserves the right to make changes. The user operates the system at his own responsibility.
Applications On the Web you can also find descriptions and the corresponding circuit diagrams of the applications. You can read these *.pdf files with the Adobe Acrobat Reader. If you have installed LOGO!Soft Comfort on your computer, you can simply click the disk icon to download the relevant circuit programs, which you can then adapt to suit your application and download to LOGO! directly via the PC cable.
A Technical data A.1 General technical data Criterion Tested in accordance with Values LOGO! Base Modules (0BA6) 72 x 90 x 55 mm Approx. 190 g on a 35 mm profile rail 4 module widths or wall mounting (LOGO! Basic or LOGO! Pure) Dimensions (WxHxD) Weight Installation LOGO! Base Modules (0BA7) (LOGO! Basic) 107 x 90 x 55 mm Approx. 265 g on a 35 mm profile rail 6 module widths or wall mounting Dimensions (WxHxD) Weight Installation LOGO! expansion modules DM8..., AM...
Technical data A.1 General technical data Criterion Tested in accordance with Values Ambient mechanical conditions Degree of protection IP 20 for LOGO! Base Modules, expansion modules, and the LOGO! TD excluding the TD front panel IP 65 for LOGO! TD front panel Vibrations: IEC 60068-2-6 5 ... 8.4 Hz (constant amplitude 3.5 mm) 8.4 ... 150 Hz (constant acceleration 1 g) Shock IEC 60068-2-27 18 shocks (half-sine wave 15g/11 ms) Free fall (packaged) IEC 60068-2-32 0.
Technical data A.2 Technical data: LOGO! 230... A.2 Technical data: LOGO! 230... LOGO! 230RC LOGO! 230RCo LOGO! 230RCE Input voltage 115 ... 240 V AC/DC 115 ... 240 V AC/DC Permissible range 85 ... 265 V AC 100 ... 253 V DC 85 ... 265 V AC 100 ... 253 V DC Permissible mains frequency 47 ... 63 Hz 47 ... 63 Hz Power supply Power consumption • 115 V AC • 15 ... 40 mA • 15 ... 40 mA • 240 V AC • 15 ... 25 mA • 15 ... 25 mA • 115 V DC • 10 ... 25 mA • 10 ...
Technical data A.2 Technical data: LOGO! 230... LOGO! 230RC LOGO! 230RCo LOGO! 230RCE Input current at • Signal 0 • < 0.03 mA AC • < 0.03 mA AC • Signal 1 • > 0.08 mA AC • > 0.08 mA AC • Signal 0 • < 0.03 mA DC • < 0.03 mA DC • Signal 1 • > 0.12 mA DC • > 0.12 mA DC Delay time at 0 to 1: • 120V AC • typ. 50 ms • typ. 50 ms • 240 V AC • typ. 30 ms • typ. 30 ms • 120 V DC • typ. 25 ms • typ. 25 ms • 240V DC • typ. 15 ms • typ.
Technical data A.2 Technical data: LOGO! 230... LOGO! 230RC LOGO! 230RCo LOGO! 230RCE max. 16 A, characteristic B16 max. 16 A, characteristic B16 Mechanical 10 Hz 10 Hz Ohmic load/lamp load 2 Hz 2 Hz Inductive load 0.5 Hz 0.5 Hz Protection of output relay (if desired) Switching rate Notice: For fluorescent lamps with capacitors, the technical data of fluorescent lamp ballasts must also be considered.
Technical data A.3 Technical data: LOGO! DM8 230R and LOGO! DM16 230R A.3 Technical data: LOGO! DM8 230R and LOGO! DM16 230R LOGO! DM8 230R LOGO! DM16 230R Input voltage 115...240 V AC/DC 115 ... 240 V AC/DC Permissible range 85 ... 265 V AC 100 ... 253 V DC 85 ... 265 V AC 100 ... 253 V DC Permissible mains frequency 47 ... 63 Hz Power supply Power consumption • 115 V AC • 10 ... 30 mA • 10 ... 60 mA • 240 V AC • 10 ... 20 mA • 10 ... 40 mA • 115 V DC • 5 ... 15 mA • 5 ...
Technical data A.3 Technical data: LOGO! DM8 230R and LOGO! DM16 230R LOGO! DM8 230R LOGO! DM16 230R Delay time at 0 to 1: • 120V AC • typ. 50 ms • typ. 50 ms • 240 V AC • typ. 30 ms • typ. 30 ms • 120 V DC • typ. 25 ms • typ. 25 ms • 240V DC • typ. 15 ms • typ. 15 ms Delay time at 1 to 0: • 120V AC • typ. 65 ms • typ. 65 ms • 240 V AC • typ. 105 ms • typ. 105 ms • 120 V DC • typ. 95 ms • typ. 95 ms • 240V DC • typ. 125 ms • typ.
Technical data A.4 Technical data: LOGO! 24... Notice: For fluorescent lamps with capacitors, the technical data of fluorescent lamp ballasts must also be considered. If the maximum allowed surge current is exceeded, fluorescent lamps must be switched with appropriate contactor relays. The data was determined with the following devices: Siemens fluorescent tubes 58W VVG 5LZ 583 3-1 uncompensated. Siemens fluorescent tubes 58W VVG 5LZ 583 3-1 parallel compensated with 7μF.
Technical data A.4 Technical data: LOGO! 24... LOGO! 24 LOGO! 24o LOGO! 24C LOGO! 24Co 0 to 1 typ. 1.5 ms <1.0 ms (I3 ... I6) typ. 1.5 ms <1.0 ms (I3 ... I6) 1 to 0 typ. 1.5 ms <1.0 ms (I3 ... I6) typ. 1.5 ms <1.0 ms (I3 ... I6) Line length (unshielded) max. 100 m max. 100 m Number 4 (I1=AI3, I2=AI4, I7=AI1, I8=AI2) 4 (I1=AI3, I2=AI4, I7=AI1, I8=AI2) Range 0 ... 10 V DC input impedance 72 kΩ 0 ...
Technical data A.5 Technical data: LOGO! DM8 24 and LOGO! DM16 24 LOGO! 24 A.5 LOGO! 24o LOGO! 24C LOGO! 24Co Ohmic load/lamp load 10 Hz 10 Hz Inductive load 0.5 Hz 0.5 Hz 1) When LOGO! 24/24o, LOGO! 24C/24Co, LOGO! DM8 24 or LOGO! DM16 24 are switched on, signal 1 is sent to the digital outputs for about 50 μs. Take this into account, especially when using devices that react to short pulses. 2) The maximum switching rate is only dependent on the switching program's cycle time.
Technical data A.5 Technical data: LOGO! DM8 24 and LOGO! DM16 24 LOGO! DM8 24 LOGO! DM16 24 Number 4 8 Output type Transistor, current-sourcing 1) Transistor, current-sourcing (1) Electrical isolation No No In groups of -- -- Control of a digital input Yes Yes Output voltage ≤ Supply voltage ≤ Supply voltage Output current max. 0.3 A max. 0.3 A Short circuit-proof and overload- Yes proof Yes Short circuit current limitation Approx. 1 A Approx.
Technical data A.6 Technical data: LOGO! 24RC... A.6 Technical data: LOGO! 24RC... LOGO! 24RC LOGO! 24RCo Power supply Input voltage 24 V AC/DC Permissible range 20.4 ... 26.4 V AC 20.4 ... 28.8 V DC Reverse polarity protection -- Permissible mains frequency 47 ... 63 Hz Power consumption • 24 V AC • 45 ... 130 mA • 24 V DC • 40 ... 100 mA Voltage failure buffering typ. 5 ms Power loss • 24 V AC • 1.1... 3.1 W • 24 V DC • 1.0 ... 2.4 W Backup of the real-time clock at 25 °C typ.
Technical data A.6 Technical data: LOGO! 24RC... LOGO! 24RC LOGO! 24RCo Range -- max. Input voltage -- Digital outputs Number 4 Output type Relay outputs Electrical isolation Yes In groups of 1 Control of a digital input Yes Continuous current Ith max. 10 A per relay Surge current max.
Technical data A.7 Technical data: LOGO! DM8 24R and LOGO! DM16 24R A.7 Technical data: LOGO! DM8 24R and LOGO! DM16 24R LOGO! DM8 24R LOGO! DM16 24R Input voltage 24 V AC/DC 24 V DC Permissible range 20.4 ... 26.4 V AC 20.4 ... 28.8 V DC 20.4 ... 28.8 V DC Reverse polarity protection -- -- Permissible mains frequency 47 ... 63 Hz Power supply Power consumption • 24 V AC • 40 ... 110 mA • 24 V DC • 20 ... 75 mA Voltage failure buffering typ. 5 ms 30 ... 90 mA • typ.
Technical data A.7 Technical data: LOGO! DM8 24R and LOGO! DM16 24R LOGO! DM8 24R LOGO! DM16 24R Continuous current Ith max. 5 A per relay max. 5 A per relay Surge current max. 30 A max.
Technical data A.8 Technical data: LOGO! 12/24... LOGO! DM8 12/24R A.8 Technical data: LOGO! 12/24... LOGO! DM8 12/24R LOGO! 12/24RC LOGO! 12/24RCo LOGO! DM8 12/24R LOGO! 12/24RCE Power supply Input voltage 12/24 V DC 12/24 V DC Permissible range 10.8 ... 28.8 V DC 10.8 ... 28.8 V DC Reverse polarity protection Yes Yes Power consumption • 12 V DC • 60 ... 175 mA • 30 ... 140 mA • 24 V DC • 40 ... 100 mA • 20 ... 75 mA Voltage failure buffering • 12 V DC • typ. 2 ms • typ.
Technical data A.8 Technical data: LOGO! 12/24... LOGO! DM8 12/24R LOGO! 12/24RC LOGO! 12/24RCo LOGO! DM8 12/24R LOGO! 12/24RCE Input current at • Signal 0 < 0.85 mA (I3...I6) < 0.05 mA (I1, I2, I7, I8) < 0.85 mA • Signal 1 > 1.5 mA (I3... I6) > 0.1 mA (I1, I2, I7, I8) > 1.5 mA Delay time at • 0 to 1 typ. 1.5 ms <1.0 ms (I3 ... I6) typ. 1.5 ms • 1 to 0 typ. 1.5 ms <1.0 ms (I3 ... I6) typ. 1.5 ms max. 100 m max. 100 m Number 4 (I1=AI3, I2=AI4, I7=AI1, I8=AI2) -- Range 0 ...
Technical data A.8 Technical data: LOGO! 12/24... LOGO! DM8 12/24R LOGO! 12/24RC LOGO! 12/24RCo LOGO! DM8 12/24R LOGO! 12/24RCE Short circuit-proof cos 0.5 to 0.7 Power protection B16, 900A Power protection B16, 900A Parallel output circuits for power increase Not permitted Not permitted Protection of output relay (if desired) max. 16 A, characteristic B16 max. 16 A, characteristic B16 Switching rate Mechanical 10 Hz 10 Hz Ohmic load/lamp load 2 Hz 2 Hz Inductive load 0.5 Hz 0.
Technical data A.9 Switching capacity/service life of the relay outputs A.9 Switching capacity/service life of the relay outputs Switching capacity and service life of the contacts with ohmic loading (heating): 6ZLWFKLQJ F\FOHV PLOOLRQ 9 $& '& 9 $& 9 $& 9 '& 9 '& 0D[LPXP $ 0D[LPXP $ 0D[LPXP $ 0D[LPXP $ 0D[LPXP $ 6ZLWFKHG FXUUHQW $ Switching capacity and service life of the contacts with high inductive load to IEC
Technical data A.10 Technical data: LOGO! AM2 A.10 Technical data: LOGO! AM2 LOGO! AM2 Power supply Input voltage 12/24 V DC Permissible range 10.8 ... 28.8 V DC Power consumption 25 ... 50 mA Voltage failure buffering typ. 5 ms Power loss at • 12 V • 0.3 ... 0.6 W • 24 V • 0.6 ... 1.2 W Electrical isolation No Reverse polarity protection Yes Ground terminal for connecting ground and shielding of the analog measuring line Analog inputs Number 2 Type Unipolar Input range 0 ...
Technical data A.11 Technical data: LOGO! AM2 PT100 A.11 Technical data: LOGO! AM2 PT100 LOGO! AM2 PT100 Power supply Input voltage Permissible range Power consumption Voltage failure buffering Power loss at 12/24 V DC 10.8 ... 28.8 V DC 25 ... 50 mA typ. 5 ms • 12 V • 0.3 ... 0.6 W • 24 V • 0.6 ... 1.
Technical data A.12 Technical data: LOGO! AM2 RTD A.12 Technical data: LOGO! AM2 RTD LOGO! AM2 RTD Power supply Input voltage 12/24 V DC Permissible range 10.8 ... 28.8 V DC Power consumption 30 ... 40 mA Voltage failure buffering Power loss at typ. 5 ms • 12 V • 0.36 ... 0.48 W • 24 V • 0.72 ... 0.
Technical data A.13 Technical data: LOGO! AM2 AQ LOGO! AM2 RTD Cable length (shielded) Interference frequency suppression A.13 max. 10 m 55 Hz Technical data: LOGO! AM2 AQ LOGO! AM2 AQ Power supply Input voltage 24 V DC Permissible range 20.4 ... 28.8 V DC Power consumption 35 ...90 mA Voltage failure buffering typ. 5 ms Power loss at 24 V 0.9 ... 2.2 W Electrical isolation No Reverse polarity protection Yes Ground terminal for connecting ground and shielding of the analog output line.
Technical data A.14 Technical data: CM EIB/KNX A.14 Technical data: CM EIB/KNX CM EIB/KNX Mechanical data Dimensions (WxHxD) 36 x 90 x 55 mm Weight Approx. 107 g Installation on a 35 mm profile rail 2 module widths or wall mounting, must be mounted as the last module on the right of LOGO! Power supply Input voltage 24 V AC/DC Permissible range -15% ... +10% AC -15% ... +20% DC Power consumption from power supply max.
Technical data A.15 Technical data: CM AS Interface A.15 Technical data: CM AS Interface CM AS Interface Mechanical data Dimensions (WxHxD) 36 x 90 x 58 mm Weight Approx. 90 g Installation on a 35 mm profile rail 2 module widths or wall mounting, must be mounted as the last module on the right of LOGO! Power supply Input voltage 30 V DC Permissible range 26.5 ... 31.5 V DC Reverse polarity protection Yes Total current drain Itot max.
Technical data A.16 Technical data: LOGO!Power 12 V A.16 Technical data: LOGO!Power 12 V LOGO! Power 12 V is a primary-switched power supply unit for LOGO! devices. Two current ranges are available. LOGO! Power 12 V / 1.9 A LOGO! Power 12 V / 4.5 A Input data Input voltage 100 ... 240 V AC Permissible range 85 ... 264 V AC Permissible mains frequency 47 ... 63 Hz Voltage failure buffering > 40 ms (at 187 V AC) Input current 0.53 ... 0.3 A 1.13 ... 0.
Technical data A.17 Technical data: LOGO!Power 24 V A.17 Technical data: LOGO!Power 24 V LOGO! Power 24 V is a primary-switched power supply module for LOGO! devices. Two current ranges are available. LOGO! Power 24 V / 1.3 A LOGO! Power 24 V / 2.5 A Input data Input voltage 100 ... 240 V AC Permissible range 85 ... 264 V AC Permissible mains frequency 47 ... 63 Hz Voltage failure buffering 40 ms (at 187 V AC) Input current 0.70 ... 0.35 A 1.22 ... 0.
Technical data A.18 Technical data: LOGO! Contact 24/230 LOGO! Power 24 V / 1.3 A A.18 LOGO! Power 24 V / 2.5 A Installation On 35 mm DIN rail, snap-on Dimensions in mm (WxHxD) 54 x 80 x 55 72 x 90 x 55 Approx. weight 0.2 kg 0.3 kg Technical data: LOGO! Contact 24/230 LOGO! Contact 24 and LOGO! Contact 230 are switching modules for direct switching of ohmic loads up to 20 Amps and motors up to 4 kW (without noise emission, hum-free).
Technical data A.19 Technical data: LOGO! TD (Text Display) A.19 Technical data: LOGO! TD (Text Display) LOGO! TD Mechanical data Dimensions (WxHxD) 128.2 x 86 x 38.7 mm Weight Approx. 220 g Installation Bracket mounting Keyboard Membrane keypad with 10 keys Display FSTN-Graphic Display with 128 x 64 (columns x rows), LED backlight Power supply Input voltage 24 V AC/DC 12 V DC Permissible range 20.4 ... 26.4 V AC 10.2 ... 28.8 V DC Permissible mains frequency 47 ...
Technical data A.20 Technical data: Battery information for LOGO! battery cards A.20 Technical data: Battery information for LOGO! battery cards Battery information for LOGO! Battery cards Manufacturer Panasonic Type BR1220/1VCE Voltage 3V Capacity 35mAh Mechanical data Dimensions 12.5mm x 1.6mm Weight 0.
B Determining the cycle time The program cycle is the complete execution of the circuit program, that is, primarily the reading in of the inputs, the processing of the circuit program and the subsequent reading out of the outputs. The cycle time is the time required to execute a circuit program once in full. The time required for a program cycle can be determined using a short test program.
Determining the cycle time Explanation The inverted flag block changes its output signal at each program execution. Thus, one logic level (high or low) width is exactly equivalent to the length of one cycle. Hence, a period lasts 2 cycles. The threshold trigger indicates the ratio of periods per 2 seconds, which results in the ratio of cycles per second. (GJH WUDQVLWLRQ RI WKH LQYHUWHG IODJ DW HDFK FLUFXLW SURJUDP H[HFXWLRQ &\FOH WLPH SHULRG SXOVH F\FOHV 3HULRG LOGO! 350 Manual, 04/2011, A
LOGO! without display ("LOGO! Pure") C Because some specific applications do not require operator control and monitoring units such as buttons or a display, we provide the LOGO! 12/24RCo, LOGO! 24o, LOGO! 24Co, LOGO! 24RCo and LOGO! 230RCo versions without display.
LOGO! without display ("LOGO! Pure") Operating characteristics LOGO! is ready for operation when power is switched on. Switching off a LOGO! without display is equivalent to disconnecting the power supply, e.g. as if you were removing the plug. The circuit program of LOGO!...o versions cannot be started or stopped by means of buttons. This is why the LOGO!...
D LOGO! menu structure D.1 LOGO! Basic Menu overview 0BA6 1R SURJUDP (6& 1R 3URJUDP 3UHVV (6& &LUFXLW SURJUDP LV EXV\ 581 0R !3URJUDP &DUG 6HWXS 6WDUW 6HH ಯ0DLQ PHQXಯ (6& 6HH ಯ6WDUW PHQXಯ !6WRS 6HW 3DUDP 6HW 3UJ 1DPH !
LOGO! menu structure D.
LOGO! menu structure D.1 LOGO! Basic Transfer menu (ESC / > Stop → > Card) ! ൺ &DUG &RS\LQJ WKH FLUFXLW SURJUDP IURP /2*2 WR D FDUG !&DUG ൺ &RS\LQJ WKH SURJUDP IURP WKH FDUG WR /2*2 !&RS\3URWHFW 6HWWLQJ WKH SURJUDP FRS\ SURWHFWLRQ The card can be a LOGO! memory card or combined memory/battery card for a LOGO! 0BA6, or an SD card for a LOGO! 0BA7. Setup menu (ESC / > Stop → > Setup) !&ORFN !6HW &ORFN Ⴍ !6 : 7LPH !6\QF Ⴍ Ⴍ 6HWWLQJ WKH WLPH GDWH 6HWWLQJ WKH VXPPHUWLPH ZLQWHUWLPH
LOGO! menu structure D.1 LOGO! Basic Start Menu (RUN) 3DUDPHWHU DVVLJQPHQW PHQX !6WRS 6HW 3DUDP 6HW 3UJ 1DPH Ⴃ Ⴍ !1HWZRUN 'LDJQRVWLF (YHU\WKLQJ FOHDU" (6& PD[ PHVVDJH WH[WV /2*2 Ⴃ Ⴍ Ⴇ Ⴑ 0R , 'DWH WLPH $, Ⴇ Ⴑ $QDORJ LQSXWV Ⴇ Ⴑ 4 ,QSXWV $, $QDORJ LQSXWV Ⴇ Ⴑ Ⴇ Ⴑ 2XWSXWV $4 $QDORJ RXWSXWV Ⴇ Ⴑ $, Ⴇ
LOGO! menu structure D.1 LOGO! Basic Network menu (ESC / > Stop → > Network) (0BA7 only) ! ,3 DGGUHVV 6HW WKH ,3 DGGUHVV ,3 DGGUHVV Ⴍ 6XEQHW PDVN 6HW WKH VXEQHW PDVN Ⴍ *DWHZD\ 6HW WKH JDWHZD\ DGGUHVV Ⴍ !6HW PRGH !1RUPDO Ⴍ !6ODYH &KDQJH /2*2 %$ IURP VODYH PRGH WR QRUPDO PRGH &KDQJH /2*2 %$ IURP QRUPDO PRGH WR VODYH PRGH Ⴍ !3DVVZRUG (QWHU FKDQJH D SDVVZRUG Diagnostic menu (ESC / > Stop → > Diagnostic) (0BA7 only) !0RGXOH LQIR 'LVSOD\LQJ WKH ILUPZDUH YHUVLRQ RI \RXU /2*2 %$ !(UUR
LOGO! menu structure D.
LOGO! menu structure D.2 LOGO! TD D.2 LOGO! TD Menu overview LOGO! TD (version ES6 or earlier) 1R SURJUDP (6& 1R 3URJUDP 3UHVV (6& &LUFXLW SURJUDP LV EXV\ 581 0R !6HWXS 0VJ &RQILJ 6WDUW 6HH ಯ0DLQ PHQXಯ (6& 6HH ಯ6WDUW PHQXಯ !6WRS 6HW 3DUDP 0VJ &RQILJ 6HW !
LOGO! menu structure D.2 LOGO! TD Main menu (ESC / > Stop) LOGO! TD (version ES6 or earlier) 6HH ಯ6HWXS PHQXಯ !6HWXS 0VJ &RQILJ 6WDUW !&ORFN /&' 0HQX /DQJ &RQILJXUH JOREDO SDUDPHWHUV IRU PHVVDJH WH[WV !$QDORJ 7LPH 7LFN7LPH &KDU6HWV &XUU&KDU6HW 6HH ಯ6WDUW PHQXಯ 0R LOGO! TD (version ES7) ! ൺ &DUG !&DUG 6HWXS 0VJ &RQILJ 6WDUW &RS\LQJ WKH FLUFXLW SURJUDP IURP /2*2 WR D FDUG Ⴍ !&DUG ൺ Ⴃ Ⴍ &RS\LQJ WKH SURJUDP IURP WKH FDUG WR /2*
LOGO! menu structure D.2 LOGO! TD Start menu (LOGO! Basic in RUN) 3DUDPHWHU DVVLJQPHQW PHQX !6WRS 6HW 3DUDP 0VJ &RQILJ 6HW Ⴃ Ⴍ !1HWZRUN 'LDJQRVWLF (YHU\WKLQJ FOHDU" (6& PD[ PHVVDJH WH[WV /2*2 Ⴃ Ⴍ Ⴇ Ⴑ 0R , 'DWH WLPH $, Ⴇ Ⴑ $QDORJ LQSXWV Ⴇ Ⴑ 4 ,QSXWV $, $QDORJ LQSXWV Ⴇ Ⴑ Ⴇ Ⴑ 2XWSXWV $4 $QDORJ RXWSXWV Ⴇ Ⴑ $,
LOGO! menu structure D.2 LOGO! TD Network menu in LOGO! TD (version ES7), for LOGO! 0BA7 only ! ,3 DGGUHVV 6HW WKH ,3 DGGUHVV ,3 DGGUHVV Ⴍ 6XEQHW PDVN 6HW WKH VXEQHW PDVN Ⴍ *DWHZD\ 6HW WKH JDWHZD\ DGGUHVV Ⴍ !6HW PRGH !1RUPDO Ⴍ !6ODYH &KDQJH /2*2 %$ IURP VODYH PRGH WR QRUPDO PRGH &KDQJH /2*2 %$ IURP QRUPDO PRGH WR VODYH PRGH Ⴍ !3DVVZRUG (QWHU FKDQJH D SDVVZRUG Diagnostic menu in LOGO! TD (version ES7), for LOGO! 0BA7 only !0RGXOH LQIR 'LVSOD\LQJ WKH ILUPZDUH YHUVLRQ RI \RXU /2*2
E Order numbers Modules Variant Basic Basic without display (pure) Digital modules Analog modules Communication modules Text Display module *: Designation Order number LOGO! 12/24 RC * 6ED1052-1MD00-0BA6 LOGO! 12/24 RCE * 6ED1052-1MD00-0BA7 LOGO! 24 * 6ED1052-1CC00-0BA6 LOGO! 24C * 6ED1052-1CC01-0BA6 LOGO! 24RC (AC/DC) 6ED1052-1HB00-0BA6 LOGO! 230RC (AC/DC) 6ED1052-1FB00-0BA6 LOGO! 230RCE (AC/DC) 6ED1052-1FB00-0BA7 LOGO! 12/24RCo * 6ED1052-2MD00-0BA6 LOGO! 24o * 6ED1052-2CC00-0BA6
Order numbers Accessories Accessories Software Memory cards Designation Order number LOGO!Soft Comfort V7.0 6ED1058-0BA02-0YA1 LOGO!Soft Comfort V7.
F Abbreviations AM Analog module B1 Block number B1 BN Block Number C LOGO! device designation: integrated clock CM Communication Module Cnt Count = Counter input Co Connector Dir Direction (of count, for example) DM Digital Module E LOGO! device designation: integrated Ethernet interface EIB European Installation Bus EIS EIB Interoperability Standard En Enable = switching on (e.g.
Abbreviations LOGO! 366 Manual, 04/2011, A5E03556174-01
Index A Amplifier analog, 226 Analog comparator, 218 values, 154 Analog amplifier, 226 Analog differential trigger, 216 Analog filter, 271 Analog module, 14 Analog multiplexer, 248 Analog ramp, 251 Analog threshold trigger, 213 Analog watchdog, 223 AND, 143 AS interface bus communication failure, 68 communication states, 68 AS-Interface, 15 Astronomical clock, 195 Asynchronous pulse generator, 175 Average value, 276 B Backlight flags, 139 Backlight lifetime LOGO! TD, 347 Basic functions, 137, 142 AND, 143
Index DIN rail, 39 Display lifetime LOGO! TD, 347 Display modules, 14 Divide by 0 error, 268 DM8...
Index Modems, 6 Multiple function switch, 182 N NAND, 145 Negation, 149 of an input, 142 of an SF input, 156 Network analog inputs, 141 Network analog outputs, 141 Network communications, 4 Network digital inputs, 141 Network digital outputs, 141 Network inputs/outputs, 141 normal, 123 NOT, 149 O Offset, 154 Off-time, 187 On-/Off- delay, 166 On-delay, 160 On-delay, retentinve, 168 On-time, 187 Open connectors, 140 OR, 147 Outputs, 138 Analog outputs, 139 blank, 138 Digital outputs, 138 Overflow error, 26
Index Analog threshold trigger, 213 Analog watchdog, 223 Astronomical clock, 195 Asynchronous pulse generator, 175 Average value, 276 Basics, 150 Edge-triggered wiping relay, 172 Hours counter, 205 Latching relay, 228 Mathematic instruction, 265 Mathematic instruction error detection, 268 Max/Min, 273 Message texts, 231 Mutliple function switch, 182 Off-delay, 164 On-/Off- delay, 166 On-delay, 160 PI controller, 256 Pulse output, 170 Pulse relay, 229 Pulse Width Modulator (PWM), 261 Random generator, 177 R
Index X XE \* MERGEFORMAT, 107 XOR, 149 Y Yearly timer, 190 Z Zero division error, 268 Zero offset, 154 LOGO! Manual, 04/2011, A5E03556174-01 371
Index LOGO! 372 Manual, 04/2011, A5E03556174-01