PROFIBUS
115
Operating Instructions HYGROPHIL® H 4230-10 Serie A BA 030520
8.4.2
Writing to HYGROPHIL H
Changing from normal operation to standby mode
According to the channel description you can change to standby mode by
writing 0x50 to data address 0x0B.
Write request from the PROFIBUS master:
0x01
0x00
0x000B
0x00
0x01
0x00
0x50
Byte 0
Command code
Byte 1
Reserved
Bytes 2/3
Data address
Bytes 4/5
Offset
Byte 6
Data length
Byte 7
Reserved
Byte 8
User data
Byte 0:
Command code for a write process (write = 0x01)
Byte 1:
Reserved (must always be 0x00!!)
Data address from channel description (standby mode
0x000B):
Byte 2:
0x00
Byte 3:
0x0B
Offset from channel description:
Byte 4:
0x00
Byte 5:
0x00
Length of the data to be written:
Byte 6:
0x01 for 1 byte
Byte 7:
Reserved (0x00)
Byte 8:
0x50 (coding according to channel description in order to
change to standby mode)
Response from HYGROPHIL:
0x40
0x00
0x0005
0x0000
0x01
Byte 0
Status
Byte 1
Reserved
Bytes 2/3
Data address
Bytes 4/5
Offset
Byte 6
Data length
Byte 0:
Status code for a successful 0x40 write access
Byte 1:
Reserved
Data address from channel description:
Bytes 2/3:
Data address of the written value (here 0x0005)
Offset from channel description:
Bytes 4/5:
Offset of the requested value (here 0x0000)
Length of the data written:
Byte 6:
0x01 for 1 byte of written information