PROFIBUS DP (COM465DP only)
29
COM465IP-COM465DP_D00216_02_M_XXEN/03.2017
Response from the gateway:
Response from the gateway in the event of an error:
5.1.5.3 Type 3: Writing to registers on devices on the bus
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9
ID Numb
er of
regis-
ters
Reg. 0
high
Reg. 0
low
Reg. 1
high
Reg. 1
low
Reg. 2
high
Reg. 2
low
Reg. 3
high
Reg. 3
low
Byte 0: Sequential ID no.
Byte 1: Number of registers: Number of registers read (min: 1, max: 4)
Byte 2-9: Register values: The data from the registers read. Bytes not requested are filled with 0xFF.
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 Byte 9
ID 0 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF
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 Number
of regis-
ters
Address
high
Address
low
Reg. 0
high
Reg. 0
low
Reg. 1
high
Reg. 1
low
Byte 0: Sequential ID no.: Must be set by the person programming the PROFIBUS DP master. The
ID no. must be incremented for the next request as soon as a response has been received
to the previous request.
Byte 1: Message type: For this request always 0x03
Byte 2: Subsystem address: Depending on how the device is operated, either the BCOM or the
external BMS bus address (default for usage on the internal BMS bus: 2)
Byte 3: Device address: The internal BMS address
Byte 4: Number of registers: Number of registers to be written (min: 1, max: 2)
Byte 5: Register start address high byte: Start register starting from which the data are written.
Byte 6: Register start address low byte: Start register starting from which the data are written.
Byte 7-10: Number of register values to be written: Contents that are to be written to the register. If
only one register is written, 0xFF must be entered in the bytes 9 and 10.