Sie sind auf Seite 1von 45

DAEnetIP2 Eight Relay Module LM35DZ User Manual

18 Nov 2013
DAEnetIP2 Eight Relay Module
(optimized for temperature measurement with LM35DZ)
User Manual
Date: 18 Nov 2013
-1-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
Content
1. Features ............................................................................................................3
2. Technical parameters........................................................................................4
3. Application examples.......................................................................................5
4. Product installation...........................................................................................6
5. Default Settins................................................................................................!
6. "onnectors and ports........................................................................................#
!. $e% access.....................................................................................................12
&. S'(P access..................................................................................................23
#. Appendix 1. Po)er suppl*.............................................................................3+
1+. Appendix 2. Port for)ardin , for ad-anced users.......................................31
11. Appendix 3. Soft)are...................................................................................32
12. Appendix 4. Soft)are examples...................................................................3#
13. Appendix 5. Firm)are uprade....................................................................4+
14. Appendix 5. ./0 Ports 1DA2net.P2 P33.......................................................42
15. Appendix 4. 4(35D5 sensor connection....................................................43
16. Appendix 5. (echanical dra)......................................................................44
1!. Document re-isions......................................................................................45
-2-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
1. Features
This is multifunctional standalone device for management, control and sensor
monitoring (especiall suita!le for "M3#$% temperature sensor& over the "'N and
('N) *t could !e used for home automation, industrial automation, access control,
fire and securit sstems)
10 M! +thernet interface ,ith "in-.'ctivit "ed
/o,er suppl 120$1 or 220$1 - selecta!le ! user
Ma3imal po,er consumption4
o 300 m' . 120$1
o 200 m' . 220$1
8 5/$T 6ela channels - selecta!le ! user4
o 781-391.T:3 (:' . 2#00'1, 10' . 12#0'1, 12' . 1200'1, 10' . 280$1&
o 6'5-12-1# (10' . 2#00'1, 1#' . 1200'1, 1#' . 220$1&
o 6'5-22-1# (10' . 2#00'1, 1#' . 1200'1, 1#' . 220$1&
8 analog inputs ,ith 10 !it resolution) 1an !e used for one from the !oth
applications4
o either "M3#$% temperature sensor monitoring (over voltage and inverse
voltage protection&) Temperature range4 0;1 - 100;1
o either 0-100$1 industrial voltage measurement (over voltage and inverse
voltage protection&
8 !it configura!le digital TT" *.< port
5tandart protocols4 '6/, */, *1M/ (ping&, $=1/
5upports snmp v1 (snmpset, snmpget, snmptrap&, =TT/, T9T/
/orts for 5NM/ (1>1& and =TT/ (80& can !e changed
T,o M'1 addresses protection
*t can !e configured ,ith 5NM/ re?uests or ,e! !ro,ser
6eset of the relas on incoming.outgoing ping timeout
9unction @load outputs states from ++/6<M on !oot@
The '$1 ,e! page sho,s Temperature (;1 and ;9& and 0oltage (0-100&
*t can send traps according analog '$1 level
'nalog *nputs ma !e referred to control the rela according their levels
/1A parameters 4 962 . 1)#mm . t,o laers . metalliBed holes . ='" . ,hite
stamp . solder mas- . +3tra /1A openings for !etter voltage isolation .
$ou!led /1A trac-s for !etter voltage isolation
$imensions suita!le for mounting into $*N enclosures - 122 3 82 3 20 (mm&
-3-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
2. e!hni!al "ara#eters
Ta!le 1) Technical parameters
Para#eter $alue
5iBe 122mm 3 82#mm
/o,er suppl voltage 12 0$1 or 22 0$1
1/U po,er suppl (output level
3)30$1&
3)30
6ela channels count 8
$igital *.< count (0-3)30, ,hen output
- ma3 current is 1m'&
8
'nalog inputs count 8 (10!it '$1, 0refC1)20$1 - e3ternal
source&
$igital inputs count
1& 8
"M3#$% sensor inputs count
2& 8
*nputs (0-100$1& count
3& 8
"+$ ("in-, 'ctivit,
/o,er <n&
Des
5ave *.< states Des
$=1/ Des
Net,or- parameters */.Mas-.$efault gate,a
M'1 loc- (protection& Des
5NM/v1 Des (snmpget,snmpset&
6ead-(rite 1ommunit 5tring Des
6ead-<nl 1ommunit 5tring Des
5NM/ traps Des
5NM/ *.< access commands Des
(e! server for configuration.access Des
T9T/ client for remote firm,are
update
Des
1ommand for T9T/ update
((e!,5NM/&
Des
+na!le.$isa!le T9T/ update Des
1& $igital inputs are the analog inputs, !ut the input voltage is soft,are converted to 1 or 0
2& This port (7/1& is connected to the analog inputs port of $'+net*/2
3& This port (7/3& is connected to the analog inputs port of $'+net*/2 (note it is possi!le to use onl
one pin of analog input port of $'+net*/2 at a time - either "M3#$% sensor pin either 0-100 pin&)
<ther,ise the analog input port ma !e damaged)
-4-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
3. A""li!ation e%a#"les
9igure 1) 'pplication e3ample 1
9igure 2) 'pplication e3ample 2
-5-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
&. Produ!t installation
&.1. Conne!t DAEnetIP2 Eight Relay Module to !o#"uter 'or
'irst ti#e
1) 1onnect the device ,ith our computer via (P !rosso)er !a*le) (note that
the device does not support 'UT< M$*E&
2) 5uppl ,ith 120$1 or 220$1 (depending on selected model& sta!iliBed
filtered po,er source)
3) Dour initial computer */ should !e in the device net,or-) 5o it is recommend
to !e 1:2)1>)100)1)
2) <pen ,e! !ro,ser and tpe 1:2)1>)100)2 F default username.pass,ord are
GadminH.HadminH
#) No, ou can access all the parameters via our ,e! !ro,ser
&.2. Conne!t DAEnetIP2 Eight Relay Module to router
1) $o all the steps from 2)1
2) 'dIust the net,or- parameters from Setup page4
2)1) */ - must !e in same net,or- as our router) (9or e3ample if router */ is
1J2)1>8)1)1, $'+net*/2 */ ma !e 1J2)1>8)1)2&
2)2) Mas-
2)3) Kate,a - usuall this is the */ of our router
3) 1lic- su!mit and ,ait a!out # seconds
2) /o,er off the device
#) No, ou ma disconnect the UT/ crossover ca!le from the $'+net*/2 and
our computer
>) 1onnect the $'+net*/2 module and the net,or- router ,ith (P straight
!a*le)
:) 'dIust the */ of our computer to !e again in the router net,or-
8) <pen the ,e! !ro,ser and enter the ne, */ of the module)
-6-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
5. De'ault +ettings
5.1. a*le ,ith de'ault settings
These are the default (factor& settings of $'+net*/2) (hen ou !u the module ou
,ill receive it ,ith these settings) *f not, please load the default settings (see #)2&)
Ta!le 2) $efault settings
Para#eter
-a!!ording .e* "ages/
$alue
$=1/ $isa!led
*/ 1:2)1>)100)2
Mas- 2##)2##)2##)0
Kate,a 1:2)1>)100)1
0"'N *$ 1
0"'N mode $isa!led
'ccess M'1 1,2 000000000000
5NM/ access to */ +na!led
5NM/ listen U$/ port 1>1
5NM/ 6ead-onl communit string 000000000000
5NM/ 6( communit string private
5NM/.(e! 'ccess net,or- */ 1:2)1>)100)1
5NM/.(e! 'ccess net,or- Mas- 0)0)0)0 (disa!led&
/ing Timeout >
6estart on incoming ping timeout $isa!led
6estart on remote */ timeout $isa!led
6emote */ to ping 1:2)1>)100)1
*.< ports settings /3,/# - <utputs
/ull-Up./ull-$o,n 'll Gpull-do,nH
/ull-up.do,n for inputs +na!led
6eset *.< ports on restart $isa!led
$igital filter for '$1 +na!led
T9T/ update +na!led
T9T/ 5erver */ 1:2)1>)100)1
Aroadcast 9rames /arse
(e! 5erver +na!led
(e! 5erver T1/ port 80
5NM/ traps target host 1:2)1>)100)1
5NM/ traps communit pu!lic
"o,.=igh 'nalog Trap Threshold 0.1023 (disa!led&
'nalog +vents F "o,, =igh, 'cc None
(e! user.pass,ord admin.admin
-!-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
5.2. +te"s 'or loading de'ault settings
*n case the access of the module is lost, factor (default settings& ma !e applied and
the module parameters ,ill !e returned !ac- as those in point #)1 from the current
document
9igure 3) "oading default settings
1) Turn off the po,er suppl of the device
2) Move the Iumper from position 1 to position 2
3) Turn on the po,er suppl of the device
2) Move the Iumper from position 2 to position 1
#) Turn off the po,er suppl of the device
>) Turn on the po,er suppl of the device
-&-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
0. Conne!tors and "orts
0.1. DAEnetIP2 Eight Relay Module *lo!1 diagra#
9igure 2) Aloc- diagram
-#-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
0.2. DAEnetIP2 Eight Relay Module Ports
9igure #) /orts
Note that it is strongl recommend to use onl one port at a time - either 2P1 3
Analog In"uts -4314$DC/ either 2P3 3 Port 'or sensors. <ther,ise the device ma
!e permanentl damaged L
-1+-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
0.3. DAEnetIP2 "orts des!ri"tion
Ta!le 3) *.< /orts
Port P3
-digital out"uts/
Port P5
-digital out"uts/
Port P0
-digital5analog in"uts/
Pin 6 7it Fun! Dir 7it Fun! Dir 7it Fun! Dir
1 1 9ree *.< 1 9ree *.< 1 9ree 'in
2 2 9ree *.< 2 9ree *.< 2 9ree 'in
3 3 9ree *.< 3 9ree *.< 3 9ree 'in
2 2 9ree *.< 2 9ree *.< 2 9ree 'in
# # 9ree *.< # 9ree *.< # 9ree 'in
> > 9ree *.< > 9ree *.< > 9ree 'in
: : 9ree *.< : 9ree *.< : 9ree 'in
8 8 9ree *.< 8 9ree *.< 8 9ree 'in
J - KN$ /(6 - M3)30 /(6 - M3)30(0ref& /(6
10 - KN$ /(6 - KN$ /(6 - KN$ /(6
Ta!le 2) 5stem port
DAEnetIP2 +yste# Port
Pin 6 7it F(6C Dir
1 - M3)30 /(6
2 - M3)30 /(6
3 - 6eserved -
2 - /ing "ed <ut
# - 6eserved -
> - Target 65T <ut
: - 6eserved -
8 - 6eserved -
J - 6eserved -
10 - KN$ /(6
Legend8
G9reeH F the pin is free to !e used ! user)
GEEEEEEH - the pin is reserved for special function F can not !e accessed)
G*nH F the pin is input
G<utH F the pin is output
@*.<@ F the pin is input or output depending the settings
G'inH F analog input
-11-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
9. .e* a!!ess
9igure >) (e! access
*t is possi!le to configure $'+net*/2 via *+, 1hrome, MoBilla or other !ro,ser)
The !ro,ser must support 7ava5cript) There is username and pass,ord (Aasic
'uthentication&) The ,e! server has onl one session F onl one user can access
the $'+net*/2 via ,e! at a time) The session has timeout >0 seconds if there is not
access from the !ro,ser) 'fter that another user can access the module) This is
done !ecause of securit reasons)
-12-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
9.1. +etu" "age
9igure :) 5etup page
9.1.1. Fir#,are )ersion
This is the current firm,are version) 1an not !e changed
9.1.2. MAC address
The M'1 address of the module) 1an not !e changed
9.1.3. IP address
The */ address of the module)
9.1.&. +u*net Mas1
The su!net mas- of the module)
9.1.5. De'ault :ate,ay
The $efault gate,a of the module)
5NM/4 cfg*/)0, cfgNetMas-)0, cfg$efK()0
(e!4 Menu N5etup-O*/ addressH, N5etup-O5u!net Mas-H, N5etup-O$efault
Kate,aH
6;E< The static parameters are stored in the ++/6<M of the device) The are not changed !
$=1/ server) (hen accessing (e! and ena!led $=1/ mode, the */, Mas- and Kate,a are those
fetched ! the $=1/ server and not the static)
-13-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
9.1.0. $LA6
$'+net*/2 can ,or- ,ith normal or tagged pac-ets (*++ 802)11?&) *t supports the
,hole set of 12!it 0"'N tags)
5NM/4 1hagne the !it cfgMode)0 and setting the 0"'N
tag in cfg0"'NTag)0
(e!4 Menu N5etup-OTagged 0"'N modeH and N5etup-O0"'N *$H
9.1.9. D=CP
The */,M'5P and Kate,a can !e !rought ! $=1/ server)
5NM/4 1hange its !it in cfgNe,Mode)0
(e!4 Menu N5etup-O $=1/ clientH
IMP;R6A< 'llo,ing $=1/ client ,hen there is not availa!le $=1/ server (or net,or- issue&
ma ma-e $'+net*/2 module not to load the net,or- settings and in this ,a the access ma !e lost)
To avoid this $'+net*/2 module ,aits a!out 20 sec to receive its net,or- settings) *n case of failure,
$'+net*/2 module loads the last saved static parameters and !egins to ,or- ,ith them and
mean,hile continues searching the the $=1/ server) *f there is ans,er from the $=1/ server, the
$'+net*/2 accepts immediatel the ne, settings and reconfigures its net,or- interface)
9.1.>. MAC 'iltering
$'+net*/2 has M'1 protection) This means that if it is ena!led it can !e
accessed from one.t,o M'1 addresses) 9or disa!le the M'1 protection, the M'1
must !e 000000000000)
5NM/4 cfgM'1"oc-1)0, cfgM'1"oc-2)0
(e!4 Menu N5etup-O 'ccess M'1 address 1H and N5etup-O 'ccess M'1 address
6;E< (hen using M'1 filtering please note that ,hile accessing from e3ternal net,or-s to the
$'+net*/2 module arrive pac-ets ,ith M'1 address of the $efault Kate,a) *n this ,a it must !e
al,as one of the !oth protected M'1 addresses)
9.1.?. +6MP5.e* A!!ess net,or1
This function allo,s to define onl one net,or- ,hich have to access the
$'+net*/2 module via 5NM/ or (e!) The function is for access filtering and
protection not onl M'1 addresses level, !ut and for */ addresses level)
The filtering is onl for 5NM/ and (+A access) 'll the rest protocols '6/, *1M/,
$=1/ are not filtered)
6;E< M'1 protection is ,ith higher priorit than 5NM/.(e! access protection)
9.1.14. +6MP settings
This section is for ena!le.disa!le 5NM/ access and 5NM/ communit strings) *t
is also possi!le to change the 5NM/ port from this page)
5NM/4 1hange of cfg5NM/port)0
(e!4 Menu N5etup-O5NM/ settings."isten on U$/ port H
5NM/4 1hange its !it in cfgMode)0
-14-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
(e!4 Menu N5etup-O 5NM/ access to */ configurationH
5NM/4 cfg/ass,ord)0 and cfg6ead<nl/ass,ord)0
(e!4 Menu N5etup-O 5NM/ read-,rite communit stringH and N5etup-O 5NM/
readonl communit stringH
6;E < The 5NM/ pass,ord for read.,rite can not !e accessed via 5NM/)
9.1.11. ICMP #onitoring #odes
The $'+net*/2 module supports t,o ,a (incoming.outgoing& mode for
monitoring via receiving.sending *1M/ +cho 6e?uest and *1M/ +cho 6epl pac-ets)
(ith this function the $'+net*/2 module can !e used as a device for active
monitoring of net,or-s and net,or-s devices) The $'+net*/2 module performs and
restart pulse if there is not ans,er) The common parameter @Timeout@ (in minutes&
must !e given to determine the timeframe ,hen the re?uest.ans,er must !e
received) *f the timeout elapses then the i.o ports are reset)
In!o#ing ICMP #onitoring (hen the incoming *1M/ monitoring mode is
ena!led, the $'+net*/2 module e3pects ping in the given timeout)
IMP;RA6< *f there is ver !ig traffic in the net,or- it is a!solutel possi!le the incoming ping to
!e not received) ThatQs ,h it must !e sent #-10 ping re?uests)
;utgoing ICMP #onitoring $uring outgoing monitoring the $'+net*/2 module
generates ping to the given */ address and e3pects ans,er ,ithin the given
timeframe) The re?uest generating is performed several times in minute)
The !oth *1M/ modes use one shared parameter @timeout@ ho,ever the have
separate timers)
Restart arget De)i!e To restart e3ternal device (via rela driver& during
monitoring mode it is used special pin @Target 65T@ (loo- at the i.o port ta!le&) *n this
,a it is possi!le restarting of different electrical appliances (120.2200'1 including&)
9rom firm,are version 2)0J: it is possi!le to cop that signal to $'+net*/2 - /# (or
that is the port controlling the relas of the current module&) The restart of e3ternal
devices ma !e started.stopped ! the user) The restart pulse ,ith ma !e set ! the
user4 (from 0 upto 32:>: &32#0ms)
The restart ma !e done manuall via the follo,ing commands4
5NM/4 1hanging !it cfgMode)0R cfg6eset/ulse)0, pctrl6estart)0
(read-onl&, cfg/#$up65T)0
(e!4 Menu N5etup-O6estart e3ternal deviceH, N5etup-O+3ternal device restart pulse
,idthH, N*.< ports -O 9orce Target65TH, N5etup-O$uplicate QTarget65TQ on /# pinsH
IMP;RA6< The setting of pulse ,idth greater than G/ing TimeoutH ,ill ma-e the non-definition
(possi!le infinit& increasing of the restart pulse ,hen there is not ping re?uest or ans,er ,ithin the
given timeout) The reason is in the cclic start of the pulse most fre?uentl than itQs ,idthL
-15-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
+etting lo, le)el the I5; lines ,hile #onitoring restart *f this option is ena!led
$'+net*/2 ,ill set in logical @0@ all the outputs /3 and /# (loo- figure # and ta!le 3&
5NM/4 1hange its !it in cfgNe,Mode)0
(e!4 Menu N5etup-O 6eset *.< ports on ping restartH
In!o#ing Ping re@uest indi!ator APing LEDA 'ctivating this mode ,ill allo,
$'+net*/2 module to !ecome in simple net,or- analBer (,ith set net,or-
parameters&, ,hich can indicate @ping@ re?uests to its */ address) +ach received
re?uest performs change of output @/ing "+$@ (see the i.o ta!le description&) The
schematic !ello, sho,s ho, to connect this pin to "+$)
9igure 8) 1onnecting /ing "+$
5NM/4 1hange its !it in cfgNe,Mode)0
(e!4 Menu N5etup-O Toggle 7/>)2 on outgoing ping re?uestH
+e!ond LED indi!ator. This indicator ma sho,4 N/o,er <NH, G/ing *NH,
G/ing <UTH, G/ing A<T=H, G$=1/ valid */H)
5NM/4 1hange its !it in cfg"+$2mode)0
(e!4 Menu N5etup-O 5econd "+$ modeH
9.1.12. I; Ports settings
$'+net*/2 has 8M8 digital *.< and 8 analog inputs) The analog inputs ma !e
used also for digital inputs (soft,are conversion&
9igure J) *.< ports
(hen *nput is selected, that means this pin is input, other,ise it is output)
5NM/4 1hange its !it in cfg/3$ir)0, cfg/#$ir)0 (1C<ut,2C*n&
(e!4 Menu N5etup-O *.< ports settingsH
-16-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
(hen /ull-up is selected, that means there is pull-up resistor of a!out #0-<hm)
(hen the pin is selected to ,or- as output these pull-up.do,n resistors are not
connected)
IMP;RA6< The relas are connected to /# and this port must ,or-s as outputL
9rom this section also it is possi!le to4
o ena!le.disa!le save outputs at re!oot) A default the output states are set
to 0) =o,ever if this option is set, the output states ,ill !e loaded from the
++/6<M (,here the are recorded the states of the last change !efore
re!oot&) 's each ++/6<M has limited read.,rite ccles, it is not
recommend to ena!le this option ,hen high rate of changing is availa!le)
5NM/4 1hange its !it in cfgNe,Mode)0
(e!4 Menu N5etup-O 5ave *.< portsS statesH
o pull-up.do,n for inputs (glo!al ena!le.disa!le&
5NM/4 Klo!al stop.start of the mode4 change its !it cfgMode)0 (N<T/U""-
U/.$<(N TA*T3&
The individual direction of each input4 1hange its !it in cfg/3/ull)0 and
cfg/#/ull)0 ( 1C/ull-do,n, 0C/ull-up)&
(e!4 Menu N5etup-O /ull-up.do,n for inputsH and ta!le N*.< ports settingsG
o digital filter for the '$1) (hen this option is activated, the analog inputs
returns the measured value slo,er, !ut more clear)
5NM/4 1hange !it ($*5'A"+T'N'"<KT9*"T+6& in cfgMode)0
(e!4 Menu N5etup-O $igital filter for '$1 H
9.1.13. FP 'ir#,are u"date
$'+net*/2 has T9T/ client for firm,are update) (hen the command is initiated,
the $'+net*/2 module connects to the T9T/ server and starts do,nloading the
firm,are version) 'fter chec-ing if there is connection ,ith the T9T/ server and if the
file is correct the firm,are ,ill !e updated and the module ,ill !e re!ooted)
(hen there is not connection to the T9T/ server, the module ma-es several
attempts !efore stop e3ecuting the command ,ithout firm,are upgrade)
5NM/4 1hange its !it in cfgNe,Mode)0 to allo, upgrade via T9T/R
cfgT9T/5erver*/)0 and cfgUpdate9irm,are)0 (read-onl&
(e!4 Menu N5etup-O T9T/ firm,are updateH, N5etup-OT9T/ server */ addressH,
N9irm,are UpdateH
IMP;RA6 < *t is recommend the firm,are upgrade not to !e done in real environment) The
po,er suppl failure during firm,are upgrade ,ill ma-e $'+net*/2 unusa!le)
IMP;RA6 < (hen it is done do,ngrade (it is loaded lo,er version of firm,are&, the default
settings must !e loaded)

-1!-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
9or detailed firm,are upgrade information please see 'ppendi3 #)
9.1.1&. 7road!ast 'ra#es
*n this mode $'+net*/2 does not response of frames ,ith M'1 address 99-99-
99-99-99-99) This allo,s $'+net*/2 to hide from the ,orld !ecause it doesnSt
respond to '6/ re?uests)
9.1.15. .e* ser)er
+na!le.disa!le ,e! access)
5NM/4 1hange its !it in cfgNe,Mode)0
(e!4 Menu N5etup-O (e! serverH
IMP;RA6< The (+A access ma !e allo,ed onl after 5NM/ command (and of course after
loading the default settings&) *f ho,ever the 5NM/ access is disa!led, then the allo,ing of the (+A
server ma !e done onl after hard,are loading of the default settings)
9rom this section the ,e! port ma !e changed also) The port must !e in range
from 102# up to >##3#) The attempt to assign port from 1-1022 ,ill !e accepte as 80)
'fter setting this parameter, the $'+net*/2 module ,ill !e restarted) 'fter changing
this port, the url address must !e something li-e this4
http4..1:2)1>)100)24port
5NM/4 1hange cfg=TT/port)0
(e!4 Menu N5etup-OMiscellaneous. (e! server )))on port H
-1&-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
9.2. +6MP tra"s
9igure 10) 5NM/ traps
5NM/ traps can !e generated from 'nalog inputs if its level crosses the given
limits) *f the limits are 0 and 1023 then there ,ill not !e an traps from this input) The
message gives information from ,hich input is this trap and ,hat is the input level
value) *f several events are generated, $'+net*/2 sends their traps in order the
have !een generated)
9.3. Analog e)ents
$'+net*/2 'nalog inputs could !e attached to /# digital output port) (hen analog
input is changed the corresponding digital output can react) There are 2 modes4
9.3.1. Mode BLo,C
The output ,ill !ecome G1H if the input level is less than "o, Threshold and sets
the previous state ,hen the input level is over "o, Threshold)
9.3.2. Mode B=ighC
The output ,ill !e set if the input level is higher than =igh)
9.3.3. Mode BLo,5=ighC
The output ,ill !e set if the input level is out of the range ,ith =igh and "o,
Threshold)
-1#-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
9.3.&. Mode BA!!C
The output ,ill !e set if the input level is less than "o, Threshold and ,ill !e in old
state after input level is over =igh Threshold)
This function does not affect to 5NM/ traps !ut the same Threshold values are
used for sending 5NM/ traps)
'dditionall in firm,are ver) 2)0J: there is option @*N0@ (*nversion& - it reverse the
signal level ,hich is generated to /# (if the regular ,as to set in @1@ during *N0 it ,ill
!e @0@) 9or e3ample if temperature sensor is used - this option allo,s to !e done
automatic s,itch <N of load ,hen the temperature is higher than the threshold =*K=
(and s,itch <99 ,hen the temperature is lo,er than the threshold "<(&) 'nd it is
possi!le the opposite (,ithout @*N0@& it is possi!le heating during lo, temperatures
(for instance antennas& - the output is <N ,hen level is lo,er than "<( and <99
,hen the level is higher than =*K=)

5NM/4 1hanging pin value aev/inE)0) /ossi!le values are4 None, "o,, =igh,
"o,=igh, 'cc
(e!4 UVWX N5NM/ traps-O /# set atH
9.&. I5; Ports
9igure 11) *.< ports ,e! page
/3 is configura!le digital TT" *.< port) *t is possi!le to !e configured ! the user
for its o,n purposes)
/# is also configura!le TT" *.< port) =o,ever the relas are connected to this port
and thatQs ,h it must ,or- as output port)
/> is 8 channel 10 !it analog input port) The reference voltage 0refC1)20$1 (from
e3ternal source&) The ,e! page is optimiBed to sho,4
The returned '$1 value - from 0 to 1023
The temperature in 1 and 9 (valid onl if "M3#$% sensor is connected to 7/1&
-2+-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
[ ] C
ADCvalue
Vref Tc 6 1++ 7
! . 4
+ . &
7
1+24
7 =
The temperature in 9 (valid onl if "M3#$% sensor is connected to 7/1&
[ ] F
ADCvalue
Vref Tf 6 32 1++ 7
5
#
7
! . 4
+ . &
7
1+24
7 +

=
The value from the 0-100 '* port - 7/3 (valid ,hen there are not an
connected "M3#$% sensors and voltage from 0 to 100$1 is supplied to 7/3&)
To convert in voltage, ou ma use the follo,ing formula4
[ ] V
ADCvalue
Vref Ujp
! . 4
! . 3!
7
1+24
7 3 =
9.5. Port La*els
9igure 12) /ort "a!els
9rom this ,e! page it is possi!le to change the name for each *.< pin) Note this is
possi!le to !e done onl via ,e! and not via snmp)
-21-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
9.0. A!!ount
9igure 13) 'ccount settings
9.9. Fir#,are ("date
This command starts firm,are update) The $'+net*/2 ,ill do,nload the firm,are
file from the T9T/ server given in 5etup section) 'fter that the device ,ill !e
re!ooted)
9.>. Re*oot
6e!oots $'+net*/2)
-22-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
>. +6MP a!!ess
$'+net*/2 supports 5NM/v1 protocol F snmpget and snmpset) *t ma !e
configured.read all the parameters via these commands) 6ead-onl communit string
is used for reading and 6ead-(rite 1ommunit 5tring is used for changing the
parameters) Note that it is not possi!le using of snmp,al-) /arameters that can !e
changed, are grouped according to their functions in the ta!les !elo,) To o!tain a
valid <*$ num!er it is necessar to replace the G3H sm!ol ,ith the prefi3
H)1)3)>)1)2)1)1J8>#H) 'lso all the snmp commands are descri!ed in the M*A file. 'll
the functions can !e accessed via 5NM/ and (+A
IMP;RA6< $uring 5NM/ access, it must !e used snmpget and snmpset onl to one <*$ and not
to group of <*$s) <ther commands (snmp,al- for instance& are not supported)
6;E< Aecause of the specific of the 5NM/ protocol supported ! $'+net*/2 (it is not possi!le to
access several <*$s&, the initial setting of */.M'5P.Kate,a must !e done via (e!) <ther,ise the
$'+net*/2 module ma !ecome not reacha!le, !ecause of the limitation of onl one <*$ accessing
per a time via snmp)
>.1. Con'iguration settings
Ta!le #) 1onfiguration settings
;ID 6a#e A!!ess Des!ri"tion +ynta%
3)1)1)1)0 cfg*/ read-,rite */ 'ddress of
$'+net*/2 module
*p'ddress
3)1)1)2)0 cfgM'1 read-onl M'1 address of
$'+net*/2 module
/hs'ddress
3)1)1)3)0 cfg0"'NTag read-,rite 0"'N *$ (12!it& in
0"'N+na!led mode
*NT+K+6(0))20
J#&
3)1)1)2)0 cfg/ass,ord read-,rite 6ead-(rite communit
string (pass,ord&
<1T+T
5T6*NK (5*%+
(2))12&&
3)1)1)#)0 cfgM'1"oc-1 read-,rite M'1 address of first
remote machine allo,ed
to access $'+net*/2
module
/hs'ddress
3)1)1)>)0 cfgM'1"oc-2 read-,rite M'1 address of second
remote machine allo,ed
to access $'+net*/2
module
/hs'ddress
3)1)1):)0 cfg/ingTime read-,rite The time (in minutes&
since last ping re?uest
to re!oot sstem and
target
*NT+K+6(0))2#
#&
3)1)1)8)0 cfg0ersion read-onl 9irm,are version,
"5AC0+6TM*N<6,
M5AC0+6TM'7<6
*NT+K+6(0))>#
#3#&
3)1)1)J)0 cfgMode read-,rite 1ontains different !it
flags for $'+net*/2
*NT+K+6(0))2#
#&
-23-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
operating modes4
+N'A"+$TA*T F !it0,
A6<'$1'5TT$*5'A"
+-!it1,
0"'NTT'KT+N'A"+-
!it2,
N<T"'6K+T/'1P+T5
-!it3,
/*NK6+5T'6TT+N'A
"+-!it2,
5(*T1=T1<NT6<"-
!it#,
5+1<N$'6DTT'6K+
T-!it>,
U5+T'N'"<KT/*N5-
!it:
($isa!leT'nalogT9ilter
for ver O2)0J2&
3)1)1)10)0 cfg6eset read-onl 6ead of this <*$ causes
rest of $'+net*/2
module
NU""
3)1)1)11)0 cfgNe,Mode read-,rite 1ontains different !it
flags for $'+net*/2
operating modes4
5'0+T*</<6T5 F !it0,
/*NKT"+$ F !it1,
/*NKTT*M+<UTT*<6+
5+T F !it2,
T9T/TU/$'T+ F !it3,
$=1/T1"*+NT F !it2)
M<N*T<6TT*M+<UTT
6+5T'6T F !it#,
(+AT5+60+6 F !it>,
5(*T1=T6+5T'6T F
!it:
*NT+K+6(0))2#
#&
3)1)1)12)0 cfg6eset/ulse read-,rite (f,OC2)0>>& $efines the
time ot the 65T pulse4
value Y 2#0ms
*NT+K+6(0))32
:>:&
3)1)1)13)0 cfg6eset1ount read-,rite (f,OC2)0>>& Num!er
of consecutive resets to
perform ,hen ping
timeout is active) 0alue
2## disa!les counting)
'ctual count is this
value M 1
*NT+K+6(0))2#
#&
3)1)1)12)0 cfg$efK( read-,rite */ 'ddress of $efault *p'ddress
-24-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
Kate,a
3)1)1)1#)0 cfgNetMas- read-,rite */ Net,or- 5u!net
Mas-
*p'ddress
3)1)1)1>)0 cfgMonitor*/ read-,rite 6emote */ address to
monitor via *1M/ echo
re?uests
*p'ddress
3)1)1)1:)0 cfg6ead<nl/
ass,ord
read-,rite 6ead-onl communit
string (pass,ord&
<1T+T
5T6*NK (5*%+
(2))12&&
3)1)1)18)0 cfgTrap5erver*
/
read-,rite 6emote */ address of
T6'/ manager
*p'ddress
3)1)1)1J)0 cfgTrap/ass,
ord
read-,rite 1ommunit string for
trap messages
<1T+T
5T6*NK (5*%+
(2))12&&
3)1)1)20)0 cfg'ccess*/ read-,rite */ address of net,or-
class allo,ed to access
$'+net*/2
*p'ddress
3)1)1)21)0 cfg'ccessMas
-
read-,rite Mas- of net,or- class
allo,ed to access
$'+net*/2
*p'ddress
3)1)1)22)0 cfg=TT/port read-,rite (f,OC2)0J2& $efines
listen port for (e!
server) 'llo,ed values
80 and O1022
*NT+K+6(0))>#
#3#&
3)1)1)23)0 cfg5NM/port read-,rite (f,OC2)0J2& $efines
listen port for 5NM/
server) 'llo,ed values
1>1 and O1022
*NT+K+6(0))>#
#3#&
3)1)1)22)0 cfg"+$2mode read-,rite (f,OC2)0J2& $efines
"+$2 !ehaviour
*NT+K+6
Z /o,er<n(0&,
/ing*n(1&,
/ing<ut(2&,
/ingAoth(3&,
0alid*/(2& [
3)1)1)2#)0 cfg/3$ir read-,rite Ait mas- ,ith direction
of /3 pins) 1-<utput, 0-
*nput
*NT+K+6(0))2#
#&
3)1)1)2>)0 cfg/#$ir read-,rite Ait mas- ,ith direction
of /# pins) 1-<utput, 0-
*nput
*NT+K+6(0))2#
#&
3)1)1)2:)0 cfg/3/ull read-,rite Ait mas- ,ith pull-
up.do,n mode /3 pins)
1-/ull-do,n, 0-/ull-up)
$oesnQt reflect on output
pins
*NT+K+6(0))2#
#&
3)1)1)28)0 cfg/#/ull read-,rite Ait mas- ,ith pull-
up.do,n mode /# pins)
*NT+K+6(0))2#
#&
-25-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
1-/ull-do,n, 0-/ull-up)
$oesnQt reflect on output
pins
3)1)1)2J)0 cfg/#$up65T read-,rite Ait mas- sho,ing on
,hich /# pins to
duplicate Target65T
signal) /ins must !e
outputs in cfg/#$ir)
'vaila!le from v)2)0J:
*NT+K+6(0))2#
#&
3)1)1)30)0 cfg$efault read-onl 6eading this <*$ ,ill
load factor default
settings of
$'+net*/2and restart
$'+net*/2)
NU""
3)1)1)32)0 cfgT9T/5erve
r*/
read-,rite 6emote */ address of
T9T/ server for
firm,are update
*p'ddress
3)1)1)33)0 cfgUpdate9irm
,are
read-onl 6ead of this <*$ causes
initiation of firm,are
update procedure,
according to sstem
settings
NU""
>.2. Analog tra"s
Ta!le >) 'nalog traps
;ID 6a#e A!!ess Des!ri"tion +ynta%
3)1)1)122)1)0 atr/in1"o, read-,rite /in lo, threshold *NT+K+6(0))1023&
3)1)1)122)2)0 atr/in1=igh read-,rite /in high threshold *NT+K+6(0))1023&
3)1)1)122)3)0 atr/in2"o, read-,rite /in lo, threshold *NT+K+6(0))1023&
3)1)1)122)2)0 atr/in2=igh read-,rite /in high threshold *NT+K+6(0))1023&
3)1)1)122)#)0 atr/in3"o, read-,rite /in lo, threshold *NT+K+6(0))1023&
3)1)1)122)>)0 atr/in3=igh read-,rite /in high threshold *NT+K+6(0))1023&
3)1)1)122):)0 atr/in2"o, read-,rite /in lo, threshold *NT+K+6(0))1023&
3)1)1)122)8)0 atr/in2=igh read-,rite /in high threshold *NT+K+6(0))1023&
3)1)1)122)J)0 atr/in#"o, read-,rite /in lo, threshold *NT+K+6(0))1023&
3)1)1)122)10)0 atr/in#=igh read-,rite /in high threshold *NT+K+6(0))1023&
3)1)1)122)11)0 atr/in>"o, read-,rite /in lo, threshold *NT+K+6(0))1023&
3)1)1)122)12)0 atr/in>=igh read-,rite /in high threshold *NT+K+6(0))1023&
3)1)1)122)13)0 atr/in:"o, read-,rite /in lo, threshold *NT+K+6(0))1023&
3)1)1)122)12)0 atr/in:=igh read-,rite /in high threshold *NT+K+6(0))1023&
3)1)1)122)1#)0 atr/in8"o, read-,rite /in lo, threshold *NT+K+6(0))1023&
3)1)1)122)1>)0 atr/in8=igh read-,rite /in high threshold *NT+K+6(0))1023&
-26-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
>.3. Anolog3to3P5 E)ents
Ta!le :) 'nalog-to-/# +vents
;ID 6a#e A!!ess Des!ri"tion +ynta%
3)1)1)121)1)0 aev/in1 read-,rite $efines reaction on
respective /# output
pin ,hen voltage is
compared to
thresholds
*NT+K+6
Z None(0&, "o,(1&,
=igh(2&,
"o,=igh(3&,
'cc(2& [
3)1)1)121)2)0 aev/in2 read-,rite $efines reaction on
respective /# output
pin ,hen voltage is
compared to
thresholds
*NT+K+6
Z None(0&, "o,(1&,
=igh(2&,
"o,=igh(3&,
'cc(2& [
3)1)1)121)3)0 aev/in3 read-,rite $efines reaction on
respective /# output
pin ,hen voltage is
compared to
thresholds
*NT+K+6
Z None(0&, "o,(1&,
=igh(2&,
"o,=igh(3&,
'cc(2& [
3)1)1)121)2)0 aev/in2 read-,rite $efines reaction on
respective /# output
pin ,hen voltage is
compared to
thresholds
*NT+K+6
Z None(0&, "o,(1&,
=igh(2&,
"o,=igh(3&,
'cc(2& [
3)1)1)121)#)0 aev/in# read-,rite $efines reaction on
respective /# output
pin ,hen voltage is
compared to
thresholds
*NT+K+6
Z None(0&, "o,(1&,
=igh(2&,
"o,=igh(3&,
'cc(2& [
3)1)1)121)>)0 aev/in> read-,rite $efines reaction on
respective /# output
pin ,hen voltage is
compared to
thresholds
*NT+K+6
Z None(0&, "o,(1&,
=igh(2&,
"o,=igh(3&,
'cc(2& [
3)1)1)121):)0 aev/in: read-,rite $efines reaction on
respective /# output
pin ,hen voltage is
compared to
thresholds
*NT+K+6
Z None(0&, "o,(1&,
=igh(2&,
"o,=igh(3&,
'cc(2& [
3)1)1)121)8)0 aev/in8 read-,rite $efines reaction on
respective /# output
pin ,hen voltage is
compared to
thresholds
*NT+K+6
Z None(0&, "o,(1&,
=igh(2&,
"o,=igh(3&,
'cc(2& [
-2!-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
>.&. Control "ort P3 -Digital out"uts/
Ta!le J) 1ontrol port /3
;ID 6a#e A!!ess Des!ri"tion +ynta%
3)1)2)1)1)0 pctrl/3pin1 read-
,rite
/ort3 pin1 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)1)2)0 pctrl/3pin2 read-
,rite
/ort3 pin2 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)1)3)0 pctrl/3pin3 read-
,rite
/ort3 pin3 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)1)2)0 pctrl/3pin2 read-
,rite
/ort3 pin2 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)1)#)0 pctrl/3pin# read-
,rite
/ort3 pin# data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)1)>)0 pctrl/3pin> read-
,rite
/ort3 pin> data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)1):)0 pctrl/3pin: read-
,rite
/ort3 pin: data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)1)8)0 pctrl/3pin8 read-
,rite
/ort3 pin8 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)1)33)0 pctrl/3!te read-
,rite
*.< port data as
single !te
*NT+K+6(0))2##&
>.5. Control "ort P5 -Digital out"uts/
Ta!le 10) 1ontrol port /#
;ID 6a#e A!!ess Des!ri"tion +ynta%
3)1)2)2)1)0 pctrl/#pin1 read-,rite /ort# pin1 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)2)2)0 pctrl/#pin2 read-,rite /ort# pin2 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)2)3)0 pctrl/#pin3 read-,rite /ort# pin3 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)2)2)0 pctrl/#pin2 read-,rite /ort# pin2 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)2)#)0 pctrl/#pin# read-,rite /ort# pin# data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)2)>)0 pctrl/#pin> read-,rite /ort# pin> data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)2):)0 pctrl/#pin: read-,rite /ort# pin: data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)2)8)0 pctrl/#pin8 read-,rite /ort# pin8 data *NT+K+6
Z =igh(1&, "o,(0& [
3)1)2)2)33)0 pctrl/#!te read-,rite *.< port data as
single !te
*NT+K+6(0))2##&
-2&-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
>.0. Returned )alues are 'ro# 14*it Analog to Digital
Con)erter
Ta!le 11) 6eturned values from '$1
;ID 6a#e A!!ess Des!ri"tion +ynta%
3)1)2)3)1)0 pctrl/>pin1 read-onl '$1 1hannel 1 *NT+K+6(0))1023&
3)1)2)3)2)0 pctrl/>pin2 read-onl '$1 1hannel 2 *NT+K+6(0))1023&
3)1)2)3)3)0 pctrl/>pin3 read-onl '$1 1hannel 3 *NT+K+6(0))1023&
3)1)2)3)2)0 pctrl/>pin2 read-onl '$1 1hannel 2 *NT+K+6(0))1023&
3)1)2)3)#)0 pctrl/>pin# read-onl '$1 1hannel # *NT+K+6(0))1023&
3)1)2)3)>)0 pctrl/>pin> read-onl '$1 1hannel > *NT+K+6(0))1023&
3)1)2)3):)0 pctrl/>pin: read-onl '$1 1hannel : *NT+K+6(0))1023&
3)1)2)3)8)0 pctrl/>pin8 read-onl '$1 1hannel 8 *NT+K+6(0))1023&
-2#-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
?. A""endi% 1. Po,er su""ly
The po,er suppl of the DAEnetIP Eight !e"a# Modu"e (LM35DZ) ma !e
selected during purchase - 12$DC or 2&$DC)
<ther suppl voltages ma damage the deviceL
The voltage polarit is tip @center positive@L
M
-
9igure 12) /o,er suppl polarit
The device does not protection against reverse polarit voltageL
-3+-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
14. A""endi% 2. Port 'or,arding 3 'or ad)an!ed users
This appendi3 descri!es ho, to access the DAEnetIP2 Eight Relay Module
!M3"D#$ over the *nternet) The demonstration is done ,ith router @T/-"in- L3
.R3&4:@, !ut it ma !e done ,ith an other router supporting @/ort 9or,arding@
function) Aello, are given the steps ou have to go through to ma-e @/ort
9or,arding@
1) 'dIust $'+net*/2 net,or- ports) These ports are4
5NM/ port, ! default 1>1
=TT/ port, ! default 80
$'+net*/2 ,ill accept an valid integer num!er for port O102# and \>##3#) /ort
num!ers from 0 to 1022 ,ill !e accepted as 1>1) The same is ,ith port 80)
"etQs sa ,e ,ould li-e to adIust for e3ample4
/ort 10080 for =TT/
/ort 101>1 for 5NM/
This ma easil !e done from the ,e! server -O 5etup page
2) These ports must !e set in the for,arding rules inside the router as it is sho,n
on the figure !ello,
9igure 1#) /ort for,arding
The */ address 1J2)1>8)1)11 is actuall the internal address of the DAEnetIP
Eight !e"a# Modu"e (LM35DZ)$
3) No, it is possi!le to access the DAEnetIP Eight !e"a# Modu"e (LM35DZ)
from ever,here outside the "'N)
333)333)333)333410080 - is the ,e! server of the module
snmpget -v1 -c 000000000000 333)333)333)3334101>1 )1)3)>)1)2)1)1J8>#)1)1)1)0 -
snmp command for accessing the module (get the */&
333)333)333)333 - the pu!lic */ of the router or itQs $N5 name)
-31-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
11. A""endi% 3. +o't,are
Den%o&i Assem'"# E"e(troni(s L)D provides several application that ma !e
used for testing, demonstrations, configurations and ver simple automation proIects)
11.1. DRM +o't,are
$en-ovi 6ela Manager ($6M& is universal soft,are for eas controlling all -inds
of $en-ovi U5A, 01/ and 5NM/ and T1/.*/ rela !oards)
9igure 1>) $6M soft,are
$o,nload lin- - here
5oft,are ,e! page - here
*f the device DAEnetIP Eight !e"a# Modu"e (LM35DZ) is not listed, ou ma
use * !e"a# +rd S,MP - &) Note also that this soft,are does not read the *.<
states or sensors values of the device, it Iust control the relas)
-32-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
11.2. DAEnetIP2 Manager
$'+net*/2 Manager is configuration utilit for $en-ovi $'+net*/2 controller)
9igure 1:) $'+net*/2 Manager
$o,nload lin- - here
-33-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
11.3. Android +o't,are *y i+,it!hD LLC
The featured 'ndroid application is offered to e3tend control of the $'+net*/2
controller and rela !oard to our 'ndroid phone) This application is designed to
,or- on an 'ndroid 5martphone or Ta!let, ho,ever screens are optimiBed for
5martphones)
9igure 18) 'ndroid application from i5,itch, ""1
$o,nload lin- - here
E%a#"le settings 'or 'ndroid 5oft,are ! i5,itch, ""1 ,hen use the
DAEnetIP2 Eight Relay Module !M3"D#$ analog in"uts ,ith LM35DZ
te#"erature sensor !onne!ted to Ain18
Temperature in Celsuis4
o 'nalog -O 1hannel 1 -Opressing continuousl4
0alue at 0 volts4 0
0alue at 3)3 volts4 202)2#
Units4 ;1
5ave 5ettings
-34-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
o 'nalog -O 1hannel 1 -Opressing continuousl-O1onfigure Kauge for this
1hannel
/ic- a Kauge4 0-100 ;1
Kauge Title4 Temp
5ave 5ettings
Temperature in Farenheith4
o 'nalog -O 1hannel 1 -Opressing continuousl4
0alue at 0 volts4 32
0alue at 3)3 volts4 3JJ)>#
Units4 ;9
5ave 5ettings
o 'nalog -O 1hannel 1 -Opressing continuousl-O1onfigure Kauge for this
1hannel
/ic- a Kauge4 0-120 ;9
Kauge Title4 Temp
5ave 5ettings
-35-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
11.&. Control 'ro# !o##and line
11.&.1. .indo,s
Net-snmp is command line tool for accessing 5NM/ !ased net,or- devices under
,indo,s console) A default it is not included in (indo,s <5) DAEnetIP Eight
!e"a# Modu"e (LM35DZ) can !e easil accessed ! the net-snmp tool) This is ver
useful ,hen the snmp commands must !e e3ecuted from !atch file for e3ample)
Aello, are the steps for installing net3sn#" tool on ,indo,s <5)
1) $o,nload the last version net-snmp !inar for ,indo,s from http4..net-
snmp)sourceforge)net.do,nload) The file must loo- li-e net-snmp-E)E)E)E-
E),in32)e3e
2) *nstall the do,nloaded file) "eave the default options) The pac-et ,ill !e install
in c4]usr ! default)
3) $o,nload the $'+net*/2 M*A file from here
2) 1op the mi! file here c4]usr]share]snmp]mi!s
#) 'dd ne, line in the file c4]usr]etc]snmp]snmp)conf ,ith the @mi!s all@ directive)
>) No, ou can test different commands for <*$ access, supported ! this
module) Their names ou ma see in the $'+net*/2)mi! file)
' simple test ma !e done to !e sure if the tool is installed successfull4
run-Ocmd-O
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)1)1)0
ans,er4 5NM/v2-5M*44enterprises)1J8>#)1)1)1)0 C *p'ddress4 1:2)1>)100)2
9or creating !atch files, ou ma use the follo,ing steps4
1) <pen ne, file and save it as <N)!at
2) +nter the follo,ing code4
sn%&set 'v1 '( &rivate 1)2*1+*100*2 *1*3*+*1*,*1*1-8+"*1*2*2*1*0 i 0
PIN. 1*1*1*1 'n 1 '/ "000
sn%&set 'v1 '( &rivate 1)2*1+*100*2 *1*3*+*1*,*1*1-8+"*1*2*2*1*0 i 1
1) 5ave the file
2) 6un it) *n this ,a ou ,ill !e a!le to set 6ela 1 <N for # seconds and the
Turn it <99
-36-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
11.&.2. Linu%
Usuall most of "inu3 <5 come ,ith snmp tool installed)
1) To chec- out if snmp is installed, Iust open one terminal and tpe4
sn%&get 'v1 '( 000000000000 1-2*1+8*1*11 *1*3*+*1*,*1*1-8+"*1*1*1*0
01 (ourse /ith your net/or2 settings$
*f ou get some message li-e this4 @snmp is not function@ or @snmp not found@, it
seems that snmp is not installed and ou have to follo, the hints that the command
line gives ou) 'fter that repeat step 1)
2) 1reate !ash file for e3ample <N)vim and enter the follo,ing commands in it4
3456in56ash
sn%&set 'v1 '( &rivate 1)2*1+*100*2 *1*3*+*1*,*1*1-8+"*1*2*2*1*0 i 0
slee& "s
sn%&set 'v1 '( &rivate 1)2*1+*100*2 *1*3*+*1*,*1*1-8+"*1*2*2*1*0 i 1
3) 5ave the file
2) 6un it) *n this ,a ou ,ill !e a!le to set 6ela 1 <N for # seconds and the
Turn it <99
11.&.3. E%a#"le !o##ands
o 5NM/K+T e3amples
:et DAEnetIP2 IP address
snmpget -v1 -c 000000000000 1:2)1>)100)2 $en-ovi)$'+net*/2)1onfiguration)cfg*/)0
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)1)1)0
:et the MAC Address
snmpget -v1 -c 000000000000 1:2)1>)100)2 $en-ovi)$'+net*/2)1onfiguration)cfgM'1)0
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)1)2)0
:et P0.1 3 his ,ill read analog in"ut 1 le)el. he rsult is 'ro# 4 u" to 1423.
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)3)1)0
:et P0.> his ,ill read analog in"ut > le)el. he rsult is 'ro# 4 u" to 1423.
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)3)8)0
:et the ,hole P0 -his ,ill return a *yte nu#*er. Ea!h *it is !on)erted analog in"ut
)alue. his !an *e used 'or digital in"uts reading o' P0/
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)3)33)0
:et P3.1 3 his ,ill read digital out"ut P3.1 le)el
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)1)1)0
-3!-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
:et P3.> 3 his ,ill read digital out"ut P3.> le)el
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)1)8)0
:et the ,hole P3
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)1)33)0
:et P5.1 3 his ,ill read digital out"ut P5.1 le)el
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)2)1)0
:et P5.> 3 his ,ill read digital out"ut P5.> le)el
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)2)8)0
:et the ,hole P5
snmpget -v1 -c 000000000000 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)2)33)0

o 5NM/5+T e3amples
+et DAEnetIP2 IP address
snmpset -v1 -c private 1:2)1>)100)2 $en-ovi)$'+net*/2)1onfiguration)cfg*/)0 a 1:2)1>)100)3
snmpget -v1 -c private 1:2)1>)100)3 )1)3)>)1)2)1)1J8>#)1)1)1)0 a 1:2)1>)100)3
+et P3.1 3 his ,ill set "in 1 'ro# digital out"ut "ort P3 in E4E -Lo, le)el/
snmpset -v1 -c private 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)1)1)0 i 0
+et P3.> 3 his ,ill set "in 1 'ro# digital out"ut "ort P3 in E1E -=igh le)el/
snmpset -v1 -c private 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)1)8)0 i 1
+et the ,hole P3 3 his ,ill set all the > "ins 'ro# digital out"ut "ort P3 in E1E
snmpset -v1 -c private 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)1)33)0 i 2##
+et P5.1 3 his ,ill set "in 1 'ro# digital out"ut "ort P5 in E4E -Lo, le)el/
snmpset -v1 -c private 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)2)1)0 i 0
+et P5.> 3 his ,ill set "in 1 'ro# digital out"ut "ort P5 in E1E -=igh le)el/
snmpset -v1 -c private 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)2)8)0 i 1
+et the ,hole P5 3 his ,ill set all the > "ins 'ro# digital out"ut "ort P5 in E1E
snmpset -v1 -c private 1:2)1>)100)2 )1)3)>)1)2)1)1J8>#)1)2)2)33)0 i 2##
-3&-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
12. A""endi% &. +o't,are e%a#"les
1.1. 2a)a
$o,nload the Net!eans proIect (6'6 file for (indo,s& from here
1.2. .6E
$o,nload the proIect (1 ^& from here
1.3. P=P
$o,nload the file (in )t3t format& from here) The php server must support snmp) *t
is tested ,ith ('M/ (,ith snmp li! activated&)
-3#-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
13. A""endi% 5. Fir#,are u"grade
Aello, are given the steps for 'ir#,are upgrade of the DAEnetIP Eight !e"a#
Modu"e (LM35DZ) ,ith DAEnetIP +urner.
1) $o,nload and save the version ou need for upgrading the DAEnetIP Eight
!e"a# Modu"e (LM35DZ)) The !inar ()!in& file must !e do,nloaded from
this lin- (note the firm,are file is different that the firm,are file for $'+net*/2&
2) Navigate the $'+net*/ Aurner application to this file ! clic-ing !utton ,ith
la!el G_H)
3) 9rom the De)i!e list select $'+net*/2)
2) *n the IP address 'ield tpe the */ address of the $'+net*/2 controller that
must !e upgraded)
#) *n the Port 'ield tpe the port on that $'+net*/2 can !e reached) This is the
5NM/ port) A default it is 1>1)
>) *n the Pass,ord 'ield tpe the 5NM/ pass,ord used in this $'+net*/2
controller) A default it is @private@
:) 1hec- if the settings are correct ! clic-ing !utton GChe!1 de)i!eH) 'fter
successful connection under this !utton it must appears te3t ,ith the
$'+net*/2 version) *f this not happens it means the connection is not
successful and ou must repeat again steps 3->)
8) 5et the FP +er)er. This is usuall the */ of the userQs computer)
J) 5et the #a%i#u# retries 'ield. This field sho,s ho, man times
the DAEnetIP 7urner ,ill tr to reconnect ,ith the $'+net*/2 controller if the
connection is lost for a moment) ' value of #-10 is reasona!le)
10) 5tart update ! clic-ing 7urn *utton. *f everthing is correct, a ne, line must
appear in the event log and the progress !ar must starts moving on)
9igure 1J) $'+net*/ Aurner
-4+-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
11) (ait until the file is uploaded) This ,ill !e indicated ,hen the 6e,
)ersion field is not ``` !ut some value F form e3ample 1)#0) Then the +tatus
'ield must !e ,ith value G9ile is uploaded successfullH)
12) Dour $'+net*/2 controller is upgraded successfull ,ith the desired firm,are
version) No, ,hen ou clic- !utton GChe!1 de)i!eH, the ne, version must
appear)

-41-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
1&. A""endi% 5. I5; Ports -DAEnetIP2 P3/
This section descri!es ho, to used $'+net*/2 /3 - 8 !it TT" *< port lines) The
are not !uffered and ou should ver carefull other,ise the M1U could !e
damaged) The are digital inputs.outputs) The output level voltage is G1H (3)30$1& or
G0H (0)2#0$1& ,ith consumption \ 1)#m') 'll inputs.outputs have protection diodes
to KN$ and M3)30$1)
Aelo, are given sample e3amples of *.< ports connections to e3ternal devices)
The first figure sho,s connection ,ith 120 rela) The second sho,s e3ample for #0
TT" signal input) 62 is recommend !ecause sometimes the input signals are atri-
stateH)

9igure 20) 1onnecting rela to *.< pin
9igure 21) Using digital *.< pin as input
-42-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
15. A""endi% &. LM35DZ sensor !onne!tion
Aello, it is sho,n the internal connections !et,een the e3tended ports (7/1, 7/3&
of the module and the $'+net*/2 /> pins)
9igure 22) *nternal connection of $'+net*/2-/> to 7/1 and 7/3 ('ll used resistors
are ,ith M-#b tolerance&
The $'+net*/2 '$1 is ,ith 10 !it resolution and 0refC1)20$1) This allo,s ou
temperature measurement ,ith resolution a!out # division per degree)
To connect "M3#$% sensor to DAEnetIP Eight !e"a# Modu"e (LM35DZ)/ ou
have to use the sho,n !ello, schematic4
2#
2>
1
2
7/1
0out
KN$
0cc (M120&
9igure 23) =o, to connect "M3#$% to 7/1
=ere it is sho,n e3ample onl for the first analog channel) Peeping in mind the
7/1 pins sho,n on Figure 5 ou ma connect the rest : "M3#$% sensors the same
,a)
-43-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
10. A""endi% 5. Me!hani!al dra,
9igure 22) Mechanical dimensions
-44-
DAEnetIP2 Eight Relay Module LM35DZ User Manual
18 Nov 2013
19. Do!u#ent re)isions
03)10)2012 - 9irst document version
0#)10)2012
o 9i3ed formulas errors on page 21
o 'dded e3tra information on page 22
0#)12)2012
o 6eplaced the incorrect temperature sensor tpe "M3# ,ith the correct
supported one F "M3#$%
11 )03 )201 3
o 9i3ed ports diagram error on page 10
18)11)2013 - /ort /3 and /# control all pins via 5NM/, correction of the
<*$s)
-45-

Das könnte Ihnen auch gefallen