Page 1
LOGO! 8: Time Switch Function for KNX Siemens LOGO! 8, LOGO! CMK2000 Industry Online https://support.industry.siemens.com/cs/ww/en/view/109745699 Support...
Application Examples at any time without prior notice. If there are any deviations between the recommendations provided in these Application Examples and other Siemens publications – e.g. Catalogs – the contents of the other documents have priority. We do not accept any liability for the information contained in this document.
• Actuators • … ETHERNET TCP/IP LOGO! TDE Advantages The combination of the time switch function in LOGO! 8 and the CMK2000 module offers you the following advantages: Switching of actuators at configurable times Configuration of timer via the LOGO! display ...
1 Introduction Mode of Operation Time switch function The time switch function in LOGO! consists of weekly and yearly timers and offers the following scope of functions: Standard times: Switching on and off on certain days of the week, at certain times. ...
V8.1 found at http://www.siemens.com/ logo ETS5 Demo Download link, see A maximum of 5 KNX devices per project LOGO! Power 6EP1332-1SH43 LOGO! 8 12/24 RCE 6ED1052-1MD00-0BA8 LOGO! CMK2000 6BK1700-0BA20-0AA0 Product data base for ETS4/5: http://www.siemens.com/ gamma-td LOGO! TDE 6ED1055-4MH00-0BA1 Optional components...
Figure 2-3: Yearly timer function block Internal clock buffering The internal clock of a LOGO! 8 is buffered by an accumulator and continues to run in the event of a power supply failure. The buffering time is influenced by the ambient temperature. At 25 °C (77 °F), it is around 20 days.
2 Setup and description 2.3.2 Functional principle of the switching program The following figure provides an overview of the entire switching program for the time switch function. The individual positions (1) to (4) will be discussed during the course of this chapter. Figure 2-4: Overview switching program The following table shows the input and output signals of the time switch function: Table 2-3: Signals in the LOGO!
Page 10
2 Setup and description 1. Time-controlled switching on and off The combination of different switching times expands the time switch function as follows. Standard switching time Via the week timer function block "B002 StandardTime”, the standard switching time is defined. Via the function block, it is set, on which weekdays and at which time the time switch function switches the output Q1 on and off.
Page 11
2 Setup and description 3. Central switching on and off 1. Via the input I1, the function key F1 or the flag M50 (signal from the KNX), the output of the time switch function is switched on centrally. 2. Via the input I2, the function key F2 or the flag M51 (signal from the KNX), the output of the time switch function is switched off centrally.
Page 12
2 Setup and description 4. Adjust switching times in the message text To comfortably adjust the switching times, the switching program contains message text blocks. The content of the message texts is displayed at the LOGO! TDE or in the web server (LOGO! TD). Note In this application example, the display via the LOGO! TD is preferred, whereby more characters per line are available in the message text than via the LOGO!
2 Setup and description 2.3.3 Simulation mode With LOGO! Soft Comfort, you can simulate and test the time switch function and the message texts prior to loading them to a LOGO! basic device. The simulation is already possible with the demo version of LOGO! Soft Comfort. Start the simulation in order to better comprehend the behavior of the switching program and the function of the message texts.
Page 14
2 Setup and description Via the button (2) of the simulation bar from Figure 2-11, you can open or close the message text window. In the message text window (Figure 2-12), you can switch between the programmed message texts (1). To open the input field of a parameter in a simulated message text, double-click on the parameter (2).
2 Setup and description Mounting the LOGO! into KNX The LOGO! 8 is mounted into a KNX system via the LOGO! communication module CMK2000. In this, you can define the communication channels in LOGO! CMK2000 from the LOGO! to the KNX and vice versa. For the channels, you parameterize inputs and outputs, flags or variable memories as signal in the LOGO!.
ETS software. Parameter In the “Parameter” window, the general settings of the LOGO! CMK2000 and the settings of the channels for the communication between LOGO! 8 and KNX are made. Table 2-5: LOGO! CMK2000 - Open parameter settings Action Open the ETS window “Devices”...
Page 17
Enter the IP address of your LOGO! base module. Information on this matter can be found in the LOGO! Manual in chapter 3.8.1 “Configuring network settings”: https://support.industry.siemens.com/cs/ww/en/view/109741041/893568026 Enter an IP address for the LOGO! CMK2000. Enter a subnet mask for the LOGO! CMK2000.
Page 18
2 Setup and description Parameter: Channel “From LOGO! to KNX” The following table shows how to establish a channel for the data exchange from LOGO! to KNX. Table 2-7: LOGO! CMK2000 parameter: Establishing a channel “From LOGO! to KNX” Action In the list view of the parameter settings, select the tab of a freely available channel (in this application example “Channel 1”).
Page 19
KNX signal in the LOGO! program. Activate the monoflop function and set a monoflop time. This implements a digital trigger from KNX towards LOGO! 8 as a signal with a defined period (automatic reset). Time Switch Function Entry ID: 109745699, V1.0,...
2 Setup and description 2.4.2 Connecting communication objects In the “Group Objects” window, connect the LOGO! CMK communication channels with the group addresses of the KNX devices (buttons, actuators, etc.). Table 2-9: Communication objects Action Open the ETS window “Devices” and select the device “LOGO-KNX-Module- CMK2000”...
A description on how to set the time and date of the LOGO! can be found in the Online Help of LOGO! Soft Comfort or in the “LOGO!” Manual in chapter 8.2.1 “Setting the time of day and date”: https://support.industry.siemens.com/cs/ww/en/view/109741041/86268056075 Timer parameterization This chapter describes, how to already parameterize the weekly and yearly timer in LOGO! Soft Comfort, prior to loading the program into LOGO!.
Page 22
3 Commissioning Action Select the weekdays and the time window during which the weekly timer shall be activated. There are three cams available per weekly timer. Note: As a general rule, always make sure that the block names are clearly designated. This simplifies the parameterization of the blocks in the LOGO! parameterization mode (see 4.1.1).
3 Commissioning 3.2.2 Yearly timer parameterization The table below shows how to parameterize a yearly timer in LOGO! Soft Comfort. Table 3-2: Yearly timer parameterization Action Start LOGO! Soft Comfort V8.1 and open the supplied LOGO! program "109745699_LOGO8_TimeSwitch_CODE_en.lsc". Double-click to open the block properties of a yearly timer for which you would like to parameterize the date.
It is assumed that the IP address of the LOGO! is set to “192.168.0.1” and that Note the LOGO! is connected to your PC. Information on how to set the IP address of a LOGO! 8 can be found in the LOGO! Manual in chapter 3.8.1 “Configuring network settings”: https://support.industry.siemens.com/cs/ww/en/view/109741041/89356802699...
3 Commissioning Action Select the interface of your PC. Enter the destination IP address of the LOGO!. Click “Test” to test the connection to LOGO!. When the connection is shown in green, you can communicate with the LOGO!. If the test fails, check the physical network connection and the network settings (IP addresses need to be clear and the participants need to be in the same subnet).
Page 26
3 Commissioning Table 3-4: Loading the application program Action Start the ETS5 software. Click “ETS” in the ETS5 menu bar. Select the “Overview” tab. Click the “Import project" icon. Navigate to the location of the supplied KNX project "109745699_ETS5_LOGO_for_KNX_Project_en.knxproj" and open the project. After finishing the import, open the KNX project in the list of your projects with a double-click.
Page 27
Follow the instructions in the container “Running operations” and press the programming button of the respective device. Information on the programming button can be found in the corresponding manual: LOGO! Manual CMK2000: https://support.industry.siemens.com/cs/ww/en/view/109481657 Technical product information GAMMA KNX 3-Gang Button https://support.industry.siemens.com/cs/ww/en/view/87668166 (commissioning key “F9”) Time Switch Function Entry ID: 109745699, V1.0,...
A detailed description of the parameterization mode of the LOGO! can be found in the LOGO! Manual in chapter 8.1 “Selecting parameter assignment mode”: https://support.industry.siemens.com/cs/ww/en/view/100761780/67026258187 Note Only experienced LOGO! users should parameterize the weekly and yearly timer in the parameterization mode.
Page 29
4 Operation Table 4-1: Message text of the LOGO! TDE Action With the ▲ or ▼ arrow keys of the LOGO! TDE, select the message text with the standard time. Standard Time Day: M-W-F— 07:30 Off: 14:00 Day: -T-T-S- 07:30 Off: 21:00 Light: ON Press the “ESC”...
Page 30
4 Operation Web server The following table shows, how to set a time in the message text via the web server, using the example of standard time. Table 4-2: Changing the switching times via the web server Action Enter the IP address of the LOGO into your default browser to open the web server.
4 Operation Switching the time switch function on and off centrally The following options are available to centrally switch the output of the time switch function on or off: Button at the LOGO! inputs I1 and I2 Function keys F1 and F2 of the LOGO! TD ...
5 Adjustments and expansions Adjustments and expansions Enabling the web server and changing the password Table 5-1: Enabling the web server and changing the password Action In LOGO! Soft Comfort in the menu tab under “Tools > Transfer”, select the point “Access control…”.
5 Adjustments and expansions Expansion options You have the option to expand the function of the timer by further weekly and yearly timers. Adding weekly timers If the three cams of the already interconnected “B002 StandardTime” weekly timer do not suffice for setting standard switching times, you can interconnect additional weekly times at the free contacts of the “OR”...
5 Adjustments and expansions Adjusting message texts In the message texts, you can place parameters of individual function blocks to later display or change them via the display of the LOGO! base module or the LOGO! TD (alternatively via the web server). Table 5-2: Adjusting message texts Action Double-click the message text to open the block properties of the function block.
Industry Online Support Do you have any questions or need support? Siemens Industry Online Support offers access to our entire service and support know-how as well as to our services. Siemens Industry Online Support is the central address for information on our products, solutions and services.