beautypg.com

Festo Контроллер позиционирования CPX-CMAX User Manual

Page 301

background image

6. Parametrisation

6−11

Festo P.BE−CPX−CMA X−CONTROL−EN en 0908NH

2. Step: Transmit parameter

Allocation of the control bytes (step 2)

Bit

B7

B6

B5

B4

B3

B2

B1

B0

CCON

OPM2

OPM1

LOCK

ć

RESET

BRAKE

STOP

ENABLE

Byte 1

1

1

1

x

x

x

0

1

Subindex Subindex of the parameter to be transmitted: 3 (0000 0011b)
Byte 2

0

0

0

0

0

0

1

1

ParaĆ

PNU =

404 (0001 1001 0100b)

meter
identifier

1

0

0

1

0

1

0

1

identifier
Byte 3+4

ReqID =

8 (1000b)

PNU =

404 (0001 1001 0100b)

Byte 3+4

1

0

0

0

0

0

0

1

ParaĆ
meter
value
Byte 5...8

Value of the parameter to be transmitted:

2789

(0000 0000 0000 0000 0001 1110 1001 0101

b

, 32−bit number)

Check feedback from the CMAX:

1. If ResID = 0: Parameter not yet processed.

Wait.

2. If ResID = 7: Error handling (e.g. evaluate error number,

check PNU, subindex or value)

3. If ResID = 5: End waiting.

Allocation of the status bytes (step 2)

Bit

B7

B6

B5

B4

B3

B2

B1

B0

SCON

OPM2

OPM1

FCT_MMI 24VL

FAULT

WARN

OPEN

ENABLED

Byte 1

1

1

0

1

0

0

0

1

Subindex Subindex of the transmitted parameter: 3 (0000 0011b)
Byte 2

0

0

0

0

0

0

1

1

ParaĆ

PNU =

404 (0001 1001 0100b)

meter
identifier

1

0

0

1

0

1

0

1

identifier
Byte 3+4

ResID =

5 (0101b)

PNU =

404 (0001 1001 0100b)

Byte 3+4

0

1

0

1

0

0

0

1

ParaĆ
meter
value
Byte 5...8

Value of the transmitted parameter:

2789

(0000 0000 0000 0000 0001 1110 1001 0101

b

, 32−bit number)

3. Step: Complete parametrising with No request"

See step 1.