beautypg.com

5 telegram structure, 1 header, Telegram structure – Pilz PNOZ m B0 User Manual

Page 30: Header

background image

Communication modules

Operating Manual PNOZmulti 2 Communication Interfaces
1002971­EN­02

30

2. Response:

The PNOZmulti 2 sends a response to the communications partner after approx. 20 to 30
ms, confirming that the request has been received without error. Data is sent in accordance
with the request.

5.5

Telegram structure

The telegram used for communication consists of:

}

a header,

}

the payload,

}

a footer.

Telegram
section

Byte

Request

Byte

Response

Header

0

0x05

0

0x05

1

0x15

1

0x15

2

0x00

2

0x00

3

Payload amount +5

3

Payload amount +5

4

Request No.

4

Confirmation/error

5

Segment No. HB

5

Segment No. HB

6

Segment No. LB

6

Segment No. LB

7

0x00

7

Reserved

Payload

8

Payload Byte 0

8

Payload Byte 0

9

Payload Byte 1

9

Payload Byte 1

10

Payload Byte 2

10

Payload Byte 2

...

...

...

...

Payload
amount +7

Payload Byte n

Payload
amount +7

Payload Byte n

Footer

Payload
amount +8

BCC

Payload
amount +8

BCC

Payload
amount +9

0x10

Payload
amount +9

0x10

5.5.1

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 [

 33]