MesCom
– Workshop Manual – D6000/i14/V10
© Dycon Ltd 2014
-
23
7.1.2 Configure Inputs
Inputs can be configured as Digital, Analogue, Timer or Counter.
See below for the main settings for each point; see section 7.5 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
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
Digital Example:
9876 POINT Input1 TYPE 0 DEBOUNCE 10 THRES 0.5 3 3 3 HYST 2
9876 POINT Input1 PNAME Door LEVELS Open Closed na na na
Analogue Example:
9876 POINT Input2 TYPE 3 DEBOUNCE 10 THRES 0.2 1.0 2.0 2.8 HYST 0.1
9876 POINT Input2 PNAME WaterLevel LEVELS Empty Low Normal High Full SUFFIX m
9876 POINT Input2 READMIN 0.4 READMAX 2.0 DISPMIN 0.0 DISPMAX 1.5
Repeat for Input3, Input4 as required.
Please Note: All labels MUST contain NO spaces - we suggest underscore is used instead.
7.1.3 Configure Outputs
Outputs are configured with the same command structure as inputs:
9876 POINT OP1 TYPE 5 DEBOUNCE 0 THRES 3.0 3.0 3.0 3.0 HYST 0
9876 POINT OP1 PNAME lights LEVELS ON OFF na na na
Repeat for OP2 as required.
Please Note: All labels MUST contain NO spaces - we suggest underscore is used instead.