Zelio-Logic
Smart Relay
Users Guide
January 2001
'$1*(5
+$=$5'286 92/7$*(
Disconnect all power before servicing equipment. )DLOXUH WR IROORZ WKHVH LQVWUXFWLRQV ZLOO UHVXOW LQ GHDWK RU VHULRXV LQMXU\
:$51,1*
81,17(17,21$/ (48,30(17 23(5$7,21
Take all necessary measures to avoid unwanted relay triggering. Automation and control devices must be installed to protect against any risk of involuntary actuation. Fluctuations or variations in the main supply voltage should not exceed the tolerance thresholds stated in the technical characteristics, as they may cause operating failures. Meet the standards that apply to emergency stop systems to avoid potentially dangerous situations. Ensure releasing the emergency stop system does not cause the automated system to suddenly start. Ensure that an application interrupted by a drop or a break in the supply voltage can continue correctly and that no dangerous states, no matter how brief, may occur. )DLOXUH WR IROORZ WKHVH LQVWUXFWLRQV FDQ UHVXOW LQ GHDWK VHULRXV LQMXU\ RU HTXLSPHQW GDPDJH 127(6 Make all necessary ground and fusing connections. Always follow the instructions stated in this users guide. Only qualified personnel are authorized to implement the product. It is essential to ensure that all control system connections meet applicable safety standards.
&RQWHQWV
You wish to know how your new smart relay works and discover its main characteristics. You require detailed information on, for example, implementing a Ladder diagram using a smart relay. You would like to know all of the smart relays configuration options. You would like to know all of the elements in the Ladder diagram that are recognized and used by the smart relay. You would like to learn to enter a complete Ladder diagram using the smart relay. You would like to know what smart relay control capability remains during operation. You would like to improve your understanding of the smart relay using a complete example. You have an operating problem and you would like to find the solution.
$ ,QGH[
&RQILJXUDWLRQ 0HQX
/DGGHU 'LDJUDPV
'HEXJJLQJ
$SSOLFDWLRQ ([DPSOH
7URXEOHVKRRWLQJ
You are looking for information: Technical facts, Lexicon, Entry Forms.
$SSHQGL[
,QGH[
6PDUW 5HOD\
,QWURGXFWLRQ
The smart relay uses a ladder logic diagram that you have created to give an output based on input commands Smart relays are designed to simplify the electrical wiring of intelligent solutions. A smart relay is easy to implement. Its flexibility and its high performance allow users significant savings of time and money. This Users Guide is intended for people who do not have an in-depth knowledge of automation systems and who would like to be able to implement these smart relays.
1 2 3 4 5
0V
I1
I2
I3
I4
I5
I6
IB
IC
24VDC
Ins. line
7
z1 z4 z3 z2
9
Esc. Sel./ OK
10
Q2 2 1 Q3 2 1 Q4 2
-Retractable mounting feet -Power supply: 24 Vdc for SR1llllBD, 100/240 Vac for SR1llllFU " -LCD, 4 lines, 12 characters # -Input terminal for 24 Vdc inputs to SR1llllBD, 100/240 Vac to SR1llllFU $ -The SR1llllBD has analog 0-10 Volt inputs usable in 24 Vdc discrete mode % -Delete key & -Insert line key ' -Arrow keys or after first configuring them, Z pushbuttons ( -Selection and validation key -Escape key -Connector for memory or programming cable ! -Output terminal " -Slot for re-writable label.
!
Q1
11 1
13
12
2 3
Mo
4 5
-Input status display (1 through 6 are input status, B and C are analog inputs status) ! -Operating mode display (RUN/STOP) " -Parameter display, by default the day and time for models with a clock # -Output status display 5-Z key function display, when these keys are activated.
,2
SR1-A101BD NO
,2
SR1-B121BD YES NO
,2
SR1-A201BD SR1-B201BD YES
5 ... 150 Vdc /24 ... 250 Vac AC15 - 0.9 A/230 V DC13 - 0.6 A/24 V 2* 0 2*
3URGXFW References Weekly clock Supply voltage Rated input current Number of discrete inputs Rated current Rated voltage Number of relay outputs Voltage 1RWH
,2
SR1-A101FU NO SR1-B101FU YES NO
,2
SR1-A201FU SR1-B201FU YES
100/240 Vac (85 Vac min. /264 Vac max.) < 46 mA at 115 Vac < 36 mA at 240 Vac 6 11/13 mA at 50/60 Hz 100/240 Vac at 50/60 Hz 4 5 ... 150 Vdc/24 ... 250 Vac AC15 - 0.9A/230V DC13 - 0.6A/24V 8 12
DF VPDUW UHOD\V GR QRW KDYH DQDORJ LQSXWV )RU IXUWKHU LQIRUPDWLRQ UHIHU WR WKH &DWDORJ
3URGXFW References Weekly clock Supply voltage Rated input current Number of discrete inputs Rated current Rated voltage Number of outputs Voltage Number of analog 0-10V
*
,2
SR1-B122BD YES 24 Vdc (19.2 Vdc min./30 Vdc max.) 67 mA 6 3mA 24 Vdc 4 Transistors 24 Vdc / 0.5 A 12 Vdc 4 Relay 5 ... 150 Vdc /24 ... 250 Vac AC15 - 0.9 A/230 V DC13 - 0.6 A/24 V 2* 2** SR1-B121JD YES 12 Vdc (10.2 Vdc min./14.2 Vdc max. 67 mA 6
**
Each input is also usable in discrete I/O mode, 24 Vdc Each input is also usable in discrete I/O mode, 12 Vdc
&RQQHFWLRQV
Discrete inputs and outputs Analog inputs
+ 24 Vdc
I1 I2 I3 I4 I5 I6 IB IC
Inputs I1I6 = 24 Vdc IBIC = 010 Vdc or 24 Vdc
(1)
$QDORJ LQSXWV
+ 24 Vdc
I1 I2 I3 I4 I5 I6 IB IC 24 Vdc
I1I6 Inputs IBIC =
010 Vdc or 24 Vdc
I6 I7 I8
I9 IA IB IC
1 Q1 2 1 Q2 2 1 Q3 2 1 Q4 2
1 Q3 2 1 Q4 2 1 Q5 2 1 Q6 2 1 Q7 2 1 Q8 2
+ 24 Vdc
I1 I2 I3 I4 I5 I6 IB IC
Inputs I1I6 = 24 Vdc IBIC = 010 Vdc or 24 Vdc
SR1-l101BD
L 100240 V 50 / 60 Hz N (1)
SR1-l201BD
I1 I2 I3 I4 I5 I6
I1I6 = inputs 100 240Vac
I6 I7 I8
I9 IA IB IC
100...240 Vac
1 Q1 2 1 Q2 2 1 Q3 2 1 Q4 2
1 Q3 2 1 Q4 2 1 Q5 2 1 Q6 2 1 Q7 2 1 Q8 2
SR1-l101FU
SR1-l201FU
7KUHHZLUH FRQQHFWLRQ
+ 24 V Fuse 1
BL BK + 24 Vdc
BN
BL BK
BN
I1 I2 I3 I4 I5 I6 IB IC
Inputs I1I6 = 24 Vdc IBIC = 010 Vdc or 24 Vdc
(1) 1A quick-blowing fuse or circuitbreaker (2) Fuse or circuit-protector (3) Inductive load
&RPPDQG .H\V
'HVFULSWLRQ RI WKH NH\V
The keys located on the front of the smart relay are used to configure, program and control the application. They perform the following actions: Key Description Press this key to delete a Ladder diagram element or line.
Press this key to: Make a selection, Enter the parameter page for an element, Enter a display page, Validate a selection. To use the smart relay, the first action required is to press this key to access the main menu.
The arrow keys are used to move up, left, down and right. The position on screen is shown by a "!" index, a "n" or "l" cursor, the blinking text ",QL".
([DPSOHV
This sub-section details how to use the smart relays keys. ([DPSOH /DQJXDJH VHOHFWLRQ 7KH SURFHGXUH GHVFULEHG EHORZ LV DOZD\V WKH VDPH UHJDUGOHVV RI WKH SURGXFW
Description/Action
Display
Initial power up or power up after initialization by the manufacturer: The "(1*/,6+" option blinks.
To select English. The 6HO 2. button is used to validate the choice of a new language (as shown by the diamond symbol and by the text blinking). There are two possible cases: Product with a clock, SR1-Blllll
Now the time must be set (refer to the example on the next page) Product without a clock, SR1-Alllll To continue or complete the initial power up procedure.
The smart relays main screen is displayed (in this case an SR1-A101FU smart relay).
([DPSOHV
([DPSOH &KDQJLQJ WKH GDWH DQG WLPH ZKHQ ILUVW SRZHUHG XS Description/Action After choosing the language, the following screen is brought up: The black colored cursor blinks. Display/Comments
The text to change blinks (":,17(5" in this case). You can then change it using: To enter Modify mode. or then Pressing 6HO2. validates the change. The hours, minutes and day of the week settings can be changed in the same way, using the smart relay keys. To return to the main menu, press:
1RWH
7KH RU NH\V DUH XVHG WR PRYH IURP RQH ILHOG WR DQRWKHU ZKLOH WKH RWKHU WZR DUURZ NH\ SDG NH\V DUH XVHG WR FKDQJH WKH GLVSOD\HG YDOXHV
0DLQ )XQFWLRQV
These are grouped in a main menu.
The "!" indicator located to the left of the text shows the setting of your choice. An upwards triangle indicates that there are more options available if you scroll up, while a downwards triangle indicates that there are more options available if you scroll down.
10
0DLQ )XQFWLRQV
0DLQ PHQX
0HQX 'HVFULSWLRQ This function is used to set the date and time: Summer time/Winter time Day of the week Hours-Minutes (24 hour clock) This function lets the user enter the Ladder diagram that will make the smart relay work. This program is written using a Ladder diagram. For information on how to program a Ladder diagram, refer to the next Chapter. This function may be password protected. This function lets the user display and change unlocked parameters in elements entered in the Ladder diagram. This function lets the user display and change unlocked function block parameters entered in the Ladder diagram. It also lets the user select data that will be displayed on the third display line on the smart relay screen. This function lets the user start or stop the program contained in the smart relay: RUN: the program is started. STOP: the program is stopped and the outputs disabled. This function comprises all of the smart relay configuration options (refer to the next table). This function will clear the entire Ladder diagram stored in the smart relay. This function may be password protected. This function will transfer the contents of the smart relay memory. 0RGXO ! 3&: transfer to the programming software, 3& ! 0RGXO: loading by the programming software, 0RGXO ! 0HP: transfer to the unpluggable EEPROM *, 0HP ! 0RGXO: loading from the unpluggable EEPROM*. This function will display all of the elements required for entering a Ladder diagram.
7,0( 6(7
352*5$0 3$5$0(7 9,68 5816723 &21),* &/($5 352* 75$16)(5 352* ,1)2
* The unpluggable EEPROM allows transferring the contents of the smart relay memory without the need for the programming software and without the need to enter an identical application in another smart relay. However, the smart relay can still work without an EEPROM.
11
0DLQ )XQFWLRQV
&RQILJXUDWLRQ
0HQX 'HVFULSWLRQ Allows or denies access to certain functions. Language selection. Input filtering mode selection (for fast inputs). This function may be password protected. Enable/disable arrow keys Zx.This function may be password protected. Enable/disable automatic help.
The various configuration menu options are detailed in Chapter 3 Contents Configuration Menu, page 26.
12
13
14
S S
, and , are two contacts representing
The two position switches identified as 6 and 6 control the light /.
Using a smart relay means that simple switches (with open or closed positions) can be used in place of selector switches. The switches are identified as 6 and 6 in the wiring diagram right. 6 are 6 connected to inputs , and , on the smart relay.
Fuse 1 S1 S2
I1 I2 I3 I4 I5 I6
I1 ... I6 = inputs 100 ... 240Vac
100...240 Vac
Fuse 2
1 Q1 2 1 Q2 2 1 Q3 2 1 Q4 2
The operating principle L1 is as follows: Each time inputs , and , change state, this causes a change in state on output 4 which controls lamp /. The Ladder diagram uses basic features like placing contacts in parallel and in series along with the reverse function identified as L and L (the reverse function is described on the next page). 1RWH 7KH LPSOHPHQWDWLRQ RI D WZRZD\ VZLWFK LV RSWLPXP ZKHQ UHPRWH FRQWURO UHOD\ FRLOV DUH XVHG
15
I1 I2 I3 I4 I5 I6
I1 ... I6 = inputs 100 ... 240Vac
100...240 Vac
Fuse 2
1 Q1 2 1 Q2 2 1 Q3 2 1 Q4 2
L1
Depending on the Ladder diagram, there are two possible solutions: /DGGHU GLDJUDP /LJKW RXW ZKHQ LGOH /DGGHU GLDJUDP /LJKW OLW ZKHQ LGOH
,
4
L
4
, corresponds to the true image of %3, pressing %3 activates input ,so that the 4output is activated and light /
lights.
L corresponds to the reverse image of ,therefore contact L is disabled, output 4is disabled and light / goes out.
%3, pressing %3 activates input
16
,GOH
(OHFWULFDO GLDJUDP =HOLR V\PERO
2SHUDWLQJ
(OHFWULFDO GLDJUDP =HOLR V\PERO
, L
, L
, L
, L
1RWH
7KH UHYHUVH IXQFWLRQ DSSOLHV WR DOO RI WKH FRQWDFWV LQ D /DGGHU GLDJUDP ZKHWKHU WKH\ UHSUHVHQW RXWSXWV DX[LOLDU\ UHOD\V RU IXQFWLRQ EORFNV
17
13
21
or
, RU L
or
14
22
"C" SPST-NO
"O" SPST-NC
, RU L
A1
4
A1
A2
4
A1
A2
4
A2
18
19
,
,
20
,
,,
,L
,L
,L
,L
or
The n blinks. Move to the end of the line ready to enter the coil.
,L
,L
n
4
The n blinks. Now enter the coil. The 4 blinks. Now all that remains is to select the other parameters for this coil.
,L
21
,L
4
,L
4
,L
4
,L , ,L L ,L L ,L L n ,L L, ,L L, ,L L,
4
4
The L located on the second line blinks. The located on the second line blinks.
4
4
The n blinks.
4
The , on the second line blinks. The second in the second line blinks. The in the second line blinks.
4
4
22
4
4
4
The contact point blinks showing a l sign. The validation is made, now exit the diagram zone.
The screen displays the main menu. Now start the smart relay (Set to 581). Press three times The "!" sign indicates that the "5816723" option is selected. This option blinks. Now simply validate the setting to 581 The smart relay prompts you to validate 581 mode.
23
24
25
/DQJXDJH 6HOHFWLRQ )XQFWLRQ /$1*8$*( BBBBBBBBBBBBBBBBBBBBBBBBB Using the "Ini." function ___________________________________________ 28 )DVW ,QSXW )XQFWLRQ ),/7 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB $UURZ .H\V )XQFWLRQ =[ .(<6 BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
26
1RWH
3$66:25'
""""
3$66:25'
Enter the password using the arrow keys =, =, =, =.
The digit being changed blinks. Now validate the entry made. This screen is displayed for two seconds (the password is activated) and the user is returned to the main menu.
27
In this example, English is chosen. 1RWH 1R ODQJXDJH VHOHFWLRQ FDQ EH PDGH ZLWK WKH VPDUW UHOD\ LQ 581
28
0.5 ms
0.3 ms
The other (ac) modules only have one set filtering value that cannot be changed and which is dependent on the supply voltage. Refer to the technical characteristics provided in the Catalog.
29
=N ]N
1RWH
Normally closed
30
When the help function is enabled, simply remain on the required element for a few seconds without pressing on a key and help will be displayed in the form of an explanation screen.
or
buttons.
When setting function block parameters, holding position over the padlock symbol will cause the "PRGLI SDUDP" message to appear. Locking does indeed stop the function block from being displayed in the parameter menu.
31
32
,QWURGXFWLRQ
This Section details all possible elements in a Ladder logic diagram that are used by the smart relays. To better understand the functions performed by each element, an example is included. The logic modules accept 60 line Ladder diagrams for 10 I/O smart relays and 80 line ones for 20 I/O smart relays. 1RWH (DFK OLQH FRPSULVHV D PD[LPXP RI WKUHH FRQWDFWV DQG PXVW LQFOXGH D FRLO :KHQ WKH DSSOLFDWLRQ UHTXLUHV PRUH WKDQ WKUHH FRQWDFWV WR DFWLYDWH DQ DFWLRQ WKH DX[LOLDU\ UHOD\V FDQ EH XVHG DV VKRZQ LQ WKH H[DPSOH EHORZ
33
'LVFUHWH ,QSXWV
A discrete input can only be used as a contact. Representation Function Normal Reversed N 1 to C depends on the module Description The physical input to the smart relay. This contact gives the state of the sensor (switch, detector,) connected to the corresponding input.
,N LN
([DPSOH
34
'LVFUHWH 2XWSXWV
A discrete output can be used either as a contact or a coil.
8VHG DV D FRLO
Usage mode Nbr. on term. blk. Description The coil is supplied if the contacts that it is connected to are closed ones, else it is not supplied. Pulse supply, the coil is supplied by a change of state. This is the same as a remote control relay. "Set" or triggered coil. This coil triggered as soon as the contacts that it is connected to are closed. It remains triggered even if the contacts are no longer closed. "Reset" coil, also called a release coil. This coil is disabled when the contacts that it is connected to are closed. It remains idle even if the connects are no longer closed.
4N 4N
6 4N 5 4N
1 to C depends on the module
8VHG DV D FRQWDFW
Representation Function Normally open Normally closed N 1 to 8 depending on the module Description A physical output from the smart relay. An output can be used as a contact to determine its state at a given time.
4N TN
([DPSOH
T 4 When output 4 is disables, output 4 is activated. Output 4 will always take the reverse state to output 4.
35
'LVFUHWH 2XWSXWV
1RWH
8VLQJ WKH DQG IXQFWLRQV RQO\ RQFH LQ HDFK FRLO LQ D /DGGHU GLDJUDP LV UHFRPPHQGHG $GGLWLRQDOO\ LI D 6(7 FRLO 6 IXQFWLRQ LV XVHG D OLQH PXVW DOZD\V EH SURYLGHG LQ WKH GLDJUDP WR GLVDEOH WKLV FRLO XVLQJ D 5(6(7 5 IXQFWLRQ ,I QRW WKHQ GXULQJ RSHUDWLRQ WKHUH LV DOZD\V WKH ULVN RI JHQHUDWLQJ XQH[SHFWHG VZLWFKLQJ VWDWHV
A very handy function, that allows lighting and extinguishing a light using a pushbutton. If a pushbutton is connected to input , and a light to output 4, then each time the button is pressed, the light will come on if it was off or it will go off if it was lit.
Pushbutton BP2 is connected to the smart relay, to input I2, and pushbutton BP3 is connected to input I3. The device to control, in this case a light bulb called L1 is connected output Q2. Pressing pushbutton BP2 will light the bulb. Pressing pushbutton BP3 will extinguish the bulb.
36
$X[LOLDU\ 5HOD\V
The auxiliary relays, 0 in the notation used, operate just like the output coils 4. The only difference is that they do not have any connection terminals. There are 15 auxiliary relays (numbered in hexadecimal notation from 1 to 9 and from A to F). They are used to save or forward a state. This saved or forwarded state will then be used as the assigned contact.
This type of diagram is often used to control the various states of a device.
37
$UURZ .H\V
The arrow keys work just like the physical inputs ,. The only difference is that they do not have any connection terminals. There are four arrow keys (= = = =). They are used as pushbuttons. They can only be used as contacts: Representation Function Normal 1 to 4 N Description Representation of the arrow keys on the smart relay. This contact gives the state of the corresponding key. = Up arrow = Right arrow = Down arrow = Left arrow
=N ]N
1RWH
Reverse
6R WKDW WKH DUURZ NH\V PD\ EH XVHG LQ WKLV ZD\ ILUVW FKHFN WKDW WKH\ DUH DFWLYDWHG LQ WKH =[ .(<6 RSWLRQ LQ WKH &21),* PHQX ,I QRW DFWLYDWHG ZKHQ WKH VPDUW UHOD\ LV LQ 581 PRGH WKH NH\V DUH RQO\ XVHG WR PRYH ZLWKLQ WKH PHQXV $FFHVV WR WKH =[ .(<6 RSWLRQ LV ORFNHG RXW ZKHQ SDVVZRUG SURWHFWLRQ LV DFWLYDWHG
=
Each time the
4
key is pressed, output 4 changes state.
38
39
. Description Four blocks can be used, numbered from 1 to 4. This parameter cannot be changed in the screen shown above. It is chosen when the block is entered in the diagram line. Four operating ranges are available A, B, C, D. During operation, these ranges are cumulated: The block is valid over all of the selected ranges. This date corresponds to the day of the week (Monday to Sunday). For each range, a start of validity day (Monday to Sunday) is specified. For each range, an end of validity day (Monday to Sunday) is specified. For each range, a start operating time (00:00 to 23:59) is specified. For each range, a stop operating time (00:00 to 23:59) is specified. Each Clock block can be locked or left unlocked. When locked, the Clock function block no longer appears in the "3$5$0(7" menu.
%ORFN 1XPEHU
2SHUDWLQJ UDQJHV
&XUUHQW GDWH DQG WLPH 6WDUW GD\ (QG GD\ 6WDUW WLPH 6WRS WLPH
3 4 5
%ORFN ORFNLQJ
When validating the Clock block parameters (exiting the screen using the ESC key), the smart relay displays a summary of the blocks validity ranges so that the user can check the data that they entered.
40
When 1RWH
4
7KH IROORZLQJ NH\V DUH XVHG 6HO2. WR VHOHFW RU YDOLGDWH D SDUDPHWHU = DQG = WR FKDQJH WKH YDOXH RI WKH VHOHFWHG SDUDPHWHU = DQG = WR PRYH IURP RQH SDUDPHWHU WR DQRWKHU Screen Comments First data entry screen. It is displayed blank and is filled-in using the arrow keys.
The first range (A) has been entered: from Monday to Saturday and from 09:00 to 13:00. Now enter the second range.
The second range has now been chosen. It is displayed blank. Now enter the times for this new range. The second range has now been entered: from Monday to Saturday and from 15:00 to 19:00. Now simply exit this data entry screen by pressing (VF 1RWH 7KH H[DPSOH GHVFULEHG LQ &KDSWHU &RQWHQWV $SSOLFDWLRQ ([DPSOH SDJH GHVFULEHV DQRWKHU ZD\ RI XVLQJ WLPH VORWV ,W LV SRVVLEOH WR PL[ WKH WZR LQ RUGHU WR UHVROYH FRPSOLFDWHG FDVHV
41
42
&N FN
Reverse
1 Counter input 2 Reset input 3 Output - when the preset is reached 4 Value to reach - also called the preset value 5 Block locking. 6 Counter direction input (up/down counting) 1RWH 7KLV VFUHHQ LV RQO\ GLVSOD\HG ZKHQ WKH FRLO FRUUHVSRQGLQJ WR WKH FRXQWHU LQSXW LV HQWHUHG 7KH RQO\ SDUDPHWHU WKDW FDQ EH FKDQJHG LV WKH SUHVHW YDOXH ,WV YDOXH LV EHWZHHQ DQG :KHQ D SRLQW LV GLVSOD\HG LQ WKLV VFUHHQ LW LQGLFDWHV WKDW WKH HOHPHQW ZDV QRW XVHG LQ WKH GLDJUDP OLQHV
43
&&
, &&
5&
Application example: Resets Counter N1 when the Up Arrow key is pressed on the arrow keypad.
= 5&
'&
, '&
S
& or F
Used as a contact, this Counter function block element indicates that the preset value and the current value are equal.
Application example: Lighting an indicator light connected to smart relay output 1 when the preset value is reached. Else the indicator light is out.
&
4
44
7N WN
Reverse
1 Timer control input 2 Timer reset input 3 Control output (or when the Preset time is reached) 4 Type of Timer (8 possible types, see next page) 5 Preset time unit. 6 Preset time, the time value to be reached 7 Timer preset value lock 1RWH 7KLV VFUHHQ LV RQO\ GLVSOD\HG ZKHQ WKH FRLO FRUUHVSRQGLQJ WR WKH 7LPHU FRQWURO LQSXW LV HQWHUHG :KHQ D SRLQW LV GLVSOD\HG LQ WKLV VFUHHQ LW LQGLFDWHV WKDW WKH HOHPHQW ZDV QRW XVHG LQ WKH GLDJUDP OLQHV
45
Element
77 57 7\SH W V
7 or W
Description/Use Used as a coil in a Ladder diagram, this element represents the Timer function block control input. Its operation depends on the type selected (refer to the table on the next page for further details). Used as a coil in a Ladder diagram, this element represents the reset input. Triggering the coil will reset the current Timer value to zero. The T contact is disabled and the block is ready for a new timer cycle. There are 8 types of Timer. Each type triggers a specific kind of operation used to handle all possible cases in an application. The table on the next page provides a detailed description of these 8 types. Preset value, or the timer value to be reached. The effect of this value varies depending on the type used (refer to the table on the next page for further details). Preset value time unit. There are four possible cases: 1/100 ths. of a second: V Maximum: 99.99 1/10 ths. of a second: V Maximum: 999.9 Minutes: seconds: 06 Maximum: 99 :59 Hours: minutes: +0 Maximum: 99 :59 This parameter is used to lock the Timer function block preset value. Once locked, the preset value is no longer displayed in the "3$5$0(7" screen.. Used as a contact, this function block element represents the Timer output. Its operation depends on the type selected (refer to the table on the next page for further details).
46
7\SH & Trigger delay (off delay ). Example: To maintain fan operation after stopping the engine.
7\SH % Calibrated pulse on the control input rising edge (one shot). Example: To trigger a timed lighting circuit using a pushbutton and a timer.
7\SH : Calibrated pulse on the control input falling edge. Example: Closing a toll gate.
7\SH ' Symmetrical blinker (Repeat cycle). Example: Indicating a failure using a flashing light.
7\SH G Symmetrical blinker triggered by the rising edge on the control input with a Reset function. Example: A pulse triggered brake control function after power is cut. 7\SH 7 A totalizing count with Reset. Example: To request the replacement of a filter when the recommended service life is exceeded.
47
, 77 7 4 When entering 77 the Timer function block parameters must be set.
1RWH 7KH IROORZLQJ NH\V DUH XVHG 6HO2. WR VHOHFW RU YDOLGDWH D SDUDPHWHU = DQG = WR FKDQJH WKH YDOXH RI WKH VHOHFWHG SDUDPHWHU = DQG = WR PRYH IURP RQH SDUDPHWHU WR DQRWKHU Screen Comment This is the first screen. First select the type of Timer function block.
Once the type of Timer function block is selected: type B, calibrated pulse. Now select the time base.
Once the time base is selected 0 6. Now enter the required duration.
Once the duration has been selected, parameter setting is complete. Press (VF to return to diagram line entry. 1RWH 7R VWDUW WKH WLPHU GR QRW IRUJHW WR VHW WKH VPDUW UHOD\ WR 581
48
The analog function blocks can be used with the following smart relay references: SR1A101BD, SR1B101BD, SR1A201BD, SR1A201BD, SR1B122BD and SR1B121JD. These are DC supplied smart relays. These modules allow the use of two discrete inputs, ,% and ,& in the notation used, and they can accept input values from 0 to 10V. Analog function block are used to compare a measured analog value with an internal reference value and also to compare two measured analog values. This analog function is used in the form of a contact. Function block parameters can be set: when the contact representing the Analog function block ($N) is entered in the diagram line. The "3$5$0(7" menu lets the user change the reference or hysteresis value depending on the type of function block chosen.
$N DN
1RWH
Reverse
49
50
51
52
(GLWRU (QYLURQPHQW
A Ladder diagram is entered into the smart relay using the front panel keys. The key functions are listed in the table below: .H\ 'HVFULSWLRQ Press this key to delete an element or a Ladder diagram line.
Press this key to: - Make a selection, - Edit an elements parameter page, - Edit a display page, - Validate a selection made. For example, when a blinking n is displayed while entering a diagram, pressing this key will call-up the "selection" mode used to choose the required contact or coil. Press this key to exit the current screen after making the required changes or to cancel the current Ladder diagram entry. For example, after changing a function blocks parameters, press this key to return to diagram entry mode.
When entering a diagram, using the arrow key pad lets the user move from one element to another using the = and = keys, and then changing the elements value using the = and = keys.
In the remainder of this Chapter, these keys will be referred to as 'HO, ,QV /LQH, 6HO/ 2., (VF,=, =, = and =.
53
(QWHULQJ D FRQWDFW
(QWHULQJ D FRLO
&KDQJLQJ DQ HOHPHQW
To change an element in an existing Ladder diagram, simply move to the element to change and follow the same procedure as when entering a new element.
'HOHWLQJ DQ HOHPHQW
To delete an element, simply place the n cursor on the required element, then press 'HO. Generally, the deleted element must be replaced by a link.
54
55
56
57
58
,QWURGXFWLRQ
Once an application has been entered in Ladder diagram form, debugging tests still remain to be run. The first step is to set the smart relay to RUN. To do this, select the "5816723" option from the main menu and validate the RUN mode selection. From this moment on, the smart relay handles the physical inputs and outputs according to the instructions entered in the Ladder diagram.
-Display input status (B and C represent the analog inputs) !-Display the operating mode (RUN/STOP) "-Display a parameter, by default the day and time for products with a clock function #-Display the output status
1 2 3 4
When inputs or outputs are active, they appear in reverse video mode (using white on a black background). From this moment on, the term "dynamic operation" refers to the use of smart relay functions. In this publication, the terms RUN and dynamic have a similar meaning.
59
To change smart relay performance, the user can change or display some of the function block parameters.
60
Compared voltage level values Reference value Type of Analog function block
61
62
Menu
Access in STOP mode Yes Yes Yes Yes Yes Yes Yes Yes Yes Configuration menu
Access in RUN mode Yes Yes* Yes Yes Yes Yes No No Yes
* Some functions are accessible, others not. Refer to the previous Sub-sections
63
64
$SSOLFDWLRQ VSHFLILFDWLRQV
Here an example of an application using the Smart relay. The application calls for : To enhance and centralize the control system in the underground parking garage an administrative building. The vehicle entrance and exit to and from the parking garage are controlled by a typical automatic barrier that handles the normal standard functions such as opening and closing time delays to allow vehicles to pass, processing payment tickets, a built-in security intercom, external barrier locking in the closed position... In addition, the new specification calls for adding a function to count the number of vehicles in the parking garage and control a light up display informing users that all of the parking spaces are taken and stopping new entries by locking the barrier in the closed position. Drivers then know to look for a parking space elsewhere. It must also be possible to override this function when it is necessary to allow the emergency services to intervene (fire department, doctors...). The specification also calls for being able to inhibit access to the parking garage lot outside of working hours and to allow the security personnel to override this function for exceptional events. The normal working hours are: Monday to Friday, from 08:30 to 17:00, Saturday, from 09:30 to 12:00 and complete closure on Sundays. For safety reasons, it is also necessary to exhaust toxic emissions such as CO2 using a fan when the concentration levels measured exceed permissible levels (using a dedicated sensor that provides an output value between 0 and 10 V). There is also a requirement to control lighting triggered by a vehicle arriving and through push button switches placed near all of the pedestrian access points. For power saving reasons, the lighting will be switched off after a delay of ten minutes, normally providing enough time for a user to park, leave their vehicle and take the elevator or to return to their vehicle and leave the parking lot. To complement this system, manual intervention should allow updating the number of vehicles in the car park by incrementing or decrementing the number of vehicles as determined by the smart relay.
65
6SHFLILFDWLRQ $QDO\VLV
Smart relay label Input , Input , Counter & Output 4 Output 4 Function key = Function key = Function key = Function key = Clock function block N1
Description Vehicle entry detection. Vehicle exit detection. Counting the number of vehicles in the parking garage (93 maximum). Parking garage full indicator Entry barrier locking (inhibits entry barrier opening) when the car park is full or outside of office hours. Manual entry release. Resume automatic entry control. Manual incrementation of the number of vehicles in the parking garage. Manual decrementation of the number of vehicles in the parking garage. Managing parking garage access hours. Pushbuttons at pedestrian access points used to light parking garage lighting. One for the elevator and one for the stairway (no pedestrian access is allowed via the vehicle entry). Lighting control. Lighting timer (10 minutes). CO2 level sensor Comparison of the CO2 measurement with the authorized threshold. Polluted air extraction fan control. Fan timer (15 minutes).
Inputs , and , Output 4 Timer function block N1 Analog function block $, the authorized threshold value corresponds to 8.5 Volts. Output 4 Timer function block N2 1RWH Analog input ,%
7R LPSOHPHQW WKLV VROXWLRQ D VPDUW UHOD\ ZLWK DQDORJ LQSXWV &ORFN IXQFWLRQ EORFNV DQG DW OHDVW GLVFUHWH LQSXWV DQG RXWSXWV LV UHTXLUHG 7KH EHVW UHOD\ IRU WKLV DSSOLFDWLRQ LV DQ 65%%'
66
1RWH
:KHQ XSFRXQWLQJ DQG GRZQFRXQWLQJ WKH FRXQWHU ORFNV XS ZKHQ WKH SDUNLQJ JDUDJH EHFRPHV IXOO QR VSXULRXV GHWHFWLRQ RU FRXQWLQJ DFWLRQV WDNH SODFH LI YHKLFOHV DUH DOORZHG WR HQWHU LQ PDQXDO UHOHDVH PRGH ,03257$17 ,Q D JLYHQ FRXQWHU FRLOV && DQG '& PXVW RQO\ DSSHDU RQFH LQ D /DGGHU GLDJUDP ,Q DGGLWLRQ RXWSXW 4 LV WULJJHUHG ZKHQ HQWU\ LQWR WKH SDUNLQJ JDUDJH LV LQKLELWHG 7KLV OHDGV WR WKH XVH RI DQ DX[LOLDU\ UHOD\ WR PDQXDOO\ ORFN RU XQORFN WKH DFFHVV EDUULHU XVLQJ WKH FXUVRU NH\V
67
Opening hours: Monday to Friday from 08:30 to 17:30, Saturday from 09:30 to 12:00 and closed all day on Sunday. Two ranges are used.
Timer function block 7 Parking garage lighting timer duration (10 minutes).
Analog function block $ Comparison between the measured CO2 value and the threshold value (8.5 V).
Timer function block 7 Fan operating duration if the CO2 threshold is exceeded.
68
69
70
12 3$5$0(7
12 3$5$0(7
352*5$0 ,1&203$7
75$16)(55
75$16)(55
71
I still cannot access some parameters When I try to change a parameter, the = and = keys on the arrow key pad do not work. I cannot STOP my smart relay despite validating the RUN/ STOP option in the main menu using the 6HO 2. key. My Ladder diagram comprises 67 lines and it takes quite a long time to reach the last line. What can I do to speed things up? I would like to change my diagram lines but the 6HO 2. key no longer works. When I try to change my Ladder diagram lines, the smart relay shows me a blank screen, have I lost everything I did?
To move around faster, simply press on the = or = keys on the arrow key pad for a longer time. You can then scroll 5 lines at a time. Ensure that the smart relay is indeed stopped. Changes in RUN mode are not allowed. Not necessarily, this situation may occur if blank lines have been inserted at the start of the Ladder diagram. Press = to check whether your program lines are not located further down.
72
To use the Z keys as push buttons when displaying a ladder diagram in real-time mode, simply press 6HO2. when displaying the diagram. To disable the push button mode, simply press (VF.
Yes this is possible if your Ladder diagram does not use Clock function blocks.
It is highly probable that the module is one not fitted with a clock and as a result, the clock function blocks cannot be accessed. Check the product reference number. It is highly probable that the module does not have any analog inputs and as a result the analog function blocks cannot be accessed. Check the product reference number.
73
74
75
76
77
$SSHQGL[ &RQWHQWV
7KLV &KDSWHU FRYHUV WKH IROORZLQJ VXEMHFWV )RUPV BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB Ladder Diagram _________________________________________________ Clock function block ______________________________________________ Counter function block ____________________________________________ Timer function block ______________________________________________ Analog function block _____________________________________________ Arrow keys _____________________________________________________ Users quick reference ____________________________________________ 79 80 80 80 81 81 81
78
)RUPV
Ladder diagram
/$''(5 ',$*5$0
__________________________ __________________________
Title page: _________________________ 6PDUW 5HOD\ $SSHQGL[ 79
)RUPV
&ORFN IXQFWLRQ EORFN
'&
'&
'&
'&
7\SH
7\SH
7\SH
7\SH
80
)RUPV
$QDORJ IXQFWLRQ EORFN
$ $ $ $
$QDORJ
$QDORJ
$QDORJ
$QDORJ
$UURZ NH\V
z1 z4 z3 z2 z4
z1 z2 z3
To display parameters, press 6HO 2. to bring up the "3$5$0(7" menu, then scroll the parameters using the = and = keys.
81
82
,QGH
&
Calibrated pulse . . . . . . . . . . 47 Clock contact. . . . . . . . . . . . . . 39 enter . . . . . . . . . . . . . . . 41 number . . . . . . . . . . . . . 39 operation . . . . . . . . . . . . 39 parameters . . . . . . . . . . 40 summary . . . . . . . . . . . . 42 Coil counter . . . . . . . . . . . . . 43 enter . . . . . . . . . . . . . . . 54 output . . . . . . . . . . . . . . 35 remote control relay . . . 35, RESET . . . . . . . . . . . . . 35, SET . . . . . . . . . . . . . . . . 35, Coils timer . . . . . . . . . . . . . . . 45 Configuration menu . . . . . . . . . . . . . . . 11, Connection discrete . . . . . . . . . . . . . 6 PC . . . . . . . . . . . . . . . . . 3 Contact analog . . . . . . . . . . . . . . 49 clock . . . . . . . . . . . . . . . 39 counter . . . . . . . . . . . . . 43 entering . . . . . . . . . . . . . 54 input . . . . . . . . . . . . . . . 34 output . . . . . . . . . . . . . . 35 timer . . . . . . . . . . . . . . . 45 Counter contact. . . . . . . . . . . . . . 43 decrementing . . . . . . . . 44 incrementing . . . . . . . . . 44 number . . . . . . . . . . . . . 43 parameters . . . . . . . . . . 43 preset . . . . . . . . . . . . . . 44 reset . . . . . . . . . . . . . . . 44
7 11 7 11 71 3, 11
EEPROM location . . . . . . . . . . . . . transfer . . . . . . . . . . . . . Electrical diagram notation. . . . . . . . . . . . . ERR. RUN MODE . . . . . . . . Example specifications . . . . . . . .
3 11 18 71 65
)
36 36 36
12
Fast input menu. . . . . . . . . . . . . . . Filtering . . . . . . . . . . . . . . . . Function Init. . . . . . . . . . . . . . . . . Function block analog . . . . . . . . . . . . . . clock . . . . . . . . . . . . . . . counter . . . . . . . . . . . . . timer . . . . . . . . . . . . . . .
12 29 28 49 39 43 45
'
Ib . . . . . . . . . . . . . . . . . . . . . Ic . . . . . . . . . . . . . . . . . . . . . Ini. . . . . . . . . . . . . . . . . . . . . Inputs analog . . . . . . . . . . . . . . connection . . . . . . . . . . contact . . . . . . . . . . . . . current . . . . . . . . . . . . . discrete . . . . . . . . . . . . . display . . . . . . . . . . . . . fast . . . . . . . . . . . . . . . . filtering . . . . . . . . . . . . . number . . . . . . . . . . . . . voltage . . . . . . . . . . . . . Insert line . . . . . . . . . . . . . . .
50 50 8 3, 4, 50 5, 6 34 4 4, 34 3, 59 29 12 4 4 7
.
Key arrow . . . . . . . . . . . . . . . 3 delete . . . . . . . . . . . . . . 3, 7 escape . . . . . . . . . . . . . 3, 7 insert . . . . . . . . . . . . . . . 3, 7 pushbutton . . . . . . . . . . 3, 60 selection . . . . . . . . . . . . 3, 7 Z . . . . . . . . . . . . . . . . . . 12, 30, 38, 60
number . . . . . . . . . . . . . 4 relay . . . . . . . . . . . . . . . 4
Label . . . . . . . . . . . . . . . . . . 3 Ladder diagram delete . . . . . . . . . . . . . . 57 display in RUN mode . . 60 entry . . . . . . . . . . . . . . . 20 example . . . . . . . . . . . . 67 insert . . . . . . . . . . . . . . . 57 nbr. of lines . . . . . . . . . . 33 notation . . . . . . . . . . . . . 18 operation . . . . . . . . . . . . 15 Language choice . . . . . . . . . . . . . . 8 menu . . . . . . . . . . . . . . . 12 modifying. . . . . . . . . . . . 28 number . . . . . . . . . . . . . 28 Link entering . . . . . . . . . . . . . 55
Parameters analog. . . . . . . . . . . . . . Clock function block . . . counter . . . . . . . . . . . . . display . . . . . . . . . . . . . menu . . . . . . . . . . . . . . timer . . . . . . . . . . . . . . . Paramtres enter . . . . . . . . . . . . . . . Password cancel . . . . . . . . . . . . . . effect. . . . . . . . . . . . . . . enter . . . . . . . . . . . . . . . menu . . . . . . . . . . . . . . modify. . . . . . . . . . . . . . Power supply general . . . . . . . . . . . . . value. . . . . . . . . . . . . . . Preset counter . . . . . . . . . . . . . timer . . . . . . . . . . . . . . . Program menu . . . . . . . . . . . . . . PROGRAM. INCOMPAT. . .
50 40 43 3, 59 11 45, 62 56 27 27 27 12 27 3 4 44 46 11 71
4 5
Main menu access. . . . . . . . . . . . . . 7 description. . . . . . . . . . . 10 Menu in RUN mode . . . . . . . . 63 Messages. . . . . . . . . . . . . . . 71 Modify element value . . . . . . . . 9 field . . . . . . . . . . . . . . . . 9 Mounting . . . . . . . . . . . . . . . 3
NO PARAMET. . . . . . . . . . . 71
timer . . . . . . . . . . . . . . . 46 Time out idle. . . . . . . . . . . . . . . . . 47 working . . . . . . . . . . . . . 47 Timer command . . . . . . . . . . . 46 contact. . . . . . . . . . . . . . 45 number . . . . . . . . . . . . . 45 parameters . . . . . . . . . . 45 preset . . . . . . . . . . . . . . 46 reset . . . . . . . . . . . . . . . 46 time base. . . . . . . . . . . . 46 type . . . . . . . . . . . . . . . . 46, 47 Total . . . . . . . . . . . . . . . . . . . 47 TRANSF.ERR . . . . . . . . . . . 71 Transfer EEPROM. . . . . . . . . . . . 11, 76 PC . . . . . . . . . . . . . . . . . 11 Two-way switch enter . . . . . . . . . . . . . . . 20
Validate . . . . . . . . . . . . . . . . 7
The products, equipment and services presented in this document are subject to change in their presentation, operating or usage characteristics. Their description cannot be considered contractually binding. Copyright Telemecanique 2000. All rights reserved. This document may not be reproduced or copied, in whole or in part, in any form or by any means, graphic, electronic, mechanical or other, including photocopying, recording or storage in a retrieval system.