beautypg.com

1 header, 2 usable data, 3 information data – Pilz PNOZ mm0p 24VDC User Manual

Page 80: Header, Usable data, Information data

background image

RS232/Ethernet interfaces

Operating Manual PNOZmulti communication interfaces
1001154-EN-13

80

Header

Byte 0 ... Byte 7 form the data block's header

}

Byte 0: Always 0x05

}

Byte 1: Always 0x15

}

Byte 2: Always 0x00

}

Byte 3: Payload amount plus 5

}

Byte 4

– Request: Request number

A request is defined via the request number
Requests

– 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

Troubleshoot-

ing [

91]

.

}

Byte 5: High Byte of segment number

}

Byte 6: Low Byte of segment number

}

Byte 7

– Request: Always 0x00
– Response: Reserved

Usable data

Byte 8 ... Byte "Amount of usable data + 7" contain the requested usable data. The content
and amount of usable data depend on the request. 0 - 40 Bytes of usable data can be
transmitted. If no usable data is available, the BCC (Block Control Check) will follow directly
after Byte 7.

}

Bytes 8 ... "Amount of usable data + 7" (request):

Application data, which is sent to the PNOZmulti

}

Bytes 8 ... "Amount of usable data + 7" (response):

Application data, which is sent from the PNOZmulti

Information data

The Bytes "Amount of usable data + 8 and + 9" contain the information data

}

Byte "Amount of usable data + 8": Check sum (Block Control Check = BCC)

The check sum is calculated as follows:
BCC = 0 – (Byte 4 + ... Byte "Amount of usable data + 7")

}

Byte "Amount of usable data + 9": Last Byte in each telegram

5.5.1

5.5.2

5.5.3