EasyManuals Logo

Devantech dS2824 User Manual

Devantech dS2824
71 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #41 background imageLoading...
Page #41 background image
dS2824
dS2824 User Manual v4.12
The messages are in human readable plain text and are also easily readable in code.
The first line informs you of the event number that triggered the notification and the state of
that trigger, followed by the event in a human readable form.
Note that the on-board digital inputs D1-D8 are actually events 41-48. The relays are 1-32 and
the dSx inputs range from 104-164.
In this case digital input D1 became active.
The next line, if the TimeStamp box is checked, is the date (day/month/year) and the time
(hr:min:sec).
This is followed by the 32 relay states reading left to right, 1 to 32. In the above example re-
lays 1, 14 and 15 are active.
Next are the 8 input states reading left to right, 1 to 8. In this case input 1 is active and is the
trigger for this event. It is configured as a digital input which will display as 0 or 1. Input 2 is
configured to analogue mode and is showing its analogue value.
The remaining lines are any dSx modules attached to the dS2824, one per line. In this case we
have a single dSx42L connected. The 4 inputs are presented as Digital and Analogue inputs.
The first group of 4 digits are the inputs as digital inputs. This is followed by the 4 analogue
values. In the above case input 3 analogue value is 627 which is also showing as a digital 1.
Node-RED
A simple Node-RED flow can be used to receive the notification.
A tcp in node is connected to a tcp out node and a debug node. The tcp in node is set to listen
on the selected port. The tcp out node is set to “Reply to TCP”. The debug node allows you to
see the message being sent. We used this setup to generate the message screenshot above.
See the “HomeAssistant-NodeRED” manual for more information and an example of extracting
individual inputs from the message.
Copyright © 2016-2021, Devantech Ltd.
All rights reserved.
www.robot-electronics.co.uk
41

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Devantech dS2824 and is the answer not in the manual?

Devantech dS2824 Specifications

General IconGeneral
BrandDevantech
ModeldS2824
CategoryRelays
LanguageEnglish

Related product manuals