0% found this document useful (0 votes)
220 views10 pages

dl-302 Modbus and Dcon Commands PDF

This document contains information about Modbus address mappings and DCON command sets for a DL-302 device. It lists addresses, descriptions and attributes for various device parameters and measurements that can be accessed via Modbus or configured via DCON commands. These include analog and digital inputs/outputs, alarm limits, device settings, and more.

Uploaded by

Pedro Bortot
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
220 views10 pages

dl-302 Modbus and Dcon Commands PDF

This document contains information about Modbus address mappings and DCON command sets for a DL-302 device. It lists addresses, descriptions and attributes for various device parameters and measurements that can be accessed via Modbus or configured via DCON commands. These include analog and digital inputs/outputs, alarm limits, device settings, and more.

Uploaded by

Pedro Bortot
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

DL-302 Modbus Address Mappings (Base 1)

Address Description Attribute


30001 ~
30006
40001 ~
40006
Analog input value of channel 0 to 5.
channel 0: CO
2
in 1ppm, channel 1:
relative humidity in 0.01%, channel 2:
temperature in 0.01C, channel
3:temperature in 0.01F, channel 4:
dew point temperature in 0.01C,
channel 5: dew point temperature in
0.01F
R
40225 High alarm limit of channel 0, CO
2
in
1ppm
R/W
40272 Modbus NetID
Only for Modbus TCP protocol
R/W
30301
40301
Number of the digital input channels
Only for Modbus TCP protocol
R
30311
40311
Number of the digital output channels
Only for Modbus TCP protocol
R
30321
40321
Number of the analog input channels
Only for Modbus TCP protocol
R
30331
40331
Number of the analog output channels
Only for Modbus TCP protocol
R
30352
40352
Firmware version in hex format
Only for Modbus TCP protocol
R
40450 Relative humidity offset in 0.01% R/W
40451 Temperature offset in 0.01C R/W
40481 Firmware version (low word) R
40482 Firmware version (high word) R
40483 Module name (low word), 0x0302 R
40484 Module name (high word), 0x444C R
40485 RS-485 module address, 1 to 247
Only for Modbus RTU protocol
R/W



1



Address Description Attribute
40486 RS-485 baud rate and parity settings
Bits 5:0
Baud rate, valid range: 3 ~10
Bits 7:6
00: no parity, 1 stop bit
01: no parity, 2 stop bit
10: even parity, 1 stop bit
11: odd parity , 1 stop bit
Only for Modbus RTU protocol
R/W
40488 RS-485 response delay time in ms,
valid range, 0 ~30
Only for Modbus RTU protocol
R/W
40489 RS-485 host watchdog timeout value,
0 ~255, in 0.1s
Only for Modbus RTU protocol
R/W
40492 RS-485 host watchdog timeout count,
write 0 to clear
Only for Modbus RTU protocol
R/W
40495 LCD back light setting, 0 to 255 R/W
40496 Automatic baseline correction for CO
2
measurement, 0: disable, 1:enable
R/W
40497 Beep on alarm, 0: disable, 1 to 250:
beep on alarm time in seconds, 251:
beep on alarm continuously
R/W
30513 ~
30518
40513 ~
40518
High latched analog input value of
channel 0 to 5
R
30545 ~
30550
40545 ~
40550
Low latched analog input value of
channel 0 to 5
R
30556
40556
Module reset status, 1: power-on, 2:
watchdog, 3: software reset command
Only for Modbus TCP protocol
R

2



Address Description Attribute
40558 Ethernet host watchdog timeout value,
5 to 65535, in second, 0 to disable.
Only for Modbus TCP protocol
R/W
30559
40559
Ethernet host watchdog timeout count.
Only for Modbus TCP protocol
R
30560
40560
Module name, 0x0302
Only for Modbus TCP protocol
R
40564 TCP disconnection timeout value, 5 to
65535, in second, 0 to disable.
Only for Modbus TCP protocol
R/W
40565 Module reset timeout value, 30 to
65535, in second, 0 to disable.
Only for Modbus TCP protocol
R/W
40860 Display message with beep sound, 0:
no, 1: yes
R/W
40861 The index of message to be shown on
the LCD screen, 0 ~19, -1 to stop
R/W
40865 RTC year, 2000 to 2159 R/W
40866 RTC month, 1 to 12 R/W
40867 RTC date, 1 to 31 R/W
40868 RTC hour, 0 to 23 R/W
40869 RTC minute, 0 to 59 R/W
40870 RTC second, 0 to 59 R/W
40871 Total number of log records, low wordR
40872 Total number of log records, high
word
R
40873 The starting record to read log data,
low word
R/W
40874 The starting record to read log data,
high word
R/W
40875 The status of the data logging, 0:
stopped, 1: running
R
40876 The data logger command, 0: stop, 1:
run, 2: run in period mode
R/W


3


Address Description Attribute
40877 Continue writing when data logger is
full, 0: no, 1: yes
R/W
40878 Hour of the data logger sampling
period, 0 ~24
R/W
40879 Minute of the data logger sampling
period, 0 ~59
R/W
40880 Second of the data logger sampling
period, 0 ~59
R/W
40881 Starting year when logging in period
mode, 2000 ~2159
R/W
40882 Starting month when logging in period
mode, 1 ~12
R/W
40883 Starting date when logging in period
mode, 1 ~31
R/W
40884 Starting hour when logging in period
mode, 0 ~23
R/W
40885 Starting minute when logging in
period mode, 0 ~59
R/W
40886 Starting second when logging in
period mode, 0 ~59
R/W
40887 Ending year when logging in period
mode, 2000 ~2159
R/W
40888 Ending month when logging in period
mode, 1 ~12
R/W
40889 Ending date when logging in period
mode, 1 ~31
R/W
40890 Ending hour when logging in period
mode, 0 ~23
R/W
40891 Ending minute when logging in period
mode, 0 ~59
R/W
40892 Ending second when logging in period
mode, 0 ~59
R/W






4


Address Description Attribute
450302 Message to be shown on the LCD
screen, only by Modbus function 16
450302: 0x494D, for identification
450303 high byte: message index, 0 ~
19
450303 low byte ~: message strings,
max 100 characters, add 0x0D to
separate lines
Note: the data are not saved in the
nonvolatile memory
W
00001 Digital output value of channel 0 R/W
00129 Safe value of digital output channel 0 R/W
00161 Power on value of digital output
channel 0
R/W
00227 Write 1 to reload default TCP settings
Only for Modbus TCP protocol
W
00234 Write 1 to reboot module
Only for Modbus TCP protocol
W
00257 RS-485 Protocol, 0: DCON, 1:
Modbus RTU
Only for Modbus RTU protocol
R/W
00260 Modbus RTU host watchdog mode
0: same as I-7000
1: can use AO and DO command to
clear host watchdog timeout status
Only for Modbus RTU protocol
R/W
00261 RS-485 host watchdog mode, 1:
enable, 0: disable.
Only for Modbus RTU protocol
R/W
00270 Host watch dog timeout status, write 1
to clear host watch dog timeout status
Only for Modbus RTU protocol
R/W
00273 Reset status, 1: first read after
powered on, 0: not the first read after
powered on
R


5


Address Description Attribute
00280 Write 1 to clear all high latched
analog input values
W
00281 Write 1 to clear all low latched analog
input values
W
00305 High alarm status of channel 0, CO
2
.
Write 1 to clear high latched alarm of
channel 0, CO
2
R/W
00321 Enable/disable alarm of channel 0,
CO
2
R/W
00337 Alarm type, momentary or latched, of
channel 0, CO
2
R/W
00385 ~
00390
Write 1 to clear high latched analog
input value of channel 0 to 5
W
00417 ~
00422
Write 1 to clear low latched analog
input value of channel 0 to 5
W




6


DL-302 DCON Command Sets

Command Description
$AAF read firmware version
$AAI read INIT status
response:
!AA0 ->INIT short to GND
!AA1 ->else
$AAM read module name
$AAP Read Modbus RTU/DCON protocol
response:
!AA0 ->DCON
!AA1 ->Modbus RTU
$AAPN Set Modbus RTU/DCON protocol
N->0: DCON, 1: Modbus RTU
$AA2 read configuration
$AA5 read reset status
!AA1 first after power on, !AA0 others
#AA Read All Analog Inputs
response
>(CO2 in 1 ppm)(relative humidity in 0.01%)(temperature in 0.01
C)(temperature in 0.01F) (dew point temperature in 0.01C)(dew
point temperature in 0.01F)
#AAN Read Channel Analog Input
N =0 for CO2 in 1 ppm, 1 for relative humidity in 0.01%, 2 for
temperature in 0.01C, 3 for temperature in 0.01F, 4 for dew point
temperature in 0.01C, 5 for dew point temperature in 0.01F
%AANNTTCCFF set configuration, NN: new address, TT =00, CC: new baud rate
FF: data format
@AAABC Read status of the automatic baseline correction
response
!AAN, N=0: disabled, 1: enabled
@AAABCN Set the automatic baseline correction
N->0: disabled, 1: enabled
@AABA Read beep on alarm time
response
!AAHH, HH in hex, 0: disabled, 1 ~250: beep on alarm time in
seconds, 251: beep on alarm continuously
@AABAHH Set beep on alarm
HH in hex, 0: disabled, 1 ~250: beep on alarm time in seconds, 251: beep
on alarm continuously
@AABL Read LCD back light
response
!AAHH, HH: 00 ~FF in hex
@AABLHH Set LCD back light, HH: 00 ~FF in hex
@AACH Clear all high latched analog inputs to the current values



7


Command Description
@AACHN Clear channel high latched analog input to the current value
N =0 for CO2, 1 for relative humidity, 2 for temperature in 0.01C, 3 for
temperature in 0.01F, 4 for dew point temperature in 0.01C, 5 for dew
point temperature in 0.01F
@AACHC0 Clear high latched alarm of channel 0 (CO2)
@AACL Clear all low latched analog inputs to the current values
@AACLN Clear channel low latched analog input to the current value
N =0 for CO2, 1 for relative humidity, 2 for temperature in 0.01C, 3 for
temperature in 0.01F, 4 for dew point temperature in 0.01C, 5 for dew
point temperature in 0.01F
@AADAC0 Disable AI alarm of channel 0 (CO2)
@AADI read DO
response
!AA00O00
@AADO0V set DO, V->0: off, 1: on
@AAEATC0 Enable AI alarm of channel 0 (Co2)
T->M: momentary alarm, L: latched alarm
@AAHI(data)C0 Set high alarm limit of AI channel 0 (CO2)
(data) in format of +00000. ~+10000.
@AAHO Read humidity offset
@AAHO(data) Set humidity offset, data in format of -100.00 ~+100.00
@AARAC0 Read AI alarm enabled/disabled status of channel 0 (CO2)
response
!AAN, N->0: disabled, 1: momentary, 2: latched
@AARAO Read AI alarm status
response
!AA0H00
@AARH Read all high latched values of analog input channels
@AARHN Read channel high latched value of analog input
@AARHC0 Read high alarm limit of AI channel 0 (CO2)
@AARL Read all low latched values of analog input channels
@AARLN Read channel low latched value of analog input
@AART Read RTC data
@AARTYYMMD
DHHMMSS
Set RTC data
@AATO Read temperature offset in 0.01C
@AATO(data) Set temperature offset in 0.01C, -100.00 ~+100.00
~** clear host watchdog timeout counter
~AA0 read host watchdog status
~AA1 clear host watchdog timeout status
~AA2 read host watchdog enable/disable status and timeout value
~AA3ETT enable/disable host watchdog and set timeout value
E->0: disable host watchdog, 1: enable host watchdog
TT: host watchdog timeout in 0.1s in hex format
~AA4 read DO power on and safe value



8


Command Description
~AA50P0S set DO power on and safe value
P->0: power on value off, 1: power on value on
S->0: safe value off, 1: safe value on
~AARD read response delay time in ms in hex format
~AARDVV set response delay time in ms, VV in hex format, 00 - 1E



9



Baud Rate Setting (CC)
Bits 5:0
Baud rate, 0x03 ~0x0A
Code 0x03 0x04 0x05 0x06
Baud 1200 2400 4800 9600
Code 0x07 0x08 0x09 0x0A
Baud 19200 38400 57600 115200
Bits 7:6
00: no parity, 1 stop bit
01: no parity, 2 stop bits
10: even parity, 1 stop bit
11: odd parity, 1 stop bit

Data Format Setting (FF)
Bit 6
0: checksum disabled
1: checksum enabled


10

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy