Devantech dS378 Bedienungsanleitung

dS378
dS378 User Manual v2.19
Table of Contents
Do umentation history....................................................................................................3
A qui k look...................................................................................................................4
Introdu tion..................................................................................................................5
Getting started...............................................................................................................6
Configuring the dS378....................................................................................................8
Status page...............................................................................................................9
Network page...........................................................................................................10
TCP/IP page.............................................................................................................11
Webpage se urity.....................................................................................................12
Naming relays..........................................................................................................14
Relay automation.....................................................................................................15
Naming I/O's...........................................................................................................16
Email notifi ations....................................................................................................17
Peer to Peer.............................................................................................................18
S hedules................................................................................................................19
Counter/Timers........................................................................................................21
The appli ation page.....................................................................................................24
Appli ation page se urity...........................................................................................25
A essing your webpage from the internet...................................................................26
Boolean equations........................................................................................................27
TCP/IP ommand sets...................................................................................................29
ASCII ommand set..................................................................................................29
Binary ommand set.................................................................................................31
AES binary ommand set...........................................................................................33
Modbus ommands...................................................................................................35
Fun tion 01 (0x01) Read Coils................................................................................35
Fun tion 04 (0x04) Read Input Registers.................................................................35
Fun tion 05 (0x05) Write Single Coil.......................................................................35
Error ode 1.........................................................................................................36
Error ode 2.........................................................................................................36
Error ode 3.........................................................................................................36
Loading the appli ation firmware....................................................................................37
dS378 hardware...........................................................................................................39
LED indi ation..........................................................................................................40
Power supply...........................................................................................................40
Operating temperature..............................................................................................40
Power relays............................................................................................................41
Analogue/Digital flexible I/O's....................................................................................42
Conne tion examples................................................................................................42
Serial port onne tions..............................................................................................44
dS378 dimensions........................................................................................................45
Notes..........................................................................................................................46
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 2
www.pishrobot.com

dS378
dS378 User Manual v2.19
Documentation history
V2.18 First release of separate dS378 manual
V2.19 Added new features:
Peer to Peer Use events to ontrol relays on another dSxxxx module.
S hedules Create regular timed events
Counters Count input transitions or se onds
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 3
www.pishrobot.com

dS378
dS378 User Manual v2.19
A quick look
Ethernet onne ted module, 10/100Mb auto negotiated.
Relays – 8 x 16Amp 250Va C/O.
I/O – 7 x flexible I/O's NPN output, Volt free input or 10-bit analogue input.
Power – 12VDC 1Amp supply required. 2.1mm enter positive.
Conne tions – S rew Terminals for N/O N/C and Common onta ts
PCB size – 156mm x 84mm
Controlled graphi ally by se ure webpage or optionally one of ASCII, Binary or Modbus
ommand sets over TCP/IP.
Email notifi ations – 8 sele table notifi ations, up to 100 emails/hour max.
Peer to Peer – Control relays on other modules.
S hedules – Able to s hedule events based on time of day/week
Counter/Timers – Count or time events. 20 ounts/se ond Max.
Also available when optionally programming in dS ript are two TTL level serial ports and an
RS485 serial port.
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 4
www.pishrobot.com

dS378
dS378 User Manual v2.19
Introduction
The dS378 is an Ethernet onne ted relay module featuring 8 hannels of 16Amp 250Va
relays. Ea h relay has both normally open (NO) and normally losed (NC) as well as the
ommon available on three terminals.
In addition to the relays, the dS378 has 7 flexible I/O hannels whi h may be individually
onfigured to be:
1. NPN transistor output.
2. A tive low input with pull-up (allows dire t onne tion of volt free onta ts).
3. A tive low input without pull ups (easy to onne t logi level inputs).
4. Analogue inputs (0v-3.3v input range).
The dS378 requires a 12v 1Amp power supply su h as this one:
http://www.robot-ele troni s. o.uk/universal-12vd .html
The dS378 has four built in ontrol methods.
Primary ontrol method is graphi ally by using its built in se ure website.
Se ondary ontrol may be one of:
ASCII - type in ommands via a program su h as PuTTY.
Binary - Command set using binary odes
Modbus – Fun tions 1, 4 and 5 supported
And if you should wish to modify the supplied firmware – you an.
Behind the s enes there is dS ript, a powerful multi-threaded operating system and
programming language. The supplied firmware is written in dS ript as well as HTML, CSS and
Javas ript on the webpages and the full sour e is in the separately down-loadable dS ript
pa kage.
You do not need to use dS ript at all, but its great to know its there - just in ase you do.
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 5
www.pishrobot.com

dS378
dS378 User Manual v2.19
Getting started
Start by plugging in the Ethernet able to onne t the module to your network, and the 12v
ja k plug from your adapter. Swit h on and the first thing you will note is that the blue LED will
flash 3 times. This indi ates that the ontrol firmware is loaded on the module. (If the blue led
does not flash you will need to load in the control firmware. Don't worry, this is very easy to
do. Just go to the chapter on installing the firmware and follow the instructions there).
If you are using a Win7/8/10 PC, open your browser and into the address bar (not the sear h
bar) type:
http://dS378/index.htm
You should now see the appli ation webpage and you an ontrol relays and I/O's.
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 6
www.pishrobot.com

dS378
dS378 User Manual v2.19
If you are not using a windows PC then you will need to find the IP address of the module. If
you have a DHCP server on your network (your router is normally the DHCP server) then the
dS378 will get its IP address from that. Log on to your router and navigate to the LAN lient
list.
Above is the entry from our ASUS RT-N66U router. So now you type:
192.168.0.90/index.htm
into your browser address bar and you should see the appli ation webpage shown on the
previous page.
If you prefer, you an download a java program that will run on Windows, MAC or Linux, and
will list all of our modules that are onne ted to your LAN. Devante hModuleFinder.jar
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 7
www.pishrobot.com

dS378
dS378 User Manual v2.19
If you do not have a DHCP server the dS378 will use a default IP address of 192.168.0.123 so
make sure your PC is on the same subnet of 255.255.255.0 and its IP address is
192.168.0.xxx
Configuring the dS378
There are a set of onfiguration pages to get the dS378 operating as you want it. These pages
are all _ onfigx.htm, (that's a leading unders ore hara ter).
ie.
_ onfig.htm
_ onfig2.htm
Anything that starts with _ onfig is onsidered a spe ial name for onfiguration pages and an
only be seen if you have the the USB able plugged in and onne ted to your PC.
Why only if the USB able is plugged in?
Its an additional se urity measure. After you have onfigured and deployed the module, you
really don't want these onfiguration pages available for others to hange. So with the USB
able dis onne ted the _ onfig pages are not available. If you try to a ess them you just get
served a “not authorised” page instead.
So for now, you do want to look over the onfig pages. If you have a Win10, Linux or MAC PC,
you an go right ahead and plug in the USB able. These ma hines will install their own USB
drivers. We won't be sending anything to the board, its just the presen e of the USB
onne tion that enables the onfig pages to be served. If you have a Win7 or Win8 PC you will
need to install the drivers. (go to the chapter on installing the firmware and follow the
instructions there).
With the USB able onne ted, browse to:
192.168.0.90/_ onfig.htm
(substituting your IP address)
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 8
www.pishrobot.com

dS378
dS378 User Manual v2.19
Status page
You should now see the following page:
This status page shows you the system and appli ation firmware revisions as well as the
supplied voltage to the board and its internal temperature.
If you hover your mouse ursor over the menu buttons on the left, the help panel will give you
an overview of ea h one.
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 9
www.pishrobot.com

dS378
dS378 User Manual v2.19
Net ork page
Noti e that everything below the Host Name is greyed out and an't be hanged. This is
be ause the “Enable DHCP” box is he ked and all the greyed out fields are supplied by the
DHCP server. Although a qui k way to get you onne ted, we really do not re ommend this as
the DHCP server an assign a different IP ea h time you power up. If you want to ontrol this
module from the internet while you are away from the premises then you will be setting up
port forwarding on your router whi h requires a fixed IP address.
So lets do that first.
Un he k the DHCP box and you an then set all the other fields. Noti e that the Red “Update
Pending” light omes on. It indi ates there are hanges whi h have not yet been written to the
flash memory. It will go off again 5 se onds after you stop hanging anything.
Choose an IP address for the module, something outside of the DHCP settings on your router
so it will not assign anything to that address.
The subnet mask, Gateway and DNS an all be left as the defaults.
Network hanges only take effe t after the next re-boot, so wait until the “Update Pending”
light goes out and give the reset button on the module a qui k press. The Green Led will light
and the Blue led will flash 3 times. You will now find the module at your new IP address. If the
Red led omes on after you press the reset button, its be ause you pressed it for too long (and
entered bootloader mode). Just have another go with the reset button for a bit less time.
Your browser won't know you have hanged the IP address so it will still be showing the old,
now dead page. Make sure you hange to your new IP address and load the page again.
Copyright © 2016-2017, Devante h Ltd.
All rights reserved. www.robot-ele troni s. o.uk 10
www.pishrobot.com
Inhaltsverzeichnis
Andere Devantech Relais Handbücher

Devantech
Devantech ESP32SR88 Bedienungsanleitung

Devantech
Devantech ESP32LR42 Bedienungsanleitung

Devantech
Devantech dS2832 Bedienungsanleitung

Devantech
Devantech tcp184 Bedienungsanleitung

Devantech
Devantech dS2824 Bedienungsanleitung

Devantech
Devantech ETH8020 Leitfaden

Devantech
Devantech dS2824 Bedienungsanleitung

Devantech
Devantech dS3484 Bedienungsanleitung

Devantech
Devantech ESP32LR20 Bedienungsanleitung

Devantech
Devantech ESP32LR88 Bedienungsanleitung


















