Zelio Logic 2 Smart Relay User Manual SR2MAN01 11/2007
Table of Contents Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Part I Initial Power up and Discovering . . . . . . . . . . . . . . . . . . 11 Chapter 1 Initial Power up and Discovering . . . . . . . . . . . . . . . . . . . . . . . 13 Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 8 CONFIGURATION Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 PASSWORD Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 FILTER Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Zx KEYS Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 WATCHDOG CYCLE Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . .
Part IV Creating and Debugging an Application . . . . . . . . . . . 147 Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Chapter 17 Implementing a Basic Application . . . . . . . . . . . . . . . . . . . . . 149 Presentation of Ladder Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Using the Reverse Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Safety Information § Important Information NOTICE Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.
Safety Information PLEASE NOTE Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material. © 2007 Schneider Electric. All Rights Reserved.
About the Book At a Glance Document Scope This manual describes the use of functions accessible from the front panel of the smart relay.
Initial Power up and Discovering I Presentation Subject of this Section This section presents the operation and main characteristics of the smart relay.
Initial Power up and Discovering 1 Presentation Subject of this Chapter This chapter presents the operation and main characteristics of the smart relay.
Initial Power up and Discovering Safety Preliminary Advice Preliminary advice and general safety precautions relating to installing smart relays: z z z z z z z z z z z z z z z z z z 14 Remember that only qualified personnel are authorized to implement the smart relay. Read this instruction sheet and the User Guide to learn the procedures prior to installing, wiring, operating, maintaining of controlling the smart relay. The end user should keep this User Guide and the product instructions sheet.
Initial Power up and Discovering DANGER RISK OF ELECTRIC SHOCK, EXPLOSION OR ELECTRIC ARCING Power off the smart relay prior to installing, removing, wiring, maintaining or inspecting a smart relay system. Failure to follow this instruction will result in death or serious injury. WARNING RISK OF EXPLOSION Precautions: z Compliant with standard CSA C22.2 No 213: This equipment is designed for use in Class 1, Division 2, Groups A, B, C, D or in non-dangerous locations only.
Initial Power up and Discovering WARNING INVOLUNTARY OPERATION OF EQUIPMENT Precautions: z Power off the smart relay prior to installation, deinstallation, wiring, maintenance or operation of the unit. z The emergency stop and the locking circuits should be configured in the software program of the smart relay. z In the event of failure of the relays or transistors in the output modules of the smart relay, the outputs should remain activated or deactivated.
Initial Power up and Discovering Presentation of the Smart Relay Front Panel Introduction Smart relays are designed to simplify the electrical wiring of intelligent solutions. A smart relay is very simple to implement. Its flexibility and its high performance allow users to save significant amounts of time and money. This User’s Guide is intended for people who do not have an in-depth knowledge of automation systems and who would like to be able to implement smart relays.
Initial Power up and Discovering Prompt Description of the LCD Element 1 Retractable mounting feet. 2 Screw terminal block for the power supply. 3 LCD display, 4 lines, 18 characters. 4 Screw terminal block for discrete inputs. 5 Screw terminal block for analog inputs. 0-10 Volts, usable in discrete input mode depending on model. 6 Slot for backup memory or PC connection cable. 7 Shift key (white). 8 Menu/OK key (green) for selection and confirmation.
Initial Power up and Discovering Characteristics and Connections Introduction Here is detailed information on the characteristics of DC smart relay connections.
Initial Power up and Discovering Control Keys on the Front Panel of the Smart Relay Description The keys located on the front panel of the smart relay are used to configure, program and control the application and monitor the application's progress. Illustration: 2 PROGRAMMING PARAMETERS RUN / STOP CONFIGURATION Menu / OK Note: The LCD screen is lit for 30 seconds when the user presses any of the buttons on the front panel.
Initial Power up and Discovering Zx Keys The Zx keys are the gray keys aligned from left (Z1) to right (Z4) and located under the LCD. The arrows indicating the movement direction associated with navigation are marked above the keys. The navigation keys are used to move left or right, down or up. The position on the screen appears as a flashing zone: z z Square for a position that corresponds to a contact (only in programming mode), Round for a link (only in programming mode).
Initial Power up and Discovering Contextual Menus When the cursor is placed on a modifiable parameter, if the Shift key is pressed, a contextual menu appears. Illustration: ins. - + Param Del. Menu / OK Using the contextual menu functions: z z z z z z + / -: Used to scroll through the various possible values of the selected field (types of inputs, outputs, automation functions, numbers, numerical values, etc), Ins.: Inserts a line, Del.
Initial Power up and Discovering Examples Introduction We will now see two examples of how to use the smart relay’s keys. Language Selection Example 1: Here are details on how to select the language of the smart relay: Step Action 1 Powering up On initial powering-up, the INPUT-OUTPUT screen is displayed (See: Inputs-Outputs Screen, p. 34). By default, the selected language is English.
Initial Power up and Discovering Step Action 3 Enter in the language selection menu. Menu / OK View: ENGLISH FRANCAIS DEUTSCH ITALIANO Note: The activated option flashes and it is also indicated by a black diamond. 4 Select and confirm the language (the selection is shown in flashing text). Menu / OK or then The Menu/OK button is used to confirm the selection of the new language. The display returns to the MAIN menu when the smart relay is in STOP mode.
Initial Power up and Discovering Step Action 5 Return to the INPUT-OUTPUT screen using the left navigation key.
Initial Power up and Discovering Modification of Date and Hour Example 2: Here are details on procedure to follow to modify the date and time of the initial power up or following a long lasting power failure.
Initial Power up and Discovering Step Action 3 Select the parameter to modify using the arrows (the selection is highlighted by the blinking of the parameter): or Modify the parameter using the navigation keys: + or Then confirm with the Menu/OK key: Menu / OK The Menu/OK button is used to confirm the modifications. The display returns to the MAIN menu when the smart relay is in STOP mode).
Functions Accessible from the Front Panel II At a Glance Subject of this Section This section describes the functions that can be accessed from the front panel of the smart relay.
Overview of the Functions Accessible from the Front Panel 2 Functions Accessible from the Front Panel of the Smart Relay Description From the front panel of the smart relay, you may: z z z z Program (in LD mode), Configure, Control the application, Monitor the performance of the application. Illustration: 2 PROGRAMMING PARAMETERS RUN / STOP CONFIGURATION Menu / OK The line flashes to indicate where you are positioned.
Overview of the Functions Accessible from the Front Panel Managing Menus The inputs-outputs screen is displayed by default whether the mode be LD or FBD. Pressing the Menu/OK key switches the display from the inputs-outputs screen to the main menu. The menu on the first row which is selected by default (flashing). The and navigation keys can be used to place the cursor over the other menus.
Input/Output Screen 3 At a Glance Subject of this Chapter This chapter describes the characteristics of the input-output screen.
Input/Output Screen Inputs-Outputs Screen Description The inputs-outputs screen is the highest-level interface. It is displayed by default, when no (TEXT or DISPLAY) display function is active and regardless of: z z The programming type: LD or FBD, the mode: STOP or RUN. Illustration: 2 3 2 1 123456 4 5 STOP LD MON 22 SEP 15:51 1234 6 2 Menu / OK The inputs-outputs screen can be used to view: 1. 2. 3. 4. 5. 6.
Input/Output Screen Access to the Main Menu Pressing the Menu/OK key switches the display from the inputs-outputs screen to the main menu: z z z z z z z z z z z z PROGRAMMING (LD STOP mode), MONITORING (LD RUN mode), PARAMETERS, RUN / STOP, CONFIGURATION (STOP mode), CLEAR PROG. (LD STOP mode), TRANSFER (STOP mode), VERSION, LANGUAGE, FAULT, CHANGE D/T, CHANGE SUMM/WINT. The display automatically returns to the inputs-outputs menu on exiting all other menus and sub-menus.
Input/Output Screen TEXT and DISPLAY screen Description The display functions are used to display text or numerical values (current value, preset value, etc.) on the LCD display instead of the INPUTS-OUTPUTS: z z In LD mode: A TEXT function is active, in FBD mode: A DISPLAY function is active. Illustration: 2 Value counter1 C1 C = 00001 Date 28/11/2003 2 Menu / OK If several display functions are active simultaneously: z In LD mode: The highest block number is displayed.
Input/Output Screen Modify Displayed Values In RUN mode, when the TEXT / DISPLAY screen is displayed, it is possible to modify, from the front panel, the displayed values whose modification was authorized in the block function parameters window. To do this, proceed as follows: Step Action 2 Step Press the Shift key (white key) to display the contextual menu. Result: Param is displayed at the bottom of the screen. Press the key (without releasing the Shift key) to display the contextual menu.
PROGRAMMING Menu 4 Presentation Subject of this Chapter This chapter describes the characteristics of the PROGRAMMING menu specific to LD mode / smart relay in STOP mode. This function lets the user enter the ladder diagrams that will work on the smart relay. This program is written only using a ladder diagram LD.
PROGRAMMING Menu What's in this Chapter? 40 This chapter contains the following topics: Topic Page Rules for Entering Ladder Diagrams 41 Method for Entering a Contact or Coil 43 Entering a Link 45 Entry of Function Block Parameters 47 Deletion and Insertion of Diagram Lines 49 SR2MAN01 11/2007
PROGRAMMING Menu Rules for Entering Ladder Diagrams Description A smart relay allows you to enter 120 line Ladder diagrams. The smart relay’s display screen is used to display these lines, 4 at a time, in the following manner: 1 2 3 I1-H1-C1-M1-T2-CC1 I2 Z1 ----------Z3 4 Prompt Element 1 Column reserved for contacts (conditions). 2 Column reserved for contacts (conditions) and for links. 3 Column reserved for coils (actions). 4 Column reserved for links.
PROGRAMMING Menu Data Entry Rules Make sure you respect the following rules when you enter a ladder diagram: Rules Each coil must only be entered once in the right hand column Incorrect I1-------------[Q1 I2-I3----------TT1 T1-------------[Q1 Z1 Elements used as contacts may be entered as many times as necessary in the 5 left hand columns. Links must always run from left to right.
PROGRAMMING Menu Method for Entering a Contact or Coil Description Note: Accessible only in LD mode / smart relay in STOP mode. This section describes the procedures for performing the following operations: z z z Entering an element, Modifying an element, Deleting an Element. This is valid for : contact or coil elements, whether the parameters can be set or not.
PROGRAMMING Menu Step Action 4 Release the Shift key to have access to the navigation keys: . Pressing the key places the cursor over the corresponding number 1. 5 Simultaneously hold down the Shift and + keys to increment the number of the element (2, 3, 4,..., 9, A, etc.). Note: The numbers for functional blocks are limited to the number of blocks of the type available in the smart relay.
PROGRAMMING Menu Entering a Link Description Note: Accessible only in LD mode / smart relay in STOP mode. This section describes the procedures for performing the following operations: z z z Entering a Link Entering links between elements, Deleting links between elements, Replacing a link with a contact. Links are entered exclusively using the round flashing cursor. Entry procedure: Step Action 1 Place the flashing cursor at the required location.
PROGRAMMING Menu Modifying a Link To modify an existing link, simply: z z Deleting a Link Place the cursor over the link to modify: step 1 Modify the link: Steps 2 to 5. To delete a link, simply: z z Place the cursor over the element to delete: step 1. Simultaneously press the Shift and Menu/OK keys.
PROGRAMMING Menu Entry of Function Block Parameters Description Note: Accessible only in LD mode / smart relay in STOP mode. When entering a control diagram, the parameters of the configurable automation functions must be completed. The automation functions with parameters are the following: z z z z z z z Accessibility of parameters SR2MAN01 11/2007 Auxiliary relays (see Auxiliary Relays, p. 93) (latching), Discrete Outputs (see Discrete (DISCR) Outputs, p. 98) (latching), Clocks (see Clocks, p.
PROGRAMMING Menu Entering Parameters on Creation of the Block Parameters are entered in the same way, whatever the parameters screen: Step Action 1 Enter the desired automation function: Step 1 of the element entry (see Method for Entering a Contact or Coil, p. 43) procedure. When the function has parameters, Param appears in the contextual menu (when the Shift key is pressed). Illustration: ins. - + Param Del.
PROGRAMMING Menu Deletion and Insertion of Diagram Lines Deletion Note: Accessible only in LD mode / smart relay in STOP mode. Diagram lines are deleted line-by line. The procedure is the following: Step Action 1 Place the cursor over the line to delete. 2 Delete all the elements in the line (see Method for Entering a Contact or Coil, p. 43): (Links, contacts and coils) to obtain an empty line. 3 Press the Shift key to display the contextual menu. Illustration: ins. - + Del.
PARAMETERS Menu 5 PARAMETERS Menu Description This menu is used to enter and modify the application parameters directly on the screen using the smart relay keys. This function can be accessed in the two modes: LD and FBD, but the contents will be specific to the mode used. If there are non-locked parameters to display they are listed in the window; otherwise a NO PARAMETER message appears. LD mode Functions with parameters in LD mode: z z z z z z z Auxiliary relays (see Auxiliary Relays, p.
PARAMETERS Menu FBD mode Functions with parameters in FBD mode: z z z z z z z Numerical Constant-Type Inputs, Clocks, Gain, Timers: TIMER A/C, TIMER B/H, TIMER Li, Counters: PRESET COUNT, Fast counter, CAM block. To access the parameters of the FBD blocks, you must know end enter the block number. This number appears in the programming software on the wiring sheet at the top right corner of the block. Only those functions used in the program and with parameters are listed in the PARAMETERS menu.
MONITORING Menu 6 MONITORING Menu Description Note: Accessible only in LD mode / smart relay in RUN mode. MONITORING mode can be used to obtain a dynamic view of the state of the smart relay inputs/outputs. In this mode the wiring diagram appears as it does in the PROGRAMMING (see PROGRAMMING Menu, p. 39) menu (smart relay in STOP mode), but appear in reverse video when inputs or outputs are activated (white on black background).
MONITORING Menu Parameter Modification 54 To modify the parameters, proceed as follows: Step Action 1 Use the navigation keys to move the cursor over the element to modify: Step 1 of the element entry (see Method for Entering a Contact or Coil, p. 43) procedure. 2 At the same time, hold down Shift and the Param key to open the parameter window. 3 Use the navigation keys to move to the cursor over the modifiable parameters: 4 Change the parameter value using the keys + and -.
RUN/STOP Menu 7 RUN/STOP Menu Description This function is used to start or stop the program in the smart relay: z z Startup In STOP mode: The program is stopped and the outputs disabled, In RUN mode (with or without initialization of latching parameters): The program is executed. In STOP mode, when accessing the RUN/STOP menu, the interface proposes the following three choices for starting the program: z WITH LATCHING INIT: All current values (counters, timers, etc.
RUN/STOP Menu Off In RUN mode, when accessing the RUN/STOP menu, the interface asks the user to confirm the request to stop the program: z YES: The program stops (selected by default), z NO: The program does not stop. Illustration: 2 STOP YES NO PROG. Menu / OK The navigation keys are used to change the selection. When the mode has been confirmed with the Menu/OK key, the display moves to the INPUT-OUTPUT screen.
CONFIGURATION Menu 8 Presentation Subject of this Chapter The CONFIGURATION menu provides access to the following 4 functions: PASSWORD, z FILTER, z Zx KEYS, z WATCHDOG & CYCLE z This chapter describes the characteristics of these functions. Note: Use the navigation key to return to the main menu . Note: If the program is password-protected, (key displayed in the contextual menu), the user must enter the password before any action can take place in the sub-menus.
CONFIGURATION Menu PASSWORD Menu Description If the program is password-protected (key icon appears), the user must enter the password to perform certain operations. The password protects access to the following menus: z z z z z z PROGRAMMING (LD STOP mode), MONITORING (LD RUN mode), CONFIGURATION (STOP mode), CLEAR PROG. (LD STOP mode), MODULE TRANSFER > MEM (STOP mode). MEM TRANSFER > MODULE (LD STOP mode depending on the choice of the programmer (1), FBD STOP mode).
CONFIGURATION Menu Note: It is possible to quit the screen without entering a password by using a combination of the Shift key (white key) and the Menu/Ok key (green key). Note: To return to the main menu from the CONFIGURATION menu, use the navigation key . Entering Password Initially, the key is not displayed and each digit is set to 0. The ENTER message appears in the window.
CONFIGURATION Menu The following scenarios may arise: z z Password correct: The password is then inhibited, and the smart relay returns to the PASSWORD menu, Password incorrect: The CLEAR counter is incremented. Illustration: 2 PASSWORD CLEAR 2/5 - 0000 + Menu / OK If an incorrect password is entered 5 times consecutively, the security function is locked for 30 minutes. During this period, if the power supply to the smart relay fails, the downcount will start again on power up.
CONFIGURATION Menu FILTER Menu Description This function is used to detect more quickly any changes in states of Discrete inputs. Two choices are available: z z Fast, Slow. Response time: Filtering Commutation Response time Slow ON → OFF 5 milliseconds OFF → ON 3 milliseconds ON → OFF 0.5 milliseconds OFF → ON 0.3 milliseconds Fast This selection can only be made when the smart relay is in STOP. By default, the smart relays are configured in SLOW.
CONFIGURATION Menu Zx KEYS Menu Description Note: Only accessible in LD mode. The Zx KEYS option is used to activate or deactivate the use of the navigation keys as pushbuttons. Different functions can be obtained depending on the state of this option: z z Inactive: The keys are only available for setting, configuring and programming the smart relay. Active: they can also be used in a control diagram. In this configuration, they operate as pushbuttons: Zx keys (see Zx Keys, p.
CONFIGURATION Menu WATCHDOG CYCLE Menu Description The duration of a program cycle depends on its length and complexity: In particular, the type and number of inputs-outputs and the number of extensions. The program is executed periodically at regular time intervals. This time interval is called the cycle time. The program will only execute completely if the cycle time is greater than the program execution time. The cycle period is configurable in the : CONFIGURATION → CYCLE WATCHDOG menu.
CONFIGURATION Menu Actions The WATCHDOG can perform the following different actions: z z z Cycle Time INACTIVE: normal operating mode, ALARM: A warning state is set and the warning number corresponding to Cycle time overrun is accessible in the FAULT menu, ERROR: the program stops (STOP mode) and the error number corresponding to: Cycle time overrun is accessible in the FAULT menu. The cycle time may be set from 6 to 90 milliseconds in 2-millisecond steps.
CLEAR PROGRAM Menu 9 CLEAR PROG Menu. Description Note: Accessible only in LD mode. This function is used to clear the entire program. Note: If the program is protected (key displayed), the user must enter the password (see PASSWORD Menu, p. 58) before being able to delete the program. Clearing the Program On opening, NO is selected by default. Procedure: Step Action SR2MAN01 11/2007 1 Select the YES choice using the navigation keys 2 Confirm the clear command by pressing the Menu/OK key.
TRANSFER Menu 10 TRANSFER Menu Description This function is used to: z z Load the firmware and the application contained in the smart relay into the backup memory. load firmware and application from the backup memory to the smart relay. This backup memory can then be used to load the firmware and the application into another smart relay. Illustration: 2 TRANSFER ZELIO > MEMORY MEMORY > ZELIO Menu / OK Note: The backup memory is provided as an option.
TRANSFER Menu Note: if an application is already present in the backup memory, it will be overwritten by the new transfer (no test is performed to check the memory is free). Note: It is not possible to directly transfer an application created with version V2 of the programming software from the SR2 MEM01 memory to the smart relay if this latter contains version V3 firmware.
TRANSFER Menu Backup Memory → Module Transfer Procedure for transferring the application, from the backup memory to the smart relay, for a smart relay with LCD and keyboard: Step Action 1 Insert the EEPROM cartridge (SR2 MEM02) with the program to be transferred into the slot provided. 2 Select the transfer type: MEMORY>ZELIO using the navigation keys 3 Confirm the transfer command with the Menu/OK key. 4 Wait for the transfer to end. Display: > > > MODULE then TRANSFER. OK when it is complete.
TRANSFER Menu Possible Errors Below are the possible errors and, for each case, the messages that are displayed: z Absence of backup memory Error message: TRANSFER ERROR: NO MEMORY z Configurations of the hardware and program to transfer incompatible Error message: TRANSFER ERROR: CONFIG INCOMPAT (hardware or software reference numbers). Refer to the DEFAULT Menu, p. 77 chapter to consult the error number and clear it.
TRANSFER Menu Use of SR2 MEM01 and SR2 MEM02 On SR2 MEM01, only the program is loaded whereas on SR2 MEM02 the program and the corresponding firmware is loaded. Consequently: With the SR2 MEM01 memory cartridge, you can perform: z A smart relay to memory transfer if the version of the firmware on this relay is strictly lower than 3.09.
VERSION Menu 11 VERSION Menu Description This function is used to precisely identify the version of each system component: z z z z Type of hardware, Firmware, LD functions, FBD functions. Illustration: 2 MODULE SR3B261BD HARDWARE 01.00 FIRMWARE 01.00 L D F U N C. 01.00.
VERSION Menu This information is available for the smart relay, but also for the connected extensions. The symbol is present in the bottom right, indicating the existence of extensions connected to the smart module. Illustration: 2 EXT XT141BD HARDWARE 01.00 FIRMWARE 01.00 - + Menu / OK To quit, press the Menu/OK button, the display returns to the INPUTS-OUTPUTS screen in RUN mode and to the MAIN menu in STOP mode.
LANGUAGE Menu 12 LANGUAGE Menu Description This function is used to select the language used by the smart relay. All messages may be viewed in 6 languages: z z z z z z English, French, German, Italian, Spanish, Portuguese. Illustration: 2 ENGLISH FRANCAIS DEUTSCH ITALIANO Menu / OK Language Selection The current language is indicated by the selection symbol (black diamond).
DEFAULT Menu 13 FAULT Menu Description This function is used to: Display on the LCD screen the type of fault detected by the firmware of the smart relay (error or warning: Watchdog overrun, see WATCHDOG CYCLE Menu, p. 63, cycle time too high, etc.), z Reset the fault counter to zero.
DEFAULT Menu Fault Types Below, the description of possible faults: Number Type of fault 78 000 No faults 001 Fault in writing to EEPROM This fault defines the transfer problems between the memory cartridge and the smart relay. If this fault occurs frequently, contact the after-sales service. 002 Clock write fault If the fault occurs frequently, contact the after-sales service.
DEFAULT Menu Number Type of fault 061 At the beginning of RUN on the smart relay application: Program incompatible with the Input/ Output extension physically connected to the power supply. If this problem occurs, contact the after-sales service. 062 Version (or build number) incompatibility when loading a program from the backup memory If this problem occurs, contact the after-sales service.
CHANGE DATE/TIME Menu 14 CHANGE DATE/TIME Menu Description This function is used to configure the date and time of the smart relays that have a clock. Illustration: 2 CHANGE D/H THU 07 JUL 2003 16 : 27 30 s CAL 0 2 secs / WK - + Menu / OK The modifiable parameters are: z Day / week / month / year, z Hour, minutes, seconds, Values are recorded by pressing the Menu/Ok key; if you wish to specify the time more accurately, you should complete the entry of modifications with minutes and seconds.
CHANGE DATE/TIME Menu Clock Calibration The quartz that controls the real-time clock of the smart relay has a variable monthly drift depending on the environmental conditions of the smart relay. The maximum value for this drift is approximately one minute per month. To estimate this drift, proceed by observing the drift on the smart relay clock with respect to a standard reference clock for a few weeks or more.
CHANGE SUMMER/WINTER Menu 15 CHANGE SUMMER/WINTER Menu Description This function is used to change the time range automatically: Summer/winter, for smart relays with a clock. Illustration: 2 CHANGE SUM/WIN EUROPE SUM M:03 D:5 WINTER M:10 D:5 - + Menu / OK The following operating modes are possible: z z z SR2MAN01 11/2007 NO: no change, Automatic: The change takes place automatically, the dates are preset according to the geographic zone: z EUROPE: Europe, z USA.
CHANGE SUMMER/WINTER Menu Configuration of the Time Change 84 To configure automatic time change, proceed as follows: Step Action 1 Select the parameter to modify using the navigation keys Result: The selected parameter flashes. 2 Modify the parameter value. The + and - keys of the contextual menu are used to change the current value. 3 Confirm the changes by pressing the Menu/OK key. Result: The display returns to the MAIN menu. and .
LD Language III At a Glance Subject of this Section This section describes the use of LD (Ladder Diagram) programming language for the smart relay.
LD Language Elements 16 At a Glance Subject of this Chapter This chapter describes the different automation functions of the LD language.
LD Language Elements Introduction Description In LD programming mode, an application can be created from the interface of the front panel of the smart relay. Here is detailed information on all possible elements of a ladder diagram in LD mode that are recognized and used by smart relays. To better understand the functions performed by each element, where necessary a directly usable example is included. Composition of Ladder Diagrams Smart relays accept 120-line diagrams.
LD Language Elements Discrete Inputs Description The Discrete Inputs can be used exclusively as contacts in the program. These contacts represent the status of the input for the smart relay connected to a sensor (push button, switch, sensor, etc.). The contact number corresponds to the number of terminals of the associated input: 1 to 9, then A to R (except for letters I, M and O) according to the smart relay and the possible extension.
LD Language Elements Modification of the state of a contact To modify a contact from the front panel of the smart relay (the programming window is displayed on the screen), simply: z Place the cursor over the letter of the contact, z Proceed as indicated in the paragraph Modifying an element,, p. 44, to scroll through the possible contact types (I for a normally open contact, i for a normally closed contact).
LD Language Elements Zx Keys Description The navigation keys behave exactly like the I physical inputs (Discrete inputs). The only difference is that they do not correspond to smart relay connection terminals, but to the four gray buttons on the front panel. They are used as pushbuttons, and can only be used as contacts. Use as a Contact This contact may use the direct state of the key (normally open mode) or its inverse state (mode normally closed), see below.
LD Language Elements Deactivation of Zx Keys By default the Zx Keys are active. They may be deactivated in one of the following ways: z z From the smart relay front panel: Using : CONFIGURATION → Zx KEYS menu, see Zx KEYS Menu, p. 62 From the programming software: See on-line help of the programming software for more information. Note: When the smart relay is in RUN mode, if the Zx Keys have been deactivated, they cannot be used for inputs in the program, but can be only used for navigating the menus.
LD Language Elements Auxiliary Relays Description Auxiliary relays marked M behave in exactly the same way as Q Discrete outputs (see Discrete (DISCR) Outputs, p. 98), but do not have an electrical output contact. They can be used as internal variables. There are 31, numbered from 1 to 9 and from A to Y except for letters I, M, O. All auxiliary relays can be used, in the program, indifferently either as a coil or contact. They can be used to latch a state to be used in the form of the associated contact.
LD Language Elements Use as a Coil To use an auxiliary relay as a coil, 4 modes are available: z Contactor mode, z Impulse relay mode, z Latch mode, z Unlatch mode. Contactor mode: Symbol of an auxiliary relay, used as a coil in contactor mode: [ MThe relay is energized if the contacts to which it is connected are conducting. Otherwise it is not energized.
LD Language Elements Use as a Contact Auxiliary relays can be used as contacts as many times as necessary. This contact may use the direct state of the relay (normally open mode) or its inverse state (mode normally closed), see below. Normally open mode: Symbol of an auxiliary relay, used as a contact in normally open mode: MA relay used as normally open contact corresponds to the use of the direct state of the relay. If it is powered, the contact is said to be conducting.
LD Language Elements Example In the following example turning on and off a lamp is conditioned by the status of the 6 following inputs: I1, I2, I3, I4, I5 and IB. The is on when: z The I1, I4, I5 and IB inputs are set to the state 1, and z The I2, I3 are set to state 0. Because the smart relay does not allow more than five contacts on a line, auxiliary relays are used to control the lamp.
LD Language Elements Latching By default, after a power failure, the relay is in the state that corresponds to program initialization. To restore the state of the output backed up during power loss, the latching must be activated: z From the front panel: From the PARAMETERS (see PARAMETERS Menu, p. 51) window, or z SR2MAN01 11/2007 In the programming software: Enable the Latching option in the parameters window associated with the relay.
LD Language Elements Discrete (DISCR) Outputs Description Discrete Outputs correspond to the smart relay output relay coils (connected to the actuators). These outputs are numbered from 1 to 9, then from A to G, according to the smart relay and any extensions. Any Discrete output can be used, in the program, indifferently either as a coil or a contact. Use as a Coil To use a Discrete output as a coil, four modes are available: z Contactor mode, z Impulse relay mode, z Latch mode, z Unlatch mode.
LD Language Elements Latch mode: Symbol of a Discrete output, used as a coil in latch mode: SQThe Set coil, also called the latch coil, is energized as soon as the contacts to which it is connected are conducting, then stays set even if later the contacts are no longer conducting. This behavior is identical to that of an RS logic flip-flop. Example: Switching a lamp on and off with two pushbuttons: See Latching Mode below.
LD Language Elements Use as a Contact An output can be used as an auxiliary contact as many times as necessary. This contact may use the direct state of the output (normally open mode) or its inverse state (normally closed mode), see below. Normally open mode: Symbol of a Discrete output, used as a contact in normally open mode: QAn output used as a normally open auxiliary contact corresponds to the use of the direct state of the output. If it is powered, the contact is said to be conducting.
LD Language Elements Timers Description Use the Timers function to delay, prolong and control actions over a predetermined period. Durations can be set using one or two preset values, according to the type of timer. There are 11 types of timers: z z z z z z z z z z z On delay (A), On delay, stop by reset (A), Off delay (C), On pulse one shot: Pulse calibrated on the command input (B) falling edge.
LD Language Elements Use of Coils Two coils are associated with each timer: z Coil TT: Command Input, z Coil RC: Reset Input, The use of these coils is described below. Command input: Symbol of the Command input coil of a timer: TTEach type involves a specific operation, which can be used to manage all possible scenarios in an application.
LD Language Elements Use as a Contact The contact associated with the timer indicates whether the timer has stopped. It may be used as many times as necessary in the program. It may be used according to 2 modes: normally open or normally closed, described below.
LD Language Elements Preset value: Depending on the type of timer, there can be 1 or 2 preset values: z 1 only preset value (types: A, a, C, B, W, D, d and T): t : on-delay or off-delay according to type. z 2 only preset value (types: A/C, L and l): A : Timer on-delay in the case of A/C type; active state in the case of flasher units L and l. B : Timer off-delay in the case of A/C type; inactive state in the case of flasher units L and l. Time unit: This is the time unit for the preset value.
LD Language Elements Latching: By default, if a power break occurs while a timer function block is running, any information on time already elapsed is lost. When the supply voltage returns, the time function block is reinitialized and ready for a new operating cycle. If the application requires it, the time elapsed before the power break can be memorized using the Latching parameter.
LD Language Elements Timing Diagrams Timing diagrams are provided here to illustrate the various behaviors of the Timer function block, according to the type of timer chosen: Active, control held down (type A): The following diagram shows the operation of the type A timer: TT RT T tA Active, Press to start/stop (type a): The following diagram shows the operation of the type a timer: TT RT T tA Note: each pulse on the TTx input resets the current timer value to 0.
LD Language Elements A/C: Combination of A and C, The following diagram shows the operation of the type A/C timer: TT RT T t
LD Language Elements Flasher unit, control held down synchronously (type D): The following diagram shows the operation of the type D timer: TT RT T tA tA Flasher unit, Press to start/stop, Synchronous (type d): The following diagram shows the operation of the type d timer: TT RT T tA tA Note: each pulse on the TTx input resets the current timer value to 0.
LD Language Elements Flasher unit, Press to start/stop asynchronously (type l): The following diagram shows the operation of the type l timer: TT RT T t1 t2 Note: each pulse on the TTx input resets the current timer value to 0. Time on addition (type T): The following diagram shows the operation of the type T timer: t t1 t2 t3 TT RT T total activity time: t1 + t2 + t3 = t With addition type, the preset value can be reached: z In one step: t, z In several steps: t1 + t2 + ... + tn.
LD Language Elements Example 1 Creating a timer device for a stairway. The stairway light should remain on for two minutes and thirty seconds when one of the push buttons is activated. On each floor, the buttons are linked to the I1 input of the smart relay. The stairway light is linked to the Q4 output of the smart relay.
LD Language Elements Counters Description The Counters function is used to upcount or downcount pulses. The smart relay has 16 timers, numbered from 1 to 9 then from A to G. The Counters function can be reset to zero or to the preset value (depending on the chosen parameter) during use. It may be used as a contact to find out whether: z z Use of Coils The preset value has been reached (upcounting mode TO), The counter has reached 0 (downcounting FROM).
LD Language Elements Reset Initial Counter State input: Symbol of the Reset Initial Counter State Input coil: RCWhen used as a coil in a control diagram, this element represents an input that resets the counting function to its initial state. Energizing the coil has the following effect: z z Reset the current count value to zero if the count type is TO (up-counting from the preset value), Reset the current value to the preset value if the count type is FROM (downcounting from the preset value).
LD Language Elements Use as a Contact The contact associated with the counter indicates whether the preset value (TO mode) or zero (FROM mode) has been reached. It may be used as many times as necessary as many times as necessary in the program. It may be used according to 2 modes: normally open or normally closed, described below.
LD Language Elements Configuration from Front Panel The block's parameter settings can be accessed either when entering the command line or from the PARAMETERS menu if the block has not been padlocked. The parameters to enter are the following: z Type of counting, z Preset value, z Parameter lock, z Latching. Type of counting: Symbol of the Type of counting parameter: T This parameter is used to select the operating mode of the counter: z z TO: upcounting towards the preset value.
LD Language Elements Latching: Symbol of the Latching parameter: Activé Non activé This function is used to save the status of the counter's current values in the event of a power failure. Illustration: Configuring a counter from the front panel of the smart relay: 7 2 1 2 3 4 CC1 RC1 C1 DC T: T O - P = 00175 + Menu / OK 5 6 Description: Number Parameter Current Counter Value Description 1 Command input Control input timing diagram (following pulse).
LD Language Elements Timing Diagrams In the timing diagrams the blue curves represent the current value of the counter: The following figure shows the operation of the counter in up-counting mode with toward the preset value: TO mode: Initialization: R Counting direction: D High saturation Current counter value Low saturation Preset value +32767 0 Output: C The following figure shows the operation of the counter in upcounting mode from the preset value: FROM mode: Initialization: R Counting direc
LD Language Elements Initialization Status of the contacts and current value on initialization of the program: z z z Examples The normally open mode (direct state) is inactive, The normally closed mode (inverse state) is active, The current value is zero.
LD Language Elements Fast Counter Description The Fast Counter function is used to count pulses up to a frequency of 1 kHz. Use of the K1 contact indicates: z z The preset value has been reached (upcounting), The value 0 has been reached (downcounting). The Fast counter inputs are implicitly connected to the I1 and I2 smart relay inputs: z z A pulse (rising edge) on the I1 input increments the counter, A pulse (rising edge) on the I2 input decrements the counter.
LD Language Elements Use of Coils Two coils are associated with the fast counter: coil TK1: Enable function input, z coil RK1: Reset initial counter state input. z The use of these coils is described below. Enable function input: Symbol of the Enable Function Input coil of the fast counter: TK1 This element is used to confirm the counter. When this coil is active, each pulse on the I1 input will increment the Fast counter and each pulse on the I2 input will decrement it.
LD Language Elements Use as a Contact The contact associated with the fast counter indicates whether the preset value (TO mode) or zero (FROM mode) has been reached. It may be used as many times as necessary as many times as necessary in the program. It may be used according to 2 modes: normally open or normally closed, described below.
LD Language Elements Configuration from Front Panel The block's parameter settings can be accessed either when entering the command line or from the PARAMETERS menu if the block has not been padlocked. The parameters to enter are the following: Cycle type, z Duration of pulse, z Preset value, z Type of counting, z Parameter lock, z Latching.
LD Language Elements Type of counting: Symbol of the Type of counting parameter: T This parameter is used to select the operating mode of the counter: z z TO: up-counting towards the preset value. When the counter's current value is greater than or equal to the preset value, contact K1 of the fast counter is conducting. FROM: down-counting from the preset value. When the counter's current value is less than or equal to 0, contact C of the counter is conducting.
LD Language Elements Latching: Symbol of the Latching parameter: Activé Non activé This function is used to save the status of the fast counter's current values in the event of a power failure.
LD Language Elements Timing Diagrams Timing diagrams are provided here to illustrate the various behaviors of the fast counter according to its parameters: z up-counting function TO, in single cycle mode, z down-counting function FROM, in single cycle mode, z up-counting function TO, in repetitive cycle mode, z down-counting function FROM, in repetitive cycle mode. For the following 4 charts, the blue curve represents the current value of the counter.
LD Language Elements Down-Counting in Single Cycle Mode: The figure below illustrates the counter function in down-counting and single cycle mode: Confirmation Initialization CURRENT_COUN TER_VALUE Preset value +32767 0 -32767 Output Up-counting in Repetitive Cycle Mode: The figure below illustrates the counter function in up-counting and repetitive cycle mode: Confirmation Initialization CURRENT_COUN TER_VALUE Preset value +32767 0 -32767 Output timing timing Time £ timing The output switc
LD Language Elements Down-Counting in Repetitive Cycle Mode: The figure below illustrates the counter function in down-counting and repetitive cycle mode: Confirmation Initialization CURRENT_COUN TER_VALUE Preset value +32767 0 -32767 Output timing timing Time £ timing The output switches to the Inactive state when the predefined pulse duration value has run out.
LD Language Elements Modifying the Mode of a Coil or a Contact To modify the operating mode of a coil or a contact from the front panel of the smart relay (the programming window displayed on screen), simply: z Position the cursor on the symbol representing the coil mode or on the letter of the contact, z Proceed as indicated in the paragraph Modifying an element,, p. 44, to scroll through the possible modes for a coil or contact types (K for normally open contact, k for a normally closed contact).
LD Language Elements Counter Comparators Description This function is used to compare the current counting values of two counters or of a counter and a constant value. Note: The Counter Comparators function block can only be configured from the programming software in Ladder Entry mode. See on-line help of the programming software for more information. Use as a Contact The counter comparator indicates whether the chosen condition is verified.
LD Language Elements Analog Comparators Description The Analog Comparators function block is used to: z z z Compare a measured analog value with an internal reference value. Compare two measured analog values. Compare two measured analog values with hysteresis parameter. The result of this comparison is used in the form of a contact. Analog automation functions can be used for smart relays with a real time clock and DC power supply, and with mixed DISCR/Analog inputs.
LD Language Elements Configuration from Front Panel The simple comparison formula is as follows: xl x2 The comparison formula, for a comparison with hysteresis: x1 - H ≤ x2 ≤ x1 + H The parameters to enter are the following: z Values to compare, z Comparison operator, z Reference value, z Hysteresis parameter, z Parameter lock.
LD Language Elements Reference value: Symbol of the reference value: R The reference value is a constant to which a measured value may be compared. It must be between 0 and 9.9. Hysteresis parameter: Symbol of the hysteresis parameter: H The hysteresis parameter is a constant used to define an interval in which the 2x variable should be found for the comparator to be active. Its value must be between 0 and 9.9.
LD Language Elements Illustration: Configuration from the front panel of the smart relay, of the hysteresis-type comparator with constant reference value: 2 1 2 A1 ANALOG 7 x1- H ≤ξ2≤ x1+H R=4.0 x1=R H=1.5 x2=Ie 3 - + Menu / OK 5 4 In this case: The comparison condition is verified when the power to the input terminal Ie is between 2.5 Vand 5.5 V.
LD Language Elements Modifying the Mode of a Coil or a Contact To modify a contact from the front panel of the smart relay (the programming window is displayed on the screen), simply: z Place the cursor over the letter of the contact, z Proceed as indicated in the paragraph Modifying an element,, p. 44, to scroll through the possible contact types (A for a normally open contact, a for a normally closed contact).
LD Language Elements Clocks Description Use the Clocks function to validate the time ranges during which actions can be executed. The smart relay has 8 Clocks function blocks numbered from 1 to 8. Each of these has four programming ranges and behaves like a weekly programmer. The Clocks function blocks are used like contacts. Use as a Contact This contact may use the direct state of the Clock function block (normally open mode) or its inverse state (mode normally closed), see below.
LD Language Elements Configuration from Front Panel Configuration screen of a Clock function block from the front panel of the smart relay: 1 2 3 2 H1 D / W 0_2_ _5 6 C H:M ON 01 : 10 H:M OFF 23 : 59 7 6 - 4 5 + Menu / OK Number Parameter Description 1 Clock module number 2 Type of date configuration D/W: Days of the Week, 3 Validity day (D/W type) 4 Start time (D/W type) This is the operation start time, in Hour: Minute format (00.00 to 23:59).
LD Language Elements Combining Modes Modifying the Mode of a Coil or a Contact 136 Programming modes can be mixed for the same clock. Example: Using the four clock ranges with different modes. Range Program A: time range Every day from Monday to Friday, start at 8.00 and end at 18.00. B: Day/Night Every day from Tuesday to Thursday: start at 22.00 and end the following day at 6.00. C: interval Start on Friday at 20.00. D: Interval End on Monday at 03.00.
LD Language Elements Example You wish to control a device connected to the Q2 output of the smart relay. You want it to be active on the following two clock ranges: z z from Monday to Saturday, from 09:00 to 13:00.
LD Language Elements Texts Description The Text automation function is used to display texts and/or digital values (current value, preset value, etc.) on the LCD instead of the inputs-outputs screen. The smart relays have 16 Text blocks, numbered from 1 to 9 then from A to G. These function blocks are used as coils. The maximum number of variables that can be displayed per Text block is 4.
LD Language Elements Used as a Coil Two coils are associated with each Text block: Display Activation coil, z Display Deactivation coil. z The use of these coils is described below. Display Activation Symbol of the Display Activation coil of a Text function block: TX This coil displays on the screen the text and/or the values of the associated Text block when the contacts that are connected are conducting.
LD Language Elements LCD Screen Backlighting Description The LCD screen backlighting output is used to control the backlighting of the LCD by a program. In STOP and RUN modes, the LCD screen is lit for 30 seconds when the user presses any of the buttons on the front panel. Used as a Coil Used as a coil, it lights up the LCD when the contacts to which it is connected are conducting. Symbol of the coil of the LCD screen Backlighting function: TL1 The screen is lit if this coil is active.
LD Language Elements Change to Summer / Winter Time Description The output of this function is in an OFF state over the entire duration of winter time, and switches to ON for the entire duration of summer time. By default, there is no change in winter / summer time. This function must be activated, either from the programming software, or from the front panel of the smart relay.
LD Language Elements Parameters The following operating modes are possible: z z z Modifying the Mode of a Coil or a Contact No: no change, Automatic change: Dates are preset according to geographic zone: z EUROPE: Europe, z USA. OTHER ZONE: The change is automatic, but you must specify the month: M and the Sunday: S (1, 2, 3, 4 or 5 ) on which the summer/winter change takes place.
LD Language Elements Modbus Inputs/Outputs Description A Modbus SR3 MBU01BD extension module may be added onto an extensible smart relay. In LD mode, the application cannot access the four 16-bit data exchange words. Data transfer between master and slave is implicit and completely transparent. Note: The Modbus module only operates in Modbus slave mode.
LD Language Elements Message Description When activated, the Message function block can be used to: z Send alarm messages to mobile phones, the Zelio Logic Alarm alarm operations tool or Email addresses via the SR2COM01communication interface z Provide remote access to a DISCR and/or a digital variable for reading or modifying them. There are 28 Message function blocks numbered from S1 to S9, then from SA to SV.
LD Language Elements Use as a Contact The contact associated with the Message function block indicates whether the function block is activated. It may be used as many times as necessary as many times as necessary in the program. It may be used according to 2 modes: normally open or normally closed, described below. Normally open mode: Symbol of the normally open contact associated with a Message function block: SThe contact is conducting when the function block is activated.
Creating and Debugging an Application IV Presentation Subject of this Section This section describes, using detailed examples, how to create, debug and save an application.
Implementing a Basic Application 17 Presentation Subject of this Chapter This chapter describes in detail the implementation of a basic application from the front panel of the smart relay.
Implementing a Basic Application Presentation of Ladder Diagrams Description In this section, we will use a simple example to understand how a ladder diagram works: A two-way switch. Normal electrical diagram Ladder diagram I1-i2----------[Q1 i1-I2 The two position switches VV1 and VV2 control turning lamp L1 on and off. 150 I1 and I2 are two contacts representing inputs 1 and 2 on the smart relay. Q1 is a coil that corresponds to output 1 from the smart relay.
Implementing a Basic Application Module Wiring Below, an illustration of smart relay wiring: Mon Fuse 1 100 ... 240 VAC 50 / 60 Hz S2 S1 N M N I1 I2 I3 I4 I5 I6 I7 I8 100 ... 240 VDC Inputs I1... I8 xx VDC SRxxxxBD Fuse 2 MENU / OK Outputs Q1 ... Q4: Relay 8A 1 Q1 2 1 Q2 2 1 Q3 2 1 Q4 2 L1 Application Operation Using a smart relay means that ordinary switches (with open or closed positions) can be used in place of two position switches.
Implementing a Basic Application Using the Reverse Function Description The reverse function, noted i in the smart relay is used to obtain the reverse state of input I wired on the smart relay.
Implementing a Basic Application Practical Example Below is the electrical diagram of the example and an illustration of the smart relay wiring: Electrical diagram Connection to the smart relay Mon Fuse 1 100 ... 240 VAC 50 / 60 Hz PB1 N M N I1 I2 I3 I4 I5 I6 I7 I8 100 ... 240 VDC Inputs I1... I8 xx VDC SRxxxxBD Fuse 2 MENU / OK Outputs Q1 ...
Implementing a Basic Application General Case The table below illustrates the operation of a pushbutton connected to the smart relay. Pushbutton BP1 is connected to input I1 and lamp L1 is connected to output Q1 on the smart relay.
Implementing a Basic Application Notation Used by the Smart Relay Description The smart relay has a four line display used to show ladder diagrams.
Implementing a Basic Application Other Elements Other elements are also available using a smart relay, such as: z Timer function block: Used to delay, prolong and control and action for a set length of time, z Counter function block: Used to count the pulses received on an input, z Clock function block: Used to trigger or release actions on precise days or at precise times, z Analog comparator function block: Used to compare an analog value with a reference value or with another analog value after allowin
Implementing a Basic Application Application: Implementing a Two-way Switch Description In the text that follows you will find detailed information on the procedure for entering a ladder diagram for a two-way switch. You should proceed as follows: Go to the programming screen, z Enter the contacts in the first line, z Enter the coil in the first line and join it to the contacts, z Enter the contacts in the second line, z Join the second line to the first, z Launch the program.
Implementing a Basic Application Entering the Contacts in the First Line To enter the contacts in the first line, proceed as follows: Step Action Screen 1 + Comment I1 The flashing cursor is positioned on the I. The smart relay prompts you to select the type of contact. I1 The 1 flashes. The user has implicitly selected a contact assigned to an input (I), the smart relay now prompts the user to select the input number. I1 The flashes, indicating a link point for linking connections.
Implementing a Basic Application Step Action Screen 8 Comment + I1-i2 The 2 flashes.
Implementing a Basic Application Entering the Coil and Joining it to the Contacts To enter the coil in the first line and connect it to the coils, proceed as follows: Step Action Screen 1 Comment I1-i2 The cursor flashes in succession: z At a link point: , z At a contact point: . I1-i2 ... then 11 fois Until positioned at the end of the line ready to enter the coil. I1-i2 2 + I1-i2 [M1 The [ flashes. I1-i2 [M1 The M flashes. I1-i2 [Q1 The Q flashes.
Implementing a Basic Application Entering the Contacts in the Second Line To enter the contacts in the second line, proceed as follows: Step Action Screen Comment 1 et I1-i2----------[Q1 The is at the start of the following line. I1-i2----------[Q1 I1 The I located on the second line flashes. I1-i2----------[Q1 i1 The i located on the second line flashes. I1-i2----------[Q1 i1 The 1 located on the second line flashes.
Implementing a Basic Application Step Action Screen Comment 7 8 The second 1 in the second line flashes. I1-i2----------[Q1 i1-I2 The 2 located on the second line flashes. + + Joining the Second Line to the First I1-i2----------[Q1 i1-I1 To join the second line to the first, proceed as follows: Step Action Screen Comment 1 I1-i2----------[Q1 i1-I2 The flashes. This shows that it is possible to connect a link at this point.
Implementing a Basic Application Launching the Program To launch the program, proceed as follows: Step Action Screen Comment 1 Menu / OK VALIDER MODIFS.? OUI NON Now confirm the changes. YES flashes. 2 Menu / OK PROGRAMMATION PARAMETRES RUN/STOP CONFIGURATION The main menu re-appears. PROGRAMMING is selected (flashes). PROGRAMMATION PARAMETRES RUN/STOP CONFIGURATION RUN/STOP is selected (flashes). 3 2 fois 4 Menu / OK RUN PROG ? OUI NON Now start the program.
Debugging an Application 18 Presentation Subject of this Chapter This chapter presents the tools available for debugging an application loaded in the memory of the smart relay.
Debugging an Application Introduction Module in RUN Mode Once an application has been entered in ladder diagram form, debugging tests still must be run. The first step is to set the smart relay to RUN. To do this, in the RUN/STOP option in main menu and select RUN. From this moment on, the smart relay handles the physical inputs and outputs according to the instructions entered in the ladder diagram.
Debugging an Application Contextual Menus Below is an illustration of the icons in the contextual menu when the smart relay is in RUN mode: 4 Menu / OK 1 2 3 Prompt Element SR2MAN01 11/2007 1 Status of the smart relay: In RUN it is in motion, in STOP it is immobile. 2 Indicates that faults have appeared (see FAULT Menu, p. 77). 3 Indicates that the smart relay is connected to the programming software. 4 The key indicates that the program is password-protected.
Debugging an Application Dynamic Mode Ladder Diagrams Viewing Ladder Diagrams Note: This function can be accessed only in LD/ RUN mode. The smart relay can dynamically display the performance of a ladder diagram. To do this, simply call up the MONITORING menu and position the cursor over the lines to display using the navigation keys.
Debugging an Application Using Z Keys as Pushbuttons On the INPUTS-OUTPUTS screen in RUN mode, the numbers of the Z keys used in the program are displayed in the contextual menu. Press and hold down the Shift key to display this menu. To enable a Z key, press on the button located under the number.
Debugging an Application Dynamic Mode Function Block Parameters Presentation In RUN mode a function block preset value may be changed dynamically if it is not locked. Functions with parameters in LD mode: z Auxiliary relays (latching), z Discrete Outputs (latching), z Clocks z Analog comparators, z Timers z Counters z Fast counters.
Debugging an Application Dynamic Mode Menus Dynamic Mode Menus Some menus are accessible when the smart relay is in RUN mode, while others are not. Here is a summary table. Menu LD FBD PROGRAMMING MONITORING PARAMETERS RUN / STOP CHANGE D/H CHANGE SUMM/WINT CONFIGURATION PASSWORD FILTER Zx KEYS WATCHDOG CYCLE CLEAR PROG.
Debugging an Application Smart Relay Reaction to a Power Failure Description A power failure may cause the smart relay to restart and lose any data not saved. Smart relays have the ability to save the current time for at least 10 years. In addition, it is also possible to back up the variables configured with the Latching option defined in the parameters window. Latching The Latching function is used to save the state of the counter’s current values in the event of a power failure.
Debugging an Application Safety Mode If the result of losing the time setting is to lock coil control, then simply use a clock contact without a stop order in series with the action coils. Example of a non-locked coil: I1-I3----------[Q1 I2 The contact line for coil Q1 will be active even if the time and date setting is lost.
Backup and Transfer of Ladder Diagrams" 19 Saving and Transferring Ladder Diagrams Description It is possible to transfer a ladder diagram from the smart relay toward a backup memory (optional) and vice-versa. This allows: To backup an application, then restore it later on if necessary, z To make a copy of an application for loading it in several smart relays.
Sample Application 20 Presentation Subject of this Chapter In this chapter we'll use the example of an underground car park control. From given specifications, we will develop the application to program in the smart relay.
Sample Application Specifications Objective We wish to complete and centralize the control of the underground car park of an administrative building. Automatic Gate The entrance and the exit of the car park are controlled by an ordinary automatic gate. The gate has the usual basic features such as: z Gate timing (opening and closing) by passing vehicles, z Ticket payment management, z Safety telephones, z External control for locking in closed position, etc.
Sample Application Specification Analysis Description Analysis of the specifications includes listing inputs, buttons, outputs and function blocks necessary to complete the application. Inputs Below is the list of inputs that the application will use: Smart relay label Button Vehicle entry detection. Input I2 Vehicle exit detection. Inputs I3 and I4 Pushbuttons at pedestrian access points. They are used to light the facility.
Sample Application Special function blocks Below is the list of special function blocks that the application will use: Smart relay label Counter C1 Name Counts the number of vehicles in the car park (93 maximum). Clock function block H1 Manages car park access hours. Timer function block T1 Lighting timer (10 minutes). Analog function block A1, the authorized threshold value corresponds to 8.5 Volts. Compares the CO2 level measured with the allowable threshold.
Sample Application Implementing the Solution Description Presented here are the control diagrams to program, as well as the parameters to use for the function blocks.
Sample Application Configuring the Function Blocks The table below provides details on the parameters to use for each of the function blocks: Function block Comment Counter function block C1 CC1 RC1 C1 DC t T: TO - P = 00093 + The preset value is 93 (the maximum number of vehicles allowed in this car park). Where necessary, this value may be changed during operation.
Sample Application Function block Comment Analog function block A1 A1sANALOG2 Ib ≥R R=8.5 x1=Ib=0.0 x2=R =8.5 - Compares the measured CO2 level with the threshold value: 8.5 V. + Menu / OK Timer function block T2 B TT2 RT1 T1 t t = 15.00 - M:S Fan operating duration if the CO2 threshold is exceeded. 15 minutes.
Diagnostics V Presentation Subject of this Section This chapter will help you find solutions to operating problems.
Diagnostics 21 Presentation Subject of this Chapter This chapter will help you find solutions to operating problems.
Diagnostics Smart Relay Messages Description Here is detailed information on the error messages that are returned by the smart relay, their possible causes and how to remedy the problem. Error Messages The table below lists the error messages that a smart relay could return. These messages generally indicate incompatible actions requested by the user.
Diagnostics Frequently Asked Questions Description SR2MAN01 11/2007 To assist the user in understanding the smart relay, the most frequently asked questions are listed here.
Diagnostics Frequently Asked Questions Here below are the most frequently asked questions and their answers: Question I cannot access some parameters. Answer Some parameters are not accessible. See the documentation to find out whether these elements can be changed. Example of an element that cannot be changed: Counter function block counting direction. This element is only accessible by wiring in a ladder diagram line.
Appendices At a Glance Introduction This section contains product-related appendices.
Compatibility A At a Glance Subject of this Chapter This appendix provides information on the compatibility between the versions of the firmware, the versions of the programming software and the different memory cartridges.
Compatibility Compatibility between the version of the programming software and the version of the firmware on the smart relay Introduction The section below describes the compatibility between the versions of the programming software and the versions of the firmware on the smart relay.
Compatibility Compatibility between the memory cartridges and the version of the firmware on the smart relay Introduction The section below describes the compatibility between the memory cartridges and the versions of the firmware on the smart relay.
Index A Auxiliary Relays, 93 C Clocks, 134 Compatibility Firmware, 194, 195 Memory Cartridges, 195 Programming Software, 194 D Discrete Inputs, 89 Discrete Outputs, 98 F Firmware Compatibility, 194, 195 B AC LD Fast Counter, 118 LD Language Elements Auxiliary Relays, 93 Clocks, 134 Counter Comparators, 128 Counters, 111 Discrete Inputs, 89 Discrete Outputs, 98 Fast Counter, 118 LCD Screen Backlighting, 140 Message, 144 Modbus I/Os, 143 Texts, 138 Timers, 101 Zx Keys, 91 LD language Elements Analog Comp
Index M Menu CHANGE DATE/TIME, 81 CHANGE SUMMER/WINTER, 83 CLEAR PROG.
35007143 Visit http://www.schneider-electric.com for your nearest Schneider Electric affiliate. You can download these technical publications and other technical information from our website at http://www.telemecanique.