Professional Documents
Culture Documents
for
38OV 3 PHASE
Jeddah, K.S.A.
Zelio Logic 2
Smart Relay
User's Manual
SR2MANOl EN
11/2005
.t. oE
o) at,
+
o ,)
21"/& So"-o
jlf*"*
il I
t-
? l
o(
schnefder
ElccEic
@ Telemecanique
2
Table of Contents
<?
Salety lnformation 7
Aboul the Book... ........9
Part I lnitaal Power up and Discovering 11
Presentation 1'l
Chapter 1 lnltlal Power up and Dlscoverlng 13
Presentation 13
safety ... .....::::.::::: 14
Presentation ol ths Smart Rslay Front Panel . . . . . . 17
Charactgristics and Connections. 20
Control Keys on the Front Panel oI the Smart Relay 21
Examples. 24
3
Chapter 6 MONITORING Menu 53
MON|TOR|NGMenu.... 53
ChapterT RUIUSTOP Menu 55
FIUN/STOPMenU,,,
chapter I coNFIGURATION Menu 59
Presentation . 59
PASSWORDMenu....... 6o
FILTER Menu. 63
Zx KEYS Menu 64
WATCHDOG CYCLE Menu. 65
4
Analog Comparators 134
Clocks '139
Texts . 143
LCD Screen Backlighting 145
Change lo Summer / Winter Time. 146
Modbus lnputYOutputs 148
Message . . 149
lndex 195
5
6
Safety lnformation
lmportant lnrormation
NOTICE Read these instructions carelully, and look at the equipment to become familiar with
the device before trying lo inslall, operate, or maintain it. The following special
messages may appar throughout this documentation or on the equipment to wam
ol potential hazards or to call attention to inrormation that clarifies or simplilies a
procedure.
A thai an eleclrical hazard exists, which will result in personal injury il the
instructions are not lollowed.
This is the safety alert symbol. lt is used to ale.t you to potential personal
injury hazards. Obey all salety messages that follow this symbol to avoid
poGsibl€ iniury or death.
A DANGER
an imminently hazardous situat ton, not avoided, will
resull in death, serious or equipment damaqe.
A WARNING
WARNING indicaies a potentially hazardous situation, which, il not avoided, can result
in death, serious injury, or equipment damage.
A CAUTION
CAUTION indicates a potentially hazardous situation, which, if not avoided, can result
in injury or equipment damage.
sFuMANol EN 1 112@5 7
Sarety lnformation
PLEASE NOTE Electical equipment should be seMced only by qualified personnel. No responsibility is
assumed by Schneider Electric for any conssquences aising out of the use of this
material. This document is not intended as an instruction manual for unlrained persons.
@ 2005 Schnsider Electric. All Rights Ressrved.
8 SR2MANoTEN 11,200s
About the Book .fl
At a Glance
Document Scope This manual describ€s the use of ,unctions accessible from the tronl panel o, the
smart relay.
This document is divided into 5 parts and addresses the following topics:
. Parl l: Powering up and Discovering lhe Sman Relay.
. General presentalion ofthe smart rolay.
. Part ll: Functions Accessible lrom the Front Panel.
. Description of the interfac€ and the menus ol the smart relay.
. Part lll: LD Language.
. Oescription ot automation lunctions available ror programming in LADDER.
. Part lV: Creating, D6bugging and Saving an Application.
. Example o, programming
. Pres€ntalion ot tools tor debugging and saving an application.
. Part V: Diagnostics.
. Help ,or finding solutions to op€rating problems.
Validity Note The information in this manual applies only to smart relays of the Zello 2 series.
User Comments We welcome your commsnts about this d@ument. You can reach us by e-mail at
techpub@ schneider-€lectric.c!m
SR2MANoIEN 112005 I
About the Book
10 SFUMANo1EN 1 ,2005
lnitial Power up and Discovering
Presentation
Sublect ot this This section presents the operation and main characteristics of the smarl relay.
Secllon
SR2MANo1EN 11/2005
11
lnitial Power up and Discovering
12 SR2MANOIEN I112005
lnitial Power up and Discovering
Presentation
Sublect ot this This chapter presents the operation and main characteristics ot the smarl relay.
Chapter
sauMANolEN 11/?@5 13
lnitial Power up and Discovering
Satety
Prellmlnary Preliminary advice and general safety precautions relating to installing smart relays
Advlce . Remomber that only qualified personnel are authorized to implement the smart relay
. Read this instruction sheet and the User Guide to leam the procadures prior to
installing, wiring, operating, maintaining of controlling the smart retay.
. The end user should kaep lhis User Guide and the poduct instructions sheet.
. lnstall the smarl relay by following the inslruclions in lhe instruction bullelin and the User
Guide. lmprop€r installalion may rasult in failure or malfunction ol the smart relay.
. Make the necessary ground and short circuit lhe mnnections.
. Check the op€rating condhions, as described in the User Guide. lI you are unsure
of the technical characteristics, contacl Schneider Electric.
. Fluctuations or variations in the power supply voltage should not exceed the
tolerance thresholds sl,ated in the lechnical characteristics, as they may lead to
operadng Iailures and potentially dangerous situations.
. Take any stsps ne@ssary to ensure that an application interrupted by a power
failure continues to operate correctly after restorinq power and make sure also
that no dangerous situalion whatsoever arises.
. Take any steps necessary to prevent involuntary activation o{ the relay.
. Automation and control devices must be installsd in areas whers they are
protactsd against any risk of involuntary activation.
. Ensure that all conneclions to the control system meet applicable safety standards.
. Ensure that you comply with all applicabls standards for emergency stop systems in
order to avoid potentially dangerous situations. Ensure that releasing the em€rgency
stop system does not cause the automated system to suddenly restart.
. lnstall the sma.t relay only in environments described in the User Guide. Do not
use the smart relay in environments subject to ex@ssive tamperatures, elavated
relative humidity, condensation, corrosive gases, or excessive shocks.
. The sma.t relay should be us€d in 'Pollution level 2' environments. This lsvel
delines the effsct of pollution on the insulalion.
. Delinition ol lovel 2 Pollution: Only non-conductive pollution arises, except for
occasional temporary conductivity caus€d by condensation. Do not use smart
relays in environments lower than those specifiod in IEC Standard 60664-i.
. Use appropriate wires according to current and voltage requirements. Tighten the
screws ol the terminal according lo the specified torque.
. Use an IEC 60127 approved fuse, in conformity with the raquirements for current
and vollage, to protect the powar line and output circuits. This is not required
when a device including a smart relay is intended lor Europe.
. Use an Eu-approved switch. This is not required when a device including a smart
relay is intended for Europe.
14 SFi2lviANol EN 11/2005
lnitial Power up and Discovering
A DANGER
HAZARD OF ELECTRIC SHOCK, EXPLOSION, OR ARC FLASH
Tum power off before insialling, removing, wiring or maintraining.
Fallute to tollow this lnstructlon wlll result in dealh, serlous lnlury, or
oqulpm€nl damage,
A WARNING
RISK OF EXPLOSION
Precautions:
. Compliant with standard CSA C22.2 No 213: This equipment is designed for
use in Class 1, Oivision 2, GroupsA, B, C, D orin nondangerous locations only.
Replacement of components may compromise the suitability to this specifed
environmenl.
. Ensure lhat the power voltage and its tolerancss are compatible with those of
the smart relay.
. Oo not disconnec{ the equipment as long as the power supply has not been cut
off or the zone is not safe.
. This product contains a battery. Do not place the smart relay in fire.
Fallure to lollow thls lnstruction can rBsult ln doath, serlous lnlury, or
aqulprr€nt damage.
A WARNING
RISK OF ELECTRIC SHOGK OR FIRE
Precautions:
. The smart relay is solely intended for installation in an enclosure. Do not install
the smart relay outside of an enclosure.
. Ensure that no metal fragment or wiring material falls into the enc{osure of the
smart relay. Foreign bodies may lead to fire, material damage or malfunction.
Fallure to tollow this lnslruction can rcsult ln d6ath, serlous lnlury, or
equlpment d.mage.
sFi2MANolEN 112@5 15
lnitial Power up and Oiscovering
A wlnnrruc
INVOLUNTARY OPERATION OF EOUIPMENT
Precautions:
. Power ofi the smart relay prior to installation, deinstallation, wiring,
maintenan@ or operation of the unit.
. The emergency stop and the locking circuits should be configured in the
soft^,are program of the smart relay.
. ln the event of failure of the relays or transistors in the output modules of the
smart relay, the outputs should remain activated or deactivated. For output
signals that might lead to serious accidents, install a control circuit extemal to
the smart relay.
. lnstall the modules according to the environmental operation conditions
specified in the instruclion bulletin.
. Do not attempt to dismantle, repair or modify the smart modules.
. Use an IEC 60'127 approved fuse, in mnformity with the requirements for
cunent and voltage, to protect the po,ver line and output circuitrs.
Fallure to lollow thls lnslructlon can rcsull ln death, serlous inlury, or
equlpm6nt damage.
A DANGER
RISK OF UNEXPECTED EQUIPI{ENT OPERATION
Sp€cial case ofthe use of the SR2COM01 modem communication extension.
Sending commands may lead to modification of the stiatus of smart relay outputs
or accidental snabling of controlled equipment.
It is important to:
. Knorr/ how the commands will afiec1 the process or the controlled equipment,
. Take any prevenlive measurss necessary to ensure safety when making
modifications.
Fallure to tollow thb lmtructlon wlll .esult ln doath, sarious lnlury, or
aqulpment damage.
16 SFUMANoIEN 11,200s
lnitial Power up and Discovering
lnlroduction Smart relays are designed to simplily the elaclrical wiring o, intglligent solutions. A
smart relay is very simple to implemant. lts llexibility and its high pertormance allow
users to save significant amounts of time and money.
This Us€/s Guide is intended for people who do not have an in-depth knowledge of
automation systems and who would like to be abl6 to implement smart relays.
sFt2MANorEN 112005 17
lnitial Power up and Discovering
Descriptlon of The illustration below presents the elements of the front panel of the smart relay:
the Smart Relay 4
Front Panel 1-->
+
t1 t213 l4 tB tctD tE
OO,@G O@@,,,G;
24 VOC Analog or 24 VDC
1231 BCDE
STOP LD
THU 25 SEP 16:40 6
1231
1
oooo
A
:l o
,A
7
rEn oo
1 L..-J 2 TET, rY.-Yz
ol Q2 o3 Q4
I <F I
Prompt Elem€nt
1 Rgtraclable mounting feot.
2 Screw terminal block for the power suppty.
3 LCO display, 4 lines, '18 characiers.
4 Screw leminal block for discrote inputs.
5 Screw tgrminal block for analog inpub.
G10 Volts, usabl€ in discrete input modB depending on modet.
6 Slol for backup m€mory or PC conn€ction cable.
7 Shlfl key (while).
I Monu/OK key (green) for seleclion and conlirmation
s Relay output screw terminal block.
,0 Navigation ksys (gray) or atter conriguring Z pushbuflons.
18 SR2MANOlEN 1'OO5
'
lnitial Po\,ver up and Discovering
Descriptlon oI The illustration below presenls an example ot LCD display elements when
the LcD displaying the INPUT-OUTPUT screen:
1 1234 BCDE
2 STOP LD
3 THU 25 SEP 16:40
1 1231
5 1231
> Menu / OK
P.ompt El€ment
,1
lnpd status' disphy (8...E repres€nt fi€ analog inpub, also nay be us€d as DISCR).
2 Oisplay of the operating mode (BUiI/STOP) and programming mode (LD/FBO)
3 Display ol the dalo (day and tim€ for products wiul clock).
4 Output status display
5 ContExtual menus / pushbuttons / icoos indicatirE tho op€rating modes.
sli2MANolEN 112005 19
lnitial Power up and Discovering
Posslble It is possible to connect the smart relay to a rectitisd filtered regulated power supply
Connection
Rectified and filtered
U max
POSSIBLE
U n
Provided that it veify the following characteristics, according to the type of smart
relay:
sR2 ... BD sR2... JD
Umax<30V U max < 14,4 V
u min > 19-2 V U min > 10.4 V
Prohiblted It is prohlblted to connect the smart relay to a reclified non-filtered power supply
Connection
Rectified non filtered
20 SR2MANo1EN 11,2005
lnitial Power up and Oiscovering
Descrlpllon The keys located on the iront panelol the smart relay are used to configure, program
and control the application and monitor the application's progress.
lllustration:
PROGRAMIVIING
PARAMETERS
RUN / STOP
CONFIGURATION V
a! i OK
r\
,.J .l l O c
Note: The LCD screen is lit for 30 seconds when the user presses any of the
buttons on the front panel.
Shift Key The Shltt key is the white key located on lhe right sid6 ot the LCD screen.
When tha Shlft key is pressed, a contextual menu is displayed above the Z keys
(lns, Del, Param, etc.).
Menu/OK Key The Menu/OK key is the green key located below the LCD screen on the right side.
This key is used for all conrirmations: Menu, sub-menu, program, parameter, etc.
Zx Keys The Zx keys are the gray keys aligned from left (Zl) to right (24) and locatad under
the LCD. The anows indicaling the movemant direc.tion associated wilh navigation
are marked above the keys.
The navigation keys ars used to move laft or right, down or up.
The posilion on the scresn appeaB as a flashing zone:
o Square lor a position that corresponds to a contact (only in programming mode),
. Round for a link (only in programming mode).
Note: When the keys may be used for other aclions apart from navigation, a
contextual menu bar is displayed (e.9.: 1,2,3 and4 as Zx-type keys).
SR2MANoIEN 11t2005 21
lnitial Power up and Oiscovering
Contextual When the cursor is placed on a modifiable parameter, iI the Shlft key is pressed, a
Menus contsxtual menu appears.
lllustration:
tlo
> lilenu / OK
AA E
> Menu / OK
1: lndicates lhe slate ol the smart relay. ln RUN it is in motion, in STOP it is immobile
2: lndicales lhat laults have appeared (see FAULT msnu).
3: The smart relay is physically connected to the programming software.
22 SR2MANoiEN 112005
lnitial Power up and Discovering
Examples
lnlroduction We will now see two examples of how lo use the smart relay,s ksys_
Language Example 1: Here are details on how to sslect lhe language of the smart rslay:
Selectlon
Slep Action
I Powering up
On inilial po\,vering.up, the INPUT-OUTPUT scr66n is displayed (See: INqUTS-
OUTPUTS Sqeen, p.34). By defautt, the s€tgctsd tanguage is Engtish.
Vlsw:
1234 BGDE
STOP LD
FRI 25 NOV l6:40
1234
2
Msnu / OK
key
Vigw:
CLEAR PROG
TRANSFER
VERSION
AG V
SR2MANOIEN 112M5
lnitjal Power up and Discovering
Step Action
3 Enter in the language selection menu
Menu OK
-l
tJl
ESG#ffi a l
FRANCAIS
DEUTSCH
ITALIANO V
Note: The aclivated option flashes and il is also indicaled by a black diamond
4 Select and conlirm lhe language (lhe selection is shown in llashing text).
/l Menu
,-I
t.-l)
or
o then
1l
L--,,')
The ]rlenuDK button is used to conlirm the seleclion ol lhe new language. The
display returns to the MAIN menu when the smart relay is in STOP mode.
View:
CLEAR PROG l.
TRANSFER
VERSION
GE V
24 SR2MANOI EN 112005
lnitial Power up and Discovering
Step Actlon
5 Relum lo the INPUT-OUTPUT screen using the Iefl navigation key
1231 BCDE
STOP LD
FRl25 NOV l6:40
1 231
+
Modlflcatlon of Example 2: Here are details on procedure lo lollow to modify ths date and time of
Dale and Hour the initial power up or tollowing a long lasting power tailure.
Slep Action
1 Frorn the INPUT.OUTPUT screen, €nter th€ llAlN menu, then go to the CHANGE D/
H menu:
Menu / OK v
tJ then
o I times in LD mode
7 times in FBD mode
VERSION
LANGUAGE
DEFAULT
V
sFl2MAN0rEN 11/2005 25
lnitial Power up and Discovering
Step Acllon
2 Enl6r tha dal8 and hour conllgurallon msru:
I
CI
CHAN GE D/H
THU O7 JUL 2OO3
16 : 27 30 s
CAL t 2
3 S€lscl lho parameler to modity using the anows (the selection is highlight8d by the
blinking ol the paramsler):
m",m
Modily tie parameler using the navigation keys:
----- --=r
VERSION
LANGUAGE
DEFAULT
26 SFI2MANOlEN 11,2005
lnitial Power up and Discovering
Step Action
4 Retum to the INPUT-OUTPUT screen
Vlew:
1231 BCDE
STOP LD
FRl25 NOV l6:40
1231
SR2MANo1EN r12005
lnitial Power up and Discovering
28
SR2MAN0lEN 112005
Functions Accessible from the
Front Panel
At a Glance
Subiect ol this This section describes the Iunctions thatcan be accessed trom the front panelolthe
Section smart relay.
3 INPUTS-OUTPUTS Screen 33
4 PROGRAMMING Menu 39
5 PABAMETERS MenU 51
6 MONITORING Menu
7 RUN/STOP Menu 55
I CONFIGURATION Menu 59
11 VERSION Menu 73
12 LANGUAGE Menu 75
13 DEFAULT Menu 77
14 CHANGE DATE/TIME Menu 81
SR2MANO1EN 1
'2005
Functions Accessible from the Front Panel
30 sFt2MANo1EN r 1/2005
Overview of the Functions
Accessible from the Front Panel
2
Descrlptlon From the tront panel of the smart relay, you may:
. Program (in LD mode),
. Configure,
. Contol the application,
. Monitor the perlormance of the application.
lllustration:
PROGRAMMING
PARAMETERS
RUN / STOP
CONFIGURATION V
at i >
ooooo
Menu / OK
o)
The line flashes to indicate where you are positioned.
The up triangle A on the right side ol the LCD screen indicates thal possible up
options exist. The down triangle y indicates that possible down options exist.
To retum to the previous menu, press lelt navigation key.
l{ote: The LCD screen is lit for 30 seconds when the us€r presses any of the
buttons on the front panel-
SR2MANO1 EN I12M5 31
Overview of the Functions Accessible from the Front Panel
Managing Menus The INPUTSOUTPUTS screen is displayed by defauh whetherthe mode is LD or FBD
Pressing the Menu/OK key switches the display from the INPUTSOUTPUTS
screen to the MAIN menu,
!
The menu on the first row which is selected by delault (flashing). fhe and i
navigation keys can b€ used to placo the cursor over lhe other menus.
Press the green MendOK key lo display the screen corresponding to the selected
menu or to move onto the ,irst sub-menu.
MONITORING
PARAMETERS
RUN / STOP
CONFIGURATION
PASSWOBO
FILTER
Zx KEYS
WATCHDOG CYCLE
CLEAR PBOG
TRANSFER
VERSION
LANGUAGE
FAULT
CHANGE D/T
CHANGE SUMI\,,I^^/INT
Configuring Eldensions added to the smart relay may only be conrigured from the programming
Extenslons software. See online help oI the programming sottware for more information.
SR2MANo1EN 1l12005
INPUTS-OUTPUTS Screen
At a Glance
sublect of this This chapter describes the characteristics of the INPUTS-OUTPIJTS screen
Chapter
SF{2MAN01EN 1112005
INPUTS-OUTPUTS Screen
INPUTS-OUTPUTS Screen
34 SFUMANoIEN 11/2005
INPUTS-OUTPUTS Screen
Acc-€sa lo the Pressing the llonUOK ksy switches the display lrom thB INPUTS-OUTPUTS
Maln ilenu screen to the main menu:
. PROGBAMMING (LD STOP mode),
. MONITORING (LD RUN moda),
. PABAMETERS,
. RUN / STOP,
. CONFIGURATION (STOP mode),
. CLEAR PROG. (LD STOP mode),
. TRANSFER (STOP mode),
. VEHSION,
. LANGUAGE,
! FAULT,
. CHANGE D/T,
. CHANGE SUMWWINT.
Ths display automatically retums to the INPUTS-OUTPUTS menu on exiting all
other menus and sub-menus.
sFr2MANolEN 112005
INPUTS-OUTPUTS Screen
Descrlptlon The display functions are usod to display text or numerical values (current value,
preset valus, etc.) on the LCD display instead of the INPUT$OUTPUTS:
. ln LD mode: A TErT function is active,
. in FBD mode: A DISPLAY tunction is aclive.
lllustration:
Value counterl
Cl C = 00001
Date
28t11t2003
1}2
Menu / OK
Nole: The display funciions are programmable only from the programming
software (see the on-line help for the programming sofr\ ,are for more informalion)
36 SR2MANO1 EN 1 1/2005
INPUTS-OUTPUTS Screen
ModifyDisplayed ln RUN mode, when the TEXT/ DISPLAY screen is displayed, it is possiblo to
Values modity, lrom the front panel, the displayed values whosa moditication was
authorized in ths block function paramelers window.
To do this, proceed as follows:
Srep Actlon
1 Press tho Shft k6y (white key) to display the contextual menu.
R8ult: Param is displayBd at lhe bottom ol ths screen.
2 > ksy (without rdoadng Ole Shltt ksy) to disday th€ contoxtual menu.
Pr€ss O|6
Ro3ult Tho parameter which can be modified fiash€s ard tho lollowing
cont€xtual msnu is display€d:
(-a + r)
> lrenu / OK
3 S€l€cl lh€ parameter io be modifi€d using the mviqatioo keys < and > lrom ths
contextual menu (lh€ valu€ whidr aro svailablo lor modificalion flash).
4 tvlodify h6 pararn€ts valu€ wiih tho + (^) and - (v) koys lrom the cortextual rn€nu.
5 Cor{irm the changiEs by p,sssing tlo f,onu/OK koy.
Rosult The display rstums to tho INPUTS-OUTPUTS sc.een or the TEXT /
DISPLAY scrs€n.
SR2MANoIEN 11/2005 37
INPUTS-OUTPUTS Screen
38 SR2MANo1EN 11/2005
PROGRAMMING Menu
Presentation
Subiect ol thls This chapler describes the charactsristics otthe PROGRAMiIING menu specific to
Chapter LD mode / smart relay in STOP mode.
Thistunction letsthe userentarthe laddar diagrams that willwork on the smart relay.
This program is wdtlen only using a ladder diagram LD.
lllustration:
11--r ---RTl
12--J
l1--M3-----T1---SM1
L. TT1
Menu / OK
_)
r\
t- , 3 3 tJ o
Nolo: The smart relays to which have been added an lnpuuoutput extension are
programmable only in FBD modo ftom the programming sofrware.
See online help of the programming software for more informalion.
SR2MAN01EN 11/2005 39
PROGRAMMING Menu
40 sR2MANoiEN 11,2005
PROGRAMMING Menu
Descriptlon A smart relay allows you to gnter 120 line Ladder diagrams.
The smart relay's display screen is ussd to display lhese lines, 4 at a time, in the
lollowing manner:
1 2 3
+ f r rl I
Il-rH1-rC l-rMh T CC 1
ll tt I
l2'q', tt tt I
ztll' tt tt
I tt I
z3ll I tt I
llltl
I
Prompt ElEment
1 Column reservsd lor contacts (conditions).
2 Column reservod lor contacts (conditioos) and lor links.
3 Column res€rvod for coils (actions)
4 Column reserved lor links.
Each line comprises 5 tields each with 2 characters reserved lor contacis
(conditions). The 4 central columns can also accept links. The lasl threecharacter
column is resorvad lor coils (actions).
Links must be Bntered botwe€n the contac.t and coil columns.
A ladder diagram is entorBd into lhe smart relay using the front panel keys (see
Control Keys on the Frcnt Panel ol the Sman Relay, p. 21).
sFi2MANolEN 11/2005 41
PROGRAMMING Menu
Data Entry Rules Make sure you respect the following rules when you enter a ladder diagram:
Rules lncorrect Correct
Each coil must only be
11----- ------ -- tQ1 r1r- -- --------- t01
entered onc€ in the right I
f2-r3 ----------TT1 T1l
hand column
r1------------- t01
zla 21-a
lf S coils (SED are usgd in lf no R (Reset) coils are used, An R (Heset) coil must be used
a diagram, also uso an R the corresponding coil will lor reset purposes.
(Resol) coil. always be set to 1 .
Nole: Smart relays run programs from top to bottom and from left to right.
42 SR2MANo1EN 112005
PROGRAMMING Menu
Descriptlon
Nole: Accessible only in LD mode / smart relay in STOP mode
This section describos the procedures for p€rlorming the following operations:
. Entering an element,
. Modifying an element,
. Deleting an Element.
This is valid for : contacl or coil elements, wheths lhe parameters can be set or not.
2
oooo
Press ihe Shlft koy to display the contextual menu
lllustration:
lns. + Del.
> ilenu / OK
By simultaneously pressing Shltt and on€ ol the v (- and +) keys, lhe first lett8r
^
of the element is inserted: I lor a contact and O lor a coil, lollowed by the numb€r 1.
3 Choo6e fle t)p€ of elem€rf desired by pressing sinrJtaneoudy on Shllt and + or -. This
rnalss the difierent lyp€s of elements scroll do n cydically, in the lollowing ordsr:
. For ho codacG: l, i, Z, z, M, m, Q, q, T, t, C, c, K, k, V, v, A, a, H, h, W, w, S, s.
. For rle coils: M, Q, T, C, K, X, L, S.
See lhe chaptorlD Languagc Elements, p. 87.
SR2MANO1 EN I12OO5 43
PROGRAMMING Menu
Step Action
4 Release lhe Shln koy to havs ac@ss to th6 navigation keys: < y a >.
Pressing lhe > key places the cursor over the corresponding numb€r 1
5 SimullanEously hold down lhe Shllt and + koys to incrsment the number of the
element (2, 3, 4,..., 9, A, etc.).
Note: The numb€rs lor functional blocks ars limiled to the number o, blocks of th6
type available in the smartrslay. lnthecase oloxtensibl8 smart relays, the inputs and
outsuls numbers ars used to program lhe extension to maximum size.
ln €ntering a contact, once lhis slep is completed, the 6ntry is terminated.
ln entering a coil, you must additionally select the funclion ol the coil.
6 Release the Shlft k6y lo hav€ accsss lo the navigation koys: <va>
7 Stsp! 7 to I ar€ only necesgary uhen qrtgrlng a coll.
Posilior th6 cursor on the lunclion oI the coil by pressing twice on lh6 < key.
8 Select the desir€d lunction by prossing simuttaneously on lh€ Shilt key and the + or
- key. This will scroll through lhe diflBrent coil functions available.
I Belease the Shlft kgy to have acc€ss lo th€ navigation kgys: <v >
^
Note: Confirming some function block coils willbring-up a function block parameter
s€fring screen.
44 SR2MANOlEN 1112OO5
PROGRAMMING Menu
Enterlng a Llnk
Descrlption
Noto: Accessible only in LD mode / smart relay in STOP mode
This section describes lhe procedures lor perlorming the following operations:
. Entering links between elements,
. Deleting links between alements,
. Rsplacing a link with a contact.
Enterlng a Link Links are enterBd exclusively using the round ffashing q.rrsor
Entry procedurs:
Step Action
1 Place tho ffashing cursor at lhe requircd location.
The navigatbn keys can be us6d move lhe cursor in the diroction of ths arrows on lho
navigation kgys < v a >.
lllustration:
DOOO
2 Press lhe Shltt key to display ths contextual m6nu.
llluslralion:
<F+t-)D€l
> Menu / OK
3 TIace connsctio.rs by simultaneously pressing the Sh t k€y and the navigation keys:
(- lt-J.
Shlft and -+ to traca a conneclion to the positlon of the noxt conlact or to the coil at
the end of tho line.
Shln alld t J to trace perpendiqJlar conneciions lo the provious or n€xt line.
4 Releas€ the Shltt key to have access to lhe navigation k€ys: <va>
5 Rep€al lhe operation as many limes as nec€ssary to link tho slemenls logelher
according to your requiroments.
SR2MANo1EN 112005 45
PROGRAMMING Menu
46 SR2MANo1EN 112005
PROGRAMMING Menu
Description
ote: Accessible only in LD mode / smart relay in STOP mode.
SR2MANO1EN 1I,2@5 47
PROGRAi,{[,llNG Menu
Enlerlng Parameters are entered in the same way, whalever the parameters screen
Parameters on
Step Aclion
Creatlon of the
Block 1 Enter the desired automation function: Step 1 of lhe element entry (See Method lor
Enteing a C fiacl ot Coil, p. 4E ptocadure.
When the func{ion has parametgrs, Param appears in the contextual menu (when lhe
Shift key is pressed).
lllustralion:
I
ins. + Param Del
> Menu / OK
2 Press and hold down lhe Shifl key and press on Param (key >).
Rgsull: The funclion's parameter screen appears.
3 Uso the navigalion keys lo move to the cursor over the modiliable parameters: <>
4 Modily the value ol the parameter using the + and - keys, holding down Shift.
5 Confirm ihe rnodifcations by pressing llendoK, whi6 will open the confirmation window.
Conlirm again by pressing the MendOK key to save.
48 SR2MANoIEN 1112005
PROGRAMMING Menu
Oeletlon
Note: Accessible only in LD mode / smart relay in STOP mode
Oiagram lines are deleted line-by line. The proc€dure is the lollowing:
Slep Aqtion
1 Place the cuGor over the line to delete
2 Dolete all the dements in tho line (See Met?od lor Enteiry a Contact or Coil, p. 43)
(Links, contac,ts and coils) to obtain an empty line.
3 Press tho Shllt key io display the contextual menu
lllustratlon:
tns. + Del.
> Menu / OK
Simulianoously pressing Shlft and Del opens th6 confirmation window.
4 Confim by pr€ssing MendOK.
Note: lt is possible to delete all diagram lines contained in the smart relay. ln order
to do this, selecl the CLEAR PROG. option from the main menu, and confirm the
deletion of all the mntrol diagram lines.
sFi2MANol EN 1 t12@5 49
PROGRAMMING Menu
50 SFCMAN0IEN 11/2005
PARAMETERS Menu
PARAMETERS Menu
Descriptlon This menu is used lo enler and modify the application parameters direclly on lhe
screen using the smart relay keys. Thislunction can be a@essed in the two modes:
LD and FBD, but the mntents will be specific to the mode used.
ll there are non-locked parameters to display they are listed in the window;
othen ise a NO PARAMETER message appears.
SR2MANO'EN i112@5 51
PARAMETERS MenU
SR2MANOIEN 11T2OO5
MONITORING Menu
MONITORING Menu
Description
Note: Accessible only in LD mode / smarl relay in RUN mode.
MONITORI G moda can be us6d to obtain a dynamic visw of the state o, the smart
relay inputyoutpuls.
ln this mode the wiring diagram appears as it do€s in the PROGRAMMING (See
PPOGRAMMING Mq4 p. 39 menu (smart relay in STOP mode), but appear in
reve.se video when inputs or ouFuts are aclivated (while on black background).
lllustration:
r!-i2 - ----- ---- tQl
11------------- t02
t'------------- t"''
This mode is also used to dynamkElly modily the values ot automation func.tion
parameters if thes€ are not locksd.
sl{2MAN01 EN 1
53
'2005
MONITORING Menu
54 SR2MANO1EN 1
'2005
RUN/STOP Menu
RUi|/STOP Menu
Description This lunction is used to start or stop the program in the smart r6lay:
. ln STOP mode: The program is slopped and the outputs disabled,
. ln RUN mode (with or without initialization of latching parameters): The program
is execuled.
SR2MANo1EN 11/2@5 55
RUN/STOP Menu
Startup ln STOP mode, when accessing the RUN/STOP menu, the inlerrace proposes the
following three choices for starting the program:
. wlTH LATCHING lNlT: All currenl values (munters, timers, etc.) are reset to
2610 b€fore the program starls (delault selec'tion),
. WTHOUT LATCHING lNlT: Current values lor which the Latchlng option has
been activated are kept,
. NO: The program has not be€n started.
lllustratlon:
RUN PROG.
WITH LATCHING INIT
WITHOUT LATCHING INI
NO
t'l
t-2
The navigation keys v are used to change the selection.
^
When the mode has been validatsd with the ilenu/OK key, the display moves tothe
INPUTOUTPUT screen.
56 SR2MANoIEN 11/2005
RUN/STOP Menu
oft ln RUN mode, when accessing the RUN/STOP menu, the intedace asks lhe user to
conlirm the request to stop the program:
. YES; The program stops (selscted by detault),
. NO: The program does not slop.
lllustratlon:
STOP PROG.
YES
NO
, at t >
ooo
lrenu / OK
.-_,,' _) c
The navigation kays v are used to change the selection.
^
When the mode has been confirmed wilh the Menu/OK key, the display moves to
the INPUTOUTPUT screan.
Smart Relays For sman modulss without scr€en, a green LED located on the lront panel ol the
Wlthout Scre€n module is an indicator light:
. ll the LED flashes slowly (3 Hz), lha module is in Rt,N mode (even if th6r€ is non-
blocking tault).
. ll the LED flashes rapidly (5 Hz), ths module is in STOP mode with fault.
. ll the LED stays lit, the module is powered-up and in STOP mode.
Note: On power up, the smart relay is in RUN mode, unless there is a blocking
fault.
Note: To release a blocking fault, power off the module, then power it up again.
SR2MANolEN t 1/2005 57
RUN/STOP Menu
58 sR2MANol EN 1
'/2005
CONFIGURATION Menu
a
a
Presentation
Subiect of thls The CONFIGURATION menu provides access to the following 4 functions:
Chapter o PASSWORD,
o FILTER,
o Zx KEYS,
. WATCHDOG & CYCLE
This chapter describes the characteristics of these functions.
SR2MANO1EN I1,2oo5 59
CONFIGURATION Menu
PASSWOBD Menu
Descrlptlon lf the program is password-protectsd (key icon appears), the user must enter the
password lo perlo,m certain opsrations.
The password protects access to lhe following menus:
r PROGRAMMING (LD STOP mode),
r MONITORING (LD RUN mods),
. CONFIGURATION (STOP moda),
r CLEAR PROG. (LD STOP mode),
o MODULE TRANSFER > MEM (STOP mods).
lllustration:
PASSWORD
ENTER 0000
(-I + r) r€
> MEnu / OK
Note: lf you lose a password, the solution is to oveMrite the program from the
programming sofhflare, see the on-line help of the programming software.
Note: To retum to the main menu from the CONFIGURATION menu, use the
navigation key <.
60 SR2MANoIEN 11/2005
CONFIGURATION Menu
Enterlng lnitially, the key is not displayed and each digit is set to 0
Password Ths ENTER message app€ars in the window.
Entry procedure:
Step Aclion
1 Use the naviqation keys lo salect the digit to enter: <>
2 Select ihe value of th€ digit using lhe + and . koys ol the cont€)dual menu.
3 Confirm tho password with the Menu/OK key, which opens lhe conlirmation window
4 Conlirm again wilh lhe lrlsnu/OK key.
Reault: Th€ display rotums lo the MAIN menu
Bemoving To cancel the password, lollow the same procedure used to enter it.
Password
PASSWORD
C LEAR 1/5 0000
ea- + r)
>
r.
Menu, OK
SF(2MANo1EN 11/2@5 61
CONFIGURATION Menu
PASSWORD
CLEAR 2/5 0000
(-a + r) no
> lrenu / OK
PASSWORD
CLEAR ERROR
5/5 >>> 30il NUTES
V > lrenu / OK
Modltying To modify ths password, simply cancel the old password and enter a new one.
Password
62 SFUMANOIEN 1V2005
CONFIGURATION Menu
FILTER Menu
Descrlptlon This lunclion is us€d to delect more quicldy any changos in slates of Discrete inputs.
Two choicos are available:
o Fast,
o Slow.
Respons€ time:
Filterlng Commutallon Response time
Slow ON -.) OFF 5ms
OFF + ON 3ms
Fast ON '+ OFF 0.5 ms
OFF -+ ON 0.3 ms
This selection can only be made rr,/hen the smart relay is in STOP. By default, the
smarl relays are @nfigured in SLOW.
Note: This function is available on smart relays with a direcl voltage po,t/er supply.
Nole: lo relum to the main menu from the CONFIGURATION menu, use the
navigation key <.
Fllter-Type The current typ€ is indicated by the seleclion symbol (black diamond).
Selectlon PocedurB lor selection ot fiher type:
Stsp Actlon
1 Sslscl trle lype of riltsring using the v k6ys (he seleclion will ffash)
^
2 Conlirm wiih llonu/OK
Ro3ult: lhe display retums to the MAIN menu
SR2MANOI EN I I/2005
CONFIGURATION Menu
Zx KEYS Menu
Descrlptlon
Note: Accessible only in LD mode
The Zx KEYS option is used to activate or deactivate the use of lhs navigation keys
as pushbuttons.
Ditterent functions can be obtained dopending on the state ot this option:
. lnactlve: Ths keys are only available ,or sstting, conliguring and programming
lhe smart relay.
. Actlve:they can also be used in a controldiagram.
fn this configuration, they operate as pushbuttons: Zx keys (S@ Zx Keys, p. 911,
without the need to use a terminal input contact.
Note: To retum to the main menu trom the CONFIGURATION menu, use the
navigation key ..
123456
STOP LD
MON 22 SEP 15:sl
1234
1') 3
^ > ifenu / OK
64 SR2MANo]EN 112005
CONFIGURATION Menu
Description The duration ot a pogram cycle depends on its length and complexity: ln particular,
the type and numbsr of inputs-outputs and lhs number of extensions.
The program is exscuted p6riodbally at regular time intervals. This time inteNal is
call€d the cycle time.
For the program to have enough time to completely ex€cute, the cycle time should
b€ greater than the program execution time.
The rycle period is configurable in the menu : CONFIGURATION --) WATGHDOG
CYCLE. This period is adiustable from 6 ms to 90 ms in 2 ms incremenls.
The detault value of the cycle period is 10 milliseconds.
lllustration:
CYCLE =05x02mS
WATCHDOG INACTIVE
(-a + r)
Menu / OK
lfthe duration of the execution cycle of the program and the embedded software
functions axceeds the cycle time value select6d by the programmer, lhe
WATCHDOG can be used to operat€ a specific action.
Note: To retum to th6 main menu from the CONFIGURATION menu, use the
navigation key <.
SR2MANo1EN 11/2@5 65
CONFIGURATION Menu
CyCLE =@ xo2mS
The multiplier factor is adjusted dopending on the shortest sampling priod ot the
inputs.
WATCHDOG Procedurel
Conllguratlon
Step Action
1 Configur€ lhe CYCLE pa€meter using the + and . keys ol the contextual menu.
2 Confirm the entry using on6 ol th€ koys: < or >.
Result: The CYCLE parameler is contirmed and the WATCHDOG parameter is
selec'ted (il f lashes).
3 Conligure the WATCHDOG parameler using lhe + and . keys of the contextual menu
4 Conlirm your changss by pressing ihe lrlsnu/OK key.
Rssult: The display retums to tha MAIN menu.
66 SR2MANo1EN 11/2005
CLEAR PROGRAM Menu
Descrlption
Note: Accessible only in LD mode.
Note: lfthe program is protecled (key displayed), the user must enterthe password
(see PASSI4/ORO Menq p. 60) before being able to delete the program.
Step Acllon
1 Selecl the YES ct|oics using lhe navigalion ksys t and a.
2 Conlirm lhe clear command by pressing the il€nuroK key
Roault: th6 display relums lo the MAIN menu.
SR2MANO1EN 11,2M5 67
CLEAR PROGRAM Menu
68 SR2MANolEN r 1/200s
TRANSFER Menu
TRANSFER Menu
TRANSFER
ZELIO > MEMORY
MEMORY > ZELIO
> Menu / OK
Note; lnsertion and exfadion of the backup memory may be performed even
when the smart relay is powered up.
Forsmart relays without sqeens, deteclion ofthe memory may only be performed
on power up of the smart relay, if the memory is inserted when the smart relay is
powered on, it will not be acknowledged.
Note: lf the application is protecled (key icon disptayed), the user must enter lhe
password before being able to save the program.
SR2MANo1EN 1112@5
TRANSFER MenU
Module -, Procedure for transfaning ths application, from the smarl relay to the bac*up
Backup Memory memory:
Transler
Stop Action
1 lnsert lhe EEPROM carAidgs (SB2 MEMo1) into the slot provided
2 Select the lransler type: iIEMORY>ZELIO usino the navigation keys v
^.
3 Conrirm lhe tanster command with the tlenu/OK key.
(Enler the password if lh€ program is passarord-proteclsd).
4 Wait lor the transl€r to end.
Display: > > > MEIIfORY thsn TRANSFER. OK when it is compteto.
5 ConIim agsin by pressing MendOK key to 6xit the menu.
R€ult: The display retums to lhe INPUTS-OIJTPUTS screen in RIJN mode and to
the MAIN menu in STOP mode.
70 SR2MANO1EN 112005
TRANSFER Menu
Backup Msmory Procedure ,or transrerring the application, from lhe backup memory toward the
J ilodule smart relay, for a smart relay with LCD and k3yboard:
Transfer
Step Action
1 lnsert tho EEPROM cadndg€ (SR2 MEMoI) with ths program lo be translerred into
the slol providod.
2 Select the kansler typs: ITIEMORY>ZELIO using the navigation keys v
^
3 Conlirm th€ lransler command with the MendOK key
4 Wail for th€ transfer to end.
Display: > > > ITODULE then TRANSFER, OK when it is complete
Confirm again by pressing lrlenly'oK to exit fle menu.
n!!ult: tho disphy relums to the INPUTS-OUTPUTS screen in RUN mode and to the
MAIN menu in STOP mode.
Procedura ,or transtening tha application, from the backup memory toward the
smart relay, for a smart l€lay without LCD or keyboard:
Step Action
1 Th€ $rad .elay nol porErrd on, insert tho EEPFOM cartridg€ (SR2 MEMOI) into
the slot providod.
2 Power up tho smart relay.
During fle kansfer, the LEO display is ofl.
3 Wait ,or ths transler lo €nd.
Dudng th€ transfer, th€ LED display is ofi, fDn at the end of the tanslsr fle LED ffashes.
4 . ll lhe flashing is slow (3 Hz), lhe transtsr has be€n successfut, the smad relay is in
RUN, remove the EEPROM cad.idge (SFi2 MEMoi).
. ll th€ flashing is rapid (sHz), th€ fansfer has tailod du6 to incompatibility b€tween the
configuralion n€csssary for the program to b€ translered and tiat ol the snart relay.
Note: When the smart relay is in STOP mode, the LEO disptay is lit and does not flash.
SFUMANoIEN 112005 71
TRANSFER Menu
Posslble Errors Below are tha possible enors and, (or 6ach casa, the messagss that are displayed:
. Absencr of backup memory
Enor message:
TRANSFER ERROR: NO MEMORY
. Conflguratlons of tho hardwaru and program to transter lncompatlble
Enor message:
THANSFER ERROR: CONFIG INCOMPAT (hardware or software rererencs
numbers).
Refer to the OEFAULT Menu, p. ZTchapter to consult the enor number and clear it.
Note: The transfer of one module program to another via a memory card is only
possible between smarl relays with the same reference. For example, it is
impossible to transfer a program from a module with a clock to a module that does
not have one,
Program It the application stored in backup memory was created with a version of the
incompatlble programming soltware that is incompatible with the lirmware ol the target smart
with tlrmwarc ot relay, proceed as lollows:
the module
Step Action
1 Load the applbation from the bad$p nerpry lo a sIllan rday wih conpatibls fi.mware
l{ota: ll no smart r6lay has lirmware ihat is compatibl€ wilh the appli€tion, uss the
programming soltwaro version lhat was used lo create the applicalion to load
compalible lirmware into lhe target smart relay:
2 Usa the v96ion ol the programming software thal was us€d to cr€ate the application
to load il lrom lho smarl relay toward the PC.
3 SavB lhe application uploaded in slep 2.
4 Launch the lat€st vgrsion ol lhe programming soltware.
5 Open the application saved in step 3.
Rosull: The programming software converts lhe application.
6 Load the converted application and the associated tirmware tothe targetsmart relay
SR2MANO1EN 1
'2005
VERSION Menu
VEBSION Menu
Description This function is used to precisely adentify the version o, each systam compongnt:
. Type ol hardwaro,
. Firmware,
. LD functions,
. FBD tunclions.
lllustration:
MODULE SB3B261BD
HAROWARE Ol.OO
FIRMWARE O1.OO
LD FUNC. 01.00.00 v
I +
> Menu / OK
This intormation is available ,or the smart relay, but also lor the connected extensions.
The Isymbol is present in the bottom righl, indicating the exislence oI extensions
connected to the smart module.
SR2MANo1EN 11/2@5 73
VERSION Menu
lllustration:
EXT XTl41BD A
HARDWARE Ol.OO
FIRMWAHE Ol.OO
+
> Menu / OK
To quit, press ths llenu/OK button, the display retums to the INPUTS-OUTPUTS
screen in RUN mode and to the MAIN menu in STOP mode.
74 SR2MAN01 EN 1 1/2005
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:
. English,
. French,
. German,
. ltalian,
. Spanish,
. Portuguese.
llluslration:
ENGLISH
a
DEUTSCH
ITALIANO I
a! ii > Menu / OK
Language The cunent language is indicated by the s€lection symbol (black diamond).
Selection Language selection proc€dure:
Step Action
1 Selecl the language using the navigation keys: v and a (the selection tlashes).
2 C,onlirm wilh he llenu/OK key.
R€ult The display retums lo lhe INPUTS-OUTPUTS scresn in BUN mode and to
th€ MAIN menu in STOP mode.
SR2MAN0lEN 11/2005 75
LANGUAGE MenU
76 SFUMANo1EN 112005
DEFAULT Menu
FAULT Menu
DEFAULT:001
CLEAR
YES
NO
at iV > Menu / OK
^
Resot to Zero ot To reset the fault counter to zero, proceed as follows:
the Fault Counter
Step Action
1 Selecl the YES choic€ using the navigalion kays v and a
2 Conlirm the dear command by prossing the enu/OK key.
Rssult: Tho display retums to the INPUTS-OUTPUTS scre€n in RUN mods and to
lhs MAIN menu in STOP mode-
SFoMANoIEN 11/2005 77
DEFAULT Menu
78 SR2MANo1EN 1l/2005
OEFAULT Menu
80 sFl2MANolEN 1112005
CHANGE DATE/TIME Menu
Oescription This function is used to configure the date and time of the smart relays that have aclock.
lllustration:
CHANGE D/H
THU 07 JUL 2OO3
16 | 27 30 s
CAL ! 02 secs/WK
(-I + r)
> Menu / OK
SR2MANO1EN I12OO5 81
CHANGE DATE/TIME [renu
Clock Calibration The quarlz lhat conlrols the reaFtime clock olthe smart relay has a variable monthly
drilt depending on the environmental conditions of the smart relay.
The maximum value for this drift is approximately one minute per month.
To estimate this dritt, proceed by observing the drift on the smart relay clock with
respect to a standard relerence clock for a few weeks or more.
Example:
lf you wish to compensate this drift, you can for example make a -'15 second
correc'tion per week to compensate tor a + 60 second dritt per month. This
compensation is executed on Sunday at one O'clock in the morning.
Note: This conection serves no purpose ifthe smart relay is subjectlo long power
intenuptions or major variations in temperature.
Clock Procedure
Conliguration
Steps Descriptiqn
,|
Select the parameter to modily using lhe navigation keys < and >
Result: The selecled parameler flashes.
(When you enter lhls mode, the day value is selected)
Modily the value of lhe parameter.
The + and - keys ol the contextual menu c€n be used to change the currenl value
3 Conllrm the changes by pressing th6 Menry'OK key
Result The display retums to the MAIN menu.
Note: The smart relay contains a sofrware module that determines the day of the
week when the user selects the day of the month in the year.
Note: You are nol allowed to modify the hour by a producl between 2:00 and 3:00
AM for the days of the change from summer to winter time (at 3:00 it is 2:00)
82 SR2MANoI EN 1 ,2005
CHANGE SUMMERYWINTER Menu
Descriplion This function is us€d to change lhe time range automatically: Summsr^rvintsr, ,or
smart relays with a clock.
lllustration:
CHANGE SUM/WIN
EUROPE
SUM M:03 D:5
WINTER M:10 D:5 rro
(-1- + r)
> Menu / OK
SR2MANo1EN 112005 83
CHANGE SUMMER/IVINTER MCNU
84 SR2MANOIEN 1
'2005
LD Language
At a Glance
Sublect of thls This sociion describes the use ol LD (Ladder Oiagram) programming language for
Sectlon the smart relay.
SR2MANOIEN 11/2@5 85
LD Language
86 sruMANol EN 1 1/2005
LD Language Elements
At a Glance
sublect ol thls This chapler describes ths different automation functions of the LD language.
Chapter
Auxiliary Relays 93
Discrete (OISCR) Outputs 98
Timers 103
Counters 114
Fast Counter 121
Count6r Comparator 132
Analog Comparators 't 34
Clocks 139
Texts 143
LCD Screen Backlighting 145
Change lo Summer / Winter Time 146
Modbus lnpulYOutpuls 148
Message 149
SR2MANO1EN 1 87
'2005
LD Language Elements
lntroduction
Description ln LD programming mode, an application can be created trom the interlace of the
lront panel oI the smart relay.
Here is detailed inlormation on allpossible elements ol a ladderdiagram 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.
Nole: When an application requires more than five contacts to activate an aclion,
the auxiliary relays may be used.
Sample Ladder Below is an example of a ladder diagram, as it appears on the display of the front
Dlagram panel ol a smart relay:
11--r ----RT1
12--J
13- -M3- ---'21' --SMl
L. TT1
88 SR2MANO1EN 11/2005
LO Language Elements
Discrete lnputs
use as a contact rhis contacl may us€ the direct stats ollhe input (normally open mode) or its inverse
state (mode normally clossd), see below.
Normally open mode:
Symbol o, a normally open contact:
A normally open contact corresponds to the use ofthe dlroct state oI the input. lrthe
input is supplled, the contact is said to be conducdng.
Example: Switching a lamp on and ott with a pushbulton.
tl _I 01
A normally closed contacl corresponds to the use oI the reverse slate (logical
complement o, the direct state) oI the input. l, the input is supplled, the contact is
said to be nonronductlng.
Example: Controlling a lamp using an input in reverse state.
il _ lal
ll input t is supplied, csntact il is open, and coit Ot is non-activated.
SR2MANOIEN 11/2@5 89
LD Language Elements
Modlflcatlon ol To modify a contact lrom the front panelolthe smart relay (the programming window
the state ol a displayed on screen), simply:
contact . Place the cursor over the letter ol the contact,
. Proceed as described in the paragraph Modrying an element,, p. /u,lo sctoll
through the possible contact types (l for a normally open contact, i lor a normally
closed contact).
90 SR2MANO1EN 112005
LD Language Elements
Zx Keys
Description The navigation keys behave exactly like the I physical inpuls (Discrele inputs). The
only ditference is that they do not correspond to the smart relay's connection
lerminals, but to the lour gray buttons on the tront panel.
They are used as pushbuttons, and can only be used as contacts.
Use as a Contac{ This conlact may use the direct state of the key (normally open mode) or its inverse
state (mode normally closed), see below.
Normally open mode:
Symbol oI the normally open contact, repres€nting a key:
z-
The normally open mode corresponds to the use ol ihe direct state ofthe key. lf the
key is pressed, the corresponding input is said to be conducling.
Normally closed mode:
Symbol of the normally closed contact, representing a key:
z-
The normally closed mode corresponds to the use oI the reverse state (logical
complement of the direct state) ot the key. lf the key is pressed, the corresponding
input is said to be non-clnductlng.
21-Ia1
Each time the 21 key is pressed, the Q1 output changes state
Deacllvatlon of By defauh the Zx k€ys are active. They may be d€activated in on€ ot th8 lollowing ways
Zx Keys . From the smad relay tront panel: Using th6 monu : CONFIGURATION --r Zt
KEYS, see Z( KEYS Menu, p. A,
. From lhe programming software: See on-line hglp of the programming software
lor more information.
Noto: When the smart relay is in RUN mode, if the Zx keys have been deaclivaled,
they cannot be used for inputs in the program, but can be only used for navigaling
the menus.
Modlflcatlon ot To modify a contacl lrom lhe rront panelofthe smart relay (the programming windon,
the state o, a displayed on screen), simply:
contac-| . Place the mouse over lhe letler representing ths contac't,
. Proceed as described in the paragraph ModMng an alement,, p. 44,1o *toll
through the possible crntact types (Zrora normally open contac'i, z fora normally
closed contact) .
92 SR2MANOlEN 1'2005
LD Language Elements
Auxiliary Relays
Description Auxiliary relays marked M behave in exactly the same way as Q Discrete outputs
(see Discrcte (DISCR) OutpuE, p.94, but do not have an electrical oulput contact.
They can be used as intemal variables.
There are 31, numbered from 1 to 9 and lrom A to Y except for letters l, M, O.
Any auxiliary relay may be used, in the program, inditferently as c.oil or contact. They
are used to memorize a state that will be used as the associated contact.
SR2MANOIEN 11/2005 93
LD Language Elements
Use as a Coil To use an auxiliary relay as a coil, lour modes are available:
. Contac'tor mode,
. lmpulse relay mode,
. Latch mode,
. Unlatct mode.
Conlactor mode:
Symbol of an auxiliary relay, used as a coil in contactor mode:
tM.
The relay is energized il the contacts to which it is connected are conducting
OtheMise it is nol energized.
lmpulse relay mode:
Symbol oI an auxiliary relay, used as a c-oil in impulse relay mode:
JM-
SM.
The SET relay, also called lhe latch relay, is energized as soon as the conlacts lo
which it is connected are conducting, then stays set even if later lhe contacts are no
longer conducting.
This behavior is identicalto that oI an RS logic flipflop.
Unlalch mode:
Symbol of an auxiliary relay, used as a coil in latch mode:
RM-
The RESET relay, also called the unlatch relay, is deactivated when the contacts to
which it is connected are conducting. ll remains deaclivated even if later the
contacts are no longer conducting.
Note: for reasons of upward compatibility for the programs operating with zelio 1,
the fourtypes of mode for any given Q outpul mil or M auxiliary relay can be used
in the same wiring diagram in Zelio 2.
94 sR2MANol EN 1 1/2005
LD Languags Elements
Use as a Contacl Auxiliary rslays can be used as contacts as many times as necessary.
This contact may use the direct state ofthe relay (normally open mode) or its inverse
state (mods normally closed), see below.
Normlly open mod€:
Symbol ol an auxiliary relay, used as a contact in normally open mode:
A relay used as no.mally opcn contacf corresponds to the use of the direct state
of the relay. lf it is powered, the contact is said lo b€ conducllng.
Normally closed mode:
Symbol o, an auxiliary relay, ussd as a contact in normally closed mode:
m-
SR2MANO1EN 1112005 95
LD Language Elements
Example ln the lollowing example turning on and off a lamp is conditioned by the status of the
six following inputs: ll, 12, 13, 14, 15 and lB.
The is lit when:
. The ll,14, 15 and lB inputs are set to lhe state 1,
and
. The 12, 13 are set to state 0.
Because the sma relay does not allow more than five contacts on a line, auxiliary
relays are used lo control the lamp.
You ctoose to memorize the state of inputs l'l , 14, 15 and lB using the auxiliary relay
Ml and memorize the state ol inputs 12 and 13 using the auxiliary relay M2. The lamp
is controlled by relays M1 and M2, used respectively as normally open contact and
as normally closed contact.
lllustration:
Entde 1 Enlr6€ 5 EnE€ B
I1 74 I5 IB tM1
Ent6e 2 Entd€ 3
I2 I3 It12
Auriial€ 1 AJrillairc 2
tQ1
Modifylng rhe To modity the use mode of a clilor a contact from the front panel ofthe smart relay
Mod6 of a Coil or (the programming window displayed on screen), simply:
a Contact . Position the cursor on the symbol representing the coil mode or on the letter o,
the contact,
. Proceed as described in the paragraph Modilying an element,, p. 44,1o sctoll
through the possible modes for a coil or contact types possible (M for normally
open coniacl, m for a nomally closed contact).
96 SR2MANo1EN 1112005
LD Language Elements
Latching By dslault, after a power failure, the relay is in lhe state lhal corresponds lo program
initialization.
To restore the slata of the output backed up at the lime ol power loss, it is essential
to activate latching:
. From the tront panel: From the PARA ETERS (S€e P/4&4METERS Menu,
p. 5r) windo,v,
or
. ln the programming software: Enable the Latchlng option in the parameters
window associated with lhe relay.
sR2MAltorEN 112@5 97
LD Language Elements
Descrlpllon Discrete outputs correspond lo the oulput relay coils ol the smart relay. These
outputs are numbered from 1 to 9, then from A to G, acc,ording lo the smart relay
and any extensions,
Any Discrete ouFut can be used, in the program, indiflersntly silhgr as a coil or a
conlact.
98 SR2MAN0lEN l112005
LD Language Elements
Use as a Coll To use a Discrete output as coil, Iour modes are availablo:
. Contactor modg,
. lmpuls€ ralay mode,
. Latch mode,
. Unlatch mode.
Contaclor mode:
Symbol of a Discrote output, us€d as a coil in contactor mode
to.
The coil is energizsd iI the contracts to which il is connected are conducling
Othenvise il is not onergized.
lmpulse rslay mode:
Symbol ol a Discrete output, used as a coil in impulse relay mode:
Ja-
Pulse energization, the coil changes state on each pulse it receives
For example: Swilching a lamp on and off with a pushbutton:
il
-rQi
A pushbutton is connectad to input 11 and a lamp to output Ol. Each tim6 the button
is prsssed, the lamp will tum on or off.
Latch modo:
Symbol ol a Discrete ouFut, us€d as a coil in latch mode:
SQ.
The S€t coil, also called the latch coil, is energized as soon as th8 contacts to which
il is connected are conducling, lhen stays set even i, latsr the contacG are no longer
conducting.
This behavior is identical to that ot an RS logic fliptlop.
Example: Switching a lamp on and off using lwo pushbuttons: See Latching Mode
below.
SR2MANO1EN 112@5 99
LD Language Elements
Unlatch mode:
Symbol ol a Discrete outpul, used as a coil in unlatch mode:
RQ.
The RESET coil, also called the unlatch coil, is deactivated when the cutacts to
which it is connected are conducting. lt remains inactivs sven if laler the contacts
are no longer conducting.
Forexamole: Switching a lamp on and off using two pushbuttons: See Unlatch Mode
t1 sQl
t2- RQI
-
BPI'I is connected to input ll . BPl2 to input 12. The lamp is controlled by odput Q1 .
The lamp tums on when pushbutlon BPll is pressed, and it tums ott when
pushbutton BPl2 is pressed.
Note: For reasons of upward compatibility for programs operating with Zelio I
smart relays, thefourtypes of modes for any given Q output coilor M auxiliary relay
can be used in the same wiring diagram in Zelio 2.
ln this case, the operating mode is determined by the coil activated first.
Use as a Contact An ouFut can be used as an auxiliary contac't as many times as necessarry.
This contact may use ths direct stale of the output (normally open mode) or its
inverse state (normally closed mode), see b€low.
Normally open mode:
Symbol ol a Discrete output, used as a contac't in normally open mode:
a.
An ouFut used as a normally open auxiliary contact corresponds to the us€ o, the
diracl state oI the ouFut. lf it is powered, the contact is said to be conductlng.
No?mally closed modo:
Symbol ot a Discrete ouFut, used as a conlac{ in normally closed mode:
q-
Modltylng the To modify the operating mode oI a coil or a contact lrom the front panel of the smarl
Mod6 ot a Coll or relay (the programming window displayed on screen), simply:
a Contact . Position the mous€ on the symbol represanting the coil output mode or on the
letter of the contacl rapresenting the ouFut,
. Proce€d as dsscrib€d in the paragraph Mdifying an element,, p.44,losctoll
through the possible modes for a coil or contact types possible (O ,or normally
open contacl, q for a normally closed contact).
Latchlng By default, afler a power lailure, lhe relay is in the state thal conesponds to program
initialization.
To reslore the stats oI ths outsut backed up at the time ol powar loss, it is essential
to activate latching:
. Irom lhe tront panel: from the PARAIIETERS (See PARAMETERS Menu, p. 51)
vvindow,
or
. in ths programming soltware: Enabls the htchlng option in the paramsters
window associaled with the output.
Timers
Descrlptlon Ths T'lmer Iunc'tion is us€d to delay, prolong and control actions over a
predotermined time. Durations can be set using one or two preset values, accoding
to the type of tjmer.
There are 1 'l types of timors:
. On delay (A),
. On delay, stop by reset (A),
. Otf delay (C),
. On pulse one shot: Pulse calibrated on the command input (B) falling edge.
. Timing afler pulse: calibrated on ,alling edge of the command input W),
. Flasher unit, control hsld down synchronously (D),
. Flashsr unit, Press to starustop, Synchronous (D),
. Time on addition [0,
. NC,
. Flashar unit, control held down asynchronously (L),
. Flashsr unit, Press to starustop, Asynchronous (l),
Reter to lhe Timing Diagrams paragraph for the description ol ditterent types o, timers.
The smart relay has l6timerfunction blocks, numbered from 1 to 9 then lrom Alo G,
Each block has a reset input, a command input and an output used to indicate timer
time-out.
TT.
Each typ€ involves a specilic op€ration, which can be used to manage all possible
scsnarios in an application.
R€61 lnput:
Symbol o, th6 Command lnput coil of a timer:
RT.
Energization ol the coil causes a reset of the current timer value: conlact T is
deactivated and the lunction is ready lor a new timer cycle,
Not6: this coil is only necessary for pulse starustop type timers.
1M SR2MANoTEN 11,2005
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. lt may be used
according to 2 modes: normally open or normally closed, describ€d below.
Normally open mode:
Symbol of the normally open contact associated with a timer:
T.
A normally open contact corresponds to the use ol the direct state of the output of
the Timer function block lf this output is active, the contact is said to be
conductlng.
Normally closed mode:
Symbol of the normally closed contact associated with a timer:
t-
A normally closed contact corresponds to the use of the reverse state (logical
complement otthe direct state) ofthe output ol the Timer lunction block. lfthis odput
is active, the contact is said to be non-conductlng.
Conflguratlon The block's parameter settings can be accessed either when entering ths command
from Front Panel line or from the PABA ETERS menu if the block has not b€€n padlockad.
The difiergnt parameters lo fill in ara as iollows:
. Tirn€r type,
. Preset value(s),
. Tim€ unit,
. Parametsr lock,
. Lalcting.
Typo ot tlmer:
This parameter ailows you to c+Eose the type ot timer runction from among the l'l
types available. Each type is represenled by a letter:
. A: Active, control held down,
. a: Active, Press to starustop,
. C: Off delay
. A,/C: Combination of A and C,
. B: On puls€ one shot: Puls€ calibrated on the command input rising edge,
. W: Timing after pulse: Puls€ calibrated on the command input falling edge,
. D: Flashor unit, control held down synchonously,
. d: Flasher unit, Press to starustop, Syncfironous,
. L: Flashor unit, control held down asynchronously,
. l: Flasher unit; Press to slarustop, Asynchronous
. T: Time on addition.
Preaet valus:
Depending on the type of limsr, thsre can be 1 or 2 prsset values:
. 1 only preset value (types: A, a, C, B, W, D, d and T:
t
on-delay or otl-delay according lo type
. 2 only preset value (types: A/C, L and l):
A
: Timer on-delay in the case or I'lC type; active state in the case of
tlasher units L and I
B
Timer off-delay in the case of A/C type; inaclive state in the case o,
flashgr units L and l.
Tlme unll:
This is lhe lime unit for the pres€l value. There are five possibilities
Unit Symbol Fo,m Maximum value
HourS
H 0,000 h 9.999 h
o7 y lo, typ€ T.
Parametei lock:
Symbol ot the Parameter Lock parameter:
I Verrouill6
E Non verrouil16
Locking prevents locked paramelers ,rom being modiried from the front panel oI the
smart relay using the PARAMETERS menu.
Latching:
By default, if a power break occurs while a timsr function block is running, any
information on time already elapssd is lost. When the supply voltage retums, the
tima function block is rainitialized and ready for a new operating cycle.
lf the application requires it, the lime elapsed b€fore ths power break can be
memorized using the Latchlng parameter.
Symbol of the Latchlng parameter:
This function is used to save thg state of the time/s current values and memorize
the elapsed time in the svent o, a power break.
llluslration: Configuring a counler lrom the front panel oI the smart relay:
98
llenu / OK
5 6
Description:
Number Parameter Descliption
1 Command lnput Command input timing diagram.
Reset input Beset input liming diagram
3 Timer output Tlmer oulpul timing diagram.
4 Parameter lock This parameter is used to lock the countet
Timing Diagrams Timing diagrams are povided here to illustrate the various b€haviors of the Timer
Iunciion block, according to the type ot timer chosen:
Active, conlrol hold down (type A):
The following diagram shows the operation of the type A timer:
TT
RT
TT
RT
Noto: each pulse on the TTx input resets the cunent timer value to 0
TT
RT
-r_.
tA t<
<H
tA
TT
RT
t<tA
TT
RT
TT
RT
1 10 sR2'!tAN01 EN 1
'2005
LD Language Elements
TT
RT
T IIT
Flasher unlt, Press to starUatop, Synchronous (type d);
The lollowing diagram shows the operation of the type d timerl
TT
RT
T III
Note: each pulse on the TTx input resets the cunent timer value to 0.
TT
RT
T II I
tB
TT
rI
RT
T I
t2
Note: each pulse on the TTx input resets lhe cunent timer value to 0.
Modlfylng the To modity the use mode of a coil or a contact from the tront panel ol the smart relay
Mode of a Coil or (lhe programming window displayed on screen), simply:
a Contacl . posilion the cursor on lhe symbol representing the coil mode or on the letler ol lhe contact,
. proceed as described in the paragraph Modifying an element,, p.44,loscfoll
through the possible modes lor a coil or contact types possible (T for normally
open conlact, t tor a normally closed contact).
lnitialization State of the contacts and cunent values on initialization ot the program:
the normally open mode (direct state) is inactive,
the normally closed mode (inverse state) is actlve,
the current valuqs) is (are) zero(s).
-- -- -- r1- - - - - - -rr1
-- ----12-------RT1
------r1------- [Q{
To obtain the desired operation, you should use a type B timer (On pulse one shot),
and conligure lhe duration ot the timer for 2 minules 30 seconds. To thus configure
the timer duration, choose lhe time unil ll:S and you enter the value 02:30 lor the
preset value l.
llluslralion: Time/s conf iguration screen:
TT1 Bry
RTI M:S
T1
3 t = 02:30
(-I +r)
> Menu / OK
Counters
Description The Counter funclion is used to upcount or downmunt pulses. The smarl relay has
16 timers, numbered from 'l to 9 then lrom A to G.
The Counter function can be reset lo zero or to the preset value (depending on the
chosen parameter) during use.
It can be used as a contact to find out whether:
. The preset value has been reacted (upcounting mode TO),
. The counter has reached 0 (downcounting FROM).
cc-
when used as a mil in a control diagram, this elemenl represents a counting input
tor the tunclion. Every time the coil is enelgized, the counter is incremenled or
decremented by 1 according to the counting direclion chosen.
Examole: Counting pulses delivered by counter no. 1.
tl cc.t
-
Every time input l1 is energized, the counter no. 1 is incremented by 1
RC-
When used as a clil in a clntrol diagram, this element represents an input that
resets the counting lunction to its initial state.
zt
-Rcl
Every time key 21 is pressed, the counter starts lrom 0.
Countlng Direction inpul:
Symbol ot the Counting Direction lnput coil of a timer:
DC.
Note: By default, if this input is not wired, the automation function counts
t2----{cl
lf the 12 input is active, the automation function downcounts
Use as a Contact The contact associated with lhe rapid counter indicates whether ths preset value
(TO mode) or zero (FROil mods) has been reached.
It may be us6d as many limes as necessary as many times as necessary in the
program. lt may be used according to 2 modes: normally open or normally clqsed,
describ€d b€low.
Normally open mode:
Symbol ol th€ normally opsn contact associated with a counter:
c-
. The current counter value has not r€ached the preset value, iI the counter is in
TO mode (upcounting mode).
. lhe current countsr value has not .oached the preset value, if the counter is in
TO mode,
Example: LightirE an LED cunected to counter oulput No. 'l CIOmode).
ct _ [Qr
Whan the preset value has been reached: The LED is lit; otheMise it is otf.
Conflguratlon The block's parameter settings can be accsqs€d eitherwhen entering lhe command
from Fronl Panel line or from the PARAMETERS msnu iI lhe block has nol b€en padlocked.
The ditlerenl parameters lo rill in are as Iollows:
. Typa of counting,
. Preset value,
. Parameter lock,
. Latching.
Typ€ ol counllng:
Symbol ol the Type of counting parameter:
T
Locking prevonts locked paramelers trcm being modifi€d from the ftont panel o, the
smart relay using the PARAMETERS menu.
Lalchlng:
Symbol of the Latching parameter:
This funciion is used to save the stata ol the @unto/s cunent valu€s in the event ot
a power cul.
lllustratlon: conliguring a counter from the front panel oI the smart relay:
J
l-| ccr lt ry
2-+ RC1
3-| cl
1-, t Dc I T: TO P = 00175
(r + r)
> Menu / OK
Description
Numbel Paaameter Descrlptlon
1 Command lnput Control input timing diagram (lollowing pulse)
2 Reset lnput Counter reset input liming diagram.
3 Counter output Counter output timing diagram
4 Parameter lock This parameter is used to loc* ths counler parameters. When
5
E
Type ol qountinE
the block is loc*ed, the prosat value no longerappears in the
PARAMETERS menu.
Up-counting towards the preset value: TO mode or up-
counling lrom lhe presel value: FBOM mode.
6 Prcset value Counler presel value.
7 Latching Backup of slate ofthe curent @unlervalue in lhe event ol a
power lailure.
Current Counter The current value is the value at any given time resulting from the successive up/
Value down counting actions that have occurred since the last time the munter was reset
to its initial state.
This value is between 0 and 32767. Once these values have been reached, a down
munt will leave the value 0 and an upcount will leave the current value at + 32767.
Timing Diagrams ln the timing diagrams the blue curves represent the current value of the cgunter:
The following figure shows the operation of the counter in up-counting mode with
toward ihe preset value: TO mode:
lnitialization: R
Countlng
direction:
Curentcounte,
r High saturatiotl
:
_L- -+32767
LOW
rati
0
Output: c
The following figure showsthe operation ol the counter in upmunting mode from the
preset value: FROM mode:
lnitialization: R
Counting
dlrecllon: D
Hioh satulatlon
Cunent counte.
-- - +32767
0
Output: c Low saturalaon
Modlfylng lhe To modily the use mode oI a coil or a contact from the front panel ol the smart relay
Mode of a Coil or (the programming window displayed on screen), simply:
a Contact . Position the cursor on the symbol representing the clil mode or on the letter of
the contact,
. proceed as described in the paragraph Modifying an element,, p. 44,1o sctoll
through the possible modes ,or a coii or contact types possible (C for normally
open contact, c for a normally closed contact).
lnitlalizalion State oI the conlacts and curent value on initialization ot the program
. the normally open mode (direct state) is lnactlys,
. The normally closed mode (invers€ state) is actlve,
. The currcnt value is zero,
Examples Below, three simple examples ot the use oI a countsr (configured in upcounting
mode toward tha preset value):
Sca€on Descriptlon
Fast Counter
Descriplion The Fast Counter function is used to cpunt pulses up to a frequency oI 1 kHz.
Use oI the contact Kl indicates:
. the preset value has been reached (up-counting),
. the @unter has reached 0 (down-counting).
The fast counter inputs are implicitly connected to the 11 and 12 smart relay inputs:
. a pulse (rising edge) on the ll input increments the counter,
. a pulse (rising edge) on the 12 input decrements the counter.
These inputs should not be used on the wiring sheet.
The Rapid Counter lunction can be reset to zero during use by the BKI coil.
. 0 if it is in up-count mode towards the preset value
. the presel value iI it is in down-count mode lrom the preset value.
The counler only operates il the TKI conlirmation coil is active.
Repetitive mode can be used with a time-delay value.
Use ot Coils Two coils are associated with the rapid counter:
. coil TKl: Enable funcuon lnput,
. coil RK1: Reset lnltlal counter stalo lnput.
Tha use of these coils is described below.
Enable tunctlon input:
Symbol of ths Enable Function lnput coil ot the rapid counter:
TKl
This elemenl is used to confirm the counter. Whan this coil is activ€, each pulse on
the ll input will increment the rapid counter and eact pulse on th€ 12 input will
decremenl it.
Re3al lnitlel counte. atate lnput:
Symbol of the Reset lnitial Counter State lnput:
RK1
zl _ RKt
Use as a Contact The contact associated with lhe rapid counter indicates whether the preset value
(TO mode) or zero (FROM mode) has been reached.
It may be used as many times as necessary in the program. lt may be used
according to 2 modes: normally open or normally closed, described below.
Normally opcn mode:
Symbol of the normally open contact associated with the rapid counter
kl
When the preset value has been reached: LEO is lit; otheMise LED off.
Contlguration The block's parameter settings can be accessed either when entering the mmmand
from Fronl Panel line or from the PARAMETERS menu if the block has not been padlocked.
The ditferent parameters to lill in are as follows:
. Cycle type,
. Pulse duralion,
. Presel value,
. Typ€ ol counting,
. Parameter lock,
. Latching.
Cycle typ€:
This parameler dglermines lhe behavior of the rapid counter when it reaches lhe
preset value (when it is in TO mode), or when it reaches the value zero (when it is
in FROiI mode):
The cycle type may be:
. Slngle: reacting the preset value (Rep€tltlve mode) or ol the zaro value (FROM
mode) does not aflect the current valu6 of the counter.
The current counlervaluo changes on an on-going basis. Ths outsut is activated
when the cunent value is grsater than the preset value OO mode) or when the
current value is less than the preset value (FROil mode).
. Ropotltlve: in the TO mode, the currant value is reinitialized wh6n it reaches the
preset value in the FROM mode, it is reset to tha prsset value when it reaches
zefo.
The ouFul is anabled tollowing this roinitialization and remains active during a
period of lime that can be conligured with the parameter: Pulso duratlon (from I
to 32,767 timos 100 ms).
This parameter is only displaysd if the cycle is repetitivs. lt det€rmines the duration
du ng which the rapid counter remains active when the current value reaches the
pr€sst value (when it is in TO mode), or when it reaches the valus zero (when it is
in FROM mode).
This value must be between I and 32,767 (x 100 ms).
Pres€l value:
Symbol of the Presel valuo parameter:
Locking prevenls locked paramelers from being moditied ,rom the ftont panal of the
smart rslay using the PARAMETERS menu.
Latchlng:
Symbol of the Lrtchlng parameter:
This lunction is used to save the state ot the rapid munte/s cunent values in the
event of a power cut.
lllustratlon: configudng a counter lrom lhe fiont panel of tho smart relay:
KI ty
l-| REPETITIVE
2-, l=00001 P=+00013 5
3 --> e Dcl T:FROM
r(r + r)
Menu / OK
Description
Number Paramoter Descrlption
1 Cycle type Single/Bepetitive
2 Pulse duralion Only if lhe cycle is repgtitive
3 Parametsr lock This paramoter is us€d to lod( the counter
Current Counter Value at any given instant resulting lrom succ€ssive up/down counts since lhe last
Value counbr rsset to its initial state.
lI the cunenl value of lhe counter exceeds the upper limit: +92,767, it is sst to -
s2,768.
It tho cunent value of the munter ex@eds ths lower limit: -92,767, it is sel to
+32,768.
Timlng Dlagrams Timer diagrams are provided here to illustrate tha various behaviors oI ths rapid
counter acc€rding to its configuration:
. up-counting lunclion TO, in single cycle mode,
. down-counting function FROM, in single cycle mode,
. Up-counting func{ion TO, in repetitive cycle mode,
. down-counting lunclion FROltl, in repetitive cycle mode.
For the follo$.ing 4 charts, the blue curve represents the currenl value ot the counter.
When it incrsases, it is b€causs of pulses on l1 and when it decreases, il is because
ol pulsss on 12.
UFcounling lunctlon ln slngls cyclo mode:
The ligure below illuslrales lh€ counter funclion in upcounting and single cycle mode:
Confirmatlon
lnitialization
CURRE},IT-COUI{
TER_VALUE -------+32767
- - - - - - - 32767
Output
lnltiallzation
CURRENT-COUiI
TER-VAIUE --- - +32767
- - - - -3276?
Output
lnitiallzatlon
cuRREiar_coulr
TER_VALUE , _ t .+32767
-i- - - -32162
Output
H '€
timlng : umtng
:.-):
Tlm. f timlno
The output switches to the lnactlve stale when the predefined pulse duration value
has run out. l, the switch condition is Active b€fore the switch to the lnaclive state,
the output pulse is extended by the Pulse Duration Cnming).
lnitiallzatlon
cuRREIT_COUit
TER-VALUE _- __ _+32767
-,- - __ _ a2767
Output
,r,nitttin,ns
The output switches to the lnactlve state whsn the predefined pulse duration value
has run out. ll the switch condition is Active b€Iore the switch to the lnactive state,
the outpul pulse is enendsd by the Pube Duration Cnming).
Modifyhg tha To modify lhe use mode ot a mil or a clnlact from the front panel of the smart relay
Mode of a Coll or (the programming window displayed on screen), simply:
a Conlact . position the cursor on th6 symbol representing the coil mode or on the letter of
the contact,
. proce€d as doscribed in the paragraph ModMng an elament,, p. 44, to *toll
through the possible modes for a coil or clntact types possible (K for normally
open contact, k for a normally closed contact).
lnitialization State of the mntacts and current value on initialization oI the program:
. the normally open mode (direct state) is inactive,
. the normally cloaed mode (inverse state) is active,
. the current value is zero.
Example Below, an example of using a rapid counter: output Q'l is set to 1 when the rapid
counter is set to l; lhe counler is activated by input 13 and reset lo 0 by input 14.
K1------------- tQ1
f3 ------- --- - --TK1
r4---------- ---RK1
Counter Comparalor
Descriptlon This function is used to compare lhe current counting values of two counters or of a
@unter and a constant value,
Note: The Countar Comparator function block can only be configured from the
programming sofrware in Free Entry mode.
See on-line help of the programming software for more information.
Use as a Contacl The counter comparator indicates whelherthe chosen condition is verified It is used
as a contact, in normally open mode or in normally closad mode.
Normally open mode:
Symbol of the counler @mparator, in normally open mode:
Conflguration The Counter Comparalor function block cannot be configured trom the front panel
from the Front of the smart relay. This ,unction must be configured from the programming software
Panel
Ss€ online help oI the programming sottware for more infomation on configuration.
Modifying the To modify the operating mode of a coil or a contact trom the front panelofthe smart
Mode of a Coil or relay (the programming window displayed on scraan), simply:
a Contacl . Position the cursor on the symbol representing the coil mode or on the letter ol
the conlact,
. Proceed as dsscribed in the paragraph Modilying an element,, p.44,lo sctoll
through the possible modes for a coil or possible conlact types (V tor normally
open contact, v for a normally closed contact).
Analog Comparators
Use as a Contact The contact shows the position ol a measured analog value in relation to a reference
value or to another measured value.
It may be used as many times as necessary in the program. ll may be used
according to 2 modes: Normally open or normally closed, described below.
Normally opon mode:
Symbol of the normally open contact associated with a, Analog Comparator:
A.
x1 rt
These variables are chosen from among the following:
. Numbered analog inputs from lB to lG (maximum configuration),
. Reference value R
Comparison operator:
The mmparison operator is chosen using the number in the upper right-hand side
ol the screen.
The table below provides the correspondence between this number and the
comparison formula that will be used:
Number Comparison tormula
1 xl >x2
2 x1 >x2
3 xl =P.
4 x1+x2
5 x1<p
6 x1 </2
7 comparison with hysteresis; xl - H < x2 < x1 - H
Reterence value:
Symbol ol the reference value:
Parameter lock:
Symbol o{ the PaEmeter Lock parameter:
c Verrouil16
E Non verrouill6
Locking prevents locked parameters lrom being modified from the front panel otthe
smart relay using the PARAMETERS menu.
lllustration:
Configuration from the lront panel ol the smart relay, of the hysteresis-type
comparator with constant reference value:
1 A1 ANALOG 7
2 x1-H<82<x1+H
R=4.0 x1=R
3 lH=1.5 x2=le
(r + r) l
> Menu / OK
ln this case: The comparison condition is verilied when the power to the input
terminal le is between 2.5 Vand 5.5 V.
1 A1 ANALOG 5
2 r1<r2
x1=ld
3 I x2=le
(r6 + r)
> Menil / OK
(lf neither x'l nor P are not set to R, parameter R does not appear.
Description:
Number Parameter Description
1 Type oI comparlson The number thal Iollows ANALOG
conesponds lo the selected comparison
operalor.
2 Comparison formula Formula used lor comparison
3 Paramete. lock Locking prevenb loc*ed paramaters from
Modlfylng rhe To modily a contact from thefront panelofthesmad relay (the pogramming window
Mode of a Coll or displayed on screen), simply:
a Contact . Place the cursor over the letler of the contact,
. Proceed as described in the paragraph Modifying an element,, p. 44,1o sctoll
throughthe possible contact types (Alora normally open contac't, afora normally
closed contact).
lnitialization State of the contacts and currenl value on initialization o, the program
. the normally open mode (direct state) is inactive,
. The normally closed mode (inverse state) is active.
Example To order a heating resistance using smart relay output Ql when the temperature is
below 20' C.
A temperature probe is used, providing a 0 to 10 volt signal for a -10" to +40' C
temprature range. A temperature of 20" C corresponds to a vottage level oI 6 volts
on the probe.
You would write the following Ladder program:
A1------------- tQ1
A1 ANALOG 5
x1 <x2
R=6.0 x1=lb
I x2=R
(r + r)
V > Menu / OK
Clocks
Descrlptlon The Clock tunction is us€d to validate the time rangas during which actions can be
executed.
The smart relay has I Clock function blocks numbared lrom 1 to 8. Each ol these
has four programming ranges and behaves like a weekly programmer. The Clock
function blocks are used like contac{s.
Use as a Contacl This contact may use the direcl state of the Clock Iunction block (normally open
mode) or its inverse stats (mode normally closed), see below.
Normally op6n mode:
Symbol of the normally open contact, representing a clock:
o- H-
o- h-
Configuratlon Configuration screen ol a Cloc* funclion block lrom the lront panel of the smart
from Front Panel rslay:
+++
123
lf the clock is set to ON on Monday at 23:00 and set to OFF on Monday at 1:00, then
it does not change to OFF on Tuesday at l:00 but etfectively on the ,ollowing
Monday at 1 :00. Moreover, iI no other command has been made, the clock remains
positioned at ON all other days of the week.
Modifying the To modify the use mode oI a coil or a contact from the front panel oI the smad relay
Mode ol a Coll or (the programming window displayed on screen), simply:
a Contact . Place lhe cursor over the letter of the contact,
. Proce€d as described in the paragraph Modwing an element,, p. 44,10 sctoll
through the possible contact types (H lor a normally open contac't, h for a
normally closed contact).
sR2NiANorEN 1 141
'2005
LD Language Elements
Example You wish to contola device connecled lo the Q2 output ortha smart rBlay. You want
it to be activa on the following two clock ranges:
. from Monday to Saturday, from 09:00 to l3:00.
. from Monday to Friday, ,rom 15:00 to 19:00,
For lhat, lhe H1 Clock block is used and the lollowing wiring diagram is created:
H1------------- tQ2
Whsn entedng lhe Hl Clock block, configure the operational ranges A and B as
described in tha table belolv:
Screen Commenl
<F + -t
> Menu / OK
<F + -|
> ilenu / OK
142 SR2MANO1EN
'12005
LD Language Elements
Texts
Description The Text automation function is used to display texts or a numerical value (current
value, preset vatue, etc.) on the LCD instead ol the INPUTS-OUTPUTS screen:
The smarl relays have 16 Text blocks, numbered lrom 1 to I then from A to G
These Iunclion blocks are used as coils.
Up to 16 text blocks can be used (fX1 to TXG) simultaneously in one program, but
only the block with the highest number is displayed.
Pressing the Shlft and Menu/OK keys in order and simultaneously, switches the
display from the TEXT screen to the INPUTS-OUTPUTS screen.
Pressing the two keys again simullaneously retums the display to the TEXT screen
Note: The Text blocks are only programmable from the programming software
(see the on-line help for the programming soft\ ,are for more information).
Use as a Coll Two coils are associated with each Ten bbck:
. Dlsplay Actlvatlon coil,
. Dlsplay Deactlvation coil.
The use ol these coils is described below.
Dlsplay Actlvatlon
Symbol o, lhe Command lnput coil o, a Text function block:
TX
This coil displays on the screen the text and/or tha values of the associated Text
block when the contacts that are connected are conducting.
Dlsplay deactivatlon
Symbol ol the Display Deactivation coil of a Text tunclion btock:
RX
This coil deactivatas the display ot the texl and,/or the values of the associated Text
block when the contacts that are connectad are conducting. The display returns to
the INPUTS-OUTPUTS screen.
Example:
t1 TX1
t2 ru(l
-
-
Activation ol input 11 displays the ten on the LCD. Activating input 12 makes the text
disappear.
Conliguratlon The Text lunction blocks are only programmable ,rom the programming software,
se€ lhe on-line help for lhe programming software for more informalion.
Oescriptlon The screen backlighting oulput is used to control the backlighting oI the LCD by a
program.
ln STOP and RUN modes, tha LCO screen is lit lor 30 seconds when the user
presses any oI the buttons on the tront panel.
Used as a Coll Used as a coil, it lights up the LCD when the contac.ts lo whict il is cunected are
clnducting.
Symbol ot the coil of the LCD screen backlighting function:
TL1
Descrlption The ouFut of this function is in an OFF stale over the enlire duration of winter time,
and swilches to ON lor the entire duration oI summer lime.
By default, there is no change in winter / summer time. This ,unction must b€
activated, eitherlrom the programming sottware, orlrom thefront panelofthe smart
relay,
To activate this ,unction lrom the front pan€l ol the smart relay, proceed as
descdbed in chaptet CHANGE SUMMER/WNTER Menu, p. 83.
Noto: This function is only available for smart modules that contain a real-time
dock-
Use as a Contect When used as a contact, this element indicates the current season.
h may be used as many tim6s as necessary in the program. lt may be used
according to 2 modes: normally open or normally closed, describod below.
Normally open mode:
Symbol of the normally open c,ontact associated with a Change summer^^rintgr time
function block:
wt
The contact is active lor the entire duration oI summer time.
Normally closad modei
Symbol of the normally closed contact associated with a Change summern inler
lime function block
wl
The contact is active for the entire duration of winter time.
Modifylng the To modily a c$ntacl trom thetront panelotthe sman relay (the programming window
Mode oI a Coll or displayed on screen), simply:
a Contact . Place the cursor over the letter of the contacl,
. Proceed as described in ths paragraph Modifying an element,, p. 44,10 *toll
through the possible contact types (W lor a normally open contact, w lor a
normally closed contac{).
lnitiallzatlon State of the contacts and current value on initialization of the pogram:
. the normally open mode (direct stat6) is inactlvo,
. The normally closad mode (inverse state) is actlva.
Modbus lnputs/Outputs
Descrlptlon A Modbus SR3 MBUo1BD extension module may be added onto an exlensible
smart relay.
ln LD mode, the application cannot access the lour 16-bit data exchange words.
Data transfer belween master and slave is implicit and completely transparent.
Paramelers Th6 Modbus module can be configured only lrom the programming sottware (see
the on-line help oI the programming software tor more intormation).
Words to be sent The words to be senttothe masterare automatically written by duplicating the status
to master ol the discrete l/Os as follows:
Modbus Address (Hexa) -1
tG tF tE tD tc tB tA t9 l8 t7 16 ts t4 t3 12r 0020
O O O O O O QA Q9 Q8 Q7 Q6 Q5 Q4 Q3 Q2 QI 0022
0 0 0 0 0 0 0 0 0 0 0GoF oE oD oc oB 0023
Most significant byte Least significant byts
Words sent by Ths words sent by the master are nol proc€ssed by lha smart relay.
the master. The (Hoxa) addresses for thes€ lou l6-bit words are as follows: 0016/ 0017 / 0018
i 00't9.
Message
Descrlptlon The llossage func'tion block, when activated, allows the lollowing:
. To s€nd alarm mossages to portable telephones or email addrssses via ths
SR2COMo'| extonsion and a modem,
. To provids accoss, romotely, to a DISCR variable and/or a digitalvariable, to read
or modity them.
There are 28 uessage function blocks numbered lrom Sl to 59, then from SA to SV.
Nolo: The ilessago function is only available on smart relays with a clock and
when a SR2COM01 communication extension is added to them.
For more informalion on the configuration of the SR2COMo1 communication
extension, see the on-line help of the programming software.
TS-
This coil sends the configured alarm message in thg associated lressrge lunction
blod(, when it is aclivated.
Depending on the configuration ol the ll€sage lunction block, the coil may be
activated during detection on its input, by a transition:
. From lnactivs to Aclive Slate (by default),
. From Active lo lnactive State.
See on-line help tor tha programming software for mors inlormation on conliguring
the Meaaage tunction block.
SR2MANOIEN 149
'1,2M5
LD Language Elements
Ljse as a Contact The contact associated with the Messago function block indicates whether the
funcrtion block is aclivated.
It may be used as many times as necsssary as many tim6s as n€cessary in the
program. ll may be us€d according to 2 modes: normally open or normally c{osed,
described below.
Normally open mode:
Symbol of the normally open contac{ associaled with a ilossaEe tunction block:
s-
st _ [Q1
When function block no. 1 is activated, the associated alarm message is sent and
the LED lights up, otherwis€ it is oft.
Modlfyhg the To modiry the operating mode of a coil or a contact trom the lront panel ol the smart
Mode ol a Coll or relay (the programming window displayed on scrsen), simply:
a Contact . Position lhe cursor on the symbol representing the coil mode or on the letter of
the contact,
. Proce€d as described in thg paragraph Modwing an alement,, p. 44,1o sctoll
through ths possible modes lor a coil or contact types possible (S for normally
open conl,act, s ,or a normally closed contact).
Conllguratlon The Msssage funclion block cannot be configured trom the front panel of the smart
from the Fronl relay. This lunction must be conrigured from the programming sotlware.
Panel
See on-line help olthe programming sottware Ior more information on clnliguration.
Presentation
sublect of thls This section describes, using detailed examples, how to create, debug and save an
Sectlon application-
Presentation
Subiect of this This chapler describes in detail the implementation of a basic application lrom the
Chapter Iront panel ol the smart relay.
SR2MANo1EN 11/2@5
lmplementing a Basjc Application
Descriptlon ln this seclion, we will use a simple example to understand how a ladder diagram
works: A two-way switch.
Normal electrlcsl diaglam L.dder dlsgram
vYl/- L1
LI- 12
AI.I2 I-
-------- t01
W2
The two posilion switcfios Wl and vv2 ll 8nd 12 are two coniacts repres€nting inputs
control tuming lamp Ll on and ofl. 1 and 2 on the smart rslay.
Ol is a coil that corrasponds to output 't lrom
the smart relay.
'154
SR2MANoIEN 1 2005
lmplementing a Basic Application
lt t2 t3 !t t5 16 t7 t8
OO o aoaoooo
'10 -.210 VDC lnFlb ll,..lt UVDC
Fuse 2
/ ol(
_a
IEI"=EN
ol 02
IETT_1 wJ2
o3 04
Lt
Applicatlon Using a smart r6lay means that ordinary switctes (with op€n or clos€d positions)
Operation can be used in placs of two position switches.
The switches are identified as Sl and 52 in the wiring diagram above.
51 and 52 ara connected to inputs 11 and 12 on the smart relay.
ThB operating principle is as follows: Each lime the status o, inputs ll and 12
changes, the status of output Ol also changes which controls the lamp Ll.
The ladder diagram us€s basic functions, for example placing contac'ts in parallel
and in saries, as woll as the reverse function identified as 11 and 12 (s66 Usr,i4g tha
Reverse Funcrtion, p. 156).
SR2MANo1EN 1tl2005
lmplementing a Basic Application
Descrlptlon The reverse funclion, noted I in the smart relay is used to oblain the reverse stats ot
input I wired on the smart relay.
To illustrate how this tunction works, we shall use a simple examplel
Practical Below is lhe electrical diagram ol lhe example and an illuslration o, tho smarl relay wiring:
Example
Electrical Connsctlon to the amart rBlay
diagram
Mon Fuse l
t2 t3 !t t5 16 17 lE
GG G, oCI aooao
im -.2l0 WC lnFJt ll-tsIVDC
BP1 Fuse 2
L1
/oK
IENI-IEIN
qr(n EITI-TZIZ
03 a4
L1
General Case The table below illustrates the operation of a pushbutton connected to the smart
relay. Pushbutton BPI is connected to input 11 and lamp Ll is connected to output
Ql on the smart relay.
Off delay Operating
Elgctrlcal diagram Smart relay Electrical diagram Smart relay
symbols sYmbols
BP1 BP1
Pushbutton 11 =0 tl='l
normally open il =0
L'l L1
BP1 BP1
Pushbutton t1 ='l 11 =0
normally qlosed i1 =0 i1 =1
L1 L1
Note: The reverse function may be applied to all of the contracts in a ladder
diagram, whether they represent outpuls, auxiliary relays or function blocks
Descrlptlon The smart relay has a four line display used to show ladder diagrams.
Note: The programming soft,vare allows you represent ladder diagrams in lhree
different formals:
. Elecldcal symbols,
. Ladder synbols,
. Smart relay symbols,
Equlvalencles ln the table below are the equivalencies between representations of the most
Betweon common elements of the ladder language, in the 3 tormats:
Notatlons
Electlical symbol Ladder symbol Smart relay symbols
-lF
t!
ll or i1
ot
s",:r
'o' 'c' -14-
l1
l1 or i1
L
rl
ol
lol
EI
C(\rl
<l {.}
ol
so1
EI
K:
rl {r}
01
RO1
Other Elements Other elsments are also available using a smart relay, such as:
. Tlmor tunction block: Used to delay, prolong and control and action ,or a set
length of lime,
. Countor lunctlon block: Used to count the puls€s rec€ived on an input,
. Clock functlon block: Used to trigger or release aclions on precisa days or at
precise times,
. Analog comparator tunctlon block: Used to compare an analog value with a
relerence value or with another analog value attar allowing for a hystsresis fac,tor,
. Auxlllary rclays: These are used to save or relay the status ol the smart relay,
. Zx koya: After conlirming this funclion, Z keys may b€ us€d as pushbuttons,
. Fast cour er functlon block: The fast counter lunction is used lo count pulses
up lo a frequency ot I kHz.
. LCD scrcen back-llghl tunctlon block: This is us€d to control the backlighling
of the LcD by a pmgram,
. Summor^ lnler tlme changefunctlon block:The outpul of this function is in an
OFF state overthe entire duration of wintertime, and switches to ON ror the entire
duration of summer lime,
. Countsr Comparator block: This tunction is used lo compare the current
counting values o, two counlers,
. Text block: This is used to display t6xt or numedcal values (current value or
preset value).
Note: Blocks Counter Comparator and Text are not programmable from the ftont panel.
Not : For the list of all ladder diagram slements available when using smart relays,
as well as details on their functions and parameters, see the chapter entitled LD
Language Elements, p. 87.
Description ln the text that follows you willfind detailed information on the procedure for entering
a ladder diagram for a twcway switch.
You should poceed as follows:
. Go to lhe programming screen,
. Enter the mntacts in the first line,
. Enter the coil in lhe lirst line and join it to the contacts,
. Enler the @ntacts in the second line,
. Join the second line lo the first,
. Launch the program.
From the main screen (the one shown on powerup), lollow the instructions in the
Actlon column and press the specified button.
The Screen column shows what the user will see on the smart relay display screen
The Comments column provides some additional informalion on entry and display adions.
Go to the To access the screen lrom which we will program the two-way switch, proceed as
Programming follows:
Screen
Step Action Screen Commenl
1
2
:i when selecied.
Entering the To enter the conlacts in the lirst line, proceed as follows:
Contacts ln the Comment
Slep Acllon Scrgen
Flrst Llne
1
+ Tho I ffashing cursor is
l pos'rtionod on tho l. Tho s.narl
I1
relay pro.npts you to ssl€ct the
2 Ths 1 flashgs.
Th€ user has implicitly salecled a
I1 contaql assigned lo an input (l),
4 Th6 I flashos.
You just coolirmod entry of th€
I1 cootacl associalgd wilh lhe inpul
m.m cootact.
6
+ ThE I ffashes.
You havE just sel€61od ths
r 1-11
o.E
rovers€ conlacl assignad to an
input.
D-E
Enterlng the Coll To anler the coil in lhe lirst line and connect it to the coils, proceed as lollows
and Joining lt to
Stsp Action Screen Comment
the Contacts
1
17-t2a ThE qJrsor fashEs in
sr.Jcc€ssion:
> 11-i2 ! . Al a link poinl: a,
. At a contact point J
prrroi" then
Until positioned at the End ol the
I lins rsady to enter the coil.
2
+
[]: - The I llashes
CT :_)
3
4
+
: .
aL-i2 tQ1 The O flashes.
5
E!-E
rL-i,2 .tQ1 The cursor I is displayed.
p ztoi"
(rtir)
E
key (wiits) rvill mako a cor extual
menu appear hat is us€d lor
prcgramming lhe conn€c{ims.
?
(r
3 times
Entering lhe To enter the contacts in the second line, proceed as ,ollows
Contacts ln lhe
Step Action Screen Comment
Second Llne
1
D"D
as many times as
r1-i2------- ---
I
tQ1 The I is at the start ol lhe
following line.
necessary until
positioned at th€
start o, the line.
2
+
r1-i2 ---------- tQ1 The I loc€tod on the socond line
l1 flash€s.
E[-. :_)
3
+
l 11-i2 ------ ---- IQ1 Tho I localgd on the sgcond line
l1 flash6s.
E8-D
4
o iT llashes.
r1-i2---------- [Q1
i1 I The I llashes.
f,zr"i"
6
+
,r r1-i2--------- - tQ1 The I located on the second line
i1-11 flashes.
E[-D
I +
_l
11-i2 -------- - - tQ1 The 2 located on the second lino
i1-rI
o.o flashes.
Joining the To join the second line to the first, proceed as follows:
Second Line to Action Screen Commenl
Step
the Firsl
1
The a llashes.
17-i2---------- lQl
This shows that it is possible lo
i7-a2 a
2 ...
I The a has changed inlo a I
_l
at-i2 t01
i.L-r2 I--------- which creates the link between
VALIDER MODIFS. ?
Menu I OK I Now confirm the changes.
2
il NOI.I YES llashes.
Izt"i. CONFlGT'RATlON
4
-Rt]N PROG ?
@I I Now start the program
NON
J
1234 BCDE
/oK RI'N LD
The main menu re-appears.
.fEU 25 SEP 16 :40
_) L234
The Basic Points This simple application example teaches the us€r how to enter a ladder diagram.
The lollowing points should be remembered:
. When a I or a a is tlashing, use the Shllt button to add an element (contact, coil
or graphic link elemenD,
. When an element is flashing (1, Q, No., I etc.), it is possible to use the Shlft + 22
and 23 arrows on the arrow keypad to selecl the required element,
. lt is also possibleto use the Zl to 24 arows on the arrow keypad to move around
the ladder diagram.
SR2MANO1EN 11/2005
lmplementing a Basic Application
Presentation
Sublect ot this This chapter presenls the tools available lor debugging an application loaded in the
Chapter memory ot lhe smart relay.
lntroduction
Modulo ln RUN Once an application has been entored in ladder diagram lorm, debugging tests still
Mode must be run.
The firsl step is to sst the smart relay to RUN. To do this, in the RUN/STOP option
in main menu and selecl RUN,
From this moment on, the smart relay handles ths physical inputs and outputs
according to the instruclions entered in lhe ladder diagram.
Vlowlng Stalus: ln RUN mode, the states ol inputs and outputs are displayed on the main screen:
1 12{J56
RUN LD
MON 22 SEP l5:51
1rI3 4
a2
> Menu, OK
Prompt Element
1 Display inpul status
2 Display run mod€ (R[JN/STOP) and mode in use
3 Displays date and tim6 for products with clocks.
4 Outsd status display
5 Cofllextual menus / pushbutlons / icons indicating operating modes.
When inputs or outputs are activated, they appear in reverse video (using white on
a black background).
This concept is relened to as the dynamic operation o, smart relay functions. The
terms RUN and dynamlc have a similar meaning in the remainder ol this document.
Conlextual Below is an illustration of the icons in the conle)dual menu when the smart relay is
Menus in RUN mode:
aa= >
tro
Menu / OK
4
Prompt Elemsnt
1 Slatus ol the smarl relay: ln RUN it is in motion, in STOP it is immobile.
2 lndicates that laults hav€ appsared (see FIULT Menu, p. m.
3 lndicates that lhe smarl relay is connected to tho programming sottware.
4 The key indicatos thal lhe p.ogram is password-prolected.
Viewing Ladder
Dlagrams Note: This func{ion can be accessed only in LO/ RUN mode
The smart relay can dynamically display the performance ot a ladder diagram. To
do this, simply callup the MONITORING menu and position the cu rsor overthe lines
to display using the navigation keys.
Each conducting contac't or snsrgized coil is displayed in reverse Mdeo mode (white
on black):
r!-iI- r4------- tu1
1B rl-i 3 - [M2
u1-M2---------- [01
la - - _---------_ I t\,
To change smarl relay performance, the user may change or view some of the
f unclion block parameters.
Changing Ladder It is ABSOLUTELY IMPOSSIBLE to change ladder diagram lines in RUN mode.
Diagrams It is however possible to change function block parameters in MONITORING mode
Uslng Z Keys as On the INPUTS-OUTPUTS screen in RUN mode, the numbers of the Z keys used
Pushbuttons in the program are displayed in the contextual menu. Prass and hold down the Shlft
key to display this m6nu.
To enable a Z key, press on the button located under the number.
lllustration:
123456
RUN LD
MON 22 SEP 15:51
1234
11 3
v > Menu / OK
Presentatlon ln RUN mode a func,tion block presel value may be changed dynamicalv it it is not locked.
Funclions with parameters in LD mode:
. Auxiliary relays (latching),
. Discrete Outpub (latching),
. Clocks
. Analog comparators,
. l-imers
. CounteG
. Fast @untels.
Func'tions with parameters in FBD mode:
. Numerical constant-type inputs,
. Clock,
. Gain,
. Timers: TIMER A,/C, TIMER ByH, TIMER Li,
. Counler: PRESET COUNT / UP DOWN COUNT,
. H-SPEED COUNT tasl counter,
. PRESET H-METEB hour counter,
. CAM block.
Step Action
1 Position lhe cursor on the element you would like to modi, using the navigation keys.
2 At lhe same time, hold down Shlft and lhe Palam key to open lhe parameterwindow
3 Posilion lhe cursor on the modiliable parameler fields using the navigation keys: < >.
4 Modify th€ value of the parameter using the
^
and (+ and , koys, holding do$/n Shlft.
^
5 Confirm the rnodifications by pressing M€nu/OK, whidt will open the confirmation ,xindow.
Conlirm a second time by pressing MendOK to sava.
Dynamlc Mode Some menus are accessible when the smart relay is in RUN mode, while others are
Menus not. Here is a summary lable.
Menu LD FBD
PROGRAMMING
MONITORING
PABAMETERS
RUN / STOP
CHANGE D/H
CHANGE SUMMA/VINT
CONFIGURATION
PASSWORD
FILTER
Zx KEYS
WATCHDOG CYCLE
CLEAR PROG.
TRANSFER
VERSION
tT
LANGUAGE
FAULT
Descrlptlon A power failure may cause the smart relay to rsstart and los€ any data not savsd.
Smart relays have the ability to save the current time for at least 10 years.
ln addilion, it is also possible lo back up the variables configured with the Latchlng
option defined in the parameters window.
Latching The Latchlng lunction is used to save the stalo of the counte/s current values in the
event of a power failuro.
Th€ blocks that hava this tunction are th8 following:
. ln LD mode:
.
Auxiliary relays,
.
Discrele outputs,
. 'limers
. Counters
o Fasl counter,
. ln FBD mode:
. AC, BH, Litimer,
. Cam programmer function CAM BLOCK,
o PRESET COUNT, UP DOWN COUNT counter,
o PRESET H-METEB hour cour er,
. Data archMng tunction ARCHIVE,
. Fast counters.
Satety Mode lI ths rssult oI losing the time sstting is to lock coil control, then simply use a cloc*
contac{ without a stop order in seriss with the action coils.
Example o, a nonlocked coil:
r1r13---------- [o1
a2l
The contact line for coil Ql will b€ activa evsn il the time and date setting is lost.
Example of a lodGd coil:
a4-Hr---------- lQ2
Ths contact line for coil Q2 will only be activg after setting the clock.
178 SR2MANO1EN 1
'2005
Backup and Transfer of Ladder
Diagrams"
Description It is possible to transfer a ladder diagram lrom the smart relay toward a backup
memory (optional) and vice-versa.
This allows:
. To backup an application, then restore it later on il necessary,
. To make a copy of an application for loading it in several smart relays.
Translerrlng an Transterring an application from a smart relay to the backup memory, or from the
Application backup memory to the smart relay, is perlormed using the menu: TRANSFER.
The procedure is described in detail in the chapter TRANSFER Menu, see
TRANSFER Menu, p. 69.
180 SR2MANO1EN 1
'2005
Sample Application
Presentation
Sublect ol this ln this chapterwe'll usethe example oI an underground car park c!nlrol. From given
Chapter specifications, we will develop the application to program in the smart relay.
Specifications
Obiective We wish to clmplete and centralize the control of the underground car park ol an
administrative building.
Automatic Gate The entrance and the exit of the car park are conlrolled by an ordinary automatic aate
The gate has the usual basic features such as:
. Gate timing (opening and closing) by passing vehicles,
. Ticket payment management,
. Safety telephones,
. Exlernalconlrol for locking in closed position, etc.
Counting ln addition, we would like to keep track of vehicles parked in the facility.
Vehlcles Wewouldthus be ableto controla lighted panelthat informs drivers when allparking
spaces are occupied and prevents access by locking the gate in the closed position.
Drivers would then know lo look for a parking space elsewhere.
It must also be possible to override this function when necessary to allow access Ior
emergency services (fire department, emergency medical servace, etc.).
Op€n Time We would also like to prevent access to the facility when the building is closed.
Security personnel should be allowed to prevent lhe gate trom locking in non-ordinary
circumstances. The hours ol opening are lhe following: Monday to Friday lrom 8:30
am to 5:30 pm, Saturday from 9:30 am to 12:00 noon and closed all day Sunday.
RemovalolToxic For safety reasons, it isalso necessary to remove toxic emissions such as carbon dioxide
Gasses by using a Ian when the measured concentration levels exceed permissible levels.
A specialized sensor will be used that provides an output value between 0 and '10V.
Lighting There is also a requirement to contol lighting, triggered by a vehicle arriving and via
pushbutton switches placed near all oI the pedestrian access points,
To save energy, lights will tum off after 10 minutes. This is the length of time
generally obseNed tor someone to park and exit their vehicle and take the elevator,
or retum to their vehicle and exit the park lacility.
Manual Countlng ln addition, a manualaction should be able to provide current information on the
number o, vehicles parked in the facility. Someone should be able to manually
increase or decrease the number oI vehicles known by the smart relay.
Specification Analysis
Description Analysis of the specifications includes listing inputs, buttons, outputs and func,tion
blocks necessary to complele the application.
lnputs Below is the list oI inputs that lhe application will use:
Smad .elay label Name
lnput ll Vehicle entry deteclion.
lnput 12 Vehicle exit detection.
lnputs 13 and 14 Pushbutlons at pedestrian access points. They are used to lighl the
facility. One lorlhe elevator and one lor the stairway (no pedestrian
acc€ss is allowed via the vehicle entrance).
Analog input lB CO2 leval sensor.
Button Below is the list of buttons that the application will use:
Smart relay label Name
Function key Zl Manually increments the number ol vehicles in the c€r park.
Function key 22 Resumes aulomatic entry control.
Function key 23 Manually decrements the number of vehicles in the car park.
Function key 24 Manually releases the enlrance barrier.
Outputs Below is the list of outputs that the application will use:
Smart relay label Name
Output OI lndicates when the car park tacility is lull.
Output 02 Locks the sntry banier (inhibits entry banieropening) when the car park
is lull or ouiside ol opening hours.
Outpui 03 Manually releases the enlrance barrier
Output 04 Controls the polluted air extraclion fan control
Speclal tunction Below is the list oI special function blocks that the application will use:
blocks
Sma r€lay label Name
Counter Cl Counts lhe number of vehides in ths car park (93 maximum).
Clock lunction Manages car park access hours.
block Hi
]jmer lunction Lighting timer (10 minules)
block T1
Analog lunction Compares the CO2 level measured with ihe allowable hreshold.
bloc* 41, the
aulhorized
threshold value
corresponds to 8.5
Volts.
fimerlunclion Fan timer (15 minutes)
block T2
Note: To implement this solution, a smart relay with analog inputs, clock function
blocks and at least 4 discrete inputs and outputs.
Descrlption Presenled here are the control diagrams to program, as well as the parameters to
use Ior the function blocks.
When upcounting and downcounting, the clunler locks up when the car park
b€comes full (no spurious detection or counling actions take place iI vshicles are
allowed to enler by manual release).
Note: For a given counter, the coils CC and DC should only appear once in a
ladder diagram.
ln addition, output Cl2 is activated when enlry into the car park is not allowed. This
leads to tha us€ ofan auxiliary rslay to manually lock or unlockthe access gate using
the navigalion keys.
Conflgurlng the The table below provides details on the parameters to use for each of the lunclion
Function Blocks blocks:
Function block Commont
Counter tunction block Cl
H1 D/W 01231
c
H :M ON 08:30
I H :M OFF l7:30 Open houG:
TTI B 4
RTl M:S
TI Car park lighting tim6r: 10 minules
g t = 10.00
+
> tlenu / OK
-
T1
I t = 10.00
-J-T-r- Sample Application
+
v > Menu / OK
Presentation
Subiecl of thls This chapter will help you find solutions to operating problems.
Section
Presentation
Subiect of this This chapter will help you Iind solutions to operating problems.
Chapter
Description Here is detailed inlormalion 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 indicale incompatible actions requested by the user.
Message Cause Corrective action
The us€r has requested to access
the PABAMETERS option when
NO PABAMETER no parameter is available (the
diagram does not include any
al€ments wilh parameters).
A lransler was in progress and
See the documentalion lor the
TRANSF.ERR. lhe link with the PC was
programming software.
unexpectedly interrupled.
A transfer to the EEPROM was
TRANSFER EBBOR Check ihe presence and conect
requested and the EEPROM is
NO MEMORY location of the EEPROM.
not present or incorrec(y locatad.
The user has requested lo transfer
Check the origin ot the program
a program that do€s not match the
TRANSFEB ERROR: lo transfer and choose a
characteristics of lhe target smart
CONFIG INCOMPAT program lhat is compatible with
relay, lor example: Clock, analog
the appropriate smad relay.
input, software ve6ion.
This error appears if one of the
TBANSFER ERROR:
versions of lhe smart relay does Chec* the tirmware version
vEHSTON.
not @rrespond to: Firmware, LD us€d.
INCOMPAT
or FBD functions
Troubleshoot, then slop the
Outputs are displayed
One or more slatic oulputs have smart relay to end lhe blinking
tlashing on the main
shorted or overloaded. belore selecting BUN mode
screen
again (automalic reset).
Descrlpllon To assist the user in understanding the smart relay, the mosl lrequently asked
questions are lisled here.
Fr€quently Here below are the most frequently asked questions and their answers:
Asked Ouaslions
Ouestion Answgr
Some parameters are not accessible. See the
documentiation to find out whetherthese elements can be
I cannot access some parameters. changed. Example of an elemenl thal cannot bachanged:
I generated a ladderdiagram on
a smafl relay with a clock. Can I
No this is impossible
uso a backup memory to translar
it lo a smarl ralay withoul clock?
Ouestlon Answel
When entering a ladder diagram,
It is quite possible that th6 smart relay is one without a
the clock function blocks do not
clock. Consequently, the clock tunction blocks are not
appear when choosing lhe
acc€ssible. Check the product relgrenc€ numbers.
contacts. ls this normal?
when entering a ladderdiagram,
It is quile probable lhat the smart relay does not have
the analogtunclion bloc*s do not
analog inputs. Consequently, lhe analog lunclion blocks
appgar when choosing the
are notaccessible. Check the producl relerence numbers.
contacls. ls this normal?
LD Language Elements
A Auxiliary Relays, 93
Auxiliary Relays, 93 Clocks, 139
Countsr Comparator, 1 32
c Counters, 1 14
Discrate lnputs, 89
Clocks, 139 Discrete Outputs, 98
Fast Counter, 121
LCD Screen Backlighting, '145
D Message, 149
Discrete lnputs, 89 Modbus l/Os, 148
Discrete Outputs, 98 Texts, 143
Tim6rs, 103
Zx Keys, 91
I LD language Elemonts
INPUTSOUTPUTS, 34 Change to Summer / Winter Time, 146
LD language elements
Analog Comparators, I 34
L LD LCD Screen Backlighting, 145
LD Analog Comparators, 134 LD TBxts, 143
LD Change to Summer / Winter Timo, 146 LD Timsrs, 103
LD Counter Comparator, '132
LD Counters, 1 14
LD Fast Counter, 12'l
M
Menu
CHANGE DATBTIME, 81
CHANGE SUMMEFVWINTEF, 83
CLEAB PROG., 67
CONFIGUHATION, 59
FAULT,77
LANGUAGE, 75
MONITORING, 53
PARAMETERS, 51
PASSWORD,60
PROGRAMMING,39
RUN / STOP, 55
TRANSFER, 69
VERSION,73
WATCHDOG CYCLE, 65
Zx KEYS, 64
Modbus LO l/Os, 148
z
Zx Keys, 91