Beckhoff BC9000 Documentation page 68

Bus terminal controller for ethernet
Table of Contents

Advertisement

Fieldbus system
Query
Byte name
Function code
Start address high
Start address low
Count high
Count low
The fieldbus coupler answers with byte count 2, i.e. 2 bytes of data are returned. The query was for 10 bits,
and these are now distributed over 2 bytes. The third bit is set in the output process image, and the fieldbus
coupler shows the value 4 in the first data byte.
Response
Byte name
Function code
Byte count
Data bits 0...7
Data bits 8...18
7.5.4.3
Read input status (Function 2)
The Read input status function can be used to read the digital input data. The first 10 digital inputs are read
in this example. The start address is zero. An offset can be entered in the Start address field
Query
Byte name
Function code
Start address high
Start address low
Count high
Count low
The fieldbus coupler answers with byte count 2, i.e. two bytes of data are returned. The query was for 10
bits, and these are now distributed over 2 bytes. The third bit is set in the output process image, and the
fieldbus coupler shows the value 4 in the first data byte.
Response
Byte name
Function code
Byte count
Data bits 0..7
Data bits 8..18
7.5.4.4
Read holding register (Function 3)
The Read holding register function can be used to read the input and output words and the registers. Inputs
from offset 0 - 0xFF and outputs from offset 0x800 - 0x8FF, and for controllers (BC, BX) the flag area from
offset 0x4000.
In this example the first two analog outputs (or two output words) are read. The analog outputs (or output
words) start at offset 0x800. The length indicates the number of channels (or words) to be read.
68
Sample
1
0
0
0
10
Sample
1
2
4
0
Sample
2
0
0
0
10
Sample
2
2
1
0
Version: 4.0.0
BC9000 and BC9100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bc9100

Table of Contents