PROFIBUS
101
Operating Instructions HYGROPHIL® H 4230-10 Serie A BA 030520
8
PROFIBUS
HYGROPHIL H 4230 contains a certified PROFIBUS DP interface. All field
bus-
specific equipment data is listed in the GSD file „BARx077D.gsd“. The
file is supplied with the product on a storage medium. The module specified
there for I/O allows the user to request data by handshake.
8.1
Framework structure
The framework structure must comply with the following guidelines:
Byte 0
Command code /
status code
Byte 1
Reserved
Bytes 2/3
Data address
high/low
Bytes 4/5
Offset
high/low
Byte 6
Length of the
data
Byte 7
Reserved
Bytes 8...15
User data
Byte 0, command code / op code
This is where the command code is shown for queries and the status code is
shown for responses from the measuring unit.
Input:
0x01
Write
0x02
Read
Output:
In the case of responses from HYGROPHIL, additional equipment
information is transmitted in the status code:
Bit 7: 1 =
Master’s query was a read access
Bit 6: 1 =
Master’s query was a write access
Bit 5: Reserved
Bit 4: 1 = Hardware error
(please notify the customer service)
Bit 3: Reserved
Bit 2: Reserved
Bit 1: 1 = Equipment is in standby mode
Bit 0: 1 = A log error has occurred
– please check your entry!
Byte 1, reserved
Bytes 2/3, data address high/low
Input:
The data address of the desired value is in the channel description
(see 8.3)
(e.g. dew point corresponds to 0x20 hex
entry: byte 2: 0x00,
byte 3: 0x20).
Output:
When the data is input, the data address desired for the query is
entered here.