Camille Bauer
Operating instructions V604s Be
9
Bytes
Modbus does not know a byte or character data type (see
address space). Strings or byte arrays are mapped in "hold-
ing registers“ (2 characters per register) and transmitted as
a "character stream", e.g. "Hello_World“.
Register
HEX
char
Register
HEX
char
40101
Ox4865
‚H’ ‚e’
40104
0x576F
‚W’ ‚o’
40102
Ox6C6C
‚l’
‚l’
40105
0x726C
‚r’
‚l’
40103
Ox6F5F
‚o’ ‚_’
40106
0x6400
‚d’
Words
Registers or words are transmitted according to specifi cation
in "Big Endian“ format, e.g. Read Holding Register 40101
of Slave 17.
Real
Modbus does not know any data types to represent fl oat-
ing point numbers. On principle, any data structures may
be mapped on the 16Bit register ("cast“). The IEEE 754
standard is the most used standard to represent fl oating
point numbers.
M M
M
M
M
M
M
M
M
M
E
E
E
E
E
E
E
E
V
M M M M M M M M M M M M M M
0
16 15
8
7
24
31
Exponent
Mantissa
Algebraic sign
Bit
23
The fi rst register contains Bits 15 – 0 of the 32-bit number
(bit 0…15 of the mantissa).
The second register contains Bits 16 – 32 of the 32-bit number
(algebraic sign, exponent and Bit 16- 22 of the mantissa).
6.3 Mapping
Address space
The address space may be divided into 4 address spaces
according to the 4 types of data.
Space
r/w
Address area
Function code
Coil
Readable
Writeable
00001 - 09999
0x01
0x05
0x0F
Read Coil Status
1)
Force Single Coil
1)
Force Multiple Coils
1)
Discrete input
Only reada-
ble
10001 - 19999
0x02
Read Input Status
1)
Input register
Only reada-
ble
30001 - 39999
0x04
Read Input Register
1)
Holding
register
Readable
Writeable
40001 - 49999
0x03
0x06
0x10
Read Holding
Registers
Force Single
Register
1)
Preset Multiple
Registers
1)
not implemented
To reduce the commands, the device image was represented
as far as possible in "holding registers".
Segments
Address
Description
Permitted function codes
40209 - 40210
40257 - 40284
40515 - 40516
40517 - 40761
Actions
Measured values, status
Settings (Modbus)
Confi guration data
0x03
0x10
Read Holding Registers
Preset Multiple Regi-
sters
41076
Device type
0x03
Read Holding Registers
Syntax
Address
Start address of the described data block (register, coil
or input status)
Description
Unique variable or structure description
Data type
Data type of variable (U: unsigned, INT: integer, 8/16/32
bit, REAL or CHAR[..])
#
Offset from the start address in the data type unit, for
Byte 0: Low, 1: High byte
Default
Value upon derlivery or after a hardware reset
Description
Exact details concerning the variable described
6.4 Device identifi cation
The device is identifi ed by "Read Slave ID“.
Function 11h: Report Slave ID
Master telegram:
Device
address
Function
CRC
ADDR
0x11
LO
HI
Slave telegram:
Device
Address
Function
Number
data bytes
Slave
ID
Sub
ID
Data
2
CRC
ADDR
0x11
3
LO
HI
Device
ID
Sub-ID
Device
Description
0x01
0x00
VR660
Temperature controller
0x02
0x00
A200R
Display
0x03
0x01
CAM
Universal measuring unit for heavy current
variables
0x04
0x00 APLUS
Multifunctional
display
0x05
0x00
V604s
Universal transmitter
0x05
0x01
VB604s
Universal transmitter multi in/out
0x05
0x02
VC604s
Universal transmitter second Relay
0x05
0x03
VQ604s
Universal transmitter fast setting time
Device information
Adress
Description
Data type
Description
41076
DEVICE
UINT16
Device type
Bit Description
0
Reserved
1
Reserved
2
0: V / mA inputs
1: 2 x mA inputs
3-15
Reserved