LOGO! LOGO! Manual This manual applies to LOGO! 0BA8 device series only.
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 With LOGO! you have acquired a logic module that meets the stringent quality requirements of ISO 9001. You can use LOGO! in many fields of applications. Due to its high functionality and easy operation, LOGO! offers you the utmost efficiency for almost any application.
Preface The manual also includes appendices A - F, which follow the chapters. Valid range of this manual The manual applies to devices of series 0BA8. New features of the LOGO! 0BA8 device series The following features are new for the LOGO! 0BA8 devices: ● Ethernet communication support by all LOGO! 0BA8 Base Modules Each LOGO! 0BA8 Base Module is equipped with an RJ45 interface and a two-color status LED for Ethernet communication.
Preface ● Enhanced functions added to special function blocks – Astronomical clock: Two new parameters "TR Offset" (sunrise offset) and "TS Offset" (sunset offset) are available for this function block. You can use these two parameters to set an offset for the sunrise/sunset value. The offset range is -59 to 59 minutes. – Message texts: The LOGO! 0BA8 devices support a 6-line message text display and ticking messages, as well as message text display on the Web server.
Preface Security information Siemens provides products and solutions with industrial security functions that support the secure operation of plants, solutions, machines, equipment and/or networks. They are important components in a holistic industrial security concept. With this in mind, Siemens’ products and solutions undergo continuous development. Siemens recommends strongly that you regularly check for product updates.
Table of contents Preface ................................................................................................................................................... 3 1 Getting started with LOGO! ................................................................................................................... 13 2 LOGO! installation and wiring ................................................................................................................ 25 3 2.1 2.1.1 2.1.2 2.1.3 2.1.
Table of contents 4 3.7.10 3.7.11 3.7.12 3.7.13 3.7.14 3.7.15 3.7.16 Correcting programming errors ................................................................................................... 89 Selecting analog output values for RUN/STOP transition .......................................................... 89 Defining the type of analog outputs ............................................................................................ 91 Setting the power-on delay of LOGO! ......................
Table of contents 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 5 Hours counter.............................................................................................................................176 Threshold trigger ........................................................................................................................180 Analog threshold trigger ..................................
Table of contents 10 11 9.3 Copying data from LOGO! to the card ...................................................................................... 275 9.4 Copying data from the card to LOGO! ...................................................................................... 276 Security ...............................................................................................................................................279 10.1 Network access security .................................
Table of contents D.1.2 D.1.3 D.1.4 D.1.5 D.1.6 D.1.7 D.1.8 Main menu .................................................................................................................................323 Programming menu ...................................................................................................................324 Card menu .................................................................................................................................324 Setup menu .................
Table of contents LOGO! 12 Manual, 06/2014, A5E33039675
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 a micro SD card ● Interface for an optional text display (TDE) module ● Pre-configured standard functions, for example, on- and off-delays, pulse relay and softkey ● Timers ● Digital and analog flags ● Inputs and outputs, according to the device type LOGO! 0BA8 additiona
Getting started with LOGO! Which devices are available? LOGO! Base Modules are available in two voltage classes: ● Class 1 ≤ 24 V, i.e. 12 VDC, 24 VDC, 24 VAC ● Class 2 > 24 V, i.e.
Getting started with LOGO! It's your choice The various LOGO! Base Modules, expansion modules, LOGO! TDE and communications modules offer you a highly flexible and adaptive system to suit your specific tasks. The LOGO! system offers you many solutions for small domestic installations, simple automation tasks, and even complex engineering tasks involving its integration into a bus system. Note You can only use expansion modules of the same voltage as the LOGO! Base Module.
Getting started with LOGO! The LOGO! structure ① ③ ⑤ Power supply ⑦ ⑨ ⑪ Micro SD card slot Outputs RJ45 interface, for connection to Ethernet (10/100 Mbit/s) Control panel Mechanical coding sockets ② ④ ⑥ Inputs ⑧ ⑩ ⑫ LCD FE terminal, for connecting to earth ground Ethernet communication status LED Expansion interface Standard DIN rail LOGO! 16 Manual, 06/2014, A5E33039675
Getting started with LOGO! ① ③ ⑤ ⑦ ⑨ Power supply Outputs Expansion interface Mechanical coding sockets ② ④ ⑥ ⑧ Inputs RUN/STOP LED Mechanical coding pins Slide Standard DIN rail LOGO! Manual, 06/2014, A5E33039675 17
Getting started with LOGO! ① ③ ⑤ ⑦ ⑨ Power supply Outputs Expansion interface Mechanical coding sockets ② ④ ⑥ ⑧ Inputs RUN/STOP LED Mechanical coding pins Slide Standard DIN rail LOGO! 18 Manual, 06/2014, A5E33039675
Getting started with LOGO! LOGO! AM2 ① ③ ⑤ ⑦ Power supply ⑨ Standard DIN rail RUN/STOP LED Mechanical coding pins Slide ② ④ ⑥ ⑧ Inputs Expansion interface Mechanical coding sockets FE terminal, for connecting to earth ground and the shielding of analog measuring cables LOGO! AM2 AQ (0 ... 10 VDC or 0/4 ...
Getting started with LOGO! LOGO! TDE ① ② Power supply Ethernet interfaces The LOGO! TDE includes a wider display area than the LOGO! onboard display. It includes four programmable cursor keys, four programmable function keys, an ESC key, and an ENTER key. You use the Ethernet cable to connect from the Ethernet interface on the right side of the LOGO! TDE to the Ethernet interface on 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 without display unit is equipped with 8 inputs, 4 outputs and 1 Ethernet interface. 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.
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 VDC 4 digital 4 relays (5 A) LOGO! DM8 24 24 VDC 4 digital 4 solid state 24 V/0.3 A LOGO! DM8 24R 3) 24 VAC/VDC 4 digital LOGO! DM8 230R 115 VAC/VDC to 240 VAC/VDC 4 digital LOGO! DM16 24 24 VDC 8 digital 8 solid state 24 V/0.
Getting started with LOGO! Certification and approvals LOGO! is certified to cULus and cFMus. ● 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 (except the LOGO! CSM modules) carrying the label shown at the side are compliant with Korean standards. WARNING Explosion hazard Do not disconnect equipment while the circuit is live or unless the area is konwn to be free of ignitable concentrations. Substitution of any components can impair suitability for Class I, Division 2.
LOGO! installation and wiring 2 General guidelines 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 2.1 Modular LOGO! setup 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.
LOGO! installation and wiring 2.1 Modular LOGO! setup 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 are available. You can configure the static/dynamic connections as required, for example, n static connections and 16-n dynamic connections. LOGO! supports a maximum of eight static connections. ● A maximum of one TCP/IP Ethernet connection with the LOGO! TDE. A LOGO! TDE module can connect with different Base Modules through IP address selection, but can not communicate with more than one Base Module at the same time.
LOGO! installation and wiring 2.1 Modular LOGO! setup 2.1.2 Maximum setup with expansion modules LOGO! supports a maximum of 24 digital inputs, 8 analog inputs, 20 digital outputs, and 8 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, install the digital modules first, then the analog modules (as the examples above show). (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 Overview: Connecting an additional expansion module to an expansion module Expansion module 2.1.
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 according to EN 60715 or mounted on the wall with two M4 screws. LOGO! width: ● LOGO! TDE has a width of 128.2 mm. ● LOGO! 0BA8 Base Modules have a width of 71.5 mm. ● LOGO! expansion modules have a width of 35.5 mm (DM8...) or 71.5 mm (DM16...).
LOGO! installation and wiring 2.2 Installing/removing LOGO! 2.2.1 DIN rail mounting Mounting To mount a LOGO! Base Module and a digital module onto a DIN rail, follow these steps: 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. 3. On the right side of the LOGO! Base Module/LOGO! expansion module, remove the connector cap. 4. Place the digital module onto the DIN rail on the right-hand side of the LOGO! Base Module. 5.
LOGO! installation and wiring 2.2 Installing/removing LOGO! Removal To remove LOGO! if you have installed only one LOGO! Base Module, follow these steps: 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. To remove LOGO! if you have connected at least one expansion module to the LOGO! Base Module, follow these steps: 1. Using a screwdriver, push the integrated slide interlock to the right. 2.
LOGO! installation and wiring 2.2 Installing/removing LOGO! 2.2.2 Wall-mounting Follow the instructions below to wall-mount LOGO! by means of two mounting slides and two M4 screws (tightening torque 0.8 Nm to 1.2 Nm). Note When you do not wall-mount LOGO!, always keep the mounting slides in the factory default positions, that is, within the data area given in the illustration above; otherwise, the mounting slides may deform if they are exposed to hot and humid surroundings for a long term.
LOGO! installation and wiring 2.2 Installing/removing LOGO! ② LOGO! expansion modules, DM8 ..., AM... ③ LOGO! expansion modules, DM16 ... 2.2.3 Mounting the LOGO! TDE Note Make sure you mount the LOGO! TDE vertically on a flat surface of an IP 65 or Type 4X/12 enclosure. To prepare the mounting surface for the optional LOGO! TDE and mount it, follow these steps: 1. Cut a 119 mm × 78.5 mm (tolerance: +0.5 mm) hole in the mounting surface. 2. Place the included gasket on the frontplate of the LOGO! TDE. 3.
LOGO! installation and wiring 2.3 Wiring LOGO! 2.2.4 Labeling LOGO! The rectangular areas on the LOGO! modules are intended for labeling. In the case of expansion modules, you can use the rectangular areas for labeling the inputs and outputs, for example. In this connection, you can enter a delta factor of +8 for the inputs or +4 for the outputs if the LOGO! Base Module already has 8 inputs or 4 outputs. 2.3 Wiring LOGO! Wire LOGO! using a screwdriver with a 3 mm blade.
LOGO! installation and wiring 2.3 Wiring LOGO! The LOGO! TDE must be supplied with a voltage of 12 VDC or 24 VAC/VDC. CAUTION Expansion modules DM8 230R and DM16 230R must be operated with the same type of power supply (DC or AC) as for the connected 230 V version of the LOGO! Base Module. The same supply output "+/- "on DC power supplies or "N/L" on AC power supplies must connect to the same phase on both the expansion module DM8/16 230R and the connected LOGO! 230 ....
LOGO! installation and wiring 2.3 Wiring LOGO! Circuit protection with DC voltage To suppress voltage peaks on the power supply lines, install a protection device, for example DEHN (order number 918 402). 2.3.2 Connecting the LOGO! TDE power supply You must connect the LOGO! TDE to an external power supply that supplies a voltage of 12 VDC or 24 VAC/VDC. The LOGO! TDE includes a power connector.
LOGO! installation and wiring 2.3 Wiring LOGO! Sensor characteristics for LOGO! LOGO! 12/24RCE LOGO! 24CE LOGO! 12/24RCEo LOGO! 24CEo LOGO! DM8 12/24R LOGO! DM8 24 I3 ... I6 I1,I2,I7,I8 I3 ... I6 I1,I2,I7,I8 I1 ... I8 I1 ... I8 Signal status 0 < 5 VDC < 5 VDC < 5 VDC < 5 VDC < 5 VDC < 5 VDC Input current < 0.85 mA < 0.05 mA < 0.85 mA < 0.05 mA < 0.85 mA < 0.85 mA Signal status 1 > 8.5 VDC > 8.5 VDC > 12 VDC > 12 VDC > 8.5 VDC > 12 VDC Input current > 1.5 mA > 0.
LOGO! installation and wiring 2.3 Wiring LOGO! Take into account the quiescent current of any two-wire proximity switches that you use. The level of the quiescent current of some two-wire proximity switches is high enough to trigger a logical "1" signal at the LOGO! input. You should therefore compare the quiescent current of the proximity switches with the technical data of inputs (Page 291). Remedy To suppress this response, use an X1/X2-type capacitor rated at 100 nF and 275 VAC.
LOGO! installation and wiring 2.3 Wiring LOGO! The inputs I1, I2, I7 and I8 provide digital inputs, and the inputs AI3, AI4, AI1 and AI2 provide analog inputs, as described in the topic "Constants and connectors (Page 115)". AI3 corresponds to the input terminal I1; AI4 corresponds to I2; AI1 corresponds to I7; AI2 corresponds to I8. The use of AI3 and AI4 is optional. You configure your LOGO! to use either two or four analog inputs as the topic "Setting the number of AIs in LOGO! (Page 266)" describes.
LOGO! installation and wiring 2.3 Wiring LOGO! Sensor connections Connect sensors to LOGO! as shown below. LOGO! 12/24.... and LOGO! 24... The inputs of these devices are not isolated and therefore require a common reference potential (chassis ground). With LOGO! 12/24RCE/RCEo and LOGO! 24CE/24CEo modules, you can tap analog signals between the supply voltage and chassis ground (* = series resistor (6.6 kΩ) at 24 VDC).
LOGO! installation and wiring 2.3 Wiring LOGO! LOGO! 230.... The inputs of these devices are in two groups, each consisting of four inputs. Different phases are only possible between blocks, but not within the blocks. Connection example WARNING Current safety regulations (VDE 0110, ... and IEC 61131-2, ... as well as cULus) do not permit the connection of different phases to an AC input group (I1 to I4 or I5 to I8) or to the inputs of a digital module.
LOGO! installation and wiring 2.3 Wiring LOGO! LOGO! AM2 ① ② FE terminal for connecting earth and shielding the analog measuring cable Earth ③ Cable shielding ④ Standard DIN rail The illustration above shows an example of four-wire current measurement and two-wire voltage measurement. Connecting a two-wire sensor to the LOGO! AM2 Wire up the two-wire sensor's connecting wires as follows: 1.
LOGO! installation and wiring 2.3 Wiring LOGO! Note Fluctuating analog values can occur if you do not mount/correctly mount the screening on the connecting wire from the analog valuator device to the analog AM2 / AM2 RTD LOGO! expansion module (encoder wire). To avoid fluctuating analog values when using these expansion modules, take the following measures: • Use only shielded encoder wires. • Shorten the encoder wire as much a possible. The encoder wire must not be more than 10 meters long.
LOGO! installation and wiring 2.3 Wiring LOGO! 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 291). Connecting Connect the load to LOGO! ...R...
LOGO! installation and wiring 2.3 Wiring LOGO! LOGO! AM2 AQ The illustration below shows an example of how to connect the voltage or current load. ① ② 2.3.5 Earth Standard DIN rail Connecting the Ethernet interface LOGO! ...E The LOGO! ...E version is equipped with a 10/100 Mbit/s Ethernet RJ45 interface. Requirements for the network cable Use a shielded Ethernet cable to connect to the Ethernet interface.
LOGO! installation and wiring 2.4 Putting into operation Connecting You connect the FE terminal to earth ground, and connect a network cable to the Ethernet interface. ① ② ③ Earth ground Ethernet cable, for connecting to the Ethernet interface Ethernet status LED Ethernet status LED LED type Color Description Status LED Flashing orange LOGO! is receiving/sending data across Ethernet. Steady green LOGO! is already connected to Ethernet. 2.4 Putting into operation 2.4.
LOGO! installation and wiring 2.
LOGO! installation and wiring 2.4 Putting into operation 1. If neither LOGO! nor the inserted card contains a circuit program, the LOGO! Basic displays the following: 2. LOGO! automatically copies the circuit program on the card to memory and overwrites the existing circuit program. 3. If there is a circuit program in LOGO! or on the card, LOGO! adopts the operational state it had prior to power-off. Versions without a display unit (LOGO!...
LOGO! installation and wiring 2.4 Putting into operation STOP RUN Action of LOGO!: Action of LOGO!: • The input data is not read. • LOGO! reads the status of the inputs. • The circuit program is not executed. • • The relay contacts are permanently open or the solid-state outputs are switched off. • LOGO! uses the circuit program to calculate the status of the outputs. LOGO! switches the relay/solid-state outputs on or off.
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.1 Connectors LOGO! is equipped with inputs and outputs Example of a configuration with several modules: The illustration shows the conceptual usage of the inputs, not the actual physical markings on the module. The letters I followed by numerals identify the inputs. When you look at LOGO! from the front, you can see the input terminals at the top. Only analog input modules LOGO! AM2 and AM2 RTD have the inputs at the bottom.
Programming LOGO! 3.1 Connectors The letters Q followed by numerals (on AM2 AQ, AQ plus numeral) identify the outputs. In the figure, you can see the output terminals at the bottom. Note LOGO! can recognize, read and switch the I/O of all expansion modules regardless of their type. The I/O numbers follow the installation order of the modules.
Programming LOGO! 3.1 Connectors LOGO! has the following connectors : Connectors Inputs LOGO! 230RCE LOGO! 230RCEo 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 Blocks and block numbers 3.2 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 59)" 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.2 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. LOGO! shows the block number on the top of the display by default if you assign no name to this block. The block numbers help you check the circuit structure. Alternatively, you can also choose to display a customized block name instead of the block number.
Programming LOGO! 3.3 From circuit diagram to LOGO! program Advantages of block numbers You can connect almost any block to an input of the current block by means of its block number. In this way, you can reuse the interim results of logical or other operations, reduce programming effort, save memory space and clean up your circuit layout. To do so, however, you need to know how LOGO! has named the blocks.
Programming LOGO! 3.3 From circuit diagram to LOGO! program Creating this circuit with LOGO! In LOGO! you create a circuit logic by interconnecting blocks and connectors: Note Although you have four inputs available for logic operations (Page 120), most of the views 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 new circuit logic in LOGO!, start at the circuit output.
Programming LOGO! 3.4 The four golden rules for operating LOGO! In our example we shall use only two inputs of the OR block and two inputs of the AND block; the third and fourth inputs are unused. Now connect the I/O to LOGO! . Wiring Connect the switches S1 to S3 to the screw terminals of your LOGO! : ● S1 to connector I1 of LOGO! ● S2 to connector I2 of LOGO! ● S3 to connector I3 of LOGO! The output of the AND block controls the relay at output Q1. The load E1 connects to output Q1.
Programming LOGO! 3.4 The four golden rules for operating LOGO! RUN mode; that is, it continues executing the circuit program (see the topic "Configuring LOGO! (Page 255)"). To work in programming mode, you need to terminate the circuit program. ● Select the menu command on the main menu to set RUN mode. ● When the system is in RUN mode, you can return to parameter assignment mode by pressing the ESC key.
Programming LOGO! 3.5 Configuring menu access protection for LOGO! 3.5 Configuring menu access protection for LOGO! LOGO! provides two access levels, administrator and operator, to limit access to specific menus in programming mode. As an administrator, you can access all menu commands; while as an operator, some specific menu commands are not visible (see section "Overview of LOGO! menus (Page 65)"). LOGO!'s default setting is administrator at delivery, and you can switch to operator at any time.
Programming LOGO! 3.5 Configuring menu access protection for LOGO! Switching LOGO! from operator to administrator To switch LOGO!'s access level from operator to administrator, follow these steps: 1. Move the cursor to "①" on the main menu of programming mode: Press or 2. Confirm "①": Press OK 3. Move the cursor to "②": Press or 4. Confirm "②": Press OK. The display appears as follows: 5. Press or "LOGO"). to move up and down the alphabet to select your letters (for example, 6.
Programming LOGO! 3.6 Overview of LOGO! menus 3.6 Overview of LOGO! menus The following illustration shows an overview of LOGO! 0BA8 menus: * These menu commands are visible only with the access level of administrator. For more details on the menus, refer to the Appendix "LOGO! Basic (Page 323)".
Programming LOGO! 3.7 Writing and starting the circuit program The LOGO! TDE provides three menus as follows: ● The remote IP selection menu You can use this menu to select a connected Base Module by entering a specific IP address. ● The Base Module setting menu You can use this menu to perform the remote setting of the connected Base Module. This menu has almost the same menu commands as those on the Base Modules, except for the menu commands under "①".
Programming LOGO! 3.7 Writing and starting the circuit program The first line is highlighted. Press and to move the highlight bar up and down. Move it to "①" and confirm with OK. LOGO! opens the programming menu. The LOGO!'s programming menu is as shown below: Here you can also move the highlight bar by pressing and confirm with OK. and . Move the highlight bar to "②" You are now in the circuit program window.
Programming LOGO! 3.7 Writing and starting the circuit program Circuit diagram The corresponding circuit diagram shows as follows: Translated into a LOGO! circuit program, you use an OR block to control relay K1 at output Q1. Circuit program Switch S1 connects to input I1 and switch S2 connects to input I2. Inputs I1 and I2 connect to the OR block connectors.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.3 Circuit program input You can now write the circuit program, starting at the output and working towards the input. LOGO! initially shows the output: You will see a solid square at 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. At this point you enter only the first (OR) block.
Programming LOGO! 3.7 Writing and starting the circuit program You have now entered the first block. LOGO! automatically assigns a block number to each new block. If you assign a name to the block, LOGO! shows the block name instead of the block number. You can assign a block name as required: Press to move the cursor to "B1". Press OK and the cursor is now displayed as a flashing solid square.
Programming LOGO! 3.7 Writing and starting the circuit program Note Inputs F1, F2, F3, and F4 correspond to the four function keys on the optional LOGO! TDE. More shift register bits (S1.1 to S4.8), blank connectors (X1 to X64) and analog flags (AM1 to AM64) are available in the 0BA8 device series. Network digital inputs (NI1 to NI64), network analog inputs (NAI1 to NAI32), network digital outputs (NQ1 to NQ64), and network analog outputs (NAQ1 to NAQ16) are available for the 0BA8 device series.
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, you can cause the circuit program to output a logical "0". You can also cause LOGO! to invert a logical "0" signal to a logical "1". To invert an input, move the cursor to the relevant position, for example: 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. 1. In the main menu in programming mode, press or to move the cursor to "①". 2. To confirm "①", press OK. 3. Press or to move the cursor to "②". 4. To confirm "②", press OK.
Programming LOGO! 3.7 Writing and starting the circuit program To change the name of your circuit program, proceed in the same way. Note You can change the name of the circuit program in programming mode only. If you have saved a password-protected circuit program, you can change the name of the circuit program only after you have entered the correct password (refer to Section "Password for circuit program protection (Page 74)"). You can read the name in both programming mode and parameter assignment mode.
Programming LOGO! 3.7 Writing and starting the circuit program 5. Press or to move up and down the alphabet to select your letters. Because LOGO! Basic only provides uppercase letters for the password, you can quickly access letters "at the end" of the alphabet (in this example, English) by using the button: Press once to select "Z" Press twice to select "Y", etc.
Programming LOGO! 3.7 Writing and starting the circuit program Changing the password from LOGO! Basic You must know the current password in order to change it. From the programming menu, follow these steps to change the password: 1. Move the cursor to "①": Press or 2. Confirm "①": Press OK The display now shows: Enter your old password (in our case: 'AA') by repeating steps 5 through 9 as described earlier. Press OK. Now you can enter the new password, for example, "ZZ". 3.
Programming LOGO! 3.7 Writing and starting the circuit program 1. Move the cursor to "①": Press or 2. Confirm "①": Press OK Enter your current password as described in steps 5 to 7 above. Confirm your entries with OK. 3. Move the cursor to "②": Press or 4. Confirm "②": Press OK The display now shows: Alternatively, you can also select "③" and clear the password by leaving the input box blank. 5. Press any key and LOGO! returns to the programming menu. You have now cleared the password.
Programming LOGO! 3.7 Writing and starting the circuit program Password: Wrong Password! If you enter the wrong password and confirm the input with OK, LOGO! Basic does not open editing mode, and the display shows as follows: In this case, press any key and LOGO! returns to the programming menu. This repeats itself over and over again until you enter the correct password. 3.7.6 Switching LOGO! to RUN mode To switch LOGO! to RUN mode, follow these steps: 1. Return to the main menu: Press ESC 2.
Programming LOGO! 3.
Programming LOGO! 3.7 Writing and starting the circuit program Viewing the analog value changes You can view the value changes of each analog I/O in the form of a trend curve when LOGO! is in RUN mode. For example, to view the value changes of AI3, follow these steps: 1. Switch LOGO! to RUN mode. 2.
Programming LOGO! 3.7 Writing and starting the circuit program 3. Move the cursor to AI3: Press or 4. Press OK to confirm your selection. The display now shows the AI3 value changes in the form of a curve, for example: The display refreshes continuously and the curve shifts to the left of the display bit by bit. You can press or to move the screen form to the left/right in order to view the earlier/later value changes. 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 3.7.7 Second circuit program Up to this point, you have successfully created your first circuit program, assigned it a name, and optionally a program password. In this section you will learn how to modify existing circuit programs and how to use the special functions.
Programming LOGO! 3.7 Writing and starting the circuit program 3. Confirm "①": Press OK. The display now shows: 4. On the programming menu, move the cursor to "②": Press or 5. Confirm "②": Press OK. If required, enter your password at the prompt and confirm with OK. 6. In the circuit program window, press OK to activate the cursor as a solid square. You can now modify the current circuit program.
Programming LOGO! 3.7 Writing and starting the circuit program When you select a special or basic function block, LOGO! shows you the relevant function block and positions the solid square cursor on the block. Press OK to enter the editing mode, and the cursor appears as a flashing solid square. Press or to select the required block. Select your block (off-delay, see the next figure), and then press OK: Press to move the cursor to Trg, and then press OK. Press or to select B1 and confirm with OK.
Programming LOGO! 3.7 Writing and starting the circuit program 3. Press and to position the cursor. 4. Press and to modify the value at the relevant position. 5. Confirm your entries with OK. Setting the time Set the time T = 12:00 minutes: 1. Move the cursor to the first digit: Press 2. Select the digit "1": Press or 3. Shift the cursor to the second digit: Press 4. Select digit "2": Press or or or 5. Move the cursor to the unit: Press or 6.
Programming LOGO! 3.7 Writing and starting the circuit program 4. Select the retentivity setting: Press or The display now shows: 5. Confirm your entries with OK. Note For further information on the protection mode, refer to the topic "Parameter protection (Page 129)". For further information on retentivity, refer to the topic "Retentivity (Page 129)". You can modify the protection mode and retentivity setting only in programming mode. This is not possible in parameter assignment mode.
Programming LOGO! 3.7 Writing and starting the circuit program 3.7.8 Deleting a block Consider the case where you want to delete the block B2 from your circuit program and connect B1 directly to Q1. To delete this block, follow these steps: 1. Switch LOGO! to programming mode. (As a reminder, refer to the topic "The four golden rules for operating LOGO! (Page 61)"). 2. Select "①": Press or 3. Confirm"①": Press OK 4. Select "②": Press or 5.
Programming LOGO! 3.7 Writing and starting the circuit program 8. Move the cursor to B2, the input of Q1, and confirm with OK. 9. Now replace block B2 with block B1 at output Q1. – Move the cursor to the 2 in B2: Press – Select 'B1': Press – Apply 'B1': Press OK Result: LOGO! deletes block B2 from the circuit and connects the output of B1 directly to output Q1. 3.7.
Programming LOGO! 3.7 Writing and starting the circuit program 6. Press OK in the circuit program window, and the cursor now appears as a solid square. 7. Move the cursor to the Q1 block and then press OK. 8. Move the cursor to B2, the input of Q1, and confirm with OK. 9.
Programming LOGO! 3.7 Writing and starting the circuit program 5. Move the cursor to "②": Press or 6. Select "②": Press OK LOGO! shows the following display: The circle with a dot before "④" above indicates the current setting for the analog output channels. You can select either "③" or "④". The default setting is "④" which means that LOGO! holds the values of the analog outputs at their last values.
Programming LOGO! 3.7 Writing and starting the circuit program 4. Enter a specific output value for the analog output. 5. To confirm your entry, press OK. 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: 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 Setting the power-on delay of LOGO! You can set a power-on delay for LOGO! in order to make sure all the connected expansion modules are powered on and ready to use before LOGO! runs the circuit programs. To set the power-on delay, follow these steps: 1. In the programming menu, move the cursor to "①": Press or 2. Confirm "①": Press OK. 3. Move the cursor to "②": Press or 4. Confirm "②": Press OK.
Programming LOGO! 3.7 Writing and starting the circuit program 4. Confirm "②": Press OK 5. If you are sure that you want to clear the circuit program in the memory, move the cursor to "③" and confirm with OK. LOGO! clears the circuit program and password. To cancel clearing of the circuit program, leave the cursor at "④" and press OK. 3.7.15 Summertime/wintertime conversion You can enable or disable automatic summertime/wintertime conversion.
Programming LOGO! 3.7 Writing and starting the circuit program 7. Confirm "③": Press OK LOGO! shows the following display: The current setting of automatic S/W Time conversion is indicated by a circle with a dot. The default setting is "④": disabled. What is shown on the display?: – "④": LOGO! disables automatic S/W time conversion. – "⑤" represents the start and end of European summertime. – "⑥" represents the start and end of summertime in the United Kingdom.
Programming LOGO! 3.7 Writing and starting the circuit program Menu command Start of summertime End of summertime Time zone difference Δ ⑪ First Sunday in October: 02:00→03:00 Third Sunday in March: 03:00→02:00 60 minutes ⑫ Customized month and day; 02:00→02:00 + Time zone difference Customized month and day; Time zone difference: 03:00→03:00 - Time zone difference User-defined (resolution in minutes) 8.
Programming LOGO! 3.7 Writing and starting the circuit program For example, consider an example where you want to configure the following parameters: ● Start of summertime = 31st March ● End of summertime = 1st November ● Time difference of 120 minutes To configure these settings, follow these steps: 1. Press or 2. Press and to move the flashing solid square/cursor. to change the value at the cursor position. The display shows: 3. Confirm all your entries with OK.
Programming LOGO! 3.7 Writing and starting the circuit program Regardless of whether you enable or disable synchronization, LOGO! always sends the time-of-day to the expansion modules at power-up, every hour (STOP mode or RUN mode), and when the time of day changes (either after a clock reset or summertime/wintertime conversion). Note When using a LOGO! Base Module with digital or analog expansion modules, but without a communications module, you must not activate time synchronization.
Programming LOGO! 3.8 Configuring additional functions for LOGO! 7. Apply "③": Press OK LOGO! shows the following display: LOGO! indicates the current setting of the automatic synchronization function by the circle with a dot. The default setting is "④"; that is, the synchronization is disabled. 8. To enable synchronization, press or to select "⑤", and then confirm with OK.
Programming LOGO! 3.8 Configuring additional functions for LOGO! ● Network digital outputs ● Network analog outputs Note If your circuit program in a LOGO! 0BA8 device contains any network digital or analog inputs/outputs, you can only edit the "Par" parameter of function blocks from LOGO!. You can not edit any of the rest of the circuit program from the device. 3.8.
Programming LOGO! 3.8 Configuring additional functions for LOGO! 5. Press OK to confirm "②". LOGO! displays the following view: 6. The display now shows the default IP address of your LOGO!. To change the setting, press OK. When the cursor appears in a flashing 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. LOGO! stores up to four addresses that you set previously.
Programming LOGO! 3.8 Configuring additional functions for LOGO! If your circuit program in LOGO! contains a UDF block, you can configure elements connected to the block. For more information of configuration of UDF elements from LOGO! 0BA8, refer to the topic UDF (User-Defined Function) (Page 249). 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.
Programming LOGO! 3.8 Configuring additional functions for LOGO! 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, follow these steps: 1. Switch LOGO! to programming mode. 2. Select "①": Press or 3. Confirm"①": Press OK 4. Select "②": Press or 5. Confirm "②": Press OK (If required, enter your password and confirm with OK.) 6.
Programming LOGO! 3.8 Configuring additional functions for LOGO! ● Network digital outputs: NQ1 to NQ64 ● Network analog outputs: NAQ1 to NAQ16 3.8.5 Changing LOGO! to master/slave mode LOGO! 0BA8 provides a menu command for network communication settings. This section shows you how to change LOGO!'s network communication mode. A LOGO! 0BA8 device works in either master or slave communication mode.
Programming LOGO! 3.8 Configuring additional functions for LOGO! 5. Move the cursor to ③": Press or 6. Confirm "③": Press OK 7. In this view, you enter the IP address of the LOGO! that you want to configure to be the master of your slave LOGO!. To change the setting, press OK. When the cursor appears in a flashing solid square, press or to move the cursor through the numbers. Press or to change the number. 8.
Programming LOGO! 3.8 Configuring additional functions for LOGO! Alternatively, you can change LOGO! from slave mode to master mode from LOGO!Soft Comfort. If you download a circuit program to a LOGO! in slave mode from LOGO!Soft Comfort, you are prompted to switch LOGO! to master mode to complete the downloading. For more information, refer to the Online Help for LOGO!Soft Comfort. 3.8.6 Diagnosing errors from LOGO! LOGO! 0BA8 supports error event diagnostics.
Programming LOGO! 3.8 Configuring additional functions for LOGO! 4. Confirm "②": Press OK. LOGO! shows you the following display: 5. You can select "③" to view the real-time status of the S7 connection or "④" to view the firmware version of LOGO!. After you select "③", you can press or to view the status of each S7 connection. Viewing the hardware status and errors of LOGO! To view the hardware status and errors, follow these steps: 1. In the main menu, move the cursor to "①": Press or 2.
Programming LOGO! 3.8 Configuring additional functions for LOGO! Viewing error information To view the errors detected, follow these steps: 1. In the diagnostics menu shown below, move the cursor to "①": Press or 2. Confirm "①": Press OK. 3. Move the cursor to "②": Press or 4. Confirm "②": Press OK. LOGO! displays all errors detected. You can press view each error record. Press ESC or OK to return to the previous menus. or to Clearing error information To clear all errors, follow these steps: 1.
Programming LOGO! 3.8 Configuring additional functions for LOGO! 5. Move the cursor to "③": Press or 6. Confirm "③": Press OK. LOGO! clears all error messages and displays as follows: Diagnosing a specific IP address You can check the availability of a specific IP address by following these steps: 1. In the diagnostics menu shown below, move the cursor to "①": Press or 2. Confirm "①": Press OK 3. Move the cursor to "②": Press or 4. Confirm "②": Press OK.
Programming LOGO! 3.9 Memory space and circuit program size 5. To enter an IP address, Press OK. When the cursor appears in a flashing 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. 6. Press OK to confirm your input. LOGO! stores up to four addresses that you entered previously.
Programming LOGO! 3.9 Memory space and circuit program size The second limitation is based on the maximum number of bytes a circuit program can contain. You can determine the total number of bytes used by adding up the number of bytes used for the relevant function blocks. ● Retentive memory (Rem): In this area, LOGO! stores values that are retentive; for example, the hours counter value. Blocks with optional retentivity use this memory area only if you have enabled the retentivity function.
Programming LOGO! 3.
Programming LOGO! 3.9 Memory space and circuit program size memory space. If LOGO! memory space is insufficient to hold any additional blocks, the system denies access to the block list. If memory space is full, optimize your circuit program or install another LOGO!. Calculating memory requirements When calculating the memory requirements of a circuit, you must always take into account all individual areas of memory. Example: The sample circuit program contains: Block no.
Programming LOGO! 3.9 Memory space and circuit program size Indication of available memory space To view the amount of free memory space in LOGO!, follow these steps: 1. Switch LOGO! to programming mode. (As a reminder, refer to the topic "The four golden rules for operating LOGO! (Page 61)". 2. Move the cursor to "①": Press or 3. Confirm "①": Press OK 4. Move the cursor to "②": Press or 5.
Programming LOGO! 3.
LOGO! functions 4 LOGO! provides you with various elements in programming mode, and organizes them in the following lists: ● Connector list (Connector) (Page 115) ● ↓GF: List of the basic functions AND, OR, ...
LOGO! functions 4.1 Constants and connectors Inputs ● Digital inputs Digital inputs begin with the letter 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. You can use the fast digital inputs I3, I4, I5, and I6 of the LOGO! versions LOGO! 12/24 RCE, LOGO! 12/24 RCEo, LOGO! 24 CE and LOGO! 24 CEo as fast counters.
LOGO! functions 4.1 Constants and connectors Outputs ● Digital outputs Digital outputs begin with the letter Q. The output numbers (Q1, Q2, ... Q20) correspond with the numbers of the output connectors at the LOGO! Base Module and with those of the expansion modules, in their order of installation. LOGO! 0BA8 also provides 64 blank outputs and identifies them with the letter x. You cannot reuse the blank outputs in a circuit program. The blank outputs differ from flags, for example, which you can reuse.
LOGO! functions 4.1 Constants and connectors Startup flag M8 LOGO! sets flag M8 in the first cycle of the circuit program. You can thus use it as a startup flag in your circuit program. LOGO! resets M8 at the end of the first cycle. You can use the M8 flag in all further cycles for setting, deletion and evaluation procedures in the same way as other flags.
LOGO! functions 4.1 Constants and connectors Shift register bits LOGO! provides read-only shift register bits S1.1 to S4.8. Only the "Shift register" (Page 211) special function can modify shift register bit values. Cursor keys Up to four cursor keys are available to you, namely C , C , C and C ("C" = "Cursor"). Cursor keys are programmed for the circuit program in the same way as other inputs.
LOGO! functions 4.2 Basic functions list - GF 3) Network digital outputs The letters NQ identify a network digital output . There are 64 network digital outputs NQ1 to NQ64 available for configuration in the circuit program from LOGO!Soft Comfort. 4) Network analog outputs The letters NAQ identify a network analog output. There are 16 network analog outputs NAQ1 to NAQ16 available for configuration in the circuit program from LOGO!Soft Comfort. 4.
LOGO! functions 4.2 Basic functions list - GF View in the circuit diagram View in LOGO! Name of the basic function OR (Page 124) NOR (Page 125) (not OR) XOR (Page 126) (exclusive OR) NOT (Page 126) (negation, inverter) 4.2.1 AND The output of the AND is only 1 if all inputs are 1, that is, all contacts are closed. At an unused block input (x): x = 1.
LOGO! functions 4.2 Basic functions list - GF 4.2.2 1 2 3 4 Q 0 1 0 1 0 0 1 1 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 1 AND with edge evaluation 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.
LOGO! functions 4.2 Basic functions list - GF 4.2.3 NAND (not AND) The output of the NAND is only 0 if the status at all inputs is 1, that is, the contacts are closed. At an unused block input (x): x = 1. NAND function logic table 4.2.
LOGO! functions 4.2 Basic functions list - GF 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.2.5 OR The output status of the OR element is only 1 if at least one input is 1, that is, 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 1 2 3 4 Q 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 NOR (not OR) The output status of the NOR is only 1 if all inputs are 0, that is, off. The NOR output is set to 0 when one of the inputs is 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) 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) The output status is 1 if the input is 0. The NOT block inverts the input status. An advantage of the NOT block, for example, is that you do not have to use break contacts.
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 The connector "x" input for any SF input is low. That is, the input carries 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): You do no connect the Par parameter. Instead, you set the relevant blcok parameters (times, on/off thresholds etc.). ● Priority: This is an open input.
LOGO! functions 4.3 Special functions value to a high-precision timebase and makes continual corrections. The resultant maximum timing inaccuracy is ±2 s/day. 4.3.3 Backup of the real-time clock Because LOGO! backs up the internal real-time clock, it continues operation after a power failure. The surrounding temperature influences the backup time. At a surrounding temperature of 25°C, the typical backup time of a LOGO! 0BA8 is 20 days.
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. LOGO! internally transforms a voltage of 0 V to 10 V at input AI to a range of values from 0 to 1000.
LOGO! functions 4.4 Special functions list - SF 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.
LOGO! functions 4.
LOGO! functions 4.
LOGO! functions 4.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF View in LOGO! Name of the special function Rem Softkey (Page 209) REM Shift register (Page 211) REM Mathematic instruction error detection (Page 230) 4.4.1 On-delay Short description The output is only set after a configurable on-delay time expires. Symbol in LOGO! 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 an already-programmed function provides the value of T, the valid ranges of the timebase are as follows: Timebase max.
LOGO! functions 4.4 Special functions list - SF 3. Press to move the cursor to the "B" of the shown block, and then press required block number. 4. Press to move the cursor to the block's timebase and press timebase. to select the to select the required The view in parameter assignment mode appears as follows, for example: Timing diagram Functional description A 0 to 1 transition triggers the time Ta 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 (Page 136) is set, the output is reset when the configured time has expired. Symbol in LOGO! 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.4 Special functions list - SF ● Edge-triggered wiping relay (Page 148) (current time Ta) ● Asynchronous pulse generator (Page 150) (current time Ta) ● Stairway lighting switch (Page 154) (current time Ta) ● Multiple function switch (Page 156) (current time Ta) ● Stopwatch (Page 171) (actual value AQ) ● Threshold trigger (Page 180) (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.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! Wiring Description Input Trg A positive edge (0 to 1 transition) at input Trg (Trigger) triggers the on-delay time TH. 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! 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.4 Special functions list - SF ● Edge-triggered wiping relay (Page 148)(current time Ta) ● Asynchronous pulse generator (Page 150)(current time Ta) ● Stairway lighting switch (Page 154)(current time Ta) ● Multiple function switch (Page 156)(current time Ta) ● Stopwatch (Page 171)(actual value AQ) ● Threshold trigger (Page 180) (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.5 Wiping relay (pulse output) Short description An input signal generates a signal with a configurable period at the output. Symbol in LOGO! 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 ● Stairway lighting switch (Page 154)(current time Ta) ● Multiple function switch (Page 156)(current time Ta) ● Stopwatch (Page 171)(actual value AQ) ● Threshold trigger (Page 180) (actual value Fre) Select the required function by the block number. The timebase is configurable. For information on valid ranges and parameter defaults, refer to Section "On-delay (Page 136)".
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! 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): View in parameter assignment mode (example): 4.4.7 Asynchronous pulse generator Short description You can asynchronously output pulses with this function. Symbol in LOGO! Wiring Description Input En You can use input EN to set and reset the asynchronous pulse generator. Input Inv You can use input Inv to invert the output signal of the active asynchronous pulse generator.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 4.4.8 Random generator Short description The random generator function sets an output randomly within a configured time. Symbol in LOGO! Wiring Description Input En A positive edge ( 0 to 1 transition) at input En (Enable) triggers the on-delay time of the random generator. A negative edge ( 1 to 0 transition) at input En (Enable) triggers the off-delay time of the random generator.
LOGO! functions 4.4 Special functions list - SF ● Wiping relay(pulse output) (Page 146) (current time Ta) ● Edge triggered wiping relay (Page 148) (current time Ta) ● Asynchronous pulse generator (Page 150) (current time Ta) ● Stairway light switch (Page 154) (current time Ta) ● Multiple function switch (Page 156) (current time Ta) ● Stopwatch (Page 171) (actual value AQ) ● Threshold trigger (Page 180) (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.9 Stairway lighting switch Short description An input edge triggers a configurable and retriggerable time. LOGO! resets the output after this time expires. LOGO! can optionally output a warning signal to warn of the impending time expiration. Symbol in LOGO! Wiring Description Input Trg A signal at input Trg (Trigger) triggers the off-delay time for the stairway lighting switch.
LOGO! functions 4.4 Special functions list - SF ● Retentive on-delay (Page 144) (current time Ta) ● Wiping relay(pulse output) (Page 146) (current time Ta) ● Edge triggered wiping relay (Page 148) (current time Ta) ● Asynchronous pulse generator (Page 150) (current time Ta) ● Stairway lightswitch (current time Ta) ● Multiple function switch (Page 156) (current time Ta) ● Stopwatch (Page 171) (actual value AQ) ● Threshold trigger (Page 180) (actual value Fre) Select the required function by the block number.
LOGO! functions 4.4 Special functions list - SF View in parameter assignment mode (example): 4.4.10 Multiple function switch Short description The multiple function switch provides two different functions: ● Pulse switch with off-delay ● Switch (permanent lighting) Symbol in LOGO! 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.
LOGO! functions 4.4 Special functions list - SF Parameters T, TL,T! and T!L Note the defaults of the T parameters listed in topic Time response (Page 128). The actual value of another already-programmed function can provide the off-delay time T, the permanent light time TL, the on-delay prewarning time T! and the prewarning time period T!L.
LOGO! functions 4.4 Special functions list - SF Functional description A 0 to 1 transition at input Trg sets output Q. If output Q = 0, and input Trg is set hi at least for the duration of TL, LOGO! enables the permanent lighting function and sets output Q accordingly. LOGO! triggers the off-delay T when input Trg returns to 0 before TL has expired. Output Q is reset when Ta = T.
LOGO! functions 4.4 Special functions list - SF 4.4.11 Weekly timer Short description The weekly timer controls an output 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.
LOGO! functions 4.4 Special functions list - SF 2 1:10h 1:50h 3 1:20h 1:40h In this example, the work time is 1:00h to 1:40h. The status of all three cams determines the switching state of the weekly timer.
LOGO! functions 4.4 Special functions list - SF the output is reset. - -:- - means: No on-/off-times set. Setting the weekly timer To set the on-/off-times: 1. Move the cursor to one of the Cam parameters of the timer (for example, No1). 2. Press OK. The cursor is positioned on the day of the week. 3. Press and 4. Press to move the cursor to the first position of the on-time. to select one or several days of the week. 5. Set the on-time.
LOGO! functions 4.4 Special functions list - SF Result 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 Symbol in LOGO! Wiring Description Cam parameter At the Cam parameter, you configure the timer mode, the on-/off-times for the timer, and whether the output is a pulse output. Output Q LOGO! sets Q when the configured cam is on. Timing diagrams Example 1: Yearly mode on, Monthly mode off, Pulse Off, On Time = 2000-06-01, Off Time = 2099-08-31: every year on June 1 the timer output switches on and remains on until August 31.
LOGO! functions 4.4 Special functions list - SF Example 4: Yearly mode on, Monthly mode off, Pulse on, On Time = 2008-03-15, Off Time = 2010-**-**: on March 15 of 2008, 2009, and 2010, the timer output switches on for one cycle. Example 5: Yearly mode off, Monthly mode off, Pulse off, On Time = 2008-06-01, Off Time = 2010-08-31: on June 1, 2008 the timer output switches on and remains on until August 31, 2010.
LOGO! functions 4.4 Special functions list - SF Example 6: Yearly mode off, Monthly mode off, Pulse selected, On Time = 2008-03-15, Off Time = ****-**-**: on March 15, 2008 the timer output switches on for one cycle. Because the timer does not have a monthly action or yearly action, the timer output pulses only one time at the specified On Time.
LOGO! functions 4.4 Special functions list - SF Functional description The yearly timer sets and resets the output at specific on and off dates. Sets and resets are executed at 00:00. If your application requires a different time, use a weekly timer together with a yearly timer in your circuit program. The on time specifies when the timer is activated. The off time specifies when the output is reset again.
LOGO! functions 4.4 Special functions list - SF Sample configuration The output of a LOGO! is to be set annually on March 1, reset on April 4, set again on July 7, and reset again on November 19. You need to configure two yearly timers with corresponding on-times, then logically link the outputs by means of an OR block.
LOGO! functions 4.4 Special functions list - SF 4.4.13 Astronomical clock 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: 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 Short description The stopwatch function counts the elapsed time between a start stopwatch signal and a stop stopwatch signal. Symbol in LOGO! 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. R A signal at input R resets the elapsed time.
LOGO! functions 4.4 Special functions list - SF Timing diagram 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 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! Wiring Description Input R A signal at input R resets the internal count value to zero. Input Cnt The function counts the 0 to 1 transitions at input Cnt.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Calculation rule ● If the On threshold ≥ Off threshold, then: Q = 1, if Cnt ≥ On Q = 0, if Cnt < Off ● If the On threshold < Off threshold, then Q = 1, if On ≤ Cnt < Off. Note The system scans the counter limit value cyclically. Thus, if the pulse frequency at the fast digital inputs I3, I4, I5 or I6 is faster than the cycle time, the special function might not switch until after the specified limit value is exceeded.
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! 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 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. A signal at reset input R resets output Q and sets the preset value of MI at the counter for the duration of MN. The hours counter OT is not affected.
LOGO! functions 4.4 Special functions list - SF Ral. It 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. MN is calculated according to the following formula when reset input R is never enabled: MN = MI - (OT % MI). The % operator provides an integer division remainder.
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! Wiring Description Input Fre The function counts the 0 to 1 transitions at input Fre. 1 to 0 transitions are not counted. Use the following as the input: Parameter • inputs I3, I4, I5, I6 for fast counting (only LOGO! 12/24RCE/RCEo and LOGO! 24CE/24CEo): max.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Note The "seconds" timebase is here set as permanent default. When you preset a time G_T of 1 s, LOGO! returns the current frequency in parameter fa in Hz. View in parameter assignment mode (example): Note fa always represents the total pulses measured per time unit 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! Wiring Description Input Ax Input Ax is one of the following analog signals: • Parameter AI1 to AI8 (*) • AM1 to AM64 • NAI1 to NAI32 • AQ1 to AQ8 • NAQ1 to NAQ16 • Block number of a function with analog output A: gain Range of values: -10.00 to 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 or 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. Symbol in LOGO! Wiring Description Input Ax Input Ax is one of the following analog signals: • Parameter AI1 to AI8 (*) • AM1 to AM64 • NAI1 to NAI32 • AQ1 to AQ8 • NAQ1 to NAQ16 • Block number of a function with analog output A: gain Range of values: -10.00 to 10.
LOGO! functions 4.4 Special functions list - SF Timing diagram B: Function with positive difference Δ 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 4.4.20 Analog comparator Short description The output is set and reset depending on the difference Ax - Ay and on two configurable thresholds. Symbol in LOGO! Wiring Description Inputs Ax and Ay Inputs Ax and Ay are one of the following analog signals: Parameter • AI1 to AI8 (*) • AM1 to AM64 • NAI1 to NAI32 • AQ1 to AQ8 • NAQ1 to NAQ16 • Block number of a function with analog output A: gain Range of values: -10.00 to 10.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Functional description The function fetches the analog values from the inputs Ax and Ay. Ax and Ay are each multiplied by the value of the A (gain) parameter, and the value at parameter B (offset) is then added to the relevant product, i.e. (Ax • gain) + offset = actual value Ax or (Ay • gain) + offset = actual value Ay. The function forms the difference ("Δ") between the actual values Ax - Ay.
LOGO! functions 4.4 Special functions list - SF Application Internal mapping Range of values: 1000 -30 °C to 70 °C = 100 → Gain = 100/1000 = 0.1 On threshold = 15 °C Threshold = 15 Off threshold = 5 °C Threshold = 5 See also topic "Calculating the gain and offset of analog values (Page 130) ".
LOGO! functions 4.4 Special functions list - SF 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 Parameters Delta1 and Delta2 The actual value of another already-programmed function the Delta1 and Delta2 parameters.
LOGO! functions 4.4 Special functions list - SF Timing diagram 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". Both the analog actual values Ax and Aen are multiplied by the value at parameter A (gain), and parameter B (offset) is then added to the product: (Ax • gain) + offset = Actual value Aen, when input En changes from 0 to 1, or (Ax • gain) + offset = Actual value Ax.
LOGO! functions 4.4 Special functions list - SF 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. Symbol in LOGO! Wiring Description Input Ax Input Ax is one of the following analog signals: • Parameter AI1 to AI8 (*) • AM1 to AM64 • NAI1 to NAI32 • AQ1 to AQ8 • NAQ1 to NAQ16 • Block number of a function with analog output A: gain Range of values: -10.00 to 10.
LOGO! functions 4.4 Special functions list - SF 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. To do this, you may need to connect an additional amplifier between the analog output of the special function and the real analog output. Using this amplifier, you standardize the output range of the special function to a value range of 0 to 1000.
LOGO! functions 4.4 Special functions list - SF 4.4.23 Latching relay Short description Input S sets output Q, input R resets output Q again. Symbol in LOGO! 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. Output Q Q is set with a signal at input S, and reset with a signal at input R.
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! 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. Parameter Selection: RS (R input priority) or SR (S input priority) Retentivity: / = no retentivity R = the status is retentive.
LOGO! functions 4.4 Special functions list - SF Par Qn-1 S R Trg Qn * 0 1 0 0 1 * 0 1 0 0 ->1 1 RS 0 1 1 0 0 RS 0 1 1 0 ->1 0 SR 0 1 1 0 1 SR 0 1 1 0 ->1 1 * 1 0 0 0 1 * 1 0 0 0 ->1 0** * 1 0 1 0 0 * 1 0 1 0 ->1 0 * 1 1 0 0 1 * 1 1 0 0 ->1 1 RS 1 1 1 0 0 RS 1 1 1 0 ->1 0 SR 1 1 1 0 1 SR 1 1 1 0 ->1 1 *: RS or SR **: Triggering signal is effective, because S and R = 0.
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.4 Special functions list - SF The language and therefore character set of a message text is independent of the language setting for menus on the LOGO! onboard display. They can be different. Chinese character set LOGO! Basic and the LOGO! TDE support the Chinese character set (GB-2312) for the People's Republic of China. The devices use Microsoft Windows encoding for this character set.
LOGO! functions 4.4 Special functions list - SF Message text function block Symbol in LOGO! Wiring Description Input En A 0 to 1 transition at input En (Enable) starts the output of the message text. Parameter Ack: acknowledgment of the message text Msg Text: input of the message text Priority: priority of the message text Range of values: 0 to 127 Tick Type: • C-C: tick message character by character • L-L: tick message line by line Msg.
LOGO! functions 4.4 Special functions list - SF If you have configured message ticking, the message will tick on and off the display according to your specifications, either a character at a time, or a line at a time. If acknowledgment is disabled (Ack = No), the message text is hidden when the status of the signal at input En changes from 1 to 0.
LOGO! functions 4.4 Special functions list - SF Messages that tick character by character scroll off the characters of the message line one character at a time to the left with the additional characters scrolling in one at a time from the right. The time interval for the tick is specified by the TickTime message text setting. Messages that tick line by line scroll one half of the message off the display to the left with the second half of the message scrolling in from the right.
LOGO! functions 4.4 Special functions list - SF The screen display alternates between the two message halves every second. You can configure each individual line of a message text to tick or not tick. The "character by character" or "line by line" setting applies to all lines that you configure to tick.
LOGO! functions 4.4 Special functions list - SF 7. Increase the priority by pressing . 8. Press to position the cursor on the "Msg. Dst" line. 9. Press Both. or 10.Press to position the cursor on the "Tick Type" line. 11.Press or to toggle through the three choices for message destination: BM, TDE, or to select either "C-C" or "L-L" for the "Tick Type". 12.Enable or disable ticking for each line of the message text by pressing displays as follows: . LOGO! 13.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF Bar graphs can be either horizontal or vertical representations of the current or actual value scaled between the minimum and maximum value. For more information on configuring and displaying bar graphs in message texts, refer to the Online Help for LOGO!Soft Comfort. Editing message texts You can only edit simple message texts from LOGO! Basic.
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! 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 If retentivity is not set, output Q is initialized after a power failure according to your configuration at the "Start" parameter. Setting the Par parameter View in programming mode (example): 1. Position the cursor on "Par". Press OK. 2. Press to position the cursor on the "On" line. 3. Press OK. Select "Momentary pushbutton" or "Switch": Press 4. Press or . to move the cursor to "Start" line. 5. To change the "Start" state: Press or . 6.
LOGO! functions 4.4 Special functions list - SF 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. The output value corresponds with the configured shift register bit. The shifting direction can be changed at a special input. Symbol in LOGO! Wiring Description Input In Input read at the start of the function.
LOGO! functions 4.4 Special functions list - SF If retentivity is disabled, the shift function restarts at Sx.1 or Sx.8 after a power failure. When enabled, retentivity always applies to all shift register bits. Note There are a maximum of four shift register function blocks available for use in the circuit program in LOGO!.
LOGO! functions 4.4 Special functions list - SF 4.4.28 Analog multiplexer Short description This special function outputs one of four predefined analog values or 0 at the analog output. Symbol in LOGO! Wiring Description Input En A change in status from 0 to 1 at input En (Enable) switches a parameterized analog value to the output AQ, depending on the value of S1 and S2. Inputs S1 and S2 S1 and S2 (selectors) for selecting the analog value to be issued.
LOGO! functions 4.
LOGO! functions 4.4 Special functions list - SF 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. To do this, you may need to connect an additional amplifier between the analog output of the special function and the real analog output. Using this amplifier, you standardize the output range of the special function to a value range of 0 to 1000.
LOGO! functions 4.4 Special functions list - SF 4.4.29 Analog ramp Short description This function allows the output to be changed from the current level to the selected level at a specified rate. Symbol in LOGO! 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: -10000 to 20000 MaxL: maximum value that must not be exceeded under any circumstances. Range of values: -10000 to 20000 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.
LOGO! functions 4.4 Special functions list - SF 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. If the input St is set, the function runs to a level of StSp + Offset "B" at the acceleration set in Rate. Then the function holds the level at StSp + Offset "B" for 100 ms.
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! 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 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 Timing diagram The nature, manner and speed with which the AQ changes depend on the parameters KC and TI. Thus, the course of AQ in the diagram is merely an example. A control action is continuous; therefore the diagram portrays just an extract. 1. A disturbance causes the PV to drop, as Dir is positioned upwards, AQ increases until PV corresponds again to SP. 2.
LOGO! functions 4.4 Special functions list - SF ● If the updated value PV = SP, then the special function does not change the value of AQ. ● Dir = upwards (+) (timing diagram numbers 1. and 3.) – If the updated value PV > SP, then the special function reduces the value of AQ. – If the updated value PV < SP, then the special function increases the value of AQ. ● Dir = downwards (-) (timing diagram number 2.) – If the updated value PV > SP, then the special function increases the value of AQ.
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! 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 Example 2 Analog input value: 300 (range 0 to 1,000) Periodic time T: 10 seconds The digital output of the PWM function is three seconds high, seven seconds low, three seconds high, seven seconds low and continues in that pattern as long as parameter "En" = high. Calculation rule Q = 1, for (Ax - Min)/ (Max - Min) of time period T, when Min < Ax < Max. Q = 0, for PT - [ (Ax - Min) / (Max - Min) ] of periodic time T.
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! 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 The number of operand values is fixed at four and the number of operators is fixed at 3. If you need to use fewer operands, use constructions such as + 0 or * 1 to fill the remaining parameters. You can also configure the behavior of the function when the Enable parameter En=0. The function block can either retain its last value, or be set to 0. If the parameter Qen → 0 = 0, then the function sets AQ to 0 when En=0.
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: View in parameter assignment mode: 4.4.33 Mathematic instruction error detection Short description The mathematic instruction error detection block sets an output if an error has occurred in the referenced Mathematic instruction (Page 227) function block.
LOGO! functions 4.4 Special functions list - SF 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. If AutoRst is set, the output is reset prior to the next execution of the function block.
LOGO! functions 4.4 Special functions list - SF View in parameter assignment mode (example): 4.4.34 Analog filter Short description The analog filter function smooths the analog input signal. Symbol in LOGO! Wiring Description Ax Input Ax is the analog input signal to be smoothed.
LOGO! functions 4.4 Special functions list - SF Timing diagram (example) 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!.
LOGO! functions 4.4 Special functions list - SF 4.4.35 Max/Min Short description The Max/Min function records the maximum or minimum value of Ax. Symbol in LOGO! 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. 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 The actual value of another already-programmed function can provide the value for parameter Mode.
LOGO! functions 4.4 Special functions list - SF Timing diagram (example) 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. ERst = 0 and En = 1: the function outputs a value at AQ, depending on the settings of Mode and S1.
LOGO! functions 4.4 Special functions list - SF 4.4.36 Average value Short description The average value function calculates the average value of an analog input over a configured time period. Symbol in LOGO! 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. R A signal at input R clears the analog output value.
LOGO! functions 4.4 Special functions list - SF 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.
Web server 5 LOGO! 0BA8 has a built-in Web server which enables you to operate the LOGO! Base Module or the LOGO! TDE from a traditional PC or a mobile device. In this approach, you can access the LOGO! Base Module or the LOGO! TDE using a connected device (conventional PC, tablet or smart phone with Web browsing capabilities) through its IP address.
Web server 5.2 Logging on to the Web server ● Apple iPad series ● Smart phones and tablets with Android system with minimum version Android 2.0 Supported Web page language versions The LOGO! Web server supports the following Web page lanuages: ● German ● English ● Italian ● French ● Spanish ● Chinese Simplified ● Japanese 5.2 Logging on to the Web server Follow the steps below to log on to the desired LOGO! Base Module. 1. Open your Web browser. 2.
Web server 5.2 Logging on to the Web server 3. Click or tap the button. The LOGO! Web server redirects you to the welcome page. Note If you have enabled Web user access without changing the password, you can log on with the default password "LOGO". 4. Select an appropriate language from the drop-down menu if needed. 5. Enter the password. Note • You can only enable the Web server access or change the logon password using LOGO!Soft Comfort.
Web server 5.3 Viewing LOGO! system information 6. Click or tap "②" to log on to the Web server. Note • For remote access, the logon may take several seconds. • If your logon fails, press or tap the refresh button on your browser (or press the keyboard shortcut "F5" on the conventional PC) to try it again. 5.
Web server 5.4 Operating the virtual module on the Web server 5.4 Operating the virtual module on the Web server The LOGO! Web server enables you to do the following operations on the virtual LOGO! Base Module through LOGO! BM menu and the virtual LOGO! TDE through LOGO! TD menu.
Web server 5.
Web server 5.4 Operating the virtual module on the Web server You can click or tap or to tick manually for available messages. Note The and are gray, indicating they are not applicable in viewing message texts. Viewing message text ticking If you have configured message ticking settings on LOGO!Soft Comfort according to the instructions in the Online Help for LOGO!Soft Comfort, you can see the message text ticking by lines or characters on the virtual LOGO! Base Module or LOGO! TDE.
Web server 5.4 Operating the virtual module on the Web server ● On the LOGO! Base Module: ● On the LOGO! TDE: Enter the desired parameter value in line "①" on the above screens. In this example, enter "20:00s". Make sure you have strictly followed the example of your current value. Any inconsistency may cause errors on the module.
Web server 5.4 Operating the virtual module on the Web server Click or tap "②". The updated parameter is displayed.
Web server 5.5 Viewing and editing variable memory tables 5.5 Viewing and editing variable memory tables The LOGO! Web server allows you to check and modify variable memory tables on the Web browser. For complete description on the LOGO! variables, refer to the "Parameter VM mapping" section of the Online Help for LOGO!Soft Comfort. Click or tap "①" on the left navigation bar to show the variable table. Click or tap "②" to add a new variable. Follow the steps below to set the variable. 1.
6 UDF (User-Defined Function) User-Defined Function (UDF) LOGO!Soft Comfort provides you with a UDF (User-Defined Function) editor for creating circuit programs. 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) 5. Press OK twice to enter circuit program edit mode. A "U" identifies a UDF block. "U1" refers to the first UDF block. The following display shows you an example of the circuit program that contains a UDF block configured from LOGO!Soft Comfort. 6. Move the cursor to "U1": Press , , or . 7. Press OK to enter the screen form for the first UDF block "U1". To select another element, press the curor keys. 8.
UDF (User-Defined Function) 1. Press OK and LOGO! shows the following display: 2. Move the cursor to "In" by pressing . Press OK and the cursor appears in a flashing solid square. You can change the input to "U1.1" (".1" refers to the first output of the UDF block that is connected to "Q1") by pressing or and LOGO! shows the following display: 3. Confirm your selection by pressing OK. Press ESC and LOGO! shows the following display: Now "U1" is connected to "Q3". 4.
UDF (User-Defined Function) Setting the Par parameter You can edit the Par parameter for your UDF block if you have configured parameters for this UDF using LOGO!Soft Comfort; otherwise, you cannot edit parameters for UDF blocks. If your UDF block contains the Par parameter, you can edit the parameters as described below: View in programming mode (example): 1. Press to move the cursor to "Par" and press OK.
7 Data log You can configure a maximum of one data log for your circuit program using LOGO!Soft Comfort. The data log records process measurement variables for function blocks that you configure for data logging. 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 3. Press OK on the selected input ("M1" in this example) and the cursor appears in a flashing solid square. To select a different element from the available list (for example, B3), press . Press OK. LOGO! shows the following display: 4. In the following example, you can see that this "L1" is now connected to the B3 block: Note LOGO! 0BA8 provides a 1024-byte buffer for data logging.
8 Configuring LOGO! 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. You can configure the parameters: ● In programming mode ● In parameter assignment mode Parameter assignment mode allows the editing of parameters without having to modify the circuit program.
Configuring LOGO! 8.1 Selecting parameter assignment mode 3. Move the cursor to "②": Press 4. Confirm placing LOGO! in STOP mode by pressing OK with the cursor on "②". LOGO! shows the main menu of the programming mode: For more information about switching LOGO! to RUN mode, refer to Section "Switching LOGO! to RUN mode (Page 78)".
Configuring LOGO! 8.1 Selecting parameter assignment mode ● Menu command ③ For information on the various settings, refer to the topic "Configuring network settings (Page 99)". ● Menu command ④ For information on the various settings, refer to the topic "Diagnosing errors from LOGO! (Page 105)". 8.1.1 Parameters Note You can only view and edit parameters in the parameter assignment mode when they have the read/write ("+") designation.
Configuring LOGO! 8.1 Selecting parameter assignment mode 8.1.2 Selecting the parameters To select a parameter: 1. On the parameter assignment menu, move the cursor to "①": Press or 2. Confirm "①" with OK. 3. Move the cursor to "②": Press or 4. Confirm "②" with OK. LOGO! shows the list of all available blocks, for example: If no parameter can be set, the display shows as follows, and you can press ESC to return to the parameter assignment menu. 5.
Configuring LOGO! 8.1 Selecting parameter assignment mode 8.1.3 Modifying parameters You first select the parameter you want to edit (Page 258). 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 2. To change this value: Press or or 3. To apply the value: OK Note When changing the time parameter when the system is in RUN, you can also change the timebase (s=seconds, m=minutes, h=hours).
Configuring LOGO! 8.1 Selecting parameter assignment mode Current timer value View of a timer cam in parameter assignment mode: You can change the on/off times and the day. Current value of a counter View of a counter parameter in parameter assignment mode: 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 173)" topic, this is B021).
Configuring LOGO! 8.2 Setting the default values for LOGO! Current value of a threshold trigger View of the parameter of a threshold trigger in parameter assignment mode: You can change the on/off threshold. 8.
Configuring LOGO! 8.2 Setting the default values for LOGO! Start screen settings You can select the default setting for the start screen (Page 267) that displays on LOGO! when LOGO! transfers to RUN mode in programming mode or parameter assignment mode through the following menu commands: Message text settings You can select settings that apply to all message text function blocks (Page 200) in programming mode or parameter assignment mode through the following menu commands: 8.2.
Configuring LOGO! 8.2 Setting the default values for LOGO! 7. Confirm "③": Press OK LOGO! shows the following display. 8. To set the correct time of day, press or and press or to change the value. 9. To set the correct date, press or to change the value. or to move the cursor to the desired position, to move the cursor to the desired position, and press 10.
Configuring LOGO! 8.2 Setting the default values for LOGO! 4. Move the cursor to "②": Press or 5. Confirm "②": Press OK 6. Move the cursor to "③": Press or 7. Confirm "③": Press OK LOGO! shows the following display: 8. To change the display contrast: Press or 9. To confirm your entry: Press OK Setting the display contrast in programming mode If you want to set the display contrast in programming mode, select menu command "①" in the main menu, then menus "②" and "③".
Configuring LOGO! 8.2 Setting the default values for LOGO! 4. Confirm "②": Press OK 5. Move the cursor to "③": Press 6. Select "③": Press or or 7. Confirm "③": Press OK 8. Move the cursor to "④" or "⑤": Press or 9. Confirm "④" or "⑤": Press OK The default setting is that the backlight is not on. To set the backlight to always be on, select "⑤".
Configuring LOGO! 8.2 Setting the default values for LOGO! Setting the menu language in programming mode You can set the menu language in programming mode only: 1. In the main menu of programming mode, move the cursor to "①": Press or 2. Confirm "①": Press OK 3. Move the cursor to "②": Press or 4. Confirm "②": Press OK 5. Move the cursor to the language of your choice: Press or 6. Confirm language selection: Press OK 8.2.
Configuring LOGO! 8.2 Setting the default values for LOGO! Setting the number of AIs in programming mode Follow these steps to set the number of analog inputs: 1. In the main menu of programming mode, select "①": Press or 2. Confirm "①": Press OK 3. Select "②": Press or 4. Confirm "②": Press OK 5. Move to "0 AI", "2 AIs" or "4 AIs": Press or 6. Confirm your selection with OK, and the setting takes effect immediately. 8.2.
Configuring LOGO! 8.2 Setting the default values for LOGO! 5. Confirm "②": Press OK The display now shows: The current setting of the start screen is indicated by the circle with a dot. The default setting is "③". You can choose to display the current time-of-day and date (③), the values of the digital inputs (④), or the parameter assignment menu (⑤). 6. Select the desired default setting: Press or 7. To confirm your entry: Press OK Power LOGO! off then on to make your changes take effect.
Using memory cards 9 LOGO! supports only micro SD cards that support FAT32 file system format for program storage. You can store and copy-protect a circuit program, with or without the data log of process data, from a LOGO! device to a micro SD card, or copy a circuit program from the card to a LOGO! device. LOGO! allows you to store only one circuit program in its memory. If you want to modify the circuit program or create an additional one without deleting the first, you must archive it somewhere.
Using memory cards 9.1 Formatting micro SD cards Formatting under Windows OS Follow the steps below to format the micro SD card under Windows OS: 1. 2.
Using memory cards 9.1 Formatting micro SD cards 3. 4. Formatting under Linux OS 1. Open the following terminal in the application browser to enter commands: 2. Enter the first command "fdisk -1" in the terminal to search for the removable device block name and "/dev/sdc1" is found. 3. Enter "sudo umount /dev/sdc1" to umount this device. 4. Enter "sudo mkfs.vfat -f 32 /dev/sdc1" and formatting is completed.
Using memory cards 9.1 Formatting micro SD cards Formatting under Mac OS Follow the steps below to format the micro SD card under MAC OS: 1. 2.
Using memory cards 9.2 Inserting and removing the card from LOGO! 3. 4. 9.2 Inserting and removing the card from LOGO! When you remove a micro SD card that contains a circuit program with copy protection attributes, note the following: LOGO! can only execute the circuit program stored on the card if the card remains inserted during system runtime. A removal of the card during RUN mode can lead to impermissible operating states.
Using memory cards 9.2 Inserting and removing the card from LOGO! Removing the micro SD card To remove the micro SD card, carefully insert a screwdriver with a 3-mm blade into the groove on the front of the socket, and lever the socket partially out of the slot. Press the two sides of the socket and pull it out. You can now remove the micro SD card from the socket. Inserting the micro SD card The entry of the card slot is chamfered on its bottom right. The edge of the cards is chamfered accordingly.
Using memory cards 9.3 Copying data from LOGO! to the card 9.3 Copying data from LOGO! to the card Copying data from LOGO! to the card manually To manually copy the circuit program to the micro SD card, follow the steps shown in the illustration below: Press OK. LOGO! starts copying the circuit program to the card. If power fails while LOGO! is copying the circuit program, repeat the process after power-on.
Using memory cards 9.4 Copying data from the card to LOGO! from STOP to RUN, it attempts to copy the data log to the micro SD card; otherwise, LOGO! saves the data log in memory. At every STOP to RUN transition, LOGO! determines the destination of the data log storage. If LOGO! copies the data log to the micro SD card, it saves the data log by default as .CSV file format, which you can then open from a PC. Each line in the .
Using memory cards 9.4 Copying data from the card to LOGO! 3. Switch on the power supply to LOGO!. LOGO! copies the program from the program module/card to LOGO!. When LOGO! finishes copying, it opens the LOGO! main menu: Note Before you switch LOGO! to RUN, you must ensure that the system you are controlling with LOGO! does not represent a source of hazard. 4. Move the cursor to the first menu command in Step 3: Press or . 5. Press OK.
Using memory cards 9.
10 Security Overview This chapter describes the following security functions for improved protection on LOGO!: Security function Description Network access security You can protect your devices from network security risks by deploying the LOGO! devices and SIMATIC S7 devices on the Intranet. Program access security The following protection methods can help you protect your circuit programs from unauthorized access: Menu access security 10.
Security 10.1 Network access security Siemens strongly recommends that you do not put the LOGO! devices (LOGO! Base Modules and the LOGO! TDE) and the SIMATIC S7 devices directly on the Internet, but hide them behind a firewall (see illustration below). In addition, make sure you select TCP port 8080 and block all other ports in the firewall configuration; otherwise, there may be network security risks, for example, data leakage, virus invasion and hacker attack.
Security 10.2 Program access security 10.2 Program access security 10.2.1 Program password protection You can protect your circuit program from unauthorized access with a password. Siemens strongly recommends you use the password-protection to prevent unauthorized reading or editing of your circuit programs. For more information about assigning and changing a program password, refer to Section "Password for circuit program protection (Page 74)". 10.2.
Security 10.3 Menu access security 3. Move the cursor to "②": Press or 4. Confirm "②" with OK. LOGO! shows the following display: By default, the card is unprotected. 5. Move the cursor to "③": Press or 6. Confirm your selection by pressing OK. Note The protection function applies only to the card; you must copy (Page 275) the circuit program to the card in a separate action at power-on. You can always change the status of protection function disabled to protection function enabled.
LOGO! software 11.1 11 LOGO! software LOGO!Soft Comfort is available as a programming package for the PC.
LOGO! software 11.1 LOGO! software The LOGO! advantages As you can see, LOGO!Soft Comfort offers many 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. ● You can save a copy of your circuit program to the file system on your PC, to make it directly available for modifications.
LOGO! software 11.2 Connecting LOGO! to a PC 11.2 Connecting LOGO! to a PC Connecting LOGO! to a PC LOGO! 0BA8 has an Ethernet port so you can connect a LOGO! 0BA8 Base Module to a PC with an Ethernet cable. Switching LOGO! to PC ↔ LOGO! mode Two methods are available to switch LOGO! to STOP mode: ● Switch LOGO! to STOP mode from your PC (refer to the Online Help for LOGO!Soft Comfort). ● Select the following menu command on a device with display.
LOGO! software 11.2 Connecting LOGO! to a PC Closing the PC ↔ LOGO! mode When LOGO! completes the data transfer, it shuts down the connection to the PC. Note If you have password-protected the program that you created in LOGO!Soft Comfort, LOGO! receives both the circuit program and the password during the download. The upload of a password-protected program created in LOGO! is possible only after you enter the correct password in LOGO!Soft Comfort.
Applications 12 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). Siemens does not guarantee that the provided examples are error-free; they serve as general information about the fields of application for LOGO!, and can be different from userspecific solutions. Siemens reserves the right to make changes.
Applications ● Silo-filling system ● Fill station with message text on the LOGO! TDE that displays the sum of counted objects 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.
Applications Do you have any suggestions? There are definitely many more useful applications for LOGO!. If you know of one, please write to the following address or send it to the online Support Request (http://www.siemens.com/automation/support-request). Siemens will collect all the suggestions made and distribute as many of them as possible. Your suggestions are valuable to Siemens.
Applications LOGO! 290 Manual, 06/2014, A5E33039675
A Technical data A.1 General technical data Criterion Tested in accordance with Values LOGO! Base Modules (0BA8) LOGO! Basic Dimensions (WxHxD) Weight • Modules with relay output • Modules with transistor output Installation LOGO! Pure Dimensions (WxHxD) Weight • Modules with relay output • Modules with transistor output Installation 71.5 x 90 x 60 mm Approx. 240 g Approx. 195 g On a 35 mm profile rail four module widths or wall mounting 71.5 x 90 x 58 mm Approx. 200 g Approx.
Technical data A.1 General technical data Criterion Tested in accordance with Values LOGO! TDE (Text Display with Ethernet interfaces) Dimensions (WxHxD) Weight 128.2 x 86 x 38.7 mm Approx.
Technical data A.2 Technical data: LOGO! 230... Criterion Tested in accordance with Values Clearance and creepage distance rating IEC 60664, IEC 61131-2, EN 50178 cULus to UL 508, CSA C22.2 No. 142 Fulfilled Insulation strength IEC 61131-2 Fulfilled Cycle time Cycle time per function < 0.1 ms Startup Startup time at power-up Typ. 9 s S7 communication Delay time A.2 Max. 100 ms Technical data: LOGO! 230...
Technical data A.2 Technical data: LOGO! 230... Number of high speed inputs LOGO! 230RCEo LOGO! 230RCE 0 0 Input frequency • Normal input • Max. 4 Hz • Max. 4 Hz • High speed input • -- • -- Max. continuous permissible voltage 265 VAC 253 VDC 265 VAC 253 VDC Input voltage L1 • Signal 0 • < 40 VAC • < 40 VAC • Signal 1 • > 79 VAC • > 79 VAC • Signal 0 • < 30 VDC • < 30 VDC • Signal 1 • > 79 VDC • > 79 VDC Input current at • Signal 0 • < 0.05 mA AC • < 0.
Technical data A.3 Technical data: LOGO! DM8 230R and LOGO! DM16 230R Surge current LOGO! 230RCEo LOGO! 230RCE Max. 30 A Max.
Technical data A.3 Technical data: LOGO! DM8 230R and LOGO! DM16 230R LOGO! DM8 230R LOGO! DM16 230R Power consumption • 115 VAC • 10 mA to 30 mA • 10 mA to 60 mA • 240 VAC • 10 mA to 20 mA • 10 mA to 40 mA • 115 VDC • 5 mA to 15 mA • 5 mA to 25 mA • 240 VDC • 5 mA to 10 mA • 5 mA to 20 mA Voltage failure buffering • 115 VAC/VDC • Typ. 10 ms • Typ. 10 ms • 240 VAC/VDC • Typ. 20 ms • Typ. 20 ms Power loss at • 115 VAC • 1.1 W to 3.5 W • 1.1 W to 4.
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: • 120 VAC • Typ. 40 ms • Typ. 40 ms • 240 VAC • Typ. 30 ms • Typ. 30 ms • 120 VDC • Typ. 25 ms • Typ. 25 ms • 240 VDC • Typ. 20 ms • Typ. 20 ms Delay time at 1 to 0: • 120 VAC • Typ. 45 ms • Typ. 45 ms • 240 VAC • Typ. 70 ms • Typ. 70 ms • 120 VDC • Typ. 60 ms • Typ. 60 ms • 240 VDC • Typ. 75 ms • Typ.
Technical data A.4 Technical data: LOGO! 24... LOGO! DM8 230R LOGO! DM16 230R Mechanical 10 Hz 10 Hz Ohmic load/lamp load 2 Hz 2 Hz Inductive load 0.5 Hz 0.5 Hz Notice: For fluorescent lamps with capacitors, you must consider the technical data of fluorescent lamp ballasts. If the current exceeds the maximum allowed surge current, appropriate contactor relays must switch the flourescent lamps.
Technical data A.4 Technical data: LOGO! 24... LOGO! 24CE LOGO! 24CEo Input current at Signal 0 < 0.9 mA (I3 to I6) < 0.07 mA (I1, I2, I7, I8) Signal 1 > 2.1 mA (I3 to I6) > 0.18 mA (I1, I2, I7, I8) Delay time at 0 to 1 • Typ. 1.5 ms <1.0 ms (I3 to I6) 1 to 0 • Typ. 1.5 ms <1.0 ms (I3 to I6) Line length (unshielded) Max.
Technical data A.5 Technical data: LOGO! DM8 24 and LOGO! DM16 24 LOGO! 24CE LOGO! 24CEo A.5 Ohmic load/lamp load 10 Hz Inductive load 0.5 Hz 1) When you switch on LOGO! 24CE/24CEo, LOGO! DM8 24 or LOGO! DM16 24, the CPU sends signal 1 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.6 Technical data: LOGO! 24RC... 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 per channel Max. 0.3 A per channel Digital outputs Short circuit-proof and overload- Yes proof Yes Short circuit current limitation Approx. 1 A per channel Approx.
Technical data A.6 Technical data: LOGO! 24RC... LOGO! 24RCE LOGO! 24RCEo Power consumption • 24 VAC • 15 mA to 150 mA • 24 VDC • 15 mA to 130 mA Voltage failure buffering Typ. 5 ms Power loss • 24 VAC • 0.4 W to 3.6 W • 24 VDC • 0.4 W to 3.2 W Backup of the real-time clock at 25 °C Typ. 20 days Accuracy of the real-time clock Typ.
Technical data A.7 Technical data: LOGO! DM8 24R and LOGO! DM16 24R LOGO! 24RCE LOGO! 24RCEo Continuous current Ith Recommended range of application ≥ 100 mA at 12 VAC/VDC Max. 10 A per relay Surge current Max.
Technical data A.7 Technical data: LOGO! DM8 24R and LOGO! DM16 24R LOGO! DM8 24R LOGO! DM16 24R Power consumption • 24 VAC • 20 mA to 100 mA • -- • 24 VDC • 8 mA to 50 mA • 15 mA to 65 mA Voltage failure buffering Typ. 5 ms Typ. 5 ms Power loss • 24 VAC • 0.5 W to 2.4 W • -- • 24 VDC • 0.2 W to 1.2 W • 0.35 W to 1.
Technical data A.8 Technical data: LOGO! 12/24...
Technical data A.8 Technical data: LOGO! 12/24... LOGO! DM8 12/24R LOGO! 12/24RCEo LOGO! DM8 12/24R LOGO! 12/24RCE Voltage failure buffering • 12 VDC • Typ. 2 ms • Typ. 2 ms • 24 VDC • Typ. 5 ms • Typ. 5 ms Power loss • 12 VDC • 0.4 W to 1.7 W • 0.2 W to 1.0 W • 24 VDC • 0.4 W to 2.2 W • 0.3 W to 1.0 W Backup of the real-time clock at 25 °C Typ. 20 days -- Accuracy of the real-time clock Typ.
Technical data A.8 Technical data: LOGO! 12/24... LOGO! DM8 12/24R LOGO! 12/24RCEo LOGO! DM8 12/24R LOGO! 12/24RCE Digital outputs Number 4 4 Output type Relay outputs Relay outputs Electrical isolation Yes Yes In groups of 1 1 Control of a digital input Yes Yes Continuous current Ith (per terminal) Recommended range of application ≥ 100 mA at 12 VAC/VDC Recommended range of application ≥ 100 mA at 12 VAC/VDC Max. 10 A per relay Max. 5 A per relay Surge current Max. 30 A Max.
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): Switching capacity and service life of the contacts with high inductive load to IEC 947-5-1 DC 13/AC 15 (contactors, solenoid coils, motors): Note To ensure the switching capacity and service life, keep the minimum switching load of the relay outputs at 100 mA with the voltage of 12 VAC/VDC.
Technical data A.10 Technical data: LOGO! AM2 A.10 Technical data: LOGO! AM2 LOGO! AM2 Power supply Input voltage 12/24 VDC Permissible range 10.8 VDC to 28.8 VDC Power consumption 15 mA to 30 mA Voltage failure buffering Typ. 10 ms Power loss at • 12 VDC • 0.2 W to 0.4 W • 24 VDC • 0.4 W to 0.8 W Electrical isolation No Reverse polarity protection Yes Ground terminal For connecting ground and shielding of the analog measuring line Analog inputs A.
Technical data A.12 Technical data: LOGO! AM2 AQ LOGO! AM2 RTD Reverse polarity protection Yes Ground terminal For connecting ground and shielding of the measuring line. Sensor inputs Number 2 Type PT100 or PT1000 with the default temperature coefficient of α = 0.003850 for both Types, or compatible sensors.
Technical data A.13 Technical data: LOGO! Power 12 V LOGO! AM2 AQ Permissible range 20.4 VDC to 28.8 VDC Power consumption 15 mA to 82 mA Voltage failure buffering Typ. 10 ms Power loss at 24 VDC 0.4 W to 2.0 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: LOGO! Power 24 V LOGO! Power 12 V/1.9 A LOGO! Power 12 V/4.5 A Output voltage Overall tolerance Adjustment range Residual ripple 12 VDC ±3% 10.5 VDC to 16.1 VDC < 200/300 mVpp Output current Overcurrent limiting 1.9 A Typ. 2.5 A 4.5 A Typ. 5.9 A Efficiency Typ. 80% Typ.
Technical data A.14 Technical data: LOGO! Power 24 V LOGO! Power 24 V/1.3 A LOGO! Power 24 V/2.5 A Voltage failure buffering 40 ms (at 187 VAC) Input current 0.70 A to 0.35 A 1.22 A to 0.66 A Inrush current (25°C) < 15 A < 30 A Device protection Internal Recommended circuit breaker (IEC 898) in mains line ≥ 16 A characteristic B ≥ 10 A characteristic C Output data Output voltage Overall tolerance Adjustment range Residual ripple 24 VDC ± 3% 22.2 VDC to 26.
Technical data A.15 Technical data: LOGO! Contact 24/230 A.15 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). Both modules have a built-in protective circuit for damping surges.
Technical data A.17 Technical data: LOGO! CSM12/24 LOGO! TDE Permissible range 20.4 VAC to 26.4 VAC 10.2 VDC to 28.8 VDC Permissible mains frequency 47Hz to 63 Hz Power consumption (Ethernet and white backlight active) • 12 VDC • • 24 VDC Typ. 145 mA • • 24 VAC Typ. 70 mA • Typ.
Technical data A.17 Technical data: LOGO! CSM12/24 LOGO! CSM12/24 Delay resulting from latency Topology When a frame passed through the CSM12/24, the stored and forward function of the switch delays the frame according to the characteristics below: • With a 64 byte frame length by approx. 8 μs (at 100 Mbps). • With a 1518 byte frame length by approx. 125 μs (at 100 Mbps).
Technical data A.18 Technical data: LOGO! CSM230 A.18 Technical data: LOGO! CSM230 The CSM230 is a communications switch module with Ethernet. It can support the current range of 100 VAC to 240 VAC and 115 VDC to 210 VDC. LOGO! CSM230 Ethernet interface Communications connector 4 x RJ45 jacks with MDI-X assignment 10/100 Mbps (half/full duplex), autopolarity, autonegotiation Network cable Use a shielded Ethernet cable to connect to the Ethernet interface.
Technical data A.
Determining the cycle time B 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 writing the outputs. The cycle time is the time required to execute a circuit program once in full. You can determine the time required for a program cycle using a short test program. Create this test program in LOGO! to return a value from which you can calculate the cycle time.
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 two cycles. The threshold trigger indicates the ratio of periods per two seconds, which results in the ratio of cycles per second.
LOGO! without display ("LOGO! Pure") C Because some specific applications do not require operator control and interface elements such as buttons or a display, Siemens provides the LOGO! 12/24RCEo, LOGO! 24RCEo, LOGO! 24CEo and LOGO! 230RCEo versions without display.
LOGO! without display ("LOGO! Pure") Ethernet interface (Page 48) to find the details about the wiring of the Ethernet interface and also about the status of the Ethernet LEDs. Operating characteristics LOGO! is ready for operation when you switch on power. Switching off a LOGO! without display is equivalent to disconnecting the power supply. You can not start or stop the circuit program of LOGO!...o versions by means of buttons, therefore, this is why the LOGO!...
LOGO! menu structure D.1 LOGO! Basic D.1.1 Menu overview D All of the following menu commands are valid for LOGO! Basic with the ADMIN access level. If you operate the LOGO! with the OP access level, some menu commands are invisible. For more information see section Overview of LOGO! Menus (Page 65). D.1.
LOGO! menu structure D.1 LOGO! Basic D.1.3 Programming menu Note When LOGO! is in RUN mode, only the menu commands with an asterisk (*) are available in the programming menu. D.1.4 Card menu This menu is available only when LOGO! is in programming mode.
LOGO! menu structure D.1 LOGO! Basic D.1.
LOGO! menu structure D.1 LOGO! Basic Note When LOGO! is in RUN mode, only the menu commands with an asterisk (*) are available in the setup menu. D.1.6 Network menu Note When LOGO! is in RUN mode, only the menu commands with an asterisk (*) are available in the network menu.
LOGO! menu structure D.1 LOGO! Basic D.1.
LOGO! menu structure D.1 LOGO! Basic D.1.
LOGO! menu structure D.2 LOGO! TDE D.2 LOGO! TDE D.2.1 Menu overview All of the following menu commands are valid for the LOGO! TDE with the ADMIN access level. If you operate the LOGO! TDE with the OP access level, some menu commands are invisible. For more information, see section Overview of LOGO! menus (Page 65).
LOGO! menu structure D.2 LOGO! TDE D.2.2 ① ② ③ ④ ⑤ Main menu See "LOGO! selection menu (Page 331)". See "Start menu (Page 331)". See "Programming menu (Page 331)". See "Setup menu (Page 331)". See "Network menu (Page 331)". ⑥ ⑦ ⑧ ⑨ ⑩ See "Diagnostic menu (Page 331)". See "Card menu (Page 331)". See "TDE setup menu (Page 334)". See "TDE network menu (Page 334)". See "TDE diagnostic menu (Page 334)".
LOGO! menu structure D.2 LOGO! TDE D.2.3 LOGO! selection menu D.2.4 LOGO! settings menu The LOGO! TDE allows you to view and configure settings of the connected LOGO! Base Module in its LOGO! settings menu. Program menu The program menu is the same as that on the LOGO! Base Module. See "Programming menu (Page 324)" for more information. Card menu The card menu is the same as that on the LOGO! Base Module. See "Card menu (Page 324)" for more information.
LOGO! menu structure D.2 LOGO! TDE Setup menu The setup menu is different from that on the LOGO! Base Module. See "Setup menu (Page 325)" for the complete setup menu for LOGO! Basic. Note When LOGO! 0BA8 is in RUN mode, only the menu commands with an asterisk (*) are avaiable in the above menu.
LOGO! menu structure D.2 LOGO! TDE Network menu The network menu is the same as that on the LOGO! Base Module. See "Network menu (Page 326)" for more information. Diagnostics menu The diagnostics menu is the same as that on the LOGO! Base Module. See "Diagnostics menu (Page 327)" for more information. Start menu The start menu is the same as that on the LOGO! Base Module. See "Start menu (Page 328)" for more information.
LOGO! menu structure D.2 LOGO! TDE D.2.5 LOGO! TDE settings menu The LOGO! TDE allows you to view and configure settings of the LOGO! TDE itself. The following LOGO! TDE settings menu structure applys both when the connected LOGO! Basic is in RUN or STOP mode.
LOGO! menu structure D.2 LOGO! TDE LOGO! TDE network menu You can use the menu below to set the LOGO! TDE network configurations. Note The IP address of the LOGO! TDE is read-only when it is in RUN mode.
LOGO! menu structure D.
E Order numbers Modules Variant Designation Order number LOGO! Basic (Base Module with display) LOGO! 12/24RCE * 6ED1052-1MD00-0BA8 LOGO! 24CE * 6ED1052-1CC01-0BA8 LOGO! Pure (Base Module without display) Digital modules Analog modules LOGO! 24RCE (AC/DC) 6ED1052-1HB00-0BA8 LOGO! 230RCE (AC/DC) 6ED1052-1FB00-0BA8 LOGO! 12/24RCEo * 6ED1052-2MD00-0BA8 LOGO! 24CEo * 6ED1052-2CC01-0BA8 LOGO! 24RCEo (AC/DC) 6ED1052-2HB00-0BA8 LOGO! 230RCEo (AC/DC) 6ED1052-2FB00-0BA8 LOGO! DM8 12/24R 6ED
Order numbers Accessories Designation Order number Power modules LOGO! Power 12V/1.9A 6EP1321-1SH02 Ethernet switch modules LOGO! Power 12V/4.5A 6EP1322-1SH02 LOGO! Power 24V/1.3A 6EP1331-1SH02 LOGO! Power 24V/2.5A 6EP1332-1SH42 LOGO! Power 24V/4A 6EP1332-1SH51 LOGO! Power 5V/3A 6EP1311-1SH02 LOGO! Power 5V/6.3A 6EP1311-1SH12 LOGO! Power 15V/1.
F Abbreviations AM Analog module B1 Block number B1 C LOGO! device designation: integrated clock Cnt Count = Counter input Dir Direction (of count, for example) DM Digital Module E LOGO! device designation: integrated Ethernet interface En Enable = switching on (for example, clock generators) Fre Input for frequency signals to be analyzed GF Basic Functions Inv Input for inverting the output signal DL Data Log NAI Network analog input NAQ Network analog output NI Network input
Abbreviations LOGO! 340 Manual, 06/2014, A5E33039675
Index B E Backlight flags, 118 Basic functions AND, 121 AND, with edge, 122 NAND, 123 NAND, with edge, 124 NOT, 126 OR, 124 XOR, 126 Basics on special functions, 127 Block number, 58 Blocks, 57 Error event diagnostics, 105 Ethernet interface, 48 Expansion modules, 14 C Certification and approvals CE label, 23 cFMus, 23 C-tick label, 23 cULus, 23 KCC label, 24 Ch by Ch ticking, 204 Character set flag, 118 Character sets, 201 Circuit protection, 38 Co, 115 Compatiblity, 31 Connectors, 55 Counters operatin
Index Logical inputs, 127 LOGO! 0BA8 network setup, 28 LOGO! security menu access protection, 63 network access security, 279 program copy protection, 281 program password protection, 74 LOGO! software, 283 LOGO! structure, 16 LOGO! TDE, 20 backlight lifetime, 315 display lifetime, 315 function keys, 14 LCD lifetime, 315 menus, 14 power-up screen, 14 LOGO! versions, 21 M Master/slave mode, 103 Maximum switched current, 47 Memory space, 109 Message ticking, 203 N Network I/O, 119 O On-/Off-times, 160 On-
Index On-delay, 136 PI controller, 220 Pulse relay, 198 Pulse Width Modulator (PWM), 224 Random generator, 152 Relays, 197, 198 Retentive on-delay, 144 Shift register, 211 Softkey, 209 Stairway lighting switch, 154 Stopwatch, 171 Threshold trigger, 180 Up-down counter, 173 Weekly timer, 159 Wiping relay, 146 Yearly timer, 162 Startup flag, 118 Summertime/wintertime conversion, 93 Supported operating systems, 284 Switch to RUN mode, 78 Synchronization, 96 W Web server, 239 logon, 242 logout, 248 Weekly tim
Index LOGO! 344 Manual, 06/2014, A5E33039675