Festo CPX-P-8DE-N Series Description page 72

Cpx terminal (-p) modules and connection blocks
Table of Contents

Advertisement

3. Input module CPX-P-8DE-N-...
Steps
1. Reset start/stop bit
in the PIO
2. Parameterise
counter
3. Use counter
Start counter
Stop counter
Reset counter
– Counter value
reached - end of the
counting range
(stop value)
1)
Status LED flashes as long as the counter is active and the stop value has not yet been reached.
Tab. 3/14: Procedure for counters
3-22
Description
Stop the current function in order to
avoid undefined states
Specify limit values (
and Tab. 3/33)
Specify counter type (increment-
al/decremental counter) and
edge polarity (
Tab. 3/30)
Select input mode "Counter"
(
Tab. 3/20)
Set start/stop bit in the PIO
(start/stop = 1)
Reset start/stop bit in the PIO
(start/stop = 0)
Reset signal via the PIO:
a) Bit Reset = 1 (min. 1 cycle)
b) Bit Reset = 0
– Counter value = stop value
Status
Counter is stopped
Tab. 3/32
Input channel is initialised automat-
ically (
3.3.8):
– Limit values are loaded
– Counter is stopped
– Signal bit for limit value = 0
– Status LED not illuminated (off )
– Signal edges are counted until
the stop value is reached.
– Status LED flashes (2 Hz)
– upon reaching the limit value the
bit is set in byte 0 of the PII
– Input signal edges are no longer
counted.
– Counter remains at the current
value.
– Status LED is off
– Limit value is loaded
– Signal bit for limit value = 0
– Counter remains in the current
state (started or stopped)
– Status LED not illuminated (off )
Counter is stopped (restart via reset
and start via PIO)
– Signal bit for limit value = 1
– Status LED illuminated
Festo P.BE-CPX-P-EA-EN en 1209NH English
1)

Advertisement

Table of Contents
loading

Table of Contents