RYM
ASKON
®
200-Modbus
Modbus Slave
User Manual
© S+S REGELTECHNIK GMBH
| THURN-UND-TAXIS-STR.22 | 90411 NÜRNBERG | GERMANY | FON +49(0)911 519470 |
Page 19 of 55
3.4.
Modbusregister Description
In the following sections the RYMASKON 200 Modbusregister.
Modbus registers are described. Abbrevations are explained at the end of each table. ‘R’ indicates that this value is
not used by now and that it is reserved for future use. Square brackets ‘[]’ indicate that this is the initial value.
Numbers with the prefix ‘0x’ are hexadecimal values. Values with no prefix indicate decimal values.
3.4.1
Data Registers
These registers contain data that is changing frequently. This data is not stored persistent in the device and will be
lost after a reboot.
Register Name
Register
Address
Bit Position
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
present_state
0
0x0000
R
[0]
R
[0]
R
[0]
R
[0]]
EB
3
[
0
]
EB
2
[
0
]
EB
1
[
0
]
EB
0
[
0
]
TB
7
[
0
]
TB
6
[
0
]
TB
5
[
0
]
TB
4
[
0
]
TB
3
[
0
]
TB
2
[
0
]
TB
1
[
0
]
TB
0
[
0
]
short_pressed
1
0x0001
IRC
[0]
NFC
[0]
R
[0]
R
[0]
long_pressed
2
0x0002
R
[0]
ERR
[0]
DOC
[0]
SPC
[0]
The present_state register always represents the actual state of the buttons.
The short_pressed and long_pressed states will remain set until the flags are cleared by the Modbus
master by writing a logical ‘1’ to the specific flag The long_pressed state of a button will remain set as
long as the button is pressed.
Bits 0-11 indicate the states of the buttons (
TBx
-touch button,
EBx
-external button)
NFC
: NFC flag, is set if an NFC field was detected. This gives the information that a user is reading
the NFC tag memory with an NFC enabled mobile device. For more information see Chapter 4.
IRC
:
infrared remote control flag, is set when an infrared remote control code was received. The
received code can be read via the ir_remote_control_command register at register address 32
(see Table 9 on page 20).
SPC
:
Set point changed flag, is set when a set point was changed.
Each set point has an individual change flag at register address 3 (see Table 8 on page 20).
DOC
: device setting or offset value changed flag, is set when a device setting or offset value was
changed. he specific change flags can be read via the registers at address 4 and 5 (see Table 8
on page 20).
ERR
: error flag, is set when an internal error has occurred.
!!!
Button states and flags can have the following binary values:
1 – pressed, set
0 – released, cleared
!!!
The present_state register is only updated in DISPLAY- and DIRECT_ACCESS-mode!
(For a list of possible modes see Table 4 on page 13)
Table 7: Button States and Flags