Dycon D6000 MesCom Instruction manual

Workshop Manual
for MesCom
© Dycon Ltd 2012
Tel: +44 (0)1443 471 060
Fax: +44 (0)1443 479 374
Cwm Cynon Business Park – Mountain Ash – CF45 4ER - UK
www.dyconsecurity.eu

Table Of Contents
1DESCRIPTION.......................................................................................................................................3
2CONNECTIONS.....................................................................................................................................4
3COMMISSIONING.................................................................................................................................7
3.1CONNECTANDPOWERUP............................................................................................................................7
3.2CONFIGURE...............................................................................................................................................8
3.2.1Generalconfiguration.......................................................................................................................8
3.2.2Configureinputs................................................................................................................................8
3.2.3Configureoutputs.............................................................................................................................9
3.2.4Confirmsettings................................................................................................................................9
3.3ADDINGUSERS..........................................................................................................................................9
4NORMALOPERATION........................................................................................................................10
4.1LEDS.....................................................................................................................................................10
4.2TESTBUTTON..........................................................................................................................................10
4.3USEFULCOMMANDS................................................................................................................................10
4.3.1Addingandremovingusers............................................................................................................10
4.3.2Readingthecurrentstatus..............................................................................................................10
4.3.3Changinganoutput........................................................................................................................10
4.3.4Disablefaultyinput.........................................................................................................................11
4.3.5TemporarySTOP/STARTuser’snotification....................................................................................11
5ADVANCED........................................................................................................................................12
5.1POINTCONFIGURATIONCOMMAND............................................................................................................12
5.1.1Pointtypevariations.......................................................................................................................12
5.1.2Debounceandaveraging................................................................................................................17
5.1.3Pointscaling....................................................................................................................................18
5.1.4Pointactionflags............................................................................................................................19
5.1.5Assigninginputstopoints...............................................................................................................19
5.1.6Flutterandsuspend(notimplementedinthismodel)....................................................................19
5.2OPTIONCOMMAND................................................................................................................................21
5.3VIEWCOMMAND....................................................................................................................................24
5.4HELPCOMMAND.....................................................................................................................................24
5.5PASSWORDCOMMAND..........................................................................................................................24
6COMMANDS......................................................................................................................................25
7FACTORYDEFAULTS...........................................................................................................................35
7.1DEFAULTGENERALCONFIGURATION............................................................................................................35
7.2DEFAULTPASSWORDS...............................................................................................................................35
7.3DEFAULTPOINTCONFIGURATION................................................................................................................36
7.4DEFAULTPOINTLABELS.............................................................................................................................36
7.5DEFAULTPOINTVARIABLES........................................................................................................................37
7.6DEFAULTPOINTCONTROLFLAGS................................................................................................................37
8USEWITHAPRE‐PAYSIMCARD.........................................................................................................38
9EXPANSION........................................................................................................................................38
10APPENDIX1‐SPECIFICATION.............................................................................................................39
11APPENDIX2‐GLOSSARYOFTERMS....................................................................................................40
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 2

1 Description
The MesCom is a basic low cost remote telemetry unit with 4 universal inputs and 2 open
collector outputs.
All communication and configuration with the MesCom is via SMS messages from your
mobile phone.
Inputs are 0-3V and can be configured to behave as digital inputs. Digital inputs can be a
voltage signal (eg 12V) or a volt free contact (eg relay contact).
While the inputs are 0-3V this can be adapted to any voltage to current range with the use of
resistors (eg 100ohm across the input would give 0-30mA input suitable for 4-20mA
signalling).
Outputs are open collector outputs to ground with back EMF protection for use with small
inductive loads (eg relays) with a maximum 100mA load.
Internal monitoring of temperature, battery voltage, supply voltage, and radio module state is
also performed. The board temperature sensor has an accuracy ±2°C.
All ports with the exception of the antenna and battery are 30v tolerant.
All input and output can be configured to suit the user’s application.
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 3

2 Connections
Test Button
0V +V LED1 LED2 GSM SMA
Power supply
connector
9-30Vdc 500mA*
Status Indication Antenna
OP2 OP1 OV IP4 IP3 IP2 IP1
Open collector
outputs
100mA 30V max
Ground
OP & IP
common
Inputs; Voltage or volt-free contact
3V max (30V overvoltage protected)
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 4

Input signals of 3V or less can
be directly connected to the
input terminals.
Direct connection Analogue or
Digital Voltage
signal upto 3v
Input
0V
Input signals of greater than 3V
should be connected via a
resistor as a safety precaution.
Please note voltages above 3V
connected in this way will read
a 3V.
10k
Digital Voltage
signal upto 24v
Current limiting
Resistor
Input
0V
Analogue voltage inputs above
3V need to be scaled with
resistors. To a maximum of 3V.
The MesCom can then be
configured to scale them back
again. This example divides the
voltage by 4 making it suitable
for upto 12V.
R1 ≈1KΩ
R2 = (max voltage/3 – 1) × R1
1k2 3k6
Analogue Voltage
signal upto 12v
Input
0V
Current inputs can be converted
to a voltage input with the use
of a resistor. This example is
suitable 4-20mA sensors.
R = 3/max current
100r
Analogue Current
signal upto 30mA
Input
0V
The MesCom can be configured
for volt-free contacts. Allowing
relay contact to be connected to
the inputs.
Volt-free
contact
Device to monitor
Input
0V
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 5

When configured for volt-free
contact open collect, SO, FET
or optocouple signals can also
be used.
Open collector
or
SO output from
pulse meeter
Device to monitor
Input
0V
The output are open collect
outputs and are capable of
switching max 30V at 100mA.
Load
60mA max
Supply
30V max
Output
0V
For higher power loads the
output will need to be
connected to a relay. The
MesCom output is protected
again back EMF and therefore
the protection diode shown is
optional but recommended.
Relay coil
Supply
30V max
Relay coil
60mA max
Supply
suitable for
relay
contacts
Load
Output
0V
Optional reverse EMF protection diode
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 6

3 Commissioning
3.1 Connect and power up
Having found a suitable position to install the MesCom.
Connect to system sensors/relay etc. See connection details in section 2.
Connect the supplied stub antenna or any suitable GSM antenna with SMA connector.
Remove the lid by pulling a corner, being careful not to pull the battery if already connected.
Insert SIM card as shown.
Connect the battery to the small white 2 pin connect near the power connector as shown
below.
The LED indicators should start to flash to indicate the unit is working. If the LEDs don’t flash
it may be that the battery is discharged, switching the supply on with cause the LEDs to flash
and the battery to be charged.
Before connecting a supply, ensure it is the correct voltage,
current rating and the polarity is correct.
The MesCom is not fitted with fuse or overvoltage/polarity
protection incorrectly connecting a PSU with damage the device.
Connect a suitable supply to the power terminals being careful to observe polarity. And
switch the supply on.
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 7

3.2 Configure
3.2.1 General configuration
MesCom settings you may wish to change include; see section 5.2 for a full list.
IDENT The unit’s identifying name a string (no spaces) of up-to 16
characters
PSAVE The power saving
mode
0 – always powered (least power saving)
1 – shut down radio when battery is low
2 – shut down radio when using battery
3 – shut down radio when not in use (most power
saving)
WAKE The time the MesCom keeps the radio
powered after an action occurs
Number of seconds (minimum 100s
max 32767)
SLEEP The maximum time the radio is
powered off between check for new text
messages
Number of minutes (minimum
5minutes max 32767)
SAMPLE The point sampling interval Number of milliseconds (minimum
20ms max 60000)
LOGINT The routine logging interval Number of minutes (0 disables max
32767)
SYNC The synchronisation time for routine
logging
Number of minutes past midnight (eg
300 = 5am 1440 >= disabled)
PULLUP Inputs are pull up or down when the
signal is disconnected. Pull up for volt-
free contacts.
UP/DOWN YES/NO TRUE/FALSE
Example:
9876OPTIONIDENTMyGaragePSAVE2WAKE180SLEEP60
9876OPTIONSAMPLE20LOGINT180SYNC300PULLUPYES
Please Note All labels Must contain No spaces, we suggest underscore is used instead
3.2.2 Configure inputs
Inputs can be configured as Digital, Analogue, Timer or Counter.
The main settings for each point are below; see section 5.1 for a full list.
TYPE Point type 0 – Digital input
1 – Timer (digital input)
2 – Counter (digital input)
3 – 16bit Analogue input
4 – Reserved
5 – Digital output
6+ – Reserved
DEBOUNCE Digital debounce or analogue
averaging
Number of samples (min 1 max
256)
THRES 4 values state threshold values 0.0 to 3.0 (volts) or in format
#nnnnn to be ADC count
HYST Threshold hysteresis 0.0 to 3.0 (volts) or in format
#nnnnn to be ADC count
PNAME The point identifying name a string (no spaces) of up-to 24
characters
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 8

LEVELS 5 values, the name to be applied to the
point’s state
a string (no spaces) of up-to 16
characters
READMIN Point scaling value, minimum input
voltage
0.0 to 3.0 (volts) or in format
#nnnnn to be ADC count
READMAX Point scaling value, maximum input
voltage
0.0 to 3.0 (volts) or in format
#nnnnn to be ADC count
DISPMIN Point scaling value, minimum scaled
value – corresponding to VOLTMIN
Decimal number (min -9999.9999
max +9999.9999)
DISPMAX Point scaling value, maximum scaled
value – corresponding to VOLTMAX
Decimal number
SUFFIX Suffix to add to scaled value a string (no spaces) of up-to 8
characters
DigitalExample:
9876POINTInput1TYPE0DEBOUNCE10THRES0.5333HYST29876POINTInput1
PNAMEDoorLEVELSOpenClosednanana
AnalogueExample:
9876POINTInput2TYPE3DEBOUNCE10THRES0.21.02.02.8HYST0.1
9876POINTInput2PNAMEWaterLevelLEVELSEmptyLowNormalHighFullSUFFIXm
9876POINTInput2READMIN0.4READMAX2.0DISPMIN0.0DISPMAX1.5
Repeat for Input3, Input4 as required.
Please Note All labels Must contain No spaces, we suggest underscore is used instead
3.2.3 Configure outputs
Outputs are configured with the same command structure as inputs:
9876POINTOP1TYPE5THRES3.00.03.03.0PNAMElightsLEVELSONOFFnanana
Repeat for OP2 as required.
Please Note All labels Must contain No spaces, we suggest underscore is used instead
3.2.4 Confirm settings
Settings can be confirmed with the VIEW command:
5566VIEWOPTIONALL
5566VIEWPOINTinput1ALL
Repeat for Input2, Input3, Input4, OP1, OP2 as required.
3.3 Adding users
To add a user you must use the ADDNUM command:
9876ADDNUM+447∙∙∙∙∙∙∙∙∙
The phone number should be in international format (ie starting with a + symbol). If there is
no space in the user list for another number (max 4) a fail message will be returned. If the
number is omitted then the sender’s number will be added to the user list. Adding a number
that is already on the user list will not create a duplicate.
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 9

4 Normal Operation
4.1 LEDs
Yellow (1) Flash every 2 seconds normal
Flash 2 times a second sending a text
Green (2) Indicates conservation with radio module (serial comms)
Red (GSM) Quick flash attempting to register
Slow flash (every 3 seconds) registered
4.2 Test Button
Pressing the test button will trigger a notification text (this can be disabled) and force the
radio module to be powered for the next 15 minutes.
The test button can also be used to reset to factory default see section 7
4.3 Useful Commands
4.3.1 Adding and removing users
See section 3.3 Adding users for more detail basic command format:
9876ADDNUM+447∙∙∙∙∙∙∙∙∙
To remove a user you must use the REMOVE command:
9876REMOVE+447∙∙∙∙∙∙∙∙∙
The phone number should be in international format (ie starting with a + symbol). If a
number is given and not in the user list a fail message will be returned. If the number is
omitted then the sender’s number will be removed from the user list.
4.3.2 Reading the current status
To find out the current status of an input or output use the READ command
5566READInput3
The command supports a request for up-to 4 points at once. The keyword ALL can also be
used to return a list of all enabled points. Points can be their name or number, see section
7.3 for numbering details.
4.3.3 Changing an output
To change an output use the SWITCH command or the PULSE command depending on the
signal you what to produce.
5566SWITCHOP2ON
The SWITCH command supports an instruction for up-to 3 points at once. Points can be
their name or number. The final argument will be the value to set all outputs to, this final
value can be a state label for the first listed point, where Label0 = 0 and Label1..4 =
threshold0..3. The SWITCH command can also be used to reset a counter/timer input. On
other input points the SWITCH command has no effect.
5566PULSEOP2ON500OFF
The PULSE requires 4 arguments: 1st the point name or number, 2nd initial value to set point
to, 3rd delay before changing to final value, 4th final value to set point to. Attempting to
PULSE a point that isn’t an output will have no effect.
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 10

4.3.4 Disable faulty input
To disable an input should the sensor become faulty you can use the DISABLE command:
9876DISABLEinput3
To reverse this action use the ENABLE command:
9876ENABLEinput3
You can also use the ALL keyword to disable/enable all points
4.3.5 Temporary STOP/START user’s notification
The STOP command is a universal command to stop getting text messages from an
automated system, this allows a person that has been accidently added to the unit to disable
the text message from the unit. Please note the stop command is NOT preceded with a
password.
This command will stop you receiving any more notifications
STOP
The STOP/START command also allows a user to temporarily disable and re-enable
messages to themselves, for example when they are out of the country.
5566START
An administrator can view if a user has messages on stop with the VIEW command
9876VIEWUSERALL
This will output a list of all users and their current notification format.
An administrator can force a change of the notification format with the ADDNUM command:
9876ADDNUM+447∙∙∙∙∙∙∙∙∙2
Additionally to avoid issues with automated text services the REMOVE command can also
be used without a password to remove the sender from the device.
This command will stop you receiving any more notifications
REMOVE
Note name password or arguments are required or permitted in the special case.
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 11

5 Advanced
5.1 POINT configuration command
5.1.1 Point type variations
TYPE Point type 0 – Digital input
1 – Timer (digital input)
2 – Counter (digital input)
3 – 16bit Analogue input
4 – Reserved
5 – Digital output
6 – Reserved
7 – Reserved
All outputs can be configured as any one of these types. Care must be taken to assign
physical outputs as output type and inputs as input types. This flexibility is to allow for future
expansion of the system.
The different types make use of the 4 threshold levels and state labels in different ways - see
descriptions below.
Analogue Input
Full
High
Normal
Low
Empty
Hysteresis
Bottom
Threshold
Low
Threshold
High
Threshold
Top
Threshold
Input Value
0v
3.0v
Decreased to Empty
Increased to Low
Increased to Normal
Increased to High
Increased to Full
Decreased to High
Decreased to Normal
Decreased to Low
THRES Threshold bottom Threshold low Threshold high Threshold top
Analogue Input Threshold bottom Threshold low Threshold high Threshold top
9876POINTInput2THRES0.21.02.02.8HYST0.1
LEVELS Level 1 Level 2 Level 3 Level 4 Level 5
Analogue
Input
Name of level
when below
Bottom
Name of level
when between
Bottom and
Low
Name of level
when between
Low and High
Name of level
when between
High and Top
Name of level
when above
Top
9876POINTInput2LEVELSEmptyLowNormalHighFull
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 12

Digital Input
Bottom
Threshold
On
Off
Hysteresis
Input Value
0v
3.0v
Off
On
Off
On
Or Schmitt Input
On
Off
Hysteresis
Bottom
Threshold
Input Value
0v
3.0v
Off
On
THRES Threshold bottom Threshold low Threshold high Threshold top
Digital Input Input High/low NA NA NA
9876POINTInput2THRES1.03.03.03.0HYST0.0
Or
9876POINTInput2THRES0.53.03.03.0HYST2.0
LEVELS Level 1 Level 2 Level 3 Level 4 Level 5
Digital Input Name given
to low signal
Name given
to High
signal
NA NA NA
9876POINTInput2LEVELSOffOnnanana
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 13

Counter
On
Off
Hysteresis
Bottom
Threshold
Input Value
0v
3.0v
Off
On
Off
On
Off
On
Off
On
Off
Decreased to Overflow
Low
Threshold
Counter Value
0
65535
Increase toThreshold
THRES Threshold bottom Threshold low Threshold high Threshold top
Counter Input High/low Counter value
to report alarm
NA NA
9876POINTInput2THRES0.5#655313.03.0HYST2.0
where # signifies a raw value not a voltage
LEVELS Level 1 Level 2 Level 3 Level 4 Level 5
Counter Name given
to overflow
Name given
to threshold
crossed
NA NA NA
9876POINTInput2LEVELSoverflowthresholdnanana
Counters can be configured to record the number of changes from high to low and low to
High state.
9876POINTInput4TYPE2COUNTPOS
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 14

Timer
On
Off
Hysteresis
Bottom
Threshold
Input Value
0v
3.0v
Off
On
Off
On
Off
On
Off
On
Off
Decreased to Overflow
Low
Threshold
Counter Value
0
65535
Increase to Threshold
THRES Threshold
bottom
Threshold low Threshold high Threshold top
Timer Input High/low Timer value to
report alarm
NA NA
9876POINTInput2THRES0.5#655313.03.0HYST2.0
where # signifies a raw value not a voltage
LEVELS Level 1 Level 2 Level 3 Level 4 Level 5
Timer Name given
to overflow
Name given
to threshold
crossed
NA NA NA
9876POINTInput2LEVELSoverflowthresholdnanana
Timers can be configured to record time in either High or Low state.
9876POINTInput4TYPE1COUNTPOS
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 15

Digital Output
On
Off
Bottom
Threshold
Output Value
0
Start up
state = Low
Threshold
Command
SWITCH
Op On
Command
SWITCH
Op Off
Command
PULSE
Op On
500 Off
On
On
Off
Off
500ms
THRES Threshold
bottom
Threshold low Threshold high Threshold top
Digital Output Value to set for
Label 2
Power up value NA NA
9876POINTInput2THRES3.00.00.00.0
Note setting the first value to 0.0 would effectively disable the output.
The second value is 0.0 causing the output to be left off when the unit first powers up, set it
to 3.0 to cause it to be switched on.
LEVELS Level 1 Level 2 Level 3 Level 4 Level 5
Digital
Output
Name given
to off
Name given
to on
NA NA NA
9876POINTInput2LEVELSOffOnnanana
Hysteresis setting has no effect in Digital Outputs
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 16

5.1.2 Debounce and averaging
DEBOUNCE Digital Debounce or analogue
averaging
Number of samples
9876POINTInput2DEBOUNCE10
Debounce is performed on digital inputs, including counters and timers.
The input signal must be in a constant state for the defined number of samples for the state
to change.
On
Off
Hysteresis
Bottom
Threshold
Input Signal
0v
3.0v
Point State
Debounce DebounceDebounce
Off
On
On
Off
Average is performed on analogue input.
The input signal has a modified moving average applied to it.
New Value = current value x (samples-1) + new reading
samples
Full
High
Normal
Low
Empty
Hysteresis
Bottom
Threshold
Low
Threshold
High
Threshold
Top
Threshold
0v
3.0v
Decreased to Empty
Increased to Low
Increasedto Normal
Decreased to Low
Point Value
Input Signal
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 17

5.1.3 Point scaling
READMIN Point scaling value, minimum input
voltage
0.0 to 3.0 (volts) or in format
#nnnnn to be ADC count
READMAX Point scaling value, maximum input
voltage
0.0 to 3.0 (volts) or in format
#nnnnn to be ADC count
DISPMIN Point scaling value, minimum scaled
value – corresponding to VOLTMIN
Decimal number (min -9999.9999
max +9999.9999)
DISPMAX Point scaling value, maximum scaled
value – corresponding to VOLTMAX
Decimal number
PREFIX Prefix to add to scaled value a string (no spaces) of up to 8
characters
SUFFIX Suffix to add to scaled value a string (no spaces) of up to 8
characters
UNLIM Label for out-of-range (under) reading a string (no spaces) of up to 16
characters
OVLIM Label for out-of-range (over) reading a string (no spaces) of up to 16
characters
9876POINTInput2READMIN0.6READMAX2.6DISPMIN12DISPMAX42
9876POINTInput2SUFFIXpsiUNLIMshortOVLIMopen
Over
Range
Input Voltage
Input ADC count 65535
3.0v
0
0.0v
Under
Range
READMIN READMAX
DISPMAX
DISPMIN
Displayed Value
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 18

5.1.4 Point action flags
Every point has flags to define it behaviour.
ENABLE Point is enabled YES/NO
COUNT For counter and timer input, count
positive or negative edge/state
POS/NEG
ALARM Create event for change of state YES/NO
LOG Create a routine log of point value
Is OPTION LOGINT command
YES/NO
SMS Send event for this point by SMS YES/NO
EMAIL Send event for this point by email YES/NO
UNSOL Send event for this point by Unsolicited
message to the host
YES/NO
CALL An event on this point trigger a call to
the host
YES/NO
9876POINTInput2ENABLEYESALARMYESLOGNOSMSYES
5.1.5 Assigning inputs to points
Points 1-5 are fixed, point 6 upwards can be mapped to any available signal. This is
intended to allow the future expansion of the system with external IO cards or meters.
DEV IO device/card ID/address Number 0-255
ADDR Address of IO point within device Number 0-65535
9876 POINT 6 DEV 0 ADDR 3
DEV definition
0 Internal signals
1-254 Reserved for external
devices
255 Reference to defined
point
ADDR DEV=0 definition
0,1,2 Reserved
3 Input 1
4 Input 2
5 Input 3
6 Input 4
7 Internal Temperature
8 Supply Voltage
9 Battery Voltage
10 Radio Module status
11-63 Not defined
64 Test Button
65-127 Not defined
128 Output 1
129 Output 2
5.1.6 Flutter and suspend (not implemented in this model)
Suspend allow state changes of a input to be masked for a period of time after the first
change, eg a door contact you want to know immediately the door opens do don’t wish to get
a notifications as the door bounces shut.
Flutter is the ability of an input to temporary disable itself due to a noisy or faulty input, eg. If
a sensor get condensation in it and reports tank full->empty->full a number of time the input
will disable itself until the input is stable for a period of time. The input will report it
disables/enables itself.
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 19

Both flutter and suspend can be overridden by the user.
FLUTTER Control to temperately suspend
fluttering inputs
3 values
1st: 0-65535 number of transitions
2nd: 0-65535 decay constant
3rd: 0-65535 suspend time
SUSPEND Time after an point change to ignore
further changes on that point
0-65535 suspend time
MesCom – Operation Manual – D6000OP-EU/j13/V5 © Dycon Ltd 2013 - 20
Other manuals for D6000 MesCom
1
Table of contents