Datexel DAT 3015-I User manual

Current Input to RS485 MODBUS
Phone: +1 561 779 5660 E-mail : [email protected] - Web Site www.datexel.com
DAT 3015-V
DAT 3015-V
DAT 3015- I
DAT 3015- I
pag 1/4
Coil
00009
00010
00011
Description
Watc dog Enable
Watc dog Event
Power Up Event
Access
R/W
R/W
R/W
E2P
Distributed I/O device
channels V or mA inputs
on RS- 85 network
User Guide – MODBUS protocol
User Guide – MODBUS protocol
Firmware Version : 3310
Firmware Version : 3310
All t e data variables s ared by a Modbus module are s own in tables, w ere eac data is linked to one address.
Eac data can be of two types:
- “COIL”, composed by a single bit, can be associated to digital input (switc ), digital outputs (relays), logic states (alarms).
- “REGISTER”, composed by 2 bytes (16 bits), can be associated to analog input or outputs, variables, set-point, etc...
A register can also include t e image of more coils, for example t e 16 digital inputs of a device can be read and write as bit, one by one, addressing
t e relative coil , or t ey can be read or write as a single 16-bit port addressing t e associated register, w ere for example t e last significant bit will
respond to t e first coil.
In t e Modbus protocol, coils and registers are divided in banks:
0xxxx and 1xxxx = Coils (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
Watc dog Timer
Coils
-- (reserved)
C annel Enable
-- (reserved)
-- (reserved)
Input # 0
Input # 1
Input # 2
Input # 3
-- (reserved)
-- (reserved)
-- (reserved)
-- (reserved)
Sync. value input # 0
Sync. value input # 1
Sync. value input # 2
Sync. value input # 3
-- (reserved)
-- (reserved)
-- (reserved)
-- (reserved)
Access
R/W
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
E2P
*
*
*
*
*
*
*
*
*
REGISTERS TABLE
NOTE:
T e registers marked wit ' * ' in t e ' E2P ' column are saved in
EEPROM eac time t ey are written, to be automatically reloaded
to eac power-on of t e device.
COILS TABLE
Function
01
02
03
04
05
06
15
16
08
Description
Read multiple coils (0xxxx bank)
Read multiple coils (1xxxx bank)
Read multiple registers (4xxxx bank)
Read multiple registers (3xxxx bank)
Write single coil
Write single register
Write multiple coils
Write multiple registers
Diagnostic
IMPLEMENTED MODBUS FUNCTIONS
NOTE:
For DAT3000 series devices, t e bank 0xxxx is a mirror of bank
1xxxx, as t e 3xxxx bank is a mirror of bank 4xxxx, as for i.e. t e
first register can be read indifferently as 30001 (wit t e function
04) or 40001 (wit t e function 03)

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
0001 : TEST
T is register is used to perform t e following functions:
- Analog inputs calibration (see t e “Procedures” section).
- Sync ronized sampling (see t e “Procedures” section).
0002 / 0003 : FIRMWARE VERSION
Read-only 2-register field, t at old t e manufacturer firmware identifier.
- Manufacturer default: 3310 ( ex)
000 / 0005 : DEVICE NAME
2-registers field (4 byte or 4 ASCII c aracters) user free, t at can old t e device name or a function identifier. Eac byte can be writed wit eac
value from 0 to 255, t an ASCII c aracters too.
- Manufacturer default: “3015” (ASCII).
0006 : COMMUNICATION
Set t e bits of t is register as s own in t e following table, to set t e baud-rate, t e bit number, t e parity type and t e protocol type.
- Manufacturer default:38400 bps, RTU mode
0007 : ADDRESS
Specify t e net address of t e device; t ere are allowed t e address from 1 to 255.
Eac device connected to t e same net must ave a unique address.
T e address 255 is used for broadcast functions (i.e. sync ronized sampling)
- Manufacturer default: 01
0008 : RX/TX DELAY
Specify t e value of t e delay between t e reception of a command and t e response transmission, indicated in milliseconds.
- Manufacturer default: 1 (1 ms.)
0009 : WATCHDOG TIMER
Specify t e value of t e Watc Dog Timer (see t e “Procedures” section), indicated in steps of 0.5 seconds.
- Manufacturer default: 10 (5 sec.)
0010 : COILS
T is register is a mirror of t e coils table: eac bit of t is register corresponds to a coil, as s own in t e following table.
NOTES:
- t e 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 t e parity is ignored (parity NONE)
0011 : (reserved)
T is register must ave t e default value:
DAT3015-V = 04
DAT3015-I = 06

pag 3/4
Type
± 10 V
± 20 mA
Decimals
3
3
0015 : INPUT VALUE # 0
0016 : INPUT VALUE # 1
0017 : INPUT VALUE # 2
0018 : INPUT VALUE # 3
T ese registers contain t e measure value for eac input c annel, converted in engineering
units: t e values are expressed in Volts or mA.
T e format is a 16bit signed integer; t e decimal number depends from t e input type, as
s own in t e table.
0023 : SYNCHRONISM INPUT VALUE # 0
002 : SYNCHRONISM INPUT VALUE # 1
0025 : SYNCHRONISM INPUT VALUE # 2
0026 : SYNCHRONISM INPUT VALUE # 3
W en t e device receive t e Sync command (see t e “Procedures” section), t e actual input values in t e 40015÷40018 registers are saved in t ese
registers, c annel by c annel, to be read in a following time.
COILS DESCRIPTION
00009 : WATCHDOG ALARM ENABLE
Enable t e Watc Dog alarm. If t e alarm is enabled and t e device does not receive any command for a time longer t an t e time specified in t e
40009 register, t e Watc Dog alarm Event coil is forced to 1 (see t e “Procedures” section).
0 = Watc dog alarm disabled
1 = Watc dog alarm enabled
00010 : WATCHDOG ALARM EVENT
T is coil indicates t e condition of Watc Dog Alarm. If t e alarm is enabled and t e device does not receive any command for a time longer t an t e
time specified in t e 40009 register, t is coil is forced to 1. To return from t e alarm condition, set t is coil to 0.
0 = Normal Condition
1 = Alarm Condition
00011 : POWER-UP EVENT
T is coil is forced to 1 at eac power-on of t e device; t is state indicates t at t e device as been switc ed off. It is possible to know if a reset of t e
device is appened clearing t is coil and monitoring its state.
0 = reset not appened
1 = reset appened
Bit
C annel
15
-
14
-
13
-
12
-
11
-
10
-
09
-
08
-
07
-
06
-
05
-
04
-
03
#3
02
#2
01
#1
00
#0
0012 : CHANNEL ENABLE
It is suggested to disable t e c annels not used. Write t e relative bit on t is register to enable (1) or disable (0) t e c annel.

Datexel reserves its rig t to modify t e c aracteristics of its products totally or in part wit out warning at any time.
pag 4/4
ED.11.06 REV.01
RIF. FW : 3310
CALIBRATION
T e procedure of calibration is performed in factory on all t e modules during t e testing p ase. However it can be convenient to make anot er
calibration of t e module according to t e requirements of t e user. To make t is, it is necessary to use precision instruments and to correctly perform
all t e necessary steps, because any error reduces t e accuracy and t e good operation of t e device.
To re-calibrate t e device, follow t is procedure:
1 – Turn on t e device in INIT condition
2 – Connect a calibrator to t e c annel #0.
3 – Program t e input type to be calibrated
4 – Set t e calibrator at 0V or 0mA
5 – Write on t e “Test” register (40001) t e value 20.
6 – Set t e calibrator to t e full-scale value (10V or 20mA)
7 – Write on t e “Test” register (40001) t e value 30.
8 – Repeat point 3 to 7 for eac input type to be calibrated.
PROCEDURES
HOW TO USE THE “INIT” FUNCTION
If t e exact configuration of a module is unknown, it can result impossible to establis a communication wit it.
T e “INIT” function gives a solution to t is t rouble:
- Connect to t e RS485 net only t e device to configure.
- Turn off t e device.
- Connect t e INIT pin (D) to t e GND pin (C).
- Turn on t e device.
- Ensures t at t e “PWR” green LED on t e front of t e enclosure is lig ted.
If not, control t e voltage supply connections ( I and J pins ) and RS485 net connections ( A and B pins).
If t e supply connection is rig t, and t e led still unlig ted, it can be necessary to invert t e RS485 pins connection.
- Set t e communication port to t ese values:
baud-rate = 9600 bps
parity = None
n° bits = 8
stop bits = 1
- T e device now communicates at t e address 01 wit t e RTU protocol.
- Read or program t e desired settings on t e registers:
40006 : “Communication” for t e baud-rate setting
40007 : “Address” for t e net address of t e device
- Turn off t e device.
- Disconnect t e INIT pin from t e GND pin.
- Turn on t e device.
- Set t e communication port at t e baud-rate programmed in t e 40006 register.
- T e device now communicates wit t e addressprogrammed in t e 40007 register.
NOTE: T e default manufacturer programmation is t e following:
- Address : 01
- Baud-rate : 38400 bps
- Protocol : RTU
WATCHDOG
T e modules as been provided of a Host Watc dog timer w ic , w en it is enabled, makes to start t e alarm eac time t e communication between
t e module and t e ost is inactive for a period time greater t en t e programmed one. W en t e alarm goes on, t e values of t e outputs are
automatically converted to t e values set as ‘safety value’, t at corresponding to t e state in w ic t e outputs must be putted, and t erefore t e
actuators are putted, to avoid damages to t e system in case of failure. Moreover, under t e alarm condition t e green LED on t e front of t e
enclosure is blinking and t e “Watc dog Event” coil is forced to 1.
To return from t e alarm condition, reset t e coil “Watc dog Event” coil: t e LED stop blinking and it is possible to set t e outputs.
T ere is also a Module Watc dog timer t at monitor t e internal CPU work and is active w en t e CPU don't function correctly for any reason, and
resets t e module. After t e reset, all outputs will assume t eir initial default value (“power up value”), t at may be different to t e output value after t e
reset.
SYNCHRONISM
T e Sync ronism function is performed by a command sent to all devices connected on t e net. W en t e devices receive t e Sync command, all
input states are saved in t e relative register, to be read after time. Doing t is, it is possible to read t e value of all inputs at t e Sync command time.
To send t e sync ronism command, write t e value 10 in t e “Test” register (40001) at t e address 255.
NOTE: T e sync values are not saved in EPROM.
This manual suits for next models
1
Table of contents
Other Datexel I/O System manuals