beautypg.com

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

Page 102

background image

4. Commissioning

4−24

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

Example

The following applies for all examples:

x: = not relevant
1/0 = Brake control

0 or 1 depending
on configuration

1. Step: Enable CMAX

In the first step, CMAX must be prepared for the record
execution:

Control bytes (step 1)

Bit

B7

B6

B5

B4

B3

B2

B1

B0

CCON

OPM2

OPM1

LOCK

ć

RESET

BRAKE

STOP

ENABLE

Byte 1

0

0

0

0

0

1/0

1

1

CPOS

ć

CLEAR

TEACH

JOGN

JOGP

HOM

START

HOLD

Byte 2

0

0

0

0

0

0

0

0

Record no. Record number of the record to be started, not yet relevant:
Byte 3

x

x

x

x

x

x

x

x

res.

Byte 4 ... 8: reserved (= 0)

CMAX acknowledgement: Check the ready status in the
status byte.

There must be no malfunction. There should be

no warning. SPOS.ACK must be 0.

Status bytes (step 1)

Bit

B7

B6

B5

B4

B3

B2

B1

B0

SCON

OPM2

OPM1

FCT_MMI

24VL

FAULT

WARN

OPEN

ENABLED

Byte 1

0

0

0

1

0

x (0)

1

1

SPOS

REF

STILL

DEV

MOV

TEACH

MC

ACK

HOLD

Byte 2

1

x

x

x

x

x

0

0

Record no. Acknowledgement of last started record:
Byte 3

x

x

x

x

x

x

x

x

RSB

ć

ć

XLIM

VLIM

RCE

COM1

RCC

RC1

Byte 4

x

x

x

x

x

x

x

x

Primary
actual
value

Byte 5 ... 8: Acknowledgement of the actual value of the position or force in the
configured system of units.