BaudRate
1200
2400
4800
9600
19200
38400
---
---
B2
0
0
0
0
1
1
1
1
B1
0
0
1
1
0
0
1
1
B0
0
1
0
1
0
1
0
1
Parity
Mark
Even
Odd
Space
P1
0
0
1
1
P0
0
1
0
1
Bit
Desc.
15
-
14
-
13
-
12
-
11
-
10
-
09
-
08
-
07
-
06
M
05
P1
04
P0
03
N
02
B2
01
B1
00
B0
Mode
ASCII
RTU
M
0
1
N°bit
7 bit
8 bit
N
0
1
Bit
Coil
15
-
14
-
13
-
12
-
11
-
10
-
09
-
08
-
07
-
06
-
05
-
04
-
03
-
02
11
01
10
00
09
DESCRIZIONE REGISTRI
pag 2/4
40001 : TEST
This register is used to perform the following functions:
- Analog inputs calibration (see the “Procedures” section).
- Synchronized sampling (see the “Procedures” section).
40002 / 40003 : FIRMWARE VERSION
Read-only 2-register field, that hold the manufacturer firmware identifier.
- Manufacturer default: 3310 (hex)
40004 / 40005 : DEVICE NAME
2-registers field (4 byte or 4 ASCII characters) user free, that can hold the device name or a function identifier. Each byte can be writed with each
value from 0 to 255, than ASCII characters too.
- Manufacturer default: “3015” (ASCII).
40006 : COMMUNICATION
Set the bits of this register as shown in the following table, to set the baud-rate, the bit number, the parity type and the protocol type.
- Manufacturer default:38400 bps, RTU mode
40007 : ADDRESS
Specify the net address of the device; there are allowed the address from 1 to 255.
Each device connected to the same net must have a unique address.
The address 255 is used for broadcast functions (i.e. synchronized sampling)
- Manufacturer default: 01
40008 : RX/TX DELAY
Specify the value of the delay between the reception of a command and the response transmission, indicated in milliseconds.
- Manufacturer default: 1 (1 ms.)
40009 : WATCHDOG TIMER
Specify the value of the WatchDog Timer (see the “Procedures” section), indicated in steps of 0.5 seconds.
- Manufacturer default: 10 (5 sec.)
40010 : COILS
This register is a mirror of the coils table: each bit of this register corresponds to a coil, as shown in the following table.
NOTES:
- the bit number is ignored, as for in ASCII mode it is fixed to 7 and in RTU mode it is fixed to 8.
- In RTU mode the parity is ignored (parity NONE)
40011 : (reserved)
This register must have the default value:
DAT3015-V = 04
DAT3015-I = 06