beautypg.com

2 usable data, 3 footer, Usable data – Pilz PNOZ m B0 User Manual

Page 31: Footer

background image

Communication modules

Operating Manual PNOZmulti 2 Communication Interfaces
1002971­EN­02

31

Response: Confirmation of request
The request is confirmed: Request number + 0x80 (Bit 7 set). 
If the request cannot be processed, an error message is returned 

Troubleshooting [

 44]

.

}

Byte 5: High Byte of segment number

}

Byte 6: Low Byte of segment number

}

Byte 7

Request: Always 0x00

Response: Reserved

5.5.2

Usable data

The telegram contains payload from Byte 8. The content and number of payload bytes de­
pend on the request. 0 ­ 40 bytes of payload can be transmitted. If there is no payload
available, the BCC (Block Control Check) will follow directly after Byte 7.

The last byte of payload is the byte "Payload amount + 7".

If a telegram contains 13 payload bytes, for example, Byte 20 will be the last payload byte.

5.5.3

Footer

The bytes "Payload amount + 8" and "Payload amount + 9" contain the

}

check sum (Block Control Check = BCC) in the byte "Payload amount + 8":

The check sum is calculated as follows:

BCC = 0 – (Byte 4 + ... + Byte "Payload amount + 7")

}

0x10 as identifier for the telegram end in the byte "Payload amount + 9".

Example for 13 bytes of payload:

}

Check sum in Byte 21

Content: 0 ­ (Sum of the Bytes 4 + … + Byte 20)

}

0x10 as identifier for the telegram end is in Byte 22.