PROFIBUS DP (COM465DP only)
31
COM465IP-COM465DP_D00216_02_M_XXEN/03.2017
5.2 Programming examples
The PROFIBUS master is to be informed of the necessary configuration data for the PROFIBUS DP us-
ing the device master data file BEND0F27.gsd before executing the program. You can download the
latest gsd file from the following address on our web site:
http://www.bender.de > Service & support > Download > Software
5.2.1 Type 1: Querying measured data from devices on the bus
5.2.1.1 Example 1: Querying measured value from the RCMS490-D
The RCMS490-D has the BMS address 2, channel 1 is queried. It has the measured value 200.13 mA.
Request to the gateway
For an explanation of the protocol structure see "Type 1: Querying measured data from devices on
the bus" on page 27.
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9
Byte 10
ID
Msg
type
System Device Channel 0x00 0x00 0x00 0x00 0x00 0x00
0x01 0x01 0x02 0x02 0x01 0x00 0x00 0x00 0x00 0x00 0x00
Byte 0: Sequential ID no.
Byte 1: Message type: For this request always 0x01
Byte 2: Subsystem address: 2
Byte 3: BMS device address: 2
Byte 4: Channel: 1
Byte 5-10: Always 0x00