RS232 - Interface
BC8050 und BC8150
65
Version: 3.0.0
6.1.1.3
Modbus interface
Address
Description
0x0000
0x00FF
Process data interfaces
Inputs
0x0800
0x08FF
Process data interfaces
Outputs
0x1000
0x1006
Read only
Bus Coupler Fieldbus Box ID
0x100A
2 bytes PLC interface
0x100B
Bus terminal diagnosis
0x100C
Bus Coupler status
0x1010
Process image length in bits, analog outputs (without PLC variables)
0x1011
Process image length in bits, analog inputs (without PLC variables)
0x1012
Process image length in bits, digital outputs
0x1013
Process image length in bits, digital inputs
0x1020
Watchdog, current time in [ms]
0x110A
Read/Write
2 bytes PLC interface
0x110B
Bus terminal diagnosis
0x1120
Watchdog, pre-defined time in [ms] (Default value: 1000)
0x1121
Watchdog reset register
0x1122
Type of watchdog
1
bin
Telegram watchdog (default)
0
bin
Write telegram watchdog
0x4000
0x40FF*
Flags area (%MB..)*
* only for Bus Terminal Controllers (BC7300, BC8x50, IL230x-C730)
Watchdog
The watchdog is active under the factory settings. After the first write telegram the watchdog timer is initiated,
and is triggered each time a telegram is received from this device. A second approach, which represents a
more sensitive condition for the watchdog, is for the watchdog only to be re-triggered after each write
telegram. To do this, write a zero into register 0x1122 (default value "1").
The watchdog can be deactivated by writing a zero to offset 0x1120. The watchdog register can only be
written if the watchdog is not active. The data in this register is retained.
Watchdog register
If the watchdog timer on your slave has elapsed it can be reset by writing twice to register 0x1121. The
following must be written to the register: 0xBECF 0xAFFE. This can be done either with function 6 or with
function 16.
Bus Coupler status
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FB
-
-
-
-
-
-
-
-
-
-
-
-
-
CNF
KB
FB: Fieldbus error, watchdog expired
KB: Bus Terminal error/IP-Link error
CNF: Bus Coupler configuration error
2 byte PLC interface*
Registers in the complex terminals and Bus Terminal Controller registers can be both read and written using
the 2 byte PLC interface. The complex terminal registers are described in the associated terminal
documentation. The Bus Coupler registers can be used, for example, to read terminal bus diagnostics data,
Содержание BC8050
Страница 2: ......
Страница 44: ...Programming BC8050 und BC8150 44 Version 3 0 0 Fig 45 Build...