Bender COMTRAXX CP9 Series Manual page 24

Remote alarm indicator and operator panel for medical locations and other areas
Hide thumbs Also See for COMTRAXX CP9 Series:
Table of Contents

Advertisement

Example:
Channel 2 of the device with address 3 is to be queried. How is the start address determined for querying the
channel? In our example, the relevant cells in the table are marked bold.
1. For device address 3 the first part of the address, 0x03 (high byte), is taken from Tabelle 4.1.
2. For channel 2 the second part of the address, 0x14 (low byte), is taken from Tabelle 4.2. For the number
of words to be requested the number 4 is taken from the same table:
(0x14 to 0x17 = 0x04).
3. The start address 0x0314 is formed from the high byte and low byte.
Memory image of a device
LoBy
0
1
te
0x0
--------------------------- Device type ----------------------------
0x1
Channel 1
0x2
Channel 5
0x3
Channel 9
0x4
Channel 13
0x5
Channel 17
0x6
Channel 21
0x7
Channel 25
0x8
Channel 29
3
3
3
3
0x9
3
4
5
6
0xA
R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R
0xB
R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R
0xC0
R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R
0xD
R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R
0xE
R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R
0xF
R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R R
Abbreviations for memory contents: C = Common alarm D = Device lost (device failure) R = Reserved
A detailed description of the data formats for the device type, timestamp etc. is given below.
4.2.2.3
Device type
Wor
0x01
d
0x00
ASCII text, 10 words/20 bytes
The device type is set using a bus scan.
4.2.2.4
Timestamp
Word 0x0A
HiByte
LoByte
Year
YY
The timestamp is set according to a datagram received from a transmitting device.
24
2
3
4
5
Channel 2
Channel 6
Channel 10
Channel 14
Channel 18
Channel 22
Channel 26
Channel 30
3
3
3
4
4
4
4
4
7
8
9
0
1
2
3
4
Tab. 4.2: Modbus address assignment of the channels in a device;
Hex representation: horizontal = units, vertical = sixteens
0x02
0x03
0x04
0x05
0x0B
HiByte
LoByte
Month
Day
MM
DD
6
7
8
9
Channel 3
Channel 7
Channel 11
Channel 15
Channel 19
Channel 23
Channel 27
Channel 31
4
4
4
4
4
5
5
5
5
6
7
8
9
0
1
2
0x06
0x07
0x08
0x0C
HiByte
LoByte
Hour
Minute
hh
mm
Modbus TCP server
A
B
C
D
------ Timestamp ------
Channel 4
Channel 8
Channel 12
Channel 16
Channel 20
Channel 24
Channel 28
Channel 32
5
5
5
5
5
5
5
6
3
4
5
6
7
8
9
0
0x09
0x0D
HiByte
LoByte
Second
Reserved
ss
CP9xx_D00349_07_M_XXEN/01.2020
E
F
C D R.
6
6
6
6
1
2
3
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents