beautypg.com

1 example of parametrising, Example of parametrising, Preparing for parametrising – Festo Контроллер позиционирования CPX-CMAX User Manual

Page 298

background image

6. Parametrisation

6−8

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

6.2.1 Example of parametrising

Programmers can use the following example as an orientation
for implementation.

Example

Wrote
setpoint
position
Record
3 = 27.89 mm

Parameter request
(PLC output data)
ReqID = 8

(= Write value)

PNU

= 404 (= Record list

setpoint value)

IND

= 3

(= Record 3)

Value = 27.89 * 100 = 2789

Parameter response
(PLC input data)
ResID = 5

(= Value has been
transmitted)

PNU

= 404 (= Record list setpoint

value)

IND

= 3

(= Record 3)

Value = 2789

Fig. 6/5:

Example of parametrising

Preparing for parametrising

Establish status for switching operating mode

Switching is permitted in the statuses Controller disabled",
Controller enabled" or Fault".
Example Controller enabled" status.

Allocation of the control bytes (prepare mode switch)

Bit

B7

B6

B5

B4

B3

B2

B1

B0

CCON

OPM2

OPM1

LOCK

ć

RESET

BRAKE

STOP

ENABLE

Byte 1

x

x

1

x

x

x

0

1

...
Byte 5...8

not relevant.
Recommendation: set to 0

Feedback from the CMAX: Check operational status in status
byte. SCON.OPEN must be 0.

Allocation of the status bytes (prepare mode switch)

Bit

B7

B6

B5

B4

B3

B2

B1

B0

SCON

OPM2

OPM1

FCT_MMI 24VL

FAULT

WARN

OPEN

ENABLED

Byte 1

x

x

0

1

x

x

0

1

...
Byte 5...8

not relevant.