Pepperl+Fuchs OHV-F230-B17 Manual page 17

Profinet gateway for ohv handheld
Table of Contents

Advertisement

OHV-F230-B17
Operation and Communication
Result 128 byte module
Result message from the handheld reader
Status byte 0
Status byte 1
Data byte 0
Data byte 1
...
Data byte 125
1.Example:
If the read code has a value of 123, the following data bytes are sent:
Data byte 0 = '1' (0x31)
Data byte 1 = '2' (0x32)
Data byte 2 = '3' (0x33)
All other data bytes: 0 (0x0)
Explanation of status bytes
Byte
Status
byte 0
Status
byte 1
1.New data flag. Changes when the gateway receives new data from the scanner and makes it available for fieldbus
transmission. Is used to recognize new data with the same value.
2.Data loss flag. Flag is set to 1 if the length of the scanned code exceeds the maximum number of data bytes in the
selected module. Is also set to 1 if a transmission error between the scanner and the gateway is detected.
Status byte
Message length
Start of the scan result
1
MSB first
Scan result
Scan result
End of the scan result
Content
Bit no.
7
Status byte
1
ND
Message length
LEN_7 LEN_6 LEN_5 LEN_4 LEN_3 LEN_2 LEN_1 LEN_0
Unsigned 8 bit
Number of usable
data bytes after the
status bytes
6
5
4
3
0
2
0
0
DL
2
1
0
0
0
0
17

Advertisement

Table of Contents
loading

Table of Contents