![Festo CMMP Series Manual Download Page 120](http://html1.mh-extra.com/html/festo/cmmp-series/cmmp-series_manual_2283112120.webp)
6. Setting Parameters
120
Festo P.BE-CMMP-CO-SW-EN 0708NH
All necessary objects are brought together in the record
sample_data
: The object
sample_mode
establishes the type of sampling: Should only a one-time sample event be
recorded, or should sampling be continuous? With the
sample_status
object, the
controller can be queried, whether a sample event has occurred. This is signaled by a set
bit, which can also be displayed in the
statusword
if the object
sample_status_mask
is
set accordingly.
The object
sample_control
serves to control the sample event and, finally, the sampled
positions can be read out over the objects
sample_position_rising_edge
and
sample_position_falling_edge
.
Which digital input is used can be set with the parameterisation software under
Parameter / IOs / Digital Inputs / Sample Input.
6.15.2
Description of the Objects
Objects treated in this chapter
Index
Object
Name
Type
Attr.
204A
h
RECORD
sample_data
ro
204A
h
_01
h
VAR
sample_mode
UINT16
rw
204A
h
_02
VAR
sample_status
UINT8
ro
204A
h
_03
h
VAR
sample_status_mask
UINT8
rw
204A
h
_04
h
VAR
sample_control
UINT8
wo
204A
h
_05
h
VAR
sample_position_rising_edge
INT32
ro
204A
h
_06
h
VAR
sample_position_falling_edge
INT32
ro
Object 204A
h
: sample_data
Index
204A
h
Name
sample_data
Object code
RECORD
No. of Elements 6
The following object can be used to select whether, for each occurrence of a sample event,
the position should be determined (continuous sampling) or whether the sampling should
be blocked after a sample event until sampling is enabled again. Please note that even
one bounce can dissolve both edges!
Summary of Contents for CMMP Series
Page 2: ......