background image

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

Содержание DAT 3015-I

Страница 1: ...oils bits 3xxxx and 4xxxx Registers words PRELIMINAR DESCRIPTION Register 40001 40002 40003 40004 40005 40006 40007 40008 40009 40010 40011 40012 40013 40014 40015 40016 40017 40018 40019 40020 40021 40022 40023 40024 40025 40026 40027 40028 40029 40030 Description Test Firmware Version Device Name Communication Address RX TX Delay Watchdog Timer Coils reserved Channel Enable reserved reserved Inp...

Страница 2: ...ATION 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 synch...

Страница 3: ...ny command for a time longer than the time specified in the 40009 register the WatchDog alarm Event coil is forced to 1 see the Procedures section 0 Watchdog alarm disabled 1 Watchdog alarm enabled 00010 WATCHDOG ALARM EVENT This coil indicates the condition of WatchDog Alarm If the alarm is enabled and the device does not receive any command for a time longer than the time specified in the 40009 ...

Страница 4: ...he desired settings on the registers 40006 Communication for the baud rate setting 40007 Address for the net address of the device Turn off the device Disconnect the INIT pin from the GND pin Turn on the device Set the communication port at the baud rate programmed in the 40006 register The device now communicates with the addressprogrammed in the 40007 register NOTE The default manufacturer progr...

Отзывы: