User manual - COUNTER SLN-94
Principle of operation of batcher function from example 3
After press of [
START pouring
] button (Figure 6.2) value “0” is showed on the display. It
causes of closing of both relays (only if
Pr1 > Pr2
– both valves are opened). Flow meter
generates pulses delivered to counting input {
A
}, so counter increases it's value. When
counter up counts over
Pr1-Pr2
value, then relay
R2
will be opened – main valve will start to
close itself. Pouring is being continued, via additional valve. When counter reach
Pr1
threshold value, relay
R1
will be opened – additional valve will be closed. Pouring is finished.
Next pouring cycle can be initiated by [
START pouring
] button.
9.
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.
9.1.
LIST OF REGISTERS
Register Write
Range
Register description
01h
No
02h
No
depending on
settings
Display value - higher word.
Display value - lower word.
03h
No
see descr.
The status of the displayed value:
0000h
- data valid,
0080h
- overflow
0040h
- underflow
04h
2
Yes
see descr.
State of precounter - this is internal modulo
N
counter, where
N
=
“div”
, overfill of this counter causes increasing/decreasing of main
counter.
05h
2
Yes
see descr.
Main counter value - high word
06h
2
Yes
see descr.
Main counter value - low word.
07h
3
Yes
see descr.
“Pr1”
parameter in
“rL1”
menu (higher word).
08h
3
Yes
see descr.
“Pr1”
parameter in
“rL1”
menu (lower word).
Cumulative value of registers 07h i 08h: from 0 to 999
34
i
Содержание SLN-94
Страница 41: ...User manual COUNTER SLN 94 41...
Страница 42: ...User manual COUNTER SLN 94 42...
Страница 43: ...User manual COUNTER SLN 94 43...