User manual for digital clock SWZ-W610
8.
THE MODBUS PRO
TOCOL HANDLING
Transmission parameters: 1 start bit, 8 data bits, 1 or 2 stop bit (2 bits are send, 1 and 2 bits
are accepted when receive), no parity control
Baud rate:
selectable from: 1200 to 115200 bits/second
Transmission protocol:
MODBUS RTU compatible
The device parameters and display value are available via RS-485 interface, as HOLDING-
type registers (numeric values are given in U2 code) of Modbus RTU protocol. The registers
(or groups of the registers) can be read by 03h function, and wrote by 06h (single registers) or
10h (group of the registers) accordingly to Modbus RTU specification. Maximum group size for
03h and 10h functions can not exceeds 16 registers (for single frame).
The device interprets the broadcast messages, but then do not sends the answers.
8.1.
LIST OF REGISTERS
Register Write
Range
Register description
10h
No
0÷6
Days of the week registry:
0
- Sunday,
1
- Monday, etc.
11h
Yes
2000÷2099
Year registry
12h
Yes
1÷12
Months registry
13h
Yes
1÷31
Days registry
14h
Yes
0÷23
Hours registry
15h
Yes
0÷59
Minutes registry
16h
Yes
0÷59
Seconds registry
17h
Yes
see descr.
Control registry for time-related settings:
0
- startup of continued update of registries 10h ÷ 16h by internal
clock (current time and date),
80h
- stopping update of registries 10h ÷ 16h by internal clock
(automatically after writing one of 10h ÷ 16h registries). In this
status 10h ÷ 16h registries can be written with new values in
order to update internal clock settings.
Updating the clock settings with contents of 10h ÷ 16h registries can
be executed by sending the following commands to the control
registry:
01h
- hour update on the basis of (14h ÷ 16h) registries’ contents;
02h
- date update on the basis of (10h ÷ 13h) registries’ contents;
03h
- time and date update on the basis of (10h ÷ 16h) registries’
contents.
After sending commands
01h
,
02h
or
03h
the contents of registries
automatically return to 0.
18h
No
-40÷85
Temperature measured by digital thermometer module
20h
1
Yes
0÷199
Device address
21h
No
009Eh
Device identification code
21
i
Содержание SWZ-W610
Страница 26: ...User manual for digital clock SWZ W610 26...
Страница 27: ...User manual for digital clock SWZ W610 27...