beautypg.com

Festo Кабели и принадлежности User Manual

Page 107

background image

A. Technical appendix

A−19

Festo P.BE−SPC200−COM−CANDN−EN en 0511a

Read status of task A/B

Command Message, WRC = 24

d

Byte

Function

Contents

Byte 0

Control byte

LOAD = 1 (see section 5.2.3)

Byte 1

Subindex

1: Program Task A
2: Program Task B

Byte 2

Command Message type

24

d

Byte 3

Response Message type

0 (no update permitted)

Byte 4

Cmd. Data 1

Not relevant

Byte 5

Cmd. Data 2

Byte 6

Cmd. Data 3

Byte 7

Cmd. Data 4

Response Message (see also next page)

Byte

Function

Contents

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

Byte 0

Status byte

LOAD COMPLETED = 1 (see section 5.2.3)

Byte 1

*)

Byte 2

Fault code

See fault treatment in section 6.5

Byte 3

RMT

Copy from byte 2 of the Command Message

Byte 4

Resp. Data 1

**)

Current record number II

**)

Current record number I

**)

Byte 5

Resp. Data 2

Current program number I

Current record number III

Byte 6

Resp. Data 3

Program status

Current program number II

Byte 7

Resp. Data 4

res

Record status

*)

Not relevant

**)

In the event of a fault: extended fault code (see section 6.5)

This manual is related to the following products: