Easy xLogic SuperRelay User manual

Super
Relay
Manual
Updated:December2008
The xLogic SuperRelayis anEasy
Electronic Co., Ltdmanufactured
product.
INNOVATIVE & SMALL
EASY TO PROGRAM
LOST COST FACTOR
REPLACESMINI
PLCs
Super
Relay
Manual

Content.
Introduction
Getting started
Installation and wiring
Functions
Configuring
Applications
Software
Technical data

xLogic SuperRelay Users Manual
2
Introduction
Congratulations with your xLogic SuperRelay provided by Easy Electronic
Co., Ltd.
The xLogic SuperRelay is a compact and expandable CPU replacing mini
PLCs, multiple timers, relays and counters.
The xLogic SuperRelay perfectly fits in the space between timing relays
and low-end PLCs. Each CPU incorporates not only a real-time clock and
calendar, but also provides support for optional expansion I/O modules
to enhance control and monitoring applications.
Data adjustments can easily be performed via the keypad, the LCD
display, or through the easy-to-use xLogic software. DIN-rail and panel
mounted options are both are available, offering full flexibility to the
various installation needs of your application.
The xLogic SuperRelay is available in 120V/240V AC or 12V and 24V DC
versions, making it the ideal solution for relay replacement, or simple
control applications as building and parking lot lighting, managing
automatic lighting, access control, watering systems, pump
control, ventilation systems, home automation and a wide field of other
applications demanding low cost to be a primary design issue.
We strongly recommended taking the time to read this manual, before
putting the xLogicSuperRelayto work. Installation, programming and use
of the unit are detailed in this manual. The feature-rich xLogic SuperRelay
provides a for off-line operation mode, allowing full configuration and
testing prior to in-field service commissioning. In reviewing this manual
you will discover many additional advantageous product properties, it will
greatly simplify and optimize the use of your xLogic SuperRelay.

User’s Manual xLogic SuperRelay
3
Valid range for this manual
The manual applies to devices of the series ELC-18, ELC-12 and ELC-E
Safety Guideline
This manual contains notices you have to observe in order to ensure your
personal safety, as well as to prevent damage to property. The notices referring
to your personal safety are highlighted in the manual by a safety alert symbol,
notices referring to property damage only have no safety alert symbol. The notices
shown below are graded according to the degree of danger.
Caution
Indicates that death or severe personal injury may result if proper precautions are not
taken
Caution
With a safety alert symbol indicates that minor personal injury can result if proper
precautions are not taken.
Caution
Without a safety alert symbol indicates that property damage can result if proper
precautions are not taken.
Attention
Indicates that an unintended result or situation can occur if the corresponding notice
is not taken into account.
If more than one degree of danger is present, the warning notice
representing the highest degree of danger will be used. A notice warning of
injury to persons with a safety alert symbol may also include a warning
relating to property damage.

xLogic SuperRelay Users Manual
4
Qualified Personnel
The device/systemmayonlybeset upand usedin conjunction with this
documentation.Commissioningandoperation of a device/system mayonly be
performed by qualified personnel. Within the context of the safety notices in this
documentation qualified persons are defined as persons whoare authorized to
commission,groundandlabeldevices, systemsand circuits in accordance with
established safetypractices and standards.
Prescribed Usage
Note the following:
Warning
This deviceand itscomponentsmayonly beused for theapplications described
in the catalogor thetechnicaldescription, and only in connectionwith devices
orcomponents from other manufacturers which have been approved or
recommended by EASY.Correct, reliable operationof theproductrequires
proper transport,storage, positioning and assembly as well as careful operation
and maintenance.
Trademarks
All names identified by xLogic are registered trademarksof the EASY. The
remaining trademarks in this publication maybe trademarks whose use by third
parties fortheir ownpurposescould violate the rights of theowner.
Copyright Easy 2007 all rights reserved
The distribution and duplication of this documentor theutilizationand
transmissionofitscontents are notpermitted without express written
permission. Offenders will beliable fordamages.All rights, including
rightscreated by patent grant or registration of a utility modelor design,
are reserved.
DisclaimofLiability
Wehavereviewedthecontentsof thispublicationtoensure consistencywiththe
hardware and softwaredescribed. Sincevariance cannotbeprecludedentirely, we
cannotguaranteefull consistency.However,theinformationin thispublicationisre-
viewedregularlyandanynecessary correctionsareincluded insubsequenteditions.

User’s Manual xLogic SuperRelay
5
Contents
1. General Introduction to xLogic 8
2. Installation/remove xLogic 18
2.1 DIN rail mounting 19
2.2 Wiring the xLogic 20
2.2.1Connecting the power supply 20
2.2.2 Connecting xLogic inputs 21
2.2.3 Connecting xLogic outputs 24
3. Programming xLogic 26
3.1 General Input & Output functions 26
3.1.1 Inputs 26
3.1.2 Cursor keys 27
3.1.3 Outputs 27
3.1.4 Permanent logical levels HI and LO 27
3.1.5 Shift register bits 27
3.1.6 Analog inputs 28
3.2 Basic functions list – GF 29
3.2.1 AND 29
3.2.2 AND with edge evaluation 31
3.2.3 NAND 31
3.2.4 NAND with edge evaluation 32
3.2.5 OR 33
3.2.6 NOR 34
3.2.7 XOR 35
3.2.8 NOT 35
3.3 Basics on special functions 35
3.3.1 Designation of the inputs 36
3.3.2 Time response 37
3.3.3 Backup of the real-time clock 38
3.3.4 Retentivity 38
3.3.5 Parameter protection 39
3.3.6 Calculating the gain and offset of analog values 39
3.4 Special functions list – SF 41
3.4.1 On-delay 41
3.4.2 Off-delay 43
3.4.3 On-/Off-delay 44
3.4.4 Retentive on-delay 46
3.4.5 Wiping relay (pulse output) 47
3.4.6 Edge triggered wiping relay 48
3.4.7 Asynchronous pulse generator 49
3.4.8 Random generator 50
3.4.9 Stairway lighting switch 52
3.4.10 Multiple function switch 53
3.4.11 Weekly timer 55
3.4.12 Yearly timer 57
3.4.13 Up/down counter 60

xLogic SuperRelay Users Manual
6
3.4.14 Hours counter 62
3.4.15 Threshold trigger 65
3.4.16 Latching relay 67
3.4.17 Pulse relay 68
3.4.18 Message text 69
3.4.19 Softkey 73
3.4.20 Shift register 74
3.4.21 Analog comparator 76
3.4.22 Analog threshold trigger 78
3.4.23 Analog amplifier 81
3.4.24 Analog value monitoring 82
3.4.25 Analog differential trigger 84
3.4.26 Analog multiplexer 86
3.5 HMI block 88
3.5.1 System cover 88
3.5.2 System input/output 89
4. Configuring xLogic 91
4.1 Instruction of xLogic-HMI 91
4.2 Select function page 92
4.2.1 Run/Stop 94
4.2.2 Set parameter 95
4.2.3 Set password 99
4.2.4 Set Address of expansion module 102
4.2.5 Modification Methods of System Time 103
5.Application 105
5.1 Dual-function switch 106
5.1.1 Standard solution 106
5.1.2 The scheme of xLogic 108
5.2 Automatic gate 109
5.2.1 Standard solution 110
5.2.2 The scheme of xLogic 111
5.3 Ventilation system 113
5.3.1 Standard solution 114
5.3.2 The scheme of xLogic 115
5.4 Factory door 117
5.4.1 Standard solution 118
5.4.2 The scheme of xLogic 118
5.5 Daylight lamp system 120
5.5.1 Standard solution 121
5.5.2 The scheme of xLogic 122
5.6 Rainwater pump 124
5.6.1 Standard solution 125
5.6.2 The scheme of xLogic 125

User’s Manual xLogic SuperRelay
7
6. xLogic Software 127
6.1 Connecting the xLogic to a PC 151
Appendix
A Technical data 153
A.1 General technical data 153
A.2 Technical data: xLogic (ELC series) 155
A.3 Relay switch life 159

xLogic SuperRelay Users Manual
8
1.
General Introduction to xLogic
Overview
xLogic SuperRelay is a universal logic module made by Easy Electronic Co., Ltd and
marketed by Inter Reps Ltd. to selected distributors around the globe.
xLogic SuperRelay is a compact and expandable CPU replacing mini PLCs,
multiple timers, relays and counters.
The xLogic SuperRelay perfectly fits in the space between timing relays and a
low-end PLCs. Each CPU incorporates not only a real-time clock and calendar, but
also provides support for optional expansion I/O modules to enhance control and
monitoring applications.
Data adjustments can easily be performed via the keypad, the LCD display,
or through the easy-to-use xLogic software. DIN-rail and panel mounted options
are both are available, offering full flexibility to the various installation needs
of your application.
The xLogic SuperRelay is available in 120V/240V AC or 12V and 24V DC versions,
making it the ideal solution for relay replacement, or simple control applications as
building and parking lot lighting, managing automatic lighting, access control,
watering systems, pump control, ventilation systems, home automation and a
wide field of other applications demanding low cost to be a primary design issue.
Highlight features:
4-lines, 10-character per line, backlight display.
Multiple value display and input via keypad and LCD display.
Function Block Diagram
Standard Modbus RTU communication protocol supported.
CAN BUS protocol based expansion modules
Expandable up to 31 linked modules reaching fast reacting 514 I/O points
RS232 and RS485 port (expandable port of CPU unit).
Long distance remote I/O
Optional Ethernet connectivity
SMS Alarm / Alert module
SuperRelay accepts SMS programming
SSI encoder interface module
Supplies 8 analogue inputs with DC0-10V.
Real Time Clock (RTC)
Two channel high-speed counting (99Khz)
Pre-configured standard functions, e.g. on/ off-delays, pulse relay and
softkey

User’s Manual xLogic SuperRelay
9
2 PWM channels
RS232 communication download cable with photo-electricity isolation
USB communication download cable with photo-electricity isolation
Programmable capability up to 256 function blocks(ELC-18)
Mounting via modular 35mm DIN rail or screw fixed mounting plate
On-line monitor capability
Compact design
Low cost pricing
Some of the things xLogic can do for you?
The xLogic SuperRelay provides solutions for commercial, industrial, building and
domestic applications such as lighting, pumping, ventilation, shutter operations or
in switching cabinets. The application field is widespread and these are just a few
to mention.
Using the CAN bus and Ethernet connectivity allows the user to realize various
extensive (real-time) monitoring and control applications. Utilizing the optional
SMS module the systems can furthermore be remotely controlled via (GSM) cell
phone. SMS Alarms, status updates and any other desirable messages can be
provided at set triggers.
Special versions without operator panel and display unit are available for series
production applications in small machine, installation and cabinet building
environments to further slash cost.

xLogic SuperRelay Users Manual
10
xLogic devices:
xLogic Basic is available in two voltage classes:
*Classes 1: DC12-24V: i.e.: ELC-18DC Series and ELC-12DC Series.
*Classes2:AC110-240V: i.e.: ELC-18AC Series and ELC-12AC
Series
In the versions:
* With Display: ELC-18 Series (12 inputs and 6 outputs)
* Without Display: ELC-12 Series (8 inputs and 4 outputs)
ELC-18 Series is equipped with an expansion bus (Can Bus)
Each Version is provides 36 pre-configured standard and special function blocks for the
creation of your circuit program.
Expansion modules:
* xLogic digital modules are available for operation with 12…24V DC, and 110.. .240 V AC,
and are equipped with eight inputs and eight outputs.
* xLogic analog modules are available for operation with 12…24 V DC and are
equipped with six digital and two analog inputs.
Communication modules:
xLogic:RS232 communication module (type:ELC-RS232)
It is kind of universal module with photoelectricity isolation which can be directly
connected to standard 9-pin port of PC, also kind of interface module which can
enable user’s program to be downloaded into xLogic main module through
xLogicsoft for running.
xLogic: USB communication module (type: ELC-USB).
It is kind of communication module with photoelectricity isolation through which
PC with USB port only can be connected to xLogic main module, moreover, it has
same features as ELC-RS232 module, so it is quite convenient for user whose

User’s Manual xLogic SuperRelay
11
computer has no standard serial port.
xLogic: Ethernet module(type:ELC-Ethernet)
It is called Ethernet module, used to connect xLogic main modules in different places
to enormous Ethernet to buildup a huge monitoring and control system. It contains
DC and AC two types.
xLogic: SMS module(type:ELC-SMS)
ELC-SMS is kind of SMS module, through which SMS can be regarded as
expansion input by user to realize wireless remote control and it can send alarm
messages to user cell phones.
Communication / Network
xLogic offers different ways to communicate within the system.
RS485 port
The RS485 port is used for communication between the main module and various devices
or equipments which have the standard RS485 port .(only ELC-18 Series available, not
applied to ELC-12 series) Communicate using Modbus RTU protocol.
RS232 or USB port
If there is no network required and only one main module with some expansion modules
is needed for the application, the down- and upload of the project to and from the main
module happens over the standard RS232 or USB port. It allows system maintenance like
monitoring too.

xLogic SuperRelay Users Manual
12
Ethernet network
If the application requires a system where more than one main module is needed and these
main modules have to communicate, each main module will be connected over an
Ethernet Module box to the Ethernet. The project down- and upload to and from the main
modules and the communication between the main modules happens over the Ethernet
network. Furthermore the visualization of the whole system is possible and easy to realize
a personal computer.

User’s Manual xLogic SuperRelay
13
CAN bus
The communication between the main module and the expansion modules or the remote
I/O happens over a CAN bus. CAN is a widely used bus system(only ELC-18 Series
available, not applied to ELC-12 series)
Note
xLogic Main Module may be equipped with expansion modules of the different voltage
class, but expansion module must be supplied the correct power corresponding to its
type.
Eac h xLo gic Main Modul e provides the following connections for the
creation of the circuit program, regardless of the number of connected blocks:
Digital inputs I1 to IC(ELC-18),I1 to I8(ELC-12).
Analog inputs AI1 to AI8
Digital outputs Q1 to Q6(ELC-18),Q1 to Q4(ELC-12)
Shift register bits S1 to S8
4 cursor keys
Naming Rules of ELC Series
Model name(main module):

xLogic SuperRelay Users Manual
14
1. Series name
2. Points of input and output
3. Supply power AC or DC
4. Digital/Analog D: digital DA: digital/analog L: with photoelectricity isolation
5. Output format R: relay T: transistor
TN = “NPN” transistor; TP= “PNP” transistor
Model name (expansion module):
1. Series name
2. E: expansion module
3. Points of input and output
4. Supply power AC or DC
5. Digital/Analog D: digital DA: digital/analog
6. Output format R: relay TP: “PNP” transistor;
TYPE Supply
Voltage
Inputs Outputs PWM HMI RTC
ELC-
12AC-R
AC110~
AC240V
8
digital
4 relays
(10A)no no yes
ELC-
12DC-D-R
DC24V 8
digital
4 relays
(10A)no no yes
ELC-12DC-D-
TP
DC24V 8
digital
4 transistor
(0.3A)
1 ch(Q4) no yes

User’s Manual xLogic SuperRelay
15
Structure
1.ELC-18 Series Main Module
ELC-
12DC-DA-R
DC24V 8 analog
/digital
4 relays
(10A)no no yes
ELC-12DC-DA
-TP
DC24V 8 analog
/digital
4 transistor
(0.3A)
1 ch(Q4) no yes
ELC-
18AC-R
AC110~
AC240V
12 digital 6 relays
(10A)no yes yes
ELC-
18AC-L-R
AC110~
AC240V
12
digital(is
-olation)
6 relays
(10A)no yes yes
ELC-
18DC-D-R
DC24V 12
digital
6 relays
(10A)no yes yes
ELC-18DC-D-
TP
DC24V 12
digital
6 transistor
(0.3A) 2
ch(Q5,Q6)
yes yes
ELC-
18DC-DA-R
DC24V 8analog/
digital+
4digital
6 relays
(10A)no yes yes
ELC-18DC-DA
-TP
DC24V 8analog/
digital+
4digital
6 transistor
(0.3A) 2
ch(Q5,Q6)
yes yes
ELC-E-16AC-
R
AC110~
AC240V
8 digital 4 relays
(10A)
+4 relays(3A)
no
ELC-
E-16DC-D-R
DC24V 8digital 4 relays
(10A)
+4 relays(3A)
ELC-
E-16DC-DA-R
DC24V 6digital
+2analog
/digital
4 relays
(10A)
+4 relays(3A)

User’s Manual
xLogic SuperRelay
17
2.ELC-12 Series Main Module
3.ELC-E Series Expansion Module

xLogic SuperRelay User’s Manual
18
2. Installing/removing xLogic
Dimensions
The xLogic installation dimensions are compliant with DIN 43880.
xLogic can be snap-mounted to 35 mm DIN rails to EN 50022 or on
the wall.
xLogic width:
ELC-12 Series Main Module has a width of 72mm.
ELC-18 Series Main Module has a width of 95mm.
ELC-E expansion modules have a width of 72mm .
Note

User’s Manual
xLogic SuperRelay
19
The figure below shows you an example of the installation and removal of an ELC-12AC
main module. The measures shown apply to all other ELC-12 Series versions and
ELC-18 Series versions and expansion modules.
W a r n i n g
Always switch off power before you “remove” and “insert” an expansion
module.
2.1 DIN rail mounting
1. Hook the xLogic Basic module onto the rail.
2. Push down the lower end to snap it on. The mounting interlock at the rear
must engage.

xLogic SuperRelay User’s Manual
20
2.2 Wiring the xLogic
Wire the xLogic using a screwdriver with a 3-mm blade.
You do not need wire ferrules for the terminals. You can use conductors with
cross-sections of up to the following thicknesses:
1 x 2.5 mm2
2 x 1.5 mm2for each second terminal chamber
Tightening torque: 0.4.. .0.5 N/m or 3. ..4 lbs/in
Note
Always cover the terminals after you have completed the in st al la t ion. To p r o tect
x Lo g ic a d e qu at e l y f ro m impermissible contact to live parts, local standards must be
complied with.
2.2.1 Connecting the power supply
The ELC-18AC and ELC-12AC versions of ELC are suitable for operation with rated
voltages of 110 V AC and 240 V AC. The ELC-18DC and ELC-12DC versions can be
operated with a 12 or 24 VDC power supply. For information on permissible voltage
tolerances, line frequencies and power consumption, refer to the installation instructions
in the Product Information supplied with your device and to the technical data in
Appendix A.
Note
A power failure may cause an additional edge triggering signal.
Data of the last uninterrupted cycle are stored in xLogic.
To connect xLogic to the power supply:
This manual suits for next models
14
Table of contents