PROFIBUS DP communication
BK3xx0
60
Version: 4.3.0
Error codes in the write response
Error_Code_1
Error_Code_2
0xBE
Number of terminals
0xBF
First faulty byte in the written data
5.2.3.4
K-bus status
The K-bus status can be read through DPV1. The data is transferred in Intel format (low byte first):
Slot number
Index
Byte
Description
0
90
0-1
Bit 0: Fieldbus errors
Bit 1: K-bus error
Bit 2: Error on the Bus Terminal
Bit 3: Coupler error
2-3
In the presence of a coupler error: Error code
4-5
K-bus error = 0: Bit length of the K-bus
K-bus error = 1: K-bus error code (->
6-7
K-bus error = 0:
Number of terminals
K-bus error = 1:
Bus Terminal number following which the K-bus error is detected (->
5.2.3.5
Cycle Time Measuring
The cycle time measurement is started or stopped using DPV1 Write:
Slot number
Index Length Data
Description
0
99
4
Byte 0: 0x04
Start the cycle time measurement
Byte 1: 0x01
Byte 2: 0x01
Byte 3: 0x00
0
99
4
Byte 0: 0x04
Stop the cycle time measurement
Byte 1: 0x01
Byte 2: 0x00
Byte 3: 0x00
The minimum, maximum, mean (of the last 200 cycles) and current cycle time can be read with DPV1 Read
and reset with DPV1 Write:
Slot number
Index Length Data
Description
0
98
8
Byte 0, 1
Minimum cycle time in µs (INTEL format, low byte first)
Byte 2, 3
Maximum cycle time in µs (INTEL format, low byte first)
Byte 4, 5
Mean cycle time in µs (INTEL format, low byte first)
Byte 6, 7
Current cycle time in µs (INTEL format, low byte first)
Содержание BK3 0 Series
Страница 1: ...Documentation BK3xx0 Bus Coupler for PROFIBUS DP 4 3 0 2019 04 03 Version Date...
Страница 2: ......
Страница 11: ...Product overview BK3xx0 11 Version 4 3 0 2 2 BK3150 Technical data Fig 2 BK3150 Bus Coupler for PROFIBUS DP...
Страница 83: ...Extended functions BK3xx0 83 Version 4 3 0 Fig 50 State transitions in the Bus Coupler...