2 defining the operating mode with ccon, Defining the operating mode with ccon, And 2.2.2 – Festo Контроллер позиционирования CPX-CMAX User Manual

Page 39: Switching the operating mode

Advertising
background image

2. I/O data and sequence control

2−11

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

2.2.2

Defining the operating mode with CCON

Operating

d

CCON/SCON

Description

mode

.OPM2

.OPM1

Record select
operating mode
(record select
mode)

0

0

The PLC selects a record from a record list saved in the CMAX.
A record contains all the parameters which are specified for a
positioning task. The record number is transferred to the cyclic
I/O data as the setpoint or actual value.

Direct operating
mode
(direct mode)

0

1

The positioning task is transferred directly in the cyclic I/O data
(FHPP standard). The most important setpoint values (position,
speed, force) are transferred here. Supplementary parameters
(e. g. acceleration) are defined via the parametrisation.

Commissioning
mode

1

0

Commissioning operations (e.g. identification) can be executed
and parameters can be read or written. Positioning tasks are
not possible.

Parametrising
mode

1

1

A parameter is transferred in the I/O data according to the FPC
protocol. Positioning tasks are not possible.

Tab. 2/2: Overview of CMAX operating modes

Switching the operating mode

The operating mode is switched by means of the control
bytes CCON.OPM1 and CCON.OPM2 and are acknowledged in
the status bytes SCON.OPM1 and SCON.OPM2. See Tab. 2/2.

Switching the operating mode to Commissioning" or
Parametrising" is only allowed for the status Controller
disabled" (CCON.ENABLE = 0) or Controller enabled"
(CCON.STOP = 0). Switching between record select mode and
direct operating mode is additionally permitted for the status
Ready", if MC (SPOS.MC = 1).

The operating mode can also be switched if there is a Fault"
status.

Advertising